46
DHCP Relay Commands
ip-address
no ip dhcp relay address [
]
Parameters
ip-address—Specifies the DHCP server IP address. Up to 8 servers can be
defined.
Default Configuration
No server is defined.
Command Mode
Interface Configuration (VLAN, Ethernet, Port-channel) mode
User Guidelines
Use the ip dhcp relay address command to define a DHCP Server IP address per
the interface. To define multiple DHCP Servers, use the command multiple times.
Before using this command, set the device in router mode with the command set
system mode.
ip-address
To remove a DHCP Server, use the no form of the command with the
argument.
ip-address
The no form of the command without the
argument deletes all DHCP
servers defined per the interface.
You can use the command regardless if DHCP Relay is enabled on the interface.
Example
The following example defines the DHCP server on the device.
switchxxxxxx(config)#
ip dhcp relay address
176.16.1.1
46.5
show ip dhcp relay
Use the show ip dhcp relay EXEC mode command to display the DHCP relay
information.
Syntax
show ip dhcp relay
762
78-21075-01 Command Line Interface Reference Guide