neocai 发表于 2018-7-23 10:37:11

华为交换机实现mac地址与ip地址一一绑定

  1、mac地址与ip地址一一绑定。
  V100r002版本:
  直接在物理接口上:
  Interface Ethernet 0/0/1
  User-bind static ip-address 1.1.1.1 mac-address 1111-11111-1111
  
  V100R005
  在sys模式下:
  User-bind static ip-address 1.1.1.1 mac-address 1111-1111-1111 interface Ethernet 0/0/1
  
  Interface Ethernet 0/0/1
  Ip source check user-bind enable
  Arp anti-attack check user-bind enable
  
  2、这是命令格式
  全局视图下:user-bindstatic { { ip-address ip-address | ipv6-address ipv6-address } | mac-address mac-address } * [ interfaceinterface-type interface-number ] [ vlan vlan-id [ ce-vlan ce-vlan-id ] ]
  
  接PC的端口下:
ip source check user-bind enable
页: [1]
查看完整版本: 华为交换机实现mac地址与ip地址一一绑定