神州数码交换机“端口安全”配置
二层、三层交换机配置
型号:(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交换机配置生成树后无法开启端口安全,所以必须先开启端口安全后配置生成树。
百度搜索“77cn”或“免费范文网”即可找到本站免费阅读全部范文。收藏本站方便下次阅读,免费范文网,提供经典小说综合文库神州数码交换机“端口安全”配置在线全文阅读。
相关推荐: