display qos traffic-counter

Use display qos traffic-counter to display the traffic statistics collected by the specified counter and display the counter configuration.

Syntax

In standalone mode:

display qos traffic-counter { inbound | outbound } { counter0 | counter1 } slot slot-number

In IRF mode:

display qos traffic-counter { inbound | outbound } { counter0 | counter1 } chassis chassis-number slot slot-number

Views

Any view

Predefined user roles

network-admin

network-operator

mdc-admin

mdc-operator

Parameters

inbound: Inbound direction.

outbound: Outbound direction.

counter0: Counter 0.

counter1: Counter 1.

slot slot-number: Specifies a card by its slot number. (In standalone mode.)

chassis chassis-number slot slot-number: Specifies a card on an IRF member device. The chassis-number argument refers to the ID of the IRF member device, and the slot-number argument refers to the number of the slot where the card resides. (In IRF mode.)

Examples

# Display the outbound traffic statistics of counter 0 on card 4.

<Sysname> display qos traffic-counter outbound counter0 slot 4
Slot 4 outbound counter0 mode:
 Interface: all
 VLAN: all
 Local precedence: all
 Drop priority: all
 Traffic-counter summary:
  Unicast: 1 packets
  Multicast: 1 packets
  Broadcast: 1 packets
  Control packets: 1 packets
  Bridge egress filtered packets: 1 packets
  Tail drop packets: 1 packets
  Tail drop multicast packets: 1 packets
  Forwarding restrictions packets: 1 packets

Table 42: Command output

Field

Description

Slot 4 outbound counter0 mode

Monitored objects of the counter in the outbound direction of a card.

Interface

Interfaces monitored by the counter.

VLAN

VLANs monitored by the counter.

Local precedence

Local precedence values monitored by the counter.

Drop priority

Drop priority values monitored by the counter.

Traffic-counter summary

Summary statistics collected by the counter.

Unicast

Number of unicast packets.

Multicast

Number of multicast packets.

Broadcast

Number of broadcast packets.

Control packets

Number of control packets.

Bridge egress filtered packets

Number of packets filtered in the egress direction of the bridge.

Tail drop packets

Number of packets dropped by tail drop.

Tail drop multicast packets

Number of multicast packets dropped by tail drop.

Forwarding restrictions packets

Number of packets that are prevented from being forwarded.

This field is not supported.

# Display the inbound traffic statistics of counter 0 on card 1.

<Sysname> display qos traffic-counter inbound counter0 slot 1
Slot 1 inbound counter0 mode:
 Interface: all
 VLAN: all
Traffic-counter summary:
  Summary inbound: 0 packets
  Dropped of local filtering: 0 packets 
  Dropped of VLAN filtering: 0 packets
  Dropped of security filtering: 0 packets

Table 43: Command output

Field

Description

Slot 1 outbound counter0 mode

Monitored objects of the counter in the outbound direction of a card.

Interface

Interfaces monitored by the counter.

VLAN

VLANs monitored by the counter.

Traffic-counter summary

Summary statistics collected by the counter.

Summary inbound

Number of packets received by the bridge (Layer 2).

Dropped of local filtering

Number of packets dropped on the bridge (Layer 2) for reasons other than bridge security filtering and VLAN ingress filtering.

Dropped of VLAN filtering

Number of packets dropped by VLAN ingress filtering.

Dropped of security filtering

Number of packets dropped by bridge (Layer 2) security filtering.