Port Binding Configuration Example

Network requirements

As shown in Figure 2-1, it is required to bind the MAC and IP addresses of Host 1 to GigabitEthernet 1/0/1 on switch A, so as to prevent malicious users from using the IP address they steal from Host 1 to access the network.

Figure 2-1Network diagram for port binding configuration

Switch A

Switch B

 

 

GE1/0/1

 

 

 

Host2

Host1

MAC: 0001- 0002-0003

IP Address:10.12.1.1

Configuration procedure

Configure switch A as follows:

# Enter system view.

<device> system-view

# Enter GigabitEthernet 1/0/1 port view.

[device] interface GigabitEthernet 1/0/1

# Bind the MAC address and the IP address of Host 1 to GigabitEthernet 1/0/1.

[device-GigabitEthernet1/0/1] am user-bind mac-addr 0001-0002-0003 ip-addr 10.12.1.1

2-2

Page 149
Image 149
3Com WX3000 operation manual Port Binding Configuration Example, Configure switch a as follows # Enter system view