H3C S9500 Series Command Manual

Type
Command Manual

H3C S9500 Series is a line of high-performance routing switches designed for large enterprise networks, data centers, and service providers. It offers features such as:

  • Advanced routing protocols: Supports a wide range of routing protocols including OSPF, BGP, ISIS, and RIP, ensuring reliable and efficient routing of data traffic.
  • Extensive QoS capabilities: Delivers comprehensive Quality of Service (QoS) features to prioritize and manage network traffic, ensuring optimal performance for critical applications.
  • Robust security features: Provides advanced security features such as access control lists (ACLs), firewall, and intrusion prevention system (IPS) to protect the network from unauthorized access and attacks.

H3C S9500 Series is a line of high-performance routing switches designed for large enterprise networks, data centers, and service providers. It offers features such as:

  • Advanced routing protocols: Supports a wide range of routing protocols including OSPF, BGP, ISIS, and RIP, ensuring reliable and efficient routing of data traffic.
  • Extensive QoS capabilities: Delivers comprehensive Quality of Service (QoS) features to prioritize and manage network traffic, ensuring optimal performance for critical applications.
  • Robust security features: Provides advanced security features such as access control lists (ACLs), firewall, and intrusion prevention system (IPS) to protect the network from unauthorized access and attacks.
Command Manual – Packet Statistics Accounting
H3C S9500 Series Routing Switches Table of Contents
i
Table of Contents
Chapter 1 Packet Statistics Accounting Configuration Commands........................................1-1
1.1 Outbound Packet Statistics Accounting Configuration Commands...................................1-1
1.1.1 display egress .........................................................................................................1-1
1.1.2 set egress................................................................................................................1-2
1.2 QoS Queue Statistics Accounting Configuration Commands ...........................................1-4
1.2.1 display qos queue-statistics interface .....................................................................1-4
1.2.2 qos queue-statistics inbound...................................................................................1-6
1.2.3 qos queue-statistics outbound ................................................................................1-7
1.2.4 reset qos queue-statistics interface.........................................................................1-8
Command Manual – Packet Statistics Accounting
H3C S9500 Series Routing Switches
Chapter 1 Packet Statistics Accounting Configuration
Commands
1-1
Chapter 1 Packet Statistics Accounting
Configuration Commands
1.1 Outbound Packet Statistics Accounting Configuration
Commands
1.1.1 display egress
Syntax
display egress { counter0 | counter1 | counter2 | counter3 | counter4 | counter5 |
counter6 | counter7 } slot slot-num [ clear ]
View
System view
Parameters
counter0: Uses Counter 0 for packet statistics monitoring.
counter1: Uses Counter 1 for packet statistics monitoring.
counter2: Uses Counter 2 for packet statistics monitoring.
counter3: Uses Counter 3 for packet statistics monitoring.
counter4: Uses Counter 4 for packet statistics monitoring.
counter5: Uses Counter 5 for packet statistics monitoring.
counter6: Uses Counter 6 for packet statistics monitoring.
counter7: Uses Counter 7 for packet statistics monitoring.
slot-num: Slot number of a card.
clear: Clears the statistics after the statistics are read.
Description
Use the display egress command to display the outbound packet statistics and the
monitored objects of a counter group on a specified card.
Related commands: set egress.
Examples
# Display the outbound packet statistics of counter group 0 on the card in slot 4, and
then clear the counter group.
<H3C> display egress counter0 slot 4 clear
Command Manual – Packet Statistics Accounting
H3C S9500 Series Routing Switches
Chapter 1 Packet Statistics Accounting Configuration
Commands
1-2
Slot 4 egress counter0 mode:
Interface: all
VLAN: all
Traffic Class: all
Drop Precedence: all
The outgoing packets:
Unicast: 0 packets
Multicast: 0 packets
Broadcast: 0 packets
Bridge egress filtered packets: 0 packets
TxQ filtered packets(Due to TxQ congestion ): 0 packets
Table 1-1 display egress command output description
Field Description
Slot x egress
xxxxx mode
Monitored objects of a counter group on the card in a specified
slot, which may include the following types:
z Interfaces
z VLANs
z Traffic classes
z Drop precedence
The outgoing
packets
Outbound packet statistics of a counter group on the card in a
specified slot, which may include:
z Unicast: Unicasts
z Multicast: Multicasts
z Broadcast: Broadcasts
z Bridge egress filtered packets: Bridge-filtered packets
z TxQ filtered packets(Due to TxQ congestion): Packets
dropped due to congestion
1.1.2 set egress
Syntax
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 ]
undo set egress { counter0 | counter1 | counter2 | counter3 | counter4 | counter5
| counter6 | counter7 } slot slot-num
View
System view
Command Manual – Packet Statistics Accounting
H3C S9500 Series Routing Switches
Chapter 1 Packet Statistics Accounting Configuration
Commands
1-3
Parameters
counter0: Uses Counter 0 for packet statistics monitoring.
counter1: Uses Counter 1 for packet statistics monitoring.
counter2: Uses Counter 2 for packet statistics monitoring.
counter3: Uses Counter 3 for packet statistics monitoring.
counter4: Uses Counter 4 for packet statistics monitoring.
counter5: Uses Counter 5 for packet statistics monitoring.
counter6: Uses Counter 6 for packet statistics monitoring.
counter7: Uses Counter 7 for packet statistics monitoring.
slot-num: Card slot number.
interface-type interface-number: Port type and port number, which must match the
parameter slot-num. If you do not specify a specific port number, the command will
apply to all the ports on the card. This command is not supported on POS ports, RPR
physical ports, or 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 either on
ports or on VLANs.
vlan-id: VLAN ID defined in IEEE802.1Q. If you do not specify a specific VLAN, the
command will apply to all VLANs.
traffic-class: Traffic class. If you do not specify a specific traffic class, the command will
apply to all traffic classes.
drop-precedence: packet drop precedence. If you do not specify a drop precedence
level, the command will apply to all drop precedence levels.
Description
Use the set egress command to set packet statistics counter groups.
Use the undo set egress command to cancel the configuration.
A card provides up to eight sets 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.
After you use the set egress command to set the monitoring mode of a card, the
counter groups will be automatically cleared.
By default, outbound packet statistics accounting is not enabled.
Related commands: display egress.
Command Manual – Packet Statistics Accounting
H3C S9500 Series Routing Switches
Chapter 1 Packet Statistics Accounting Configuration
Commands
1-4
Note that:
z 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.
z This command is not supported on non-Ethernet ports such as ATM
sub-interfaces on a WAN card. As for E1/T1 ports, outbound packet statistics
accounting is not supported either on ports or on VLANs.
z This command is not supported on non-linear 10 GE cards such as LSB1XP4B0,
LSB1XP4CA0 and TGX1B, or on RPR logical ports on GE RPR cards.
z This command is not supported on POS ports or RPR physical ports.
z This command is mutually exclusive with the qos queue-statistics outbound
command.
Examples
# Configure counter group 0 in slot 4 to monitor the outbound packet statistics on
GigabitEthernet 4/1/1.
<H3C> system-view
System View: return to User View with Ctrl+Z.
[H3C] set egress counter0 slot 4 interface GigabitEthernet4/1/1
1.2 QoS Queue Statistics Accounting Configuration
Commands
1.2.1 display qos queue-statistics interface
Syntax
display qos queue-statistics [ inbound | outbound ] interface [ interface-type
interface-number ]
View
Any view
Default Level
1: Monitor level
Parameters
inbound: Displays QoS queue statistics in the bound direction of a port.
outbound: Displays QoS queue statistics in the outbound direction of a port.
interface-type interface-number: Specifies an interface by its type and number.
Currently, only Ethernet ports support this command.
Command Manual – Packet Statistics Accounting
H3C S9500 Series Routing Switches
Chapter 1 Packet Statistics Accounting Configuration
Commands
1-5
Description
Use the display qos queue-statistics interface command to display QoS queue
statistics on a port.
Examples
# Display the QoS queue statistics in the outbound direction of GigabitEthernet 2/1/1.
<H3C> display qos queue-statistics outbound interface Gigabitethernet 2/1/1
=================================
Direction: Outbound
Interface: GigabitEthernet2/1/1
Queue ID: 2
VLAN ID: N/A
Resource index: 1
QoSPass packets: 954645678
QoSDrop packets: 0
QoSPass speed(pps): 102409
=================================
Direction: Outbound
Interface: GigabitEthernet2/1/1
Queue ID: 3
VLAN ID: N/A
Resource index: 2
QoSPass packets: 16556414
QoSDrop packets: 0
QoSPass speed(pps): 212512
Table 1-2 display qos queue-statistics interface command output description
Field Description
Interface
Interface whose QoS queue statistics
are to be displayed
Direction
Traffic direction, which can be inbound
or outbound
QoSPass packets The number of packets forwarded
QoSDrop packets The number of packets dropped
QoSPass speed(pps) Packet receiving/sending rate (in pps)
Command Manual – Packet Statistics Accounting
H3C S9500 Series Routing Switches
Chapter 1 Packet Statistics Accounting Configuration
Commands
1-6
1.2.2 qos queue-statistics inbound
Syntax
qos queue-statistics inbound interface-type interface-number vlanid
undo qos queue-statistics inbound [ interface-type interface-number vlanid ]
View
System view
Default Level
2: System level
Parameters
interface-type interface-number: Specifies an interface by its type and number.
Currently, only Ethernet ports support this command.
vlanid: Specifies a VLAN by its ID. The value range of this argument is 1 to 4094.
Description
Use the qos queue-statistics inbound command to enable QoS queue statistics
accounting in the inbound direction of a port.
Use the undo qos queue-statistics inbound command to disable QoS queue
statistics accounting in the inbound direction of a port.
Note that:
z A card provides a maximum of 16 groups of counters for monitoring inbound QoS
queue statistics of the card. For example, a LSB1GP48LDB0 card provides 16
counter groups, a LSB1GT24CA0 card provides 8 counter groups, and a
LSB2FT48B0 card provides 4 counter groups.
z This command is not supported on ports on the non-linear 10 GE cards such as
LSB1XP4B0, LSB1XP4CA0, and TGX1B.
z You can use the display qos queue-statistics interface command to display the
QoS queue statistics.
By default, QoS queue statistics accounting is disabled in the inbound direction of a
port.
Related commands: display qos queue-statistics interface.
Examples
# Enable QoS queue statistics accounting in the inbound direction of GigabitEthernet
2/1/1.
<H3C> system-view
System View: return to User View with Ctrl+Z.
Command Manual – Packet Statistics Accounting
H3C S9500 Series Routing Switches
Chapter 1 Packet Statistics Accounting Configuration
Commands
1-7
[H3C] interface gigabitethernet 2/1/1
[H3C-GigabitEthernet2/1/1] qos queue-statistics inbound Gigabitethernet
2/1/1 100
1.2.3 qos queue-statistics outbound
Syntax
qos queue-statistics outbound interface-type interface-number traffic-class
undo qos queue-statistics outbound [ interface-type interface-number traffic-class ]
View
System view
Default Level
2: System level
Parameters
interface-type interface-number: Specifies an interface by its type and number.
Currently, only Ethernet ports support this command.
traffic-class: Specifies a traffic class. The value range of this argument is 0 to 7.
Description
Use the qos queue-statistics outbound command to enable QoS queue statistics
accounting in the outbound direction of a specific port.
Use the undo qos queue-statistics outbound command to disable QoS queue
statistics accounting in the outbound direction of a specific port.
Note that:
z A card provides a maximum of 8 groups of counters for monitoring outbound QoS
queue statistics of the card. For example, a LSB1GP48LDB0 card provides 8
counter groups, a LSB1GT24CA0 card provides 4 counter groups, and a
LSB2FT48B0 card provides 2 counter groups.
z This command is not supported on ports on the non-linear 10 GE cards such as
LSB1XP4B0, LSB1XP4CA0, and TGX1B.
z You can use the display qos queue-statistics interface command to display the
QoS queue statistics.
z This command is mutually exclusive with the set egress command.
By default, QoS queue statistics accounting is disabled in the outbound direction of a
port.
Related commands: display qos queue-statistics interface.
Command Manual – Packet Statistics Accounting
H3C S9500 Series Routing Switches
Chapter 1 Packet Statistics Accounting Configuration
Commands
1-8
Examples
# Enable QoS queue statistics accounting in the outbound direction of GigabitEthernet
2/1/1.
<H3C> system-view
System View: return to User View with Ctrl+Z.
[H3C] interface Gigabitethernet 2/1/1
[H3C-GigabitEthernet2/1/1] qos queue-statistics outbound Gigabitethernet
2/1/1 3
1.2.4 reset qos queue-statistics interface
Syntax
reset qos queue-statistics interface [ interface-type interface-number ]
View
User view
Parameters
interface-type interface-number: Specifies an interface by its type and number.
Currently, only Ethernet ports support this command.
Description
Use the reset qos queue-statistics interface command to clear the QoS queue
statistics on a specific port.
Examples
# Clear the QoS queue statistics on GigabitEthernet 2/1/1.
<H3C> reset qos queue-statistics interface Gigabitethernet2/1/1
  • Page 1 1
  • Page 2 2
  • Page 3 3
  • Page 4 4
  • Page 5 5
  • Page 6 6
  • Page 7 7
  • Page 8 8
  • Page 9 9

H3C S9500 Series Command Manual

Type
Command Manual

H3C S9500 Series is a line of high-performance routing switches designed for large enterprise networks, data centers, and service providers. It offers features such as:

  • Advanced routing protocols: Supports a wide range of routing protocols including OSPF, BGP, ISIS, and RIP, ensuring reliable and efficient routing of data traffic.
  • Extensive QoS capabilities: Delivers comprehensive Quality of Service (QoS) features to prioritize and manage network traffic, ensuring optimal performance for critical applications.
  • Robust security features: Provides advanced security features such as access control lists (ACLs), firewall, and intrusion prevention system (IPS) to protect the network from unauthorized access and attacks.

Ask a question and I''ll find the answer in the document

Finding information in a document is now easier with AI