Administrator Guide

Layer 2 Switching Commands 335
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-Gi1/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-list
no dhcp l2relay vlan vlan-list
vlan-list A list of VLAN IDs. List separate, non-consecutive VLAN IDs
separated by commas (without spaces). Use a hyphen to designate a range
of IDs. (Range: 1–4093)
Default Configuration
DHCP L2 Relay is disabled on all VLANs by default.
Command Mode
Global Configuration mode
User Guidelines
There are no user guidelines for this command.