Beruflich Dokumente
Kultur Dokumente
Table of Contents
Table of Contents
Chapter 1 TP and TS Configuration Commands........................................................................ 1-1 1.1 TP Configuration Commands ............................................................................................ 1-1 1.1.1 display qos car interface ......................................................................................... 1-1 1.1.2 qos car..................................................................................................................... 1-2 1.2 TS Configuration Commands ............................................................................................ 1-3 1.2.1 display qos gts interface.......................................................................................... 1-3 1.2.2 qos gts..................................................................................................................... 1-4 Chapter 2 QoS Policy Configuration Commands ...................................................................... 2-1 2.1 Commands for Defining Classes ....................................................................................... 2-1 2.1.1 display traffic classifier ............................................................................................ 2-1 2.1.2 if-match.................................................................................................................... 2-2 2.1.3 traffic classifier......................................................................................................... 2-5 2.2 Traffic Behavior Configuration Commands........................................................................ 2-5 2.2.1 accounting ............................................................................................................... 2-5 2.2.2 car ........................................................................................................................... 2-6 2.2.3 display traffic behavior ............................................................................................ 2-8 2.2.4 filter.......................................................................................................................... 2-9 2.2.5 nest........................................................................................................................ 2-10 2.2.6 primap ................................................................................................................... 2-10 2.2.7 redirect .................................................................................................................. 2-11 2.2.8 remark dot1p ......................................................................................................... 2-12 2.2.9 remark drop-precedence....................................................................................... 2-13 2.2.10 remark dscp......................................................................................................... 2-13 2.2.11 remark ip-precedence ......................................................................................... 2-15 2.2.12 remark local-precedence..................................................................................... 2-15 2.2.13 remark service-vlan-id......................................................................................... 2-16 2.2.14 traffic behavior..................................................................................................... 2-17 2.3 QoS Policy Configuration Commands ............................................................................. 2-17 2.3.1 classifier behavior ................................................................................................. 2-17 2.3.2 display qos policy user-defined ............................................................................. 2-18 2.3.3 display qos policy interface ................................................................................... 2-19 2.3.4 qos apply policy..................................................................................................... 2-21 2.3.5 qos policy .............................................................................................................. 2-21 Chapter 3 Congestion Avoidance Configuration Commands .................................................. 3-1 3.1 WRR Queue Configuration Commands ............................................................................ 3-1 3.1.1 display qos wrr interface ......................................................................................... 3-1 3.1.2 qos wrr..................................................................................................................... 3-2
Huawei Proprietary and Confidential Copyright (c) Huawei Technologies Co., Ltd i
Table of Contents
3.2 SP Queue Configuration Commands ................................................................................ 3-3 3.2.1 qos wrr group sp...................................................................................................... 3-3 Chapter 4 Priority Mapping Configuration Commands ............................................................. 4-1 4.1 Priority Mapping Table Configuration Commands............................................................. 4-1 4.1.1 display qos map-table ............................................................................................. 4-1 4.1.2 qos map-table.......................................................................................................... 4-2 4.1.3 import ...................................................................................................................... 4-3 4.2 Port Priority Configuration Commands .............................................................................. 4-3 4.2.1 qos priority............................................................................................................... 4-3 4.3 Port Priority Trust Mode Configuration Commands........................................................... 4-4 4.3.1 display qos trust interface ....................................................................................... 4-4 4.3.2 qos trust................................................................................................................... 4-5 Chapter 5 Congestion Avoidance Configuration Commands .................................................. 5-5 5.1 WRED Configuration Commands ...................................................................................... 5-5 5.1.1 display qos wred interface....................................................................................... 5-5 5.1.2 qos wred.................................................................................................................. 5-5 Chapter 6 Aggregation CAR Configuration Commands ........................................................... 6-5 6.1 Aggregation CAR Configuration Commands..................................................................... 6-5 6.1.1 qos car aggregative................................................................................................. 6-5 6.1.2 qos car..................................................................................................................... 6-5 6.1.3 car name ................................................................................................................. 6-5 6.1.4 display qos car name .............................................................................................. 6-5 6.1.5 display qos car interface ......................................................................................... 6-5 6.1.6 reset qos car name ................................................................................................. 6-5 Chapter 7 VLAN Policy Configuration Commands .................................................................... 7-5 7.1 VLAN Policy Configuration Commands............................................................................. 7-5 7.1.1 display qos vlan-policy ............................................................................................ 7-5 7.1.2 qos vlan-policy......................................................................................................... 7-5 7.1.3 reset qos vlan-policy ............................................................................................... 7-5 Chapter 8 Traffic Mirroring Configuration Commands.............................................................. 8-5 8.1 Traffic Mirroring Configuration Commands........................................................................ 8-5 8.1.1 display qos policy user-defined ............................................................................... 8-5 8.1.2 display traffic behavior user-defined ....................................................................... 8-5 8.1.3 mirror-to interface .................................................................................................... 8-5
ii
Huawei Proprietary and Confidential Copyright (c) Huawei Technologies Co., Ltd
View
Any view
Parameter
interface-type: Port type. interface-number: Port number.
Description
Use the display qos car interface command to display the CAR (committed access rate) settings and statistics of a port. If no ports are specified, this command displays the CAR setting and statistics of all the ports.
Example
# Display the CAR settings and statistics of Ethernet1/0/1 port.
<Sysname> display qos car interface Ethernet 1/0/1 Interface: Ethernet1/0/1 Direction: Inbound Rule(s): If-match acl 2001 CIR 64 (kbps), CBS 100000 (byte), EBS 100000 (byte) , PIR 100000 (kbps)
Table 1-1 Description on the fields of the display qos car command Field Interface Description Port name, comprising of port type and port number Direction of traffic policing (TP). As for Quidway S3500-EA series Ethernet switches, TP is available to inbound packets only.
Huawei Proprietary and Confidential Copyright (c) Huawei Technologies Co., Ltd 1-1
Direction
Description Rules used for matching packets Committed information rate (CIR), in kbps Action to be taken for packets when the traffic rate is lower than CIR Action to be taken for packets when the traffic rate exceeds CIR Size of the packets (in bytes) when the traffic rate is lower than CIR
View
Ethernet port view, port group view
Parameter
inbound: Limits the inbound traffic. acl acl-number: Specifies an ACL. The acl-number argument can identify both IPv4 ACLs (including basic ACLs, advanced ACLs, layer-2 ACLs, and user-defined ACLs) and IPv6 ACLs (including basic ACLs and advanced ACLs). cir committed-information-rate: Specifies the committed information rate (CIR) in kbps. The committed-information-rate argument ranges from 4 to 1,000,000. cbs committed-burst-size: Specifies the committed burst size (CBS) in bytes. The committed-burst-size argument ranges from 0 to 10,000,000, the default is 100,000. ebs excess-burst-size: Specifies the excess burst size (EBS) in bytes. The excess-burst-size argument ranges from 0 to 10,000,000, the default is 100,000. pir peak-information-rate: Specifies the peak information rate (PIR) in kbps. The peak-information-rate argument ranges from 4 to 1,000,000. If PIR is not configured, only one token bucket is used for TP. Otherwise, two token buckets are used. red: Specifies the action to be conducted to packets when the traffic does not conform to CIR.
1-2 Huawei Proprietary and Confidential Copyright (c) Huawei Technologies Co., Ltd