华为交换机
在交换机端口上打开端口安全功能,将 MAC 地址绑定到相对应接口中,并在 vlan1 上有效。
[SW1]interface Eth0/0/1
[SW1-Ethernet0/0/1]port-security enable
[SW1-Ethernet0/0/1]port-security mac-address sticky
[SW1-Ethernet0/0/1]port-security mac-address sticky 5489-98ca-0358 vlan 1
 
display mac-address 查看交换机与计算机之间连接的端口,类型是否变为 sticky
更换计算机后,MAC 地址不同,计算机不能通信

相关文章:

  • 2021-12-05
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-02-08
  • 2021-12-22
  • 2021-11-01
  • 2022-01-03
猜你喜欢
  • 2021-07-20
  • 2021-11-03
  • 2021-06-05
  • 2021-10-30
  • 2021-12-15
  • 2021-11-11
  • 2022-02-10
相关资源
相似解决方案