332 DHCP Layer 2 Relay Commands
dhcp l2relay remote-id
Use the dhcp l2relay remote-id command to enable setting the DHCP
Option 82 Remote ID for a VLAN. When enabled, the supplied string is used
for the Remote ID in DHCP Option 82. Use the "no" form of this command
to disable setting the DHCP Option 82 Remote ID.
Syntax
dhcp l2relay remote-id
remoteId
vlan
vlan-range
no dhcp l2relay remote-id
remoteId
vlan
vlan-range
Parameter Description
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.
Parameter Description
remoteId The string to be used as the remote ID in the Option 82
(Range: 1 - 128 characters).
2CSPC4.XCT-SWUM2XX1.book Page 332 Monday, October 3, 2011 11:05 AM