思科交换机端口安全配置

端口安全配置,限制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


读书和健身总有一个在路上

posted @ 2020-11-26 17:59  Renqy  阅读(1043)  评论(0编辑  收藏  举报