119
QCN commands
display qcn cp interface
Use display qcn cp interface to display congestion point (CP) statistics.
Syntax
display qcn cp interface [ interface-type interface-number ] [ priority priority ]
Views
Any view
Predefined user roles
network-admin
network-operator
Parameters
interface-type interface-number: Specifies a Layer 2 Ethernet interface by its type and number. If you
do not specify an interface, this command displays CP statistics for all Layer 2 Ethernet interfaces.
priority priority: Specifies a congestion notification domain (CND) by a congestion notification
priority value (CNPV) in the range of 0 to 7. If you do not specify a CND, this command displays CP
statistics for all CNDs.
Usage guidelines
CP statistics for a Layer 2 Ethernet interface include the following information:
• Profiles bound to CNDs specified by CNPVs.
• Number of packets allowed to pass through.
• Number of packets discarded.
• Number of congestion notification messages (CNMs) sent.
Examples
# Display CP statistics for all Layer 2 Ethernet interfaces.
<Sysname> display qcn cp interface
Interface: XGE1/0/1
CNPV 1: CP profile 1
Passed : 100000 (Packets)
Discarded: 10 (Packets)
CNM count: 3000 (Packets)
CNPV 2: CP profile default
Passed : 200000 (Packets)
Discarded: 20 (Packets)
CNM count: 3000 (Packets)
Interface: XGE1/0/2
CNPV 1: CP profile 1
Passed : 100000 (Packets)
Discarded: 10 (Packets)
CNM count: 3000 (Packets)
CNPV 2: CP profile default