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
Privileged EXEC
Example: The following shows example CLI display output for the command.
(switch) #show dhcp l2relay interface all
DHCP L2 Relay is Enabled.
Interface
L2RelayMode
----------
-----------
1/0/2
Enabled
1/0/4
Disabled
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
Privileged EXEC
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
MsgsWithOpt82
---------
--------------- -----------------
0/1
0
0/2
0
0/3
0
0/4
0
0/5
0
0/6
3
0/7
0
0/8
0
0/9
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
Privileged EXEC
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
---------
----------
5
Enabled
ProSafe Managed Switch
TrustMode
--------------
untrusted
trusted
UntrustedClient
TrustedServer
MsgsWithOpt82
MsgsWithoutOpt82 MsgsWithoutOpt82
----------------- --------------
0
0
0
12
0
0
0
0
0
CircuitId
-----------
------------
Enabled
Switching Commands
143
TrustedClient
0
0
3
7
0
0
0
0
0
0
0
0
0
0
0
0
0
0
RemoteId
--NULL—