dhcp-relay
This command configures the primary and secondary DHCP server addresses.
Syntax
dhcp-relay <primary | secondary> <ip_address>
• primary - The primary DHCP server.
• secondary - The secondary DHCP server.
• ip_address - IP address of the server.
Default Setting
Primary and secondary: 0.0.0.0
Command Mode
Global Configuration
Example
Enterprise AP(config)#dhcp-relay primary 192.168.1.10
Enterprise AP(config)#
show dhcp-relay
This command displays the current DHCP relay configuration.
Command Mode
Exec
Example
Enterprise AP#show dhcp-relay
DHCP Relay
Primary DHCP Server
Secondary DHCP Server : 0.0.0.0
Enterprise AP#
: ENABLED
: 192.168.1.10
DHCP Relay Commands
7
7-39