H3C-交换机端口绑定

1.端口和MAC地址绑定:

(1)使用am命令:
[switch]am user-bind mac-address 00e0-fc23-f8d3 interface Ehternet 0/12)使用mac-address命令:
[switch]mac-address static 00e0-fc23-f8d3 interface Ethernet 0/1 vlan 1
[switch]mac-address max-mac-count 1

 2.IP和MAC地址绑定:

(1)使用am命令:
[switch]am user-bind ip-address 10.1.1.1 mac-address 00e0-fc23-f8d3

(2)使用arp static命令:
[switch]arp static 10.1.1.1 00e0-fc23-f8d3 

3.端口,IP和MAC绑定:

[switch]am user-bind ip-address 10.1.1.1 mac-address 00e0-fc23-f8d3 interface Ethernet 0/1
原文地址:https://www.cnblogs.com/ping-y/p/5827188.html