Dhcp Relay Agent Configuration Examples; Dhcp Relay Agent Configuration Example - HP 5920 Series Configuration Manual

Hide thumbs Also See for 5920 Series:
Table of Contents

Advertisement

Task
Display relay entries on the DHCP relay agent.
Display packet statistics on the DHCP relay agent.
Clear relay entries on the DHCP relay agent.
Clear packet statistics on the DHCP relay agent.

DHCP relay agent configuration examples

DHCP relay agent configuration example

Network requirements
As shown in
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
Figure 22 Network diagram
DHCP client
DHCP client
Configuration procedure
# Specify IP addresses for the interfaces. (Details not shown.)
# Enable DHCP.
<SwitchA> system-view
[SwitchA] dhcp enable
# Enable the DHCP relay agent on VLAN-interface 10.
[SwitchA] interface vlan-interface 10
Figure
22, the DHCP relay agent forwards DHCP messages between DHCP clients and the
DHCP client
Vlan-int10
10.10.1.1/24
Switch A
DHCP relay agent
DHCP client
Command
display dhcp relay client-information [ interface
interface-type interface-number | ip ip-address
[ vpn-instance vpn-instance-name ] ]
display dhcp relay statistics [ interface interface-type
interface-number ]
reset dhcp relay client-information [ interface
interface-type interface-number | ip ip-address
[ vpn-instance vpn-instance-name ] ]
reset dhcp relay statistics [ interface interface-type
interface-number ]
"DHCP server configuration
Vlan-int20
10.1.1.2/24
Vlan-int20
10.1.1.1/24
Switch B
DHCP server
54
examples."

Advertisement

Table of Contents
loading

This manual is also suitable for:

5900 series

Table of Contents