CLI Guide

Table Of Contents
Layer 2 Switching Commands 346
Syntax
show dhcp l2relay stats interface {all | interface-id}
all
Show all interfaces.
interface-id—
An Ethernet interface.
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.
Example
console#show dhcp l2relay stats interface all
DHCP L2 Relay is Enabled.
Interface UntrustedServer UntrustedClient TrustedServer TrustedClient
MsgsWithOpt82MsgsWithOpt82 MsgsWithoutOpt82 MsgsWithoutOpt82
--------- ------------- ---------------- ---------------- -------------
Gi1/0/1 0 0 0 0
Gi1/0/2 0 0 3 7
Gi1/0/3 0 0 0 0
show dhcp l2relay agent-option vlan
Use the show dhcp l2relay agent-option vlan command to display DHCP L2
Relay Option-82 configuration specific to VLANs.
Syntax
show dhcp l2relay agent-option vlan vlan-list
vlan-list
Show information for the specified VLAN range
. List separate, non-
consecutive VLAN IDs separated by commas (without spaces). Use a
hyphen to designate a range of IDs. (Range: 1–4093)