To do...
Enable Option 82 support on
the DHCP relay agent
Configure the strategy for the
DHCP relay agent to process
request packets containing
Option 82
By 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.
To 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
Display the information about a specified
DHCP server group
Display the information about the DHCP
server group to which a specified VLAN
interface is mapped
Display the specified client address entries
on the DHCP relay agent
Clear the statistics information of the
specified DHCP server group
DHCP Relay Agent Configuration Example
Network requirements
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.
Use the command...
dhcp relay information
enable
dhcp relay information
strategy { drop | keep |
replace }
To do...
Required
Disabled by default.
Optional
By default, the replace strategy
is adopted
Use the command...
display dhcp-server groupNo
display dhcp-server interface
vlan-interface vlan-id
display dhcp-security
[ ip-address | dynamic | static |
tracker ]
reset dhcp-server groupNo
3-8
Remarks
Remarks
Available in any
view
Available in user
view