– 144 –
16 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 13: DHCP Relay Commands
Command Function Mode Page
dhcp-relay server Sets the DHCP server address and enables the
DHCP relay agent
IC-W-
VAP
144