Dynamic Binding Function Configuration Example - 3Com 4500G Family Configuration Manual

24/48 port
Hide thumbs Also See for 4500G Family:
Table of Contents

Advertisement

Configuration procedure
1)
Configure Switch A
# Configure the IP addresses of various interfaces (omitted).
# Configure port GigabitEthernet 1/0/2 of Switch A to allow only IP packets with the source MAC
address of 00-01-02-03-04-05 and the source IP address of 192.168.0.3 to pass.
<SwitchA> system-view
[SwitchA] interface gigabitethernet 1/0/2
[SwitchA-GigabitEthernet1/0/2] user-bind ip-address 192.168.0.3 mac-address 0001-0203-0405
[SwitchA-GigabitEthernet1/0/2] quit
# Configure port GigabitEthernet 1/0/1 of Switch A to allow only IP packets with the source MAC
address of 00-01-02-03-04-06 and the source IP address of 192.168.0.1 to pass.
[SwitchA] interface gigabitethernet 1/0/1
[SwitchA-GigabitEthernet1/0/1] user-bind ip-address 192.168.0.1 mac-address 0001-0203-0406
2)
Configure Switch B
# Configure the IP addresses of various interfaces (omitted).
# Configure port GigabitEthernet 1/0/2 of Switch B to allow only IP packets with the source MAC
address of 00-01-02-03-04-06 and the source IP address of 192.168.0.1 to pass.
<SwitchB> system-view
[SwitchB] interface gigabitethernet 1/0/2
[SwitchB-GigabitEthernet1/0/2] user-bind ip-address 192.168.0.1 mac-address 0001-0203-0406
[SwitchB-GigabitEthernet1/0/2] quit
# Configure port GigabitEthernet 1/0/1 of Switch B to allow only IP packets with the source MAC
address of 00-01-02-03-04-07 and the source IP address of 192.168.0.2 to pass.
[SwitchB] interface gigabitethernet 1/0/1
[SwitchB-GigabitEthernet1/0/1] user-bind ip-address 192.168.0.2 mac-address 0001-0203-0407
3)
Verify the configuration
# On Switch A, static binding entries are configured successfully.
<SwitchA> display user-bind
Total entries found: 2
MAC
0001-0203-0405
0001-0203-0406
# On Switch B, static binding entries are configured successfully.
<SwitchB> display user-bind
Total entries found: 2
MAC
0001-0203-0406
0001-0203-0407

Dynamic Binding Function Configuration Example

Network requirements
Switch A connects to Client A and the DHCP server through ports GigabitEthernet 1/0/1 and
GigabitEthernet 1/0/2 respectively. DHCP snooping is enabled on Switch A.
Detailed requirements are as follows:
Client A (with the MAC address of 00-01-02-03-04-06) obtains an IP address through the DHCP
server.
On Switch A, create a DHCP snooping entry for Client A.
IP
Vlan
192.168.0.3
N/A
192.168.0.1
N/A
IP
Vlan
192.168.0.1
N/A
192.168.0.2
N/A
Port
GigabitEthernet1/0/2
GigabitEthernet1/0/1
Port
GigabitEthernet1/0/2
GigabitEthernet1/0/1
1-4
Status
Static
Static
Status
Static
Static

Hide quick links:

Advertisement

Chapters

Table of Contents
loading

Table of Contents