端口安全配置,限制MAC地址
int gigabitEthernet 1/0/1
Switch(config-if)#switchport port-security ?
aging Port-security aging commands
mac-address Secure mac address
maximum Max secure addresses
violation Security violation mode
<cr>
Switch(config-if)#switchport port-security violation ?
protect Security violation protect mode
restrict Security violation restrict mode
shutdown Security violation shutdown mode
Switch(config-if)#
查看交换机安全mac地址
show port-security address
查看指定接口的安全mac地址
show port-security interface gigabitEthernet 1/0/1 address
读书和健身总有一个在路上