dhcp l2relay vlan
Use this command to enable the DHCP L2 Relay agent for a set of VLANs. All DHCP packets
which arrive on interfaces in the configured VLAN are subject to L2 Relay processing.
vlan–list range is 1–4093. Separate non-consecutive IDs with a comma (,), and do not insert
spaces or zeros between the range. Use a dash (–) for the range.
Default
disabled
Format
dhcp l2relay vlan <vlan-list>
Mode
Global Config
no dhcp l2relay vlan
Use this command to disable the DHCP L2 Relay agent for a set of VLANs.
Format
no dhcp l2relay vlan <vlan-list>
Mode
Global Config
dhcp l2relay trust
Use this command to configure an interface or range of interfaces as trusted for Option-82
reception.
Default
untrusted
Format
dhcp l2relay trust
Mode
Interface Config
no dhcp l2relay trust
Use this command to configure an interface to the default untrusted for Option-82 reception.
Format
no dhcp l2relay trust
Mode
Interface Config
show dhcp l2relay all
Use this command to display the summary of DHCP L2 Relay configuration.
Format
show dhcp l2relay all
Mode
Privileged EXEC
Example: The following shows example CLI display output for the command.
(switch) #show dhcp l2relay all
DHCP L2 Relay is Enabled.
Interface
----------
ProSafe Managed Switch
L2RelayMode
TrustMode
-----------
--------------
Switching Commands
127