MAC地址绑定
VLAN的端口成员和mac地址静态绑定:
Switch(Config)#mac-address-table permanent address 00-00-00-11-11-11 vlan 1 interface e 1 //将mac为00-00-00-11-11-11的pc机绑定到端口为1的vlan 1中;
- 使能端口mac地址绑定功能
Switch(Config)#interface e 0/0/1
Switch(config-if<Ethernet1-1>)#switchport port-security
- 将端口自动学习到的MAC地址转换为静态安全的mac并关闭自动学习功能
Switch(config-if<Ethernet1-1>)#switchport port-security convert
- mac地址锁定
Switch(config-if<Ethernet1-1>)#switchport pot-security lock
- 添加mac地址到指定端口
Switch(config-if<Ethernet1-1>)#switchport port-security mac-address 11-11
本文介绍了如何在交换机上进行MAC地址绑定和VLAN端口安全设置,包括将MAC地址静态绑定到特定VLAN端口,启用端口安全功能,转换MAC地址为静态安全状态,锁定MAC地址以及添加MAC地址到端口等步骤,以增强网络安全性。
4万+

被折叠的 条评论
为什么被折叠?



