Network diagram
Figure 2-1 Network diagram for port binding configuration
Host A
10.12.1.1/24
MAC address: 0001-0002-0003
Configuration procedure
Configure Switch A as follows:
# Enter system view.
<SwitchA> system-view
# Enter Ethernet 1/0/1 port view.
[SwitchA] interface Ethernet 1/0/1
# Bind the MAC address and the IP address of Host A to Ethernet 1/0/1.
[SwitchA-Ethernet1/0/1] am user-bind mac-addr 0001-0002-0003 ip-addr 10.12.1.1
Switch A
Eth1/0/1
Switch B
Host B
2-3