另类port-security配置

由于新加了一个会议室和一个办公室,网络点多了,只能添加2个8口的交换机,没有添加cisco交换机的预算,但又要实现port-security,所以想了如下方法:
35、36口分别接2个8口的tp-link交换机,上端交换机是cisco 3750
注意:同一个MAC地址,只能位于一个端口下
 
interface FastEthernet1/0/35
 switchport access vlan 10
 switchport mode access
 switchport port-security maximum 7
 switchport port-security
 switchport port-security violation protect
 switchport port-security mac-address sticky
 switchport port-security mac-address sticky 0001.e6a0.3c1f
 switchport port-security mac-address sticky 000e.7fe2.0ad2
 switchport port-security mac-address sticky 000e.a612.7e34
 switchport port-security mac-address sticky 0011.d8e6.34a3
 switchport port-security mac-address sticky 0011.d8e8.3bf5
 switchport port-security mac-address sticky 0013.46ec.325f
 switchport port-security mac-address sticky 0013.d324.e23f
!
interface FastEthernet1/0/36
 switchport access vlan 10
 switchport mode access
switchport port-security maximum 3
 switchport port-security
 switchport port-security violation protect
 switchport port-security mac-address sticky
 switchport port-security mac-address sticky 000e.a612.7e22
 switchport port-security mac-address sticky 0040.09ab.0cd2
 switchport port-security mac-address sticky 0013.d488.3974
!

你可能感兴趣的:(职场,Cisco,休闲,port-sec)