DHCP Layer 2 Relay Commands 333
Syntax
dhcp l2relay trust
no dhcp l2relay trust
Default Configuration
DHCP Option 82 is discarded by default.
Configuration Mode
Interface Configuration (Ethernet, Port-channel).
User Guidelines
There are no user guidelines for this command.
Example
console(config-if-1/0/1)#dhcp l2relay trust
dhcp l2relay vlan
Use the dhcp l2relay vlan command to enable the L2 DHCP Relay agent for
a set of VLANs. All DHCP packets which arrive on interfaces in the
configured VLAN are subject to L2 Relay processing. Use the "no" form of
this command to disable L2 DHCP Relay for a set of VLANs.
Syntax
dhcp l2relay vlan
vlan-range
no dhcp l2relay vlan
vlan-range
Parameter Description
Default Configuration
DHCP L2 Relay is disabled on all VLANs by default.
Parameter Description
vlan-range
The list of VLAN IDs.
2CSPC4.XCT-SWUM2XX1.book Page 333 Monday, October 3, 2011 11:05 AM