![Huawei Quidway S5600 Operation Manual Download Page 202](http://html.mh-extra.com/html/huawei/quidway-s5600/quidway-s5600_operation-manual_169841202.webp)
Operation Manual – Port Security & Port Binding
Quidway S5600 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 mac-addr
|
ip-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 GigabitEthernet1/0/1.
II. Network diagram
Switch A
Switch B
GE1/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
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
GE1/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
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 GigabitEthernet1/0/1 port view.
[Quidway] interface GigabitEthernet1/0/1
# Bind the MAC address and the IP address of PC1 to GigabitEthernet1/0/1.
[Quidway-GigabitEthernet1/0/1] am user-bind mac-addr 0001-0002-0003 ip-addr
10.12.1.1