652
DHCP Relay Commands
FILE LOCATION: C:\Users\gina\Desktop\Checkout_new\CLI Folders\Dell Contax
CLI\files\DCHP_Relay.fm
D E L L C O N F ID E N T IA L – P R E L IM I N A RY 5 / 1 5 /1 2 - F O R P R O O F O N LY
Syntax
ip dhcp relay enable
no ip dhcp relay enable
Default Configuration
Disabled
Command Mode
Interface Configuration (VLAN) mode
Interface Configuration (VLAN, Ethernet, Port-channel) mode
User Guidelines
Enable DHCP relay globally before enabling DHCP relay on an interface.
Example
The following example enables DHCP features on VLAN 21.
Console(config)#
interface vlan
21
Console(config-if)#
ip dhcp relay enable
ip dhcp relay address (Global)
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
]
Parameters
ip-address
—Specifies the DHCP server IP address. Up to 8 servers can be
defined.
Default Configuration
No server is defined.