神州数码交换机“端口安全”配置
二层、三层交换机配置
型号:(DCS-3950和DCR-3926S)
Switch(config)#internet ethernet0/0/1 (进入端口)
Switch(config-if-ethernet0/0/1)#switchport port-security (开启端口安全)
Switch(config-if-ethernet0/0/1)# switchport port-security maximum 1 (设置端口对大数为1)
这儿的1最大数可以设置为1-16
Switch(config-if-ethernet0/0/1)# switchport port-security mac-address xx-xx-xx-xx (为端口绑定MAC地址) xx-xx-xx-xx 为PC(电脑)机的MAC地址
Switch(config-if-ethernet0/0/1)# switchport port-security violation shutdown/portect (违规关闭/保护)
Switch(config-if-ethernet0/0/1)# switchport port-security lock (锁定安全端口)
注:二层DCR-3926S交换机配置生成树后无法开启端口安全,所以必须先开启端口安全后配置生成树。
因篇幅问题不能全部显示,请点此查看更多更全内容
Copyright © 2019- huatuo2.com 版权所有 湘ICP备2023021991号-2
违法及侵权请联系:TEL:199 1889 7713 E-MAIL:2724546146@qq.com
本站由北京市万商天勤律师事务所王兴未律师提供法律服务