H3C S7500 Series Ethernet Switches Command Manual

Table Of Contents
Command Manual – Port Binding
H3C S7500 Series Ethernet Switches Chapter 1
Port Binding Configuration Commands
1-2
Examples
# Bind the legal user whose MAC address is 000f-e20f-5600 and whose IP address is
10.1.1.1 to port GigabitEthernet 2/0/2.
<H3C> system-view
System View: return to User View with Ctrl+Z.
[H3C] am user-bind mac-addr 000f-e20f-5600 ip-addr 10.1.1.1
GigabitEthernet2/0/2
1.1.2 am user-bind
Syntax
am user-bind { mac-addr mac-address | ip-addr ip-address }*
undo am user-bind [ mac-addr mac-address | ip-addr ip-address ]
View
Ethernet port view
Parameters
mac-address: MAC address to be bound.
ip-address: IP address to be bound.
Description
Use the am user-bind command to bind the MAC and IP addresses of a legal user to
the current port.
Use the undo am user-bind command to cancel the binding.
After such a binding operation, only packets from a valid user can be forwarded through
the current port.
Note:
You can bind up to 100 MAC addresses and IP addresses to one port.
Examples
# Bind the legal user whose MAC address is 000f-e20f-5600 and whose IP address is
10.1.1.1 to port GigabitEthernet 2/0/2.
<H3C> system-view
System View: return to User View with Ctrl+Z.
[H3C] interface GigabitEthernet2/0/2