C. Router CLI Commands, Codes, and Designations
C-18 September 2002 9128-A2-GB20-80
DHCP Relay Agent Commands
Dynamic Host Configuration Protocol (DHCP) relay agent commands
Table C-10. DHCP Relay Agent Commands
ip dhcp relay max-clients

max-dhcp-clients

no ip dhcp relay max-clients [

max-dhcp-clients

]
Minimum Access Level: Administrator
Command Mode: config
Allows you to limit the number of DHCP clients supported. The no dhcp relay
max-agents command resets the maximum number of DHCP clients supported to the
default of 1.
Example: ip dhcp relay max-clients 1
max-dhcp-clients
Number of DHCP clients supported: 1256.
[no] ip dhcp-server
ip-address
Minimum Access Level: Administrator
Command Mode: config
Allows you to specify or remove the address of the DHCP server where DHCP requests
received on the Ethernet interface are forwarded. When no server address is assigned,
the DHCP Relay agent is effectively disabled.
NOTE: The DHCP Relay agent cannot be enabled if either the DHCP server or NAT
are enabled.
ip-address
IP address of the DHCP server.