Enabling dhcp, Enabling the dhcp server on an interface, Displaying and maintaining the dhcp relay agent – H3C Technologies H3C S12500 Series Switches User Manual
Page 69: Dhcp relay agent configuration examples, Dhcp relay agent configuration example

56
68B
Displaying and maintaining the DHCP relay agent
Execute display commands in any view and reset commands in user view.
Task Command
Display information about DHCP servers specified
on the DHCP relay agent interface.
display dhcp relay server-address [ interface
interface-type interface-number ]
Display Option 82 configuration information on the
DHCP relay agent.
display dhcp relay information [ interface interface-type
interface-number ]
Display relay entries on the DHCP relay agent.
display dhcp relay client-information [ interface
interface-type interface-number | ip ip-address
[ vpn-instance vpn-instance-name ] ]
Display packet statistics on the DHCP relay agent.
display dhcp relay statistics [ interface interface-type
interface-number ]
Clear relay entries on the DHCP relay agent.
reset dhcp relay client-information [ interface
interface-type interface-number | ip ip-address
[ vpn-instance vpn-instance-name ] ]
Clear packet statistics on the DHCP relay agent.
reset dhcp relay statistics [ interface interface-type
interface-number ]
69B
DHCP relay agent configuration examples
By default, Ethernet, VLAN, and aggregate interfaces are down. To configure such an interface, bring
the interface up by executing the undo shutdown command.
217B
DHCP relay agent configuration example
343B
Network requirements
As shown in
708H
Figure 22
, the DHCP relay agent forwards DHCP messages between DHCP clients and the
DHCP server.
The DHCP relay agent and server are on different subnets, so configure static or dynamic routing to make
them reachable to each other.
Perform the configuration on the DHCP server to guarantee the client-server communication. For DHCP
server configuration information, see "
709H
DHCP server configuration examples
."
- H3C SR8800 H3C SR6600-X H3C SR6600 H3C WX6000 Series Access Controllers H3C WX5000 Series Access Controllers H3C WX3000 Series Unified Switches H3C LSWM1WCM10 Access Controller Module H3C LSWM1WCM20 Access Controller Module H3C LSQM1WCMB0 Access Controller Module H3C LSRM1WCM2A1 Access Controller Module H3C LSBM1WCM2A0 Access Controller Module H3C S6800 Series Switches H3C S3100V2 Series Switches H3C S12500-X Series Switches H3C S9800 Series Switches