Chapter 29
| DHCP Commands
DHCP Relay Option 82
– 841 –
DHCP Relay Option 82
This section describes commands used to configure the switch to relay DHCP
requests from local hosts to a remote DHCP server.
ip dhcp l2 relay This command enables DHCP L2 relay service and DHCP Option 82.
Syntax
ip dhcp l2 relay
Default Setting
Disabled
Example
Console(config)#ip dhcp l2 relay
Console(config)#
ip dhcp l3 relay This command enables DHCP L3 relay service.
Syntax
ip dhcp 3 relay
Default Setting
Enabled
Example
Console(config)#ip dhcp l3 relay
Console(config)#
Table 174: DHCP Relay Option 82 Commands
Command Function Mode
ip dhcp l2 relay Enables DHCP L2 relay service and DHCP Option 82 GC
ip dhcp l3 relay Enables DHCP L3 relay GC
ip dhcp relay server Specifies DHCP server or relay server addresses GC
ip dhcp relay information
option
Enables DHCP Option 82 information relay, and specifies
the frame format for the remote-id
GC
ip dhcp relay information
policy
Specifies how to handle DHCP client requests which
already contain Option 82 information
GC
show ip dhcp relay Displays the configuration settings for DHCP relay service PE