Switching Commands
130
ProSafe M4100 and M7100 Managed Switches
show dhcp l2relay interface

Use this command to display DHCP L2 relay configuration specific to interfaces.

Format show dhcp l2relay interface {all | interface-num}
Mode

Example: The following shows example CLI display output for the command.

(switch) #show dhcp l2relay interface all
DHCP L2 Relay is Enabled.
Interface L2RelayMode TrustMode
---------- ----------- --------------
0/2 Enabled untrusted
0/4 Disabled trusted
show dhcp l2relay stats interface

Use this command to display statistics specific to DHCP L2 Relay configured interface.

Format show dhcp l2relay stats interface {all | interface-num}
Mode
Example: The following shows example CLI display output for the command.
(switch) #show dhcp l2relay stats interface all DHCP L2 Relay is Enabled.
Interface UntrustedServer UntrustedClient TrustedServer TrustedClient
MsgsWithOpt82 MsgsWithOpt82 MsgsWithoutOpt82 MsgsWithoutOpt82
--------- --------------- ----------------- ----------------- --------------
0/1 0 0 0 0
0/2 0 0 3 7
0/3 0 0 0 0
0/4 0 12 0 0
0/5 0 0 0 0
0/6 3 0 0 0
0/7 0 0 0 0
0/8 0 0 0 0
0/9 0 0 0 0
show dhcp l2relay agent-option vlan

Use this command to display the DHCP L2 Relay Option-82 configuration specific to VLAN.

Format show dhcp l2relay agent-option vlan vlan-range
Mode

Example: The following shows example CLI display output for the command.

(switch) #show dhcp l2relay agent-option vlan 5-10
DHCP L2 Relay is Enabled.
VLAN Id L2 Relay CircuitId RemoteId
--------- ---------- ----------- ------------
Privileged EXEC
Privileged EXEC
Privileged EXEC