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

dhcp-relay enable

Enables the DHCP relay agent

GC

6-42

dhcp-relay

Sets the primary and secondary DHCP server

GC

6-43

 

address

 

 

show dhcp-relay

Shows current DHCP relay configuration

Exec

6-43

 

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 dhcp-relay primary command. A secondary DHCP server does not need to be configured, but it is recommended.

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.

6-42

Page 154
Image 154
3Com 3CRWEASYA73, WL-575 manual Dhcp Relay Commands, Dhcp-relay enable, Syntax No dhcp-relay enable Default Setting