1、启用交换机端口安全

2、限制端口最大访问量为1,超出后关闭端口

 

 

1、启用交换机端口安全

#interface gigabitEthernet 0/1

#switchport mode access

#switchport port-security

#switchport port-security mac-address 1111.1111.1111  //以后就只有这个mac地址能接这个端口

#switchport port-security violation shutdown  //发生非指定mac地址接入会shutdown端口,需要手动no shutdown

 

相关文章:

  • 2021-09-08
  • 2021-06-20
  • 2021-12-05
  • 2022-12-23
  • 2021-09-28
  • 2021-10-06
  • 2021-06-16
猜你喜欢
  • 2021-05-21
  • 2022-12-23
  • 2021-07-15
  • 2021-11-28
  • 2021-11-25
  • 2022-12-23
  • 2021-04-05
相关资源
相似解决方案