Displaying And Maintaining The Dhcp Relay Agent; Dhcp Relay Agent Configuration Examples; Dhcp Relay Agent Configuration Example - HP FlexNetwork MSR2003 Configuration Manual

Flexnetwork msr router series
Hide thumbs Also See for FlexNetwork MSR2003:
Table of Contents

Advertisement

If DHCP server proxy is enabled, you must configure the sub-option 72 in Option 82 to carry the
index of the interface that processes the DHCP request. When receiving a DHCP response, the relay
agent forwards the response according to the interface index in sub-option 72.
To specify the source address and gateway address in DHCP requests:
Step
1.
Enter system view.
2.
Enter interface view.
3.
Specify an IP address as the
source address and gateway
address in DHCP requests.

Displaying and maintaining the DHCP relay agent

Execute display commands in any view and reset commands in user view.
Task
Display information about DHCP servers on an
interface.
Display Option 82 configuration information on the
DHCP relay agent.
Display relay entries on the DHCP relay agent.
Display packet statistics on the DHCP relay agent.
Display MAC address check entries 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 clients to obtain IP addresses and other configuration parameters from the DHCP server on
another subnet.
Because the DHCP relay agent and server are on different subnets, you need to configure static or
dynamic routing to make them reachable to each other.
Figure
32, configure the DHCP relay agent on Router A. The DHCP relay agent enables
Command
system-view
interface interface-type
interface-number
dhcp relay source-address
ip-address
Command
display dhcp relay server-address [ interface
interface-type interface-number ]
display dhcp relay information [ interface
interface-type interface-number ]
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 ]
display dhcp relay check mac-address
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 ]
75
Remarks
N/A
N/A
By default, the IP address of the
interface is used as the source
address and gateway address in
DHCP requests.

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents