2
Port Binding Configuration
When configuring port binding, go to these sections for information you are interested in:
Port Binding Overview
Displaying and Maintaining Port Binding Configuration
Port Binding Configuration Example
Port Binding Overview
Introduction
Port binding enables the network administrator to bind the MAC address and IP address of a user to a
specific port. After the binding, the switch forwards only the packets received on the port whose MAC
address and IP address are identical with the bound MAC address and IP address. This improves
network security and enhances security monitoring.
Configuring Port Binding
Follow these steps to configure port binding:
To do...
Enter system view
Bind the MAC
address and
IP address of
a user to a
specific port
An IP address can be bound to only one port at a time.
A MAC address can be bound to only one port at a time.
Displaying and Maintaining Port Binding Configuration
To do...
Display port binding
information
system-view
am user-bind mac-addr mac-address
In system
ip-addr ip-address interface
view
interface-type interface-number
interface interface-type interface-number
In Ethernet
port view
am user-bind mac-addr mac-address
ip-addr ip-address
display am user-bind [ interface interface-type
interface-number | ip-addr ip-address | mac-addr
mac-address ]
Use the command...
Use the command...
2-1
Remarks
—
Either is required.
By default, no user
MAC address or IP
address is bound to a
port.
Remarks
Available in any
view