ip dhcp relay
To enable the DHCP relay agent, use the ip dhcp relay command. To disable the DHCP relay agent, use the
no form of this command.
ip dhcp relay
no ip dhcp relay
Syntax Description
This command has no arguments or keywords.
Command Default
None
Command Modes
Global configuration
Command History
ModificationRelease
This command was introduced to replace the service dhcp command.4.2(1)
Usage Guidelines
This command does not require a license.
Examples
This example shows how to globally enable DHCP snooping:
switch# configure terminal
switch(config)# ip dhcp relay
switch(config)#
Related Commands
DescriptionCommand
Enables the DHCP snooping feature on the device.feature dhcp
Configures an IP address of a DHCP server on an
interface.
ip dhcp relay address
Enables the insertion and removal of option-82
information from DHCP packets forwarded by the
DHCP relay agent.
ip dhcp relay information option
Enables DHCP to use Cisco proprietary numbers 150,
152, and 151 when filling the link selection, server
ID override, and VRF name/VPN ID relay agent
option-82 suboptions.
ip dhcp relay sub-option type cisco
Cisco Nexus 7000 Series Security Command Reference
392
I Commands
ip dhcp relay