Network diagram, Configuration procedure – H3C Technologies H3C WX6000 Series Access Controllers User Manual

Page 291

Advertising
background image

26-5

For detailed configuration of DHCP Server, refer to DHCP in H3C WX6103 Access Controller Switch

Interface Board Configuration Guide.

Network diagram

Figure 26-2

Network diagram for configuring dynamic binding

Configuration procedure

1) Configure

AC

# Configure dynamic binding on port GigabitEthernet 0/0/1.

<AC> system-view

[AC] interface GigabitEthernet 0/0/1

[AC-GigabitEthernet0/0/1] ip check source ip-address mac-address

[AC-GigabitEthernet0/0/1] quit

# Enable DHCP snooping on Switch A.

[AC] dhcp-snooping

# Configure port GigabitEthernet 0/0/2 connected to the DHCP server as a trusted port.

[AC] interface GigabitEthernet0/0/2

[AC-GigabitEthernet0/0/2] dhcp-snooping trust

[AC-GigabitEthernet0/0/2] quit

2) Verify the configuration

# Display the dynamic binding entries that port GigabitEthernet 0/0/1 has obtained from DHCP
Snooping.

<AC> display ip check source

The following user address bindings have been configured:

MAC IP Vlan Port Status

0001-0203-0406 192.168.0.1 1 GigabitEthernet0/0/1 DHCP-SNP

-----------------1 binding entries queried, 1 listed------------------

# Display the dynamic entries of DHCP Snooping and check it is identical with the dynamic entries that
port GigabitEthernet 0/0/1 has obtained.

<AC> display dhcp-snooping

DHCP Snooping is enabled.

The client binding table for all untrusted ports.

Type : D--Dynamic , S--Static

Type IP Address MAC Address Lease VLAN Interface

==== =============== ============== ============ ==== =================

D 192.168.0.1 0001-0203-0406 86335 1 GigabitEthernet0/0/1

As you see, port GigabitEthernet 0/0/1 has obtained the dynamic entries generated by DHCP Snooping
after it is configured with dynamic binding function.

Advertising