2
Port Binding Configuration
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
am user-bind mac-addr mac-address
port view
ip-addr ip-address
Use the command...
display am user-bind
[ interface interface-type
interface-number | ip-addr
ip-addr | mac-addr mac-addr ]
Use the command...
2-1
Remarks
—
User either approach.
By default, no user
MAC address or IP
address is bound to a
port.
Remarks
Available in any view