3Com MSR 30 Network Router User Manual


  Open as PDF
of 2742
 
736 CHAPTER 52: DHCP RELAY AGENT CONFIGURATION COMMANDS
dhcp select relay
Syntax dhcp select relay
undo dhcp select relay
View Interface view
Parameter None
Description Use the
dhcp select relay command to enable the relay agent on the current
interface, specified or all interfaces. Upon receiving requests from an enabled
interface, the relay agent will forward these requests to outside DHCP servers for
IP address allocation.
Use the
undo dhcp select relay command to restore the default on interface(s).
After DHCP is enabled, the DHCP server is enabled on an interface by default. That
is, 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 will be
deleted. However, these ARP entries may conflict with the new static entries
generated on the DHCP relay agent; therefore, you are recommended to delete
the existing IP address leases when changing the interface working mode to DHCP
relay agent.
Example # Enable the DHCP relay agent on the interface Ethernet1/0.
<Sysname> system-view
[Sysname] interface ethernet 1/0
[Sysname-Ethernet1/0] dhcp select relay
dhcp update arp
Syntax dhcp update arp
undo dhcp update arp
View Interface view
Parameter None
Description Use the
dhcp update arp command to configure the DHCP relay agent to
support authorized ARP.
Use the
undo dhcp update arp command to restore the default.
By default, the DHCP relay agent does not support authorized ARP.