CHAPTER 6: COMMAND LINE INTERFACE
DHCP Relay Commands
Dynamic Host Configuration Protocol (DHCP) can dynamically allocate an IP address and other configuration information to network clients that broadcast a request. To receive the broadcast request, the DHCP server would normally have to be on the same subnet as the client. However, when the access point’s DHCP relay agent is enabled, received client requests can be forwarded directly by the access point to a known DHCP server on another subnet. Responses from the DHCP server are returned to the access point, which then broadcasts them back to clients.
Table 15 DHCP Relay Commands
Command | Function | Mode | Page |
Enables the DHCP relay agent | GC | ||
Sets the primary and secondary DHCP server | GC | ||
| address |
|
|
show | Shows current DHCP relay configuration | Exec | |
| settings |
|
|
|
|
|
|
dhcp-relay enable
This command enables the access point’s DHCP relay agent. Use the no form to disable the agent.
Syntax
[no] dhcp-relay enable
Default Setting
Disabled
Command Mode
Global Configuration
Command Usage
•For the DHCP relay agent to function, the primary DHCP server must be configured using the
•If there is no response from the primary DHCP server, and a secondary server has been configured, the agent will then attempt to send DHCP requests to the secondary server.