Switching Commands
147
ProSafe Managed Switch
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
Format dhcp l2relay vlan <vlan-list>
Mode
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
dhcp l2relay trust
Use this command to configure an interface or range of interfaces as trusted for Option-82
reception.
Default
Format dhcp l2relay trust
Mode
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
show dhcp l2relay all
Use this command to display the summary of DHCP L2 Relay configuration.
Format show dhcp l2relay all
Mode
Example: The following shows example CLI display output for the command.
(switch) #show dhcp l2relay all
DHCP L2 Relay is Enabled.
Interface L2RelayMode TrustMode
---------- ----------- --------------
disabled
Global Config
Global Config
untrusted
Interface Config
Interface Config
Privileged EXEC