![Cisco Small Business 300 1.1 Series Administration Manual Download Page 524](http://html.mh-extra.com/html/cisco/small-business-300-1-1-series/small-business-300-1-1-series_administration-manual_2609294524.webp)
DHCP Relay Commands
78-20269-01 Command Line Interface Reference Guide
525
38
Parameters
N/A
Default Configuration
Disabled
Command Mode
Interface Configuration (VLAN, Ethernet, Port-channel) mode
User Guidelines
The operational status of DHCP Relay on an interface is active if one of the
following conditions exist:
•
DHCP Relay is globally enabled, and there is an IP address defined on the
interface.
Or
•
DHCP Relay is globally enabled, there is no IP address defined on the
interface, the interface is a VLAN, and option 82 is enabled.
Example
The following example enables DHCP Relay on VLAN 21.
Console(config)#
interface vlan
21
Console(config-if)#
ip dhcp relay enable
38.3
ip dhcp relay address
Use the ip dhcp relay address Global Configuration mode command to define the
DHCP servers available for the DHCP relay. Use the no form of this command to
remove servers from the list.
Syntax
ip dhcp relay address
ip-address
no ip dhcp relay address [
ip-address
]