09-ACL and QoS Configuration Guide

HomeSupportSwitchesH3C S12500 Switch SeriesConfigure & DeployConfiguration GuidesH3C S12500 Configuration Guides-Release7374-6W73109-ACL and QoS Configuration Guide
03-MPLS QoS configuration
Title Size Download
03-MPLS QoS configuration 74 KB

Overview

MPLS uses 3 bits, called EXP bits, to carry class-of-service information to provide support for DiffServ. MPLS QoS identifies traffic flows with different EXP bits and implements differentiated services. MPLS QoS can guarantee low delay and low packet loss ratio for critical service traffic, such as voice and video traffic. For more information about MPLS, see MPLS Configuration Guide.

MPLS QoS supports priority marking. When a PE labels a packet, it maps the IP precedence to the EXP field of the label. In this way, the class information carried in the IP header is carried in the label.

The EXP field in an MPLS label is processed according to the following rules:

·     The switch re-sets the EXP field of only the topmost label.

·     During label encapsulation, the ToS field of the IP packet is directly changed into the EXP field of the MPLS label.

·     The EXP field remains unchanged when label swapping is performed.

·     During a label push operation, the EXP field of the newly pushed outer label inherits the EXP field of the inner label.

·     After a label pop operation, the following rules apply:

¡     If the packet is still an MPLS packet, the EXP field of the popped label is not copied to the inner label.

¡     If the packet is an IP packet, the EXP field of the popped label is not copied to the ToS field of the IP packet.

Configuration prerequisites

Before configuring MPLS QoS, complete basic MPLS configuration. For more information about basic MPLS configurations, see MPLS Configuration Guide.

Configuring MPLS priority marking

In an MPLS network, you can adjust the priority of an MPLS traffic flow by marking its EXP value. For more information about priority marking, see "Configuring priority marking."

To configure the MPLS priority marking action for an MPLS traffic class:

 

Step

Command

Remarks

1.     Enter system view.

system-view

N/A

2.     Create a traffic class and enter traffic class view.

traffic classifier classifier-name [ operator { and | or } ]

By default, no traffic class exists.

3.     Configure match criteria for the traffic class.

·     if-match mpls-exp exp-value&<1-8>

·     if-match second-mpls-exp exp-value&<1-8>

·     if-match mpls-label { label-value&<1-8> | label-value1 to label-value2 }

·     if-match second-mpls-label { label-value&<1-8> | label-value1 to label-value2 }

Use at least one command.

By default, no match criteria are configured.

The match criteria apply only to MPLS packets.

4.     Return to system view.

quit

N/A

5.     Create a traffic behavior and enter traffic behavior view.

traffic behavior behavior-name

By default, no traffic behavior exists.

6.     Configure an EXP marking action in the traffic behavior.

remark mpls-exp exp-value

By default, no EXP marking action is configured.

7.     Return to system view.

quit

N/A

8.     Create a QoS policy and enter QoS policy view.

qos policy policy-name

By default, no QoS policy exists.

9.     Associate the traffic class with the traffic behavior in the QoS policy.

classifier classifier-name behavior behavior-name

By default, no traffic behavior is associated with a traffic class.

10.     Return to system view.

quit

N/A

11.     Apply the QoS policy.

You can apply a QoS policy globally, to an interface, or a VLAN. For more information, see "Configuring a QoS policy."

Choose an application destination as needed.

By default, no QoS policy is applied.

 

 

  • Cloud & AI
  • InterConnect
  • Intelligent Computing
  • Intelligent Storage
  • Security
  • SMB Products
  • Intelligent Terminal Products
  • Product Support Services
  • Technical Service Solutions
All Services
  • Resource Center
  • Policy
  • Online Help
  • Technical Blogs
All Support
  • Become A Partner
  • Partner Policy & Program
  • Global Learning
  • Partner Sales Resources
  • Partner Business Management
  • Service Business
All Partners
  • Profile
  • News & Events
  • Online Exhibition Center
  • Contact Us
All About Us
新华三官网