Command Line Interface

4-242

4
Usage Guidelines
You must specify the IP address for at least one DHCP server. Otherwise, the
switch’s DHCP relay agent will not operate and all DHCP request and reply
packets will be flooded to the entire VLAN.
Example
show ip dhcp-relay
This command shows the current DHCP relay agent configuration.
Default Setting
None
Command Mode
Privileged Exec
Example
Console(config)#ip dhcp relay server 192.168.1.9 192.168.1.54
Console(config)#
Console#show ip dhcp-relay
Status of DHCP relay option82:
Insertion of option82 is Enabled.
DHCP option policy :replace.
DHCP relay-server address 192.168.1.9 192.168.1.54 0.0.0.0 0.0.0.0
0.0.0.0
Console#