User's Manual

– 149
14 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.
dhcp-relay server This command configures the DHCP server address and enables the DHCP relay
agent.
Syntax
dhcp-relay server <ip_address>
ip_address - IP address of the DHCP server.
Default Setting
0.0.0.0 (disabled)
Command Mode
Interface Configuration (Wireless-VAP)
Command Usage
For the DHCP relay agent to function, the DHCP server IP address must be
configured. The default IP address “0.0.0.0” disables the DHCP relay agent.
To view the DHCP relay status, use the show interface wireless command.
Example
AP(if-wireless 0: VAP[0])# dhcp-relay server 192.168.1.10
AP(if-wireless 0: VAP[0])#
Table 10: DHCP Relay Commands
Command Function Mode Page
dhcp-relay server Sets the DHCP server address and enables the DHCP
relay agent
IC-W-
VAP
149