CISCO实验记录十一:switch端口安全配置

1、启用交换机端口安全

2、限制端口最大访问量为1,超出后关闭端口

1、启用交换机端口安全

#interface gigabitEthernet 0/1

#switchport mode access

#switchport port-security

#switchport port-security mac-address 1111.1111.1111  //以后就只有这个mac地址能接这个端口

#switchport port-security violation shutdown  //发生非指定mac地址接入会shutdown端口,需要手动no shutdown

猜你喜欢

转载自www.cnblogs.com/cation/p/11502851.html