Page 2
All other trademarks and trade names mentioned in this document are the property of their respective holders. Notice The purchased products, services and features are stipulated by the contract made between Huawei and the customer. All or part of the products, services and features described in this document may not be within the purchase scope or the usage scope.
1.6.1 Displaying the Flow-based Traffic Statistics...................38 1.6.2 Clearing the Flow-based Traffic Statistics....................38 1.7 Configuration Examples...........................38 1.7.1 Example for Configuring Priority Mapping Based on Simple Traffic Classification on the S3700HI ..................................39 1.7.2 Example for Re-marking the Priorities Based on Complex Traffic Classification.........41...
Page 6
2.6.1 Example for Configuring Traffic Policing Based on an Interface............68 2.6.2 Example for Configuring Traffic Policing Based on a Traffic Classifier..........70 2.6.3 Example for Configuring Hierarchical Traffic Policing on the S3700HI..........75 2.6.4 Example for Configuring Traffic Shaping....................80 3 Congestion Avoidance and Congestion Management Configuration......84 3.1 Overview of Congestion Avoidance and Congestion Management..............85...
QoS service for traffic of the same type by matching packets with certain rules. In this manner, differentiated services are provided. 1.2 Class-based QoS Features Supported by the S3700HI The S3700 supports simple traffic classification, complex traffic classification, and priority mapping.
QoS service for traffic of the same type by matching packets with certain rules. In this manner, differentiated services are provided. 1.2 Class-based QoS Features Supported by the S3700HI The S3700 supports simple traffic classification, complex traffic classification, and priority mapping.
Page 11
This traffic control action copies the specified data packets to a specified destination to detect and troubleshoot faults on a network. For details about flow mirroring, see Mirroring in the S3700HI Ethernet Switches Configuration Guide - Device Management. Traffic statistics This traffic control action collects data packets matching defined complex traffic classification rules on the S3700.
The interface type can be Ethernet, GE, or Eth-Trunk. l Create a port group before performing this task. For details on how to create a port group, see (Optional) Configuring the Interface Group in the S3700HI Ethernet Switches Configuration Guide - Ethernet. Step 3 Run: trust { 8021p { inner | outer } | dscp } The interface is configured to trust packet priorities.
Page 16
The interface type can be Ethernet, GE, or Eth-Trunk. l Create a port group before performing this task. For details on how to create a port group, see (Optional) Configuring the Interface Group in the S3700HI Ethernet Switches Configuration Guide - Ethernet. Step 3 Run: trust upstream { ds-domain-name | default | none } The interface is bound to a DiffServ domain.
Page 29
All the flows that match a traffic classifier are mirrored to an observing interface. NOTE For details about flow mirroring, see Configuring Local Flow Mirroring in the S3700HI Ethernet Switches Configuration Guide - Device Management. ----End...
You can associate a traffic classifier with a traffic behavior in a traffic policy. Context When creating a traffic policy on the S3700HI, specify the matching order of traffic classifiers in the traffic policy. The matching order includes the automatic order and configuration order: If the automatic order is used, traffic classifiers are matched based on their priorities.
1 Class-based QoS Configuration 1.7.1 Example for Configuring Priority Mapping Based on Simple Traffic Classification on the S3700HI After priority mapping based on simple traffic classification is configured, the S3700 maps 802.1p priorities of packets to different CoS to provide differentiated services.
Page 61
Traffic policing based on a traffic classifier uses dual token buckets. After traffic policing based on a traffic classifier is configured on an S3700HI, CAR can be performed twice for upstream flows. The S3700HI first applies CAR to the upstream flows that match a traffic classifier, and then it aggregates all the upstream flows and applies CAR to limit the aggregated flows.
Create a port group before performing this task. For details on how to create a port group, see (Optional) Configuring a Port Group in the S3700HI Ethernet Switches Configuration Guide - Ethernet. Step 3 Run: qos lr { inbound | outbound } cir cir-value [ cbs cbs-value ] Traffic policing is configured on the interface.
PHBs and colors. Context Level-2 CAR is supported by the S3700HI. After the system applies the CAR to the service flows matching a traffic classifier in a traffic policy, it aggregates all the service flows matching the traffic classifier bound to the aggregate CAR action in the same traffic policy and applies the CAR to the flows.
Run the display traffic policy { interface [ interface-type interface-number ] | vlan [ vlan- id ] | global } [ inbound | outbound ] command on the S3700HI to check the traffic policy information and flow-based traffic statistics.
NOTE Create a port group before performing this task. For details on how to create a port group, see Configuring the Interface Group in the S3700HI Ethernet Switches Configuration Guide - Ethernet. Step 3 Run: qos lr { inbound | outbound } cir cir-value [ cbs cbs-value ] The rate for traffic shaping on an interface is set.
NOTE Create a port group before performing this task. For details on how to create a port group, see Configuring the Interface Group in the S3700HI Ethernet Switches Configuration Guide - Ethernet. Step 3 Run: qos queue queue-index shaping cir cir-value pir pir-value [ cbs cbs-value pbs pbs- value ] The rate for traffic shaping in an interface queue is set.
Configuration Guide - QoS 2 Traffic Policing and Traffic Shaping Configuration Run the reset qos queue statistics interface interface-type interface-number command on the S3700HI to clear the queue-based traffic statistics on the interface. ----End 2.6 Configuration Examples This section provides several configuration examples of traffic policing and traffic shaping.
3.1 Overview of Congestion Avoidance and Congestion Management This section describes the basic concepts of congestion avoidance and congestion management. 3.2 Configuring Congestion Avoidance on the S3700HI After congestion avoidance is configured, the S3700 processes packets of different colors based on the WRED configuration.
When congestion occurs or aggravates, the system discards packets. Congestion avoidance mechanisms include tail drop, Random Early Detection (RED), and Weighted Random Early Detection (WRED). The The S3700HI performs congestion avoidance based on WRED. Tail Drop The traditional packet drop policy uses tail drop.
WRR or DRR queue according to their priorities and scheduled in a polling manner according to the weight of the queue. 3.2 Configuring Congestion Avoidance on the S3700HI After congestion avoidance is configured, the S3700 processes packets of different colors based on the WRED configuration.
The interface type can be Ethernet, GE, or Eth-Trunk. l Create a port group before performing this task. For details on how to create a port group, see Configuring the Interface Group in the S3700HI Ethernet Switches Configuration Guide - Ethernet. Step 3 Run: dei enable The CFI field is configured as the internal drop priority.
The port group view is displayed. NOTE Create a port group before performing this task. For details on how to create a port group, see (Optional) Configuring a Port Group in the S3700HI Ethernet Switches Configuration Guide - Ethernet. Run: qos wred drop-profile-name The WRED drop profile is applied to a port group.
NOTE Create a port group before performing this task. For details about creating a port group, see (Optional) Configuring a Port Group in the S3700HI Ethernet Switches Configuration Guide - Ethernet. Step 3 Run: qos { pq | wrr | drr } The scheduling mode of an interface queue is set to PQ, WRR, or DRR.
Before viewing the queue statistics on an interface, run the qos port statistics enable command to enable the queue statistics function on the specified outbound interface. The display qos port statistics command cannot be used on the S3700HI. ----End 3.4.2 Clearing the Queue-based Statistics You can use the reset command to clear the queue-based traffic statistics.