CLI Guide

Layer 2 Switching Commands 345
show dhcp l2relay interface
Use the show dhcp l2relay interface command to display DHCP L2 Relay
configuration specific to interfaces.
Syntax
show dhcp l2relay interface {all | interface-id}
all
Show all interfaces.
interface-id
Show the specified interface information. The interface may be an
Ethernet interface or a port-channel.
Default Configuration
This command has no default configuration.
Command Mode
Privileged Exec mode, Global Configuration mode and all Configuration
submodes
User Guidelines
There are no user guidelines for this command.
Command History
Port-channel capability added in version 6.5 firmware.
Example
console#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 the show dhcp l2relay stats interface command to display DHCP L2
Relay statistics specific to interfaces.