7
Command Line Interface
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
SMC AP(config)#dhcp-relay primary 192.168.2.20
SMC AP(config)#
show dhcp-relay
This command displays the current DHCP relay configuration.
Command Mode
Exec
Example
SMC AP#show dhcp-relay
DHCP Relay
Primary DHCP Server
Secondary DHCP Server : 0.0.0.0
SMC AP#
7-40
: ENABLED
: 192.168.2.20