xStack
®
DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual
248
33
G
ENERAL
S
WITCH
C
OMMANDS
The General Switch commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in
the following table.
Command
Parameters
show cpu port
{[l2 | l3 {[unicast | multicast]} |type [lacp | stp | gvrp | erps | cfm| 802.1x | lldp |
udld | stacking | ctp | rip | ripng | reserved_ipv4_ipmc | reserved_ipv6_ipmc |
unknow_ipv4_ipmc | unknow_ipv6_ipmc | arp | icmp | ndp | icmpv6 | sntp | dns |
tftp | rcp |telnet | dhcp | dhcpv6]]}
clear cpu port
enable password_recovery
disable password_recovery
show password_recovery
Each command is listed, in detail, in the following sections.
show cpu port
Purpose
Used to display statistics for L2/L3 control packets that are trapped to CPU.
Syntax
show cpu port {[l2 | l3 {[unicast | multicast]} |type [lacp | stp | gvrp | erps | cfm| 802.1x |
lldp | udld | stacking | ctp | rip | ripng | reserved_ipv4_ipmc | reserved_ipv6_ipmc |
unknow_ipv4_ipmc | unknow_ipv6_ipmc | arp | icmp | ndp | icmpv6 | sntp | dns | tftp |
rcp |telnet | dhcp | dhcpv6]]}
Description
This command is use to show statistics for L2/L3 control packets that are trapped to CPU.
Parameters
l2 - Display statistic counters of L2 control packets.
l3 - Display statistic counters of L3 control packets.
•
unicast
- Display statistic counters of L3 unicast routing and L3 application control
packets.
•
multicast
- Display statistic counters of L3 multicast routing control packets.
type - Specifies the type of packet that will be displayed. The protocol subtype will be
displayed.
If not specified, all L2/L3 control packets will be displayed.
Restrictions
None.
Example usage:
To display statistics of all L3 control packets: