DHCP Relay Commands
ip dhcp relay enable (interface)
SPS208G/SPS224G4/SPS2024 Command Line Interface Reference Guide 142
9
ip dhcp relay enable (interface)
The ip dhcp relay enable Interface Configuration mode command enables
Dynamic Host Configuration Protocol (DHCP) relay features for an interface. Use
the no form of this command to disable the relay agent features.
Syntax
ip dhcp relay enable
no ip dhcp relay enable
Default Configuration
For a switch: Disabled.
Command Mode
For a switch: Interface Configuration (VLAN) mode
User Guidelines
DHCP relay must be enabled before enabling DHCP snooping on an interface.
Example
The following example enables DHCP services on the DHCP Server.
Console(config-if)# ip dhcp relay enable