端口绑定MAC地址(思科)
Posted
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了端口绑定MAC地址(思科)相关的知识,希望对你有一定的参考价值。
Switch>enable //进入特权模式Switch#configure //进入全局配置模式
Switch(config)#interface fastEthernet 0/1 //进入端口模式
Switch(config-if)#switchport mode access //配置端口为access
Switch(config-if)#switchport port-security //添加端口静态MAC地址,默认地址数是一个
Switch(config-if)#switchport port-security mac-address 0000.0000.0000 //绑定MAC地址
Switch(config-if)#exit
Switch(config)#interface fastEthernet 0/1
Switch(config-if)#switchport port-security maximum 2 //绑定第二个设备的mac地址
Switch(config-if)#switchport port-security mac-address 0000.0000.0000.0000
以上是关于端口绑定MAC地址(思科)的主要内容,如果未能解决你的问题,请参考以下文章