Administrator Guide

Layer 2 Switching Commands 335
Syntax
dhcp l2relay remote-id
remoteId
vlan
vlan-range
no dhcp l2relay remote-id
remoteId
vlan
vlan-range
remoteId
The string to be used as the remote ID in the Option 82 (Range: 1 -
128 characters).
vlan-range
—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
Setting the DHCP Option 82 Remote ID is disabled by default.
Command Mode
Global Configuration.
User Guidelines
There are no user guidelines for this command.
Example
console(config)#dhcp l2relay remote-id dslforum vlan 10,20-30
dhcp l2relay trust
Use the dhcp l2relay trust command to configure an interface to mandate
Option-82 on receiving DHCP packets.
Syntax
dhcp l2relay trust
no dhcp l2relay trust
Default Configuration
DHCP Option 82 is discarded by default.
Configuration Mode
Interface Configuration (Ethernet, Port-channel).
2CSNXXX_SWUM204.book Page 335 Monday, January 25, 2016 1:25 PM