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

Layer 3 - ip services
Hide thumbs Also See for A7500 Series:
Table of Contents

Advertisement

To do...
Display information about the
configuration of a specified DHCP
server group or all DHCP server groups
Display packet statistics on relay agent
Clear packet statistics from relay agent

DHCP relay agent configuration examples

DHCP relay agent configuration example

Network requirements
As shown in
is 10.1.1.1/24. Because the DHCP clients reside on a different network than the DHCP server, a DHCP
relay agent is deployed to forward messages between DHCP clients and the DHCP server.
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 the IP address of VLAN-interface 2 is
10.1.1.2/24.
Figure 31 Network diagram for DHCP relay agent
Configuration procedure
# Specify IP addresses for the interfaces (details not shown).
# Enable DHCP.
<SwitchA> system-view
[SwitchA] dhcp enable
# Add DHCP server 10.1.1.1 into DHCP server group 1.
[SwitchA] dhcp relay server-group 1 ip 10.1.1.1
# Enable the DHCP relay agent on VLAN-interface 1.
[SwitchA] interface vlan-interface 1
Figure
31, DHCP clients reside on network 10.10.1.0/24. The IP address of the DHCP server
Use the command...
display dhcp relay server-group { group-id
| all } [ | { begin | exclude | include }
regular-expression ]
display dhcp relay statistics [ server-group
{ group-id | all } ] [ | { begin | exclude |
include } regular-expression ]
reset dhcp relay statistics [ server-group
group-id ]
64
Remarks
Available in any
view
Available in any
view
Available in user
view

Advertisement

Table of Contents
loading

Table of Contents