R2511-HP MSR Router Series Layer 3 - IP Services Command Reference(V5)

65
Views
Interface view
Default command level
2: System level
Usage guidelines
After DHCP is enabled, the DHCP server is enabled on an interface by default. Upon receiving a client's
request from the interface, the DHCP server allocates an IP address from the DHCP address pool to the
client.
When the working mode of the interface is changed from DHCP server to DHCP relay agent, neither the
IP address leases nor the authorized ARP entries are deleted. However, these ARP entries might conflict
with new ARP entries generated on the DHCP relay agent. To avoid this, delete the existing IP address
leases when changing the interface working mode to DHCP relay agent.
Examples
# Enable the DHCP relay agent on the interface Ethernet 1/1.
<Sysname> system-view
[Sysname] interface ethernet 1/1
[Sysname-Ethernet1/1] dhcp select relay
dhcp update arp (for DHCP relay agent)
Use dhcp update arp to configure the DHCP relay agent to support authorized ARP.
Use undo dhcp update arp to restore the default.
Syntax
dhcp update arp
undo dhcp update arp
Default
The DHCP relay agent does not support authorized ARP.
Views
Interface view
Default command level
2: System level
Examples
# Configure Ethernet 1/1 to support authorized ARP.
<Sysname> system-view
[Sysname] interface ethernet 1/1
[Sysname-Ethernet1/1] dhcp update arp
display dhcp relay
Use display dhcp relay to display information about DHCP server groups correlated to an interface or all
interfaces.