DHCP Relay Commands
OL-32830-01 Command Line Interface Reference Guide
11.4 ip dhcp relay address (Interface)
Use the ip dhcp relay address Interface Configuration (VLAN, Ethernet,
Port-channel) command to define the DHCP servers available by the DHCP relay
for DHCP clients connected to the interface. Use the no form of this command to
remove the server from the list.
Syntax
ip dhcp relay 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 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.
To remove a DHCP server, use the no form of the command with the
argument.
The no form of the command without the
servers.
Example
The following example defines the DHCP server on the device.
switchxxxxxx(config)#
switchxxxxxx(config-if)#
ip-address
ip-address
]
ip-address
21
interface vlan
ip dhcp relay address
ip-address
argument deletes all DHCP
176.16.1.1
11
274