To do…

Use the command…

Remarks

 

 

Enter system view

system-view

 

 

 

 

 

 

 

Enable Option 82 support on the

dhcp relay information

Required

 

 

DHCP relay agent

enable

Disabled by default.

 

 

 

 

 

 

 

Configure the strategy for the DHCP

dhcp relay information

Optional

 

 

relay agent to process request

strategy { drop keep

By default, the replace

 

 

packets containing Option 82

replace }

strategy is adopted

 

 

 

 

 

 

zBy default, with the Option 82 support function enabled on the DHCP relay agent, the DHCP relay agent will adopt the replace strategy to process the request packets containing Option 82. However, if other strategies are configured before, then enabling the 82 support on the DHCP relay agent will not change the configured strategies.

zTo enable Option 82, you need to perform the corresponding configuration on the DHCP server and the DHCP relay agent.

Displaying and Maintaining DHCP Relay Agent Configuration

 

To do…

Use the command…

Remarks

 

Display the information about a specified

display dhcp-server groupNo

 

 

DHCP server group

 

 

 

 

 

 

 

 

 

Display the information about the DHCP

display dhcp-server interface

Available in any

 

server group to which a specified VLAN

 

vlan-interface vlan-id

view

 

interface is mapped

 

 

 

 

 

 

 

 

Display the specified client address

display dhcp-security [ ip-address

 

 

entries on the DHCP relay agent

dynamic static tracker ]

 

 

 

 

 

 

Clear the statistics information of the

reset dhcp-server groupNo

Available in user

 

specified DHCP server group

view

 

 

 

 

 

 

DHCP Relay Agent Configuration Example

Network requirements

As shown in Figure 2-4, VLAN-interface 1 on the DHCP relay agent (Switch A) connects to the network where DHCP clients reside. The IP address of VLAN-interface 1 is 10.10.1.1/24 and IP address of VLAN-interface 2 is 10.1.1.2/24 that communicates with the DHCP server 10.1.1.1/24. As shown in the figure below, Switch A forwards messages between DHCP clients and the DHCP server to assign IP addresses in subnet 10.10.1.0/24 to the clients.

2-8

Page 324
Image 324
3Com WX3000 Displaying and Maintaining Dhcp Relay Agent Configuration, Dhcp Relay Agent Configuration Example