Switching Commands
148
ProSafe Managed Switch
0/2 Enabled untrusted
0/4 Disabled trusted
VLAN Id L2 Relay CircuitId RemoteId
--------- ---------- ----------- ------------
3 Disabled Enabled --NULL—
5 Enabled Enabled --NULL—
6 Enabled Enabled netgear
7 Enabled Disabled --NULL—
8 Enabled Disabled --NULL—
9 Enabled Disabled --NULL—
10 Enabled Disabled --NULL—
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
---------- ----------- --------------
1/0/2 Enabled untrusted
1/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
Privileged EXEC
Privileged EXEC