- Table of Contents
-
- H3C S9500 Operation Manual-Release1648[v1.24]-08 System Volume
- 00-1Cover
- 01-Command Line Interface Configuration
- 02-Login and User Interface Configuration
- 03-FTP and TFTP Configuration
- 04-HA Configuration
- 05-NQA Configuration
- 06-NetStream Configuration
- 07-NTP Configuration
- 08-RMON Configuration
- 09-SNMP Configuration
- 10-Packet Statistics Accounting Configuration
- 11-Device Management Configuration
- 12-Configuration File Management Configuration
- 13-File System Management Configuration
- 14-Cluster Management Configuration
- 15-System Maintenance and Debugging Configuration
- 16-Information Center Configuration
- 17-PoE Configuration
- 18-Clock Module Configuration
- 19-ACSEI Server Configuration
- 20-OAP Module Configuration
- Related Documents
-
Title | Size | Download |
---|---|---|
10-Packet Statistics Accounting Configuration | 34.42 KB |
Chapter 1 Packet Statistics Accounting Configuration
1.1 Outbound Packet Statistics Accounting
1.1.2 Configuring Outbound Packet Statistics Counter Groups
1.2 QoS Queue Statistics Accounting
1.2.2 Configuring QoS Queue Statistics Accounting
Chapter 1 Packet Statistics Accounting Configuration
When configuring packet statistics accounting on ports, go to these sections for information you are interested in:
l Outbound Packet Statistics Accounting
l QoS Queue Statistics Accounting
1.1 Outbound Packet Statistics Accounting
1.1.1 Overview
A card provides up to eight groups of counters for monitoring outbound packet statistics of the card. The monitored objects include ports, VLANs, ports+VLANs, and cards. In addition to these four types of objects, a traffic class (TC) or a drop precedence (DP) can also be monitored. When monitoring a card, the counters can monitor all TCs and all DPs. Outbound packet statistics accounting involves the number of unicast packets, the number of multicast packets, the number of broadcast packets, the number of bridge-filtered packets and the number of dropped packets in congestion. In packet statistics, only the number of packets, rather than the number of bytes, is counted.
& Note:
A card provides up to eight groups of counters, Counter 0, Counter 1, through Counter 7, which are independent of one another.
1.1.2 Configuring Outbound Packet Statistics Counter Groups
Follow these steps to configure outbound packet statistics counter groups:
To do… |
Use the command… |
Remarks |
Enter system view |
system-view |
— |
Configure the monitored objects of the outbound packet statistics counter groups |
set egress { counter0 | counter1 | counter2 | counter3 | counter4 | counter5 | counter6 | counter7 } slot slot-num [ interface interface-type interface-number ] [ vlan vlan-id ] [ tc traffic-class ] [ dp drop-precedence ] |
Required By default, the outbound packet statistics counter groups of a card monitor all ports, all VLANs, all TCs, and all DPs. By default, outbound packet statistics accounting is disabled for cards. |
Display counter group information |
display egress { counter0 | counter1 | counter2 | counter3 | counter4 | counter5 | counter6 | counter7 } slot slot-num [ clear ] |
Available in any view |
Note that:
l If the objects to be monitored by the outbound packet statistics counter groups configured on cards LSB1GV48DB0, LSB2GV48DB0 and LSB1GP48DB0 include ports, the statistics may not be accurate.
l Outbound packet statistics accounting is not supported on non-Ethernet ports such as ATM sub-interfaces on a WAN card. As for the E1/T1 ports, outbound packet statistics accounting is not supported on ports or VLANs.
l Outbound packet statistics accounting is not supported on ports on the non-linear 10 GE cards such as XP4 and TGX1, or on RPR logical ports on GE RPR card.
l Outbound packet statistics accounting is not supported on POS ports or RPR physical ports.
l After successful configuration, it is necessary to reset the counters to start counting again.
l The set egress command and the qos queue-statistics outbound command are mutually exclusive.
l If the monitored objects are ports, you can use the display current-configuration | include egress command to view the port configuration.
1.2 QoS Queue Statistics Accounting
1.2.1 Overview
A card provides up to 16 groups of counters for monitoring inbound QoS queue statistics of the card. The monitored objects are ports+VLANs. Inbound QoS queue statistics accounting involves the number of normally received packets, the number of filtered packets, and the packet receiving rate in the last five seconds.
A card provides up to 8 groups of counters for monitoring outbound QoS queue statistics of the card. The monitored objects are ports+TCs (traffic classifiers). Outbound QoS queue statistics accounting involves the number of normally sent packets, the number of dropped packets due to congestions, and the packet forwarding rate in the last five seconds.
In QoS queue statistics accounting, only the number of packets, rather than the number of bytes, is counted.
1.2.2 Configuring QoS Queue Statistics Accounting
Follow these steps to configure QoS queue traffic accounting:
To do… |
Use the command… |
Remarks |
Enter system view |
system-view |
— |
Enable QoS queue statistics accounting in the inbound direction |
qos queue-statistics inbound interface-type interface-number vlanid |
Required Disabled by default |
Enable QoS queue statistics accounting in the outbound direction |
qos queue-statistics outbound interface-type interface-number traffic-class |
Required Disabled by default |
Display QoS queue statistics |
display qos queue-statistics [ inbound | outbound ] interface [ interface-type interface-number ] |
Available in any view |
Clears QoS queue statistics on an interface |
reset qos queue-statistics interface [ interface-type interface-number ] |
Available only in user view |
Note that:
l Ports on non-linear 10 GE cards such as LSB1XP4B0, LSB1XP4CA0, and TGX1B do not support QoS queue statistics accounting.
l Only Ethernet ports support QoS queue statistics accounting.
l After a successful configuration, the counters are reset and new counting starts. You can use the display qos queue-statistics interface command to display the QoS queue statistics.
l The set egress command and the qos queue-statistics outbound command are mutually exclusive.