Operation Manual – Port Security & Port Binding
Quidway S3900 Series Ethernet Switches-Release 1510 Chapter 2 Port Binding Configuration
Huawei Technologies Proprietary
2-2
Table 2-2 Display port binding configuration
Operation Command Description
Display the
information about
port binding
display am user-bind
[ interface interface-type
interface-number |
mac-addr | ip-addr ]
The display command can be
executed in any view.
2.3 Port Binding Configuration Example
I. Network requirements
In order o prevent illegal use of the IP address of PC1, you may bind the MAC and IP
addresses to Ethernet1/0/1.
II. Network diagram
Switch A Switch B
E1/0/1
PC1
PC2
MAC: 0001-0002-0003
PC1
PC2
PC1
PC2
PC1
PC2
IP Address: 10.12.1.1
Switch A Switch B
PC1
PC2
MAC: 0001-0002-0003
PC1
PC2
PC1
PC2
PC1
PC2
IP Address: 10.12.1.1
Switch A Switch B
E1/0/1
PC1
PC2
MAC: 0001-0002-0003
PC1
PC2
PC1
PC2
PC1
PC2
IP Address: 10.12.1.1
Switch A Switch B
PC1
PC2
MAC: 0001-0002-0003
PC1
PC2
PC1
PC2
PC1
PC2
IP Address: 10.12.1.1
Figure 2-1 Network diagram for port binding configuration
III. Configuration procedure
Configure switch A as follows:
# Enter system view.
<Quidway> system-view
# Enter Ethernet1/0/1 port view.
[Quidway] interface Ethernet1/0/1
# Bind the MAC address and the IP address of PC1 to Ethernet1/0/1.
[Quidway-Ethernet1/0/1] am user-bind mac-addr 0001-0002-0003 ip-addr
10.12.1.1