1-2
System View: return to User View with Ctrl+Z.
[Sysname] am user-bind mac-addr 000f-e200-5101 ip-addr 10.153.1.1 interface Ethernet1/0/1
# In Ethernet port view, bind the MAC address 000f-e200-5102 and IP address 10.153.1.2 (supposing
they are MAC and IP addresses of a legal user) to Ethernet 1/0/2.
<Sysname> system-view
System View: return to User View with Ctrl+Z.
[Sysname] interface Ethernet1/0/2
[Sysname-Ethernet1/0/2] am user-bind mac-addr 000f-e200-5102 ip-addr 10.153.1.2
display am user-bind
Syntax
display am user-bind [ interface interface-type interface-number | ip-addr ip-addr | mac-addr
mac-addr ]
View
Any view
Parameters
interface: Displays binding information on a specified port.
interface-type: Port type.
interface-number: Port number.
ip-addr ip-addr: Displays only the binding information of a specified IP address.
mac-addr mac-addr: Displays only the binding information of a specified MAC address.
Description
Use the display am user-bind command to display the binding information.
Examples
# Display the binding information in the current system.
<Sysname> display am user-bind
Following User address bind have been configured:
Mac IP Port
000f-e200-5101 10.153.1.1 Ethernet1/0/1
000f-e200-5102 10.153.1.2 Ethernet1/0/2
Unit 1:Total 2 found, 2 listed.
Total: 2 found.
The above output displays that two port-MAC-IP binding settings exist on unit 1:
z MAC address 000f-e200-5101 and IP address 10.153.1.1 are bound to Ethernet 1/0/1.
z MAC address 000f-e200-5102 and IP address 10.153.1.2 are bound to Ethernet 1/0/2.