Command Manual – Port Security & Port Binding
Quidway S3900 Series Ethernet Switches-Release 1510
Chapter 2 Port Binding Commands
Huawei Technologies Proprietary
2-1
Chapter 2 Port Binding Commands
2.1 Port Binding Commands
2.1.1 am user-bind interface
Syntax
am user-bind mac-addr mac-address ip-addr ip-address interface interface-type
interface-number
undo am user-bind mac-addr mac-address ip-addr ip-address interface
interface-type interface-number
View
System view
Parameter
mac-address
: MAC address to be bound.
ip-address
: IP address to be bound.
interface-type
: Type of the port to be bound to.
interface-number
: Number of the port to be bound to.
Description
Use the
am user-bind
interface
command to bind the MAC and IP addresses of a
legal user to a specified port.
Use the
undo am user-bind
interface
command to cancel the binding.
After such a binding operation, only the valid user's packets can pass through the port.
Note:
The system allows only one binding operation for the same MAC address.
Example
# Bind the legal user whose MAC address is 00e0-fc00-5101 and IP address is
10.153.1.1 to Ethernet1/0/1 port.
<Quidway> system-view
System View: return to User View with Ctrl+Z.