tcpip协议端口大全
cisco端口安全 共享
cisco端口安全
interface FastEthernet0/2
Switch(config-if)#switchport access vlan 169
Switch(config-if)#switchport mode access
Switch(config-if)#switchport port-security
Switch(config-if)#switchport port-security maximum 1 Switch(config-if)#switchport port-security mac-address sticky Switch(config-if)#switchport port-security mac-address sticky 000d.56e2.4849
Switch(config-if)#switchport port-security violation shutdown Switch(config-if)#spanning-tree portfast
Switch(config-if)#no shutdown
Switch(config)#errdisable recovery cause psecure-violation Switch(config)#errdisable recovery interval 30
上述命令起的作用是这样的你在端口下可以绑定mac地址,在有人向端口插入网线后它会检查
你的mac。如果正确,它会不经50秒起来~如果你mac是错的你的端口将荡30秒,起来后
又荡~使不法用户没有办法用你的网络~正常用户没事~
Switch(config)#errdisable recovery cause psecure-violation Switch(config)#errdisable recovery interval 30
如果不加以上命令你的交换机查到不法mac荡掉后是不起来的 是手工
用 switch(config)#shutdown 过一会在用no shutdown 才会把端口激活~
本文档为【tcpip协议端口大全】,请使用软件OFFICE或WPS软件打开。作品中的文字与图均可以修改和编辑,
图片更改请在作品中右键图片并更换,文字修改请直接点击文字进行修改,也可以新增和删除文档中的内容。
该文档来自用户分享,如有侵权行为请发邮件ishare@vip.sina.com联系网站客服,我们会及时删除。
[版权声明] 本站所有资料为用户分享产生,若发现您的权利被侵害,请联系客服邮件isharekefu@iask.cn,我们尽快处理。
本作品所展示的图片、画像、字体、音乐的版权可能需版权方额外授权,请谨慎使用。
网站提供的党政主题相关内容(国旗、国徽、党徽..)目的在于配合国家政策宣传,仅限个人学习分享使用,禁止用于任何广告和商用目的。