No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search

Reminder

To have a better experience, please upgrade your IE browser.

upgrade

NE40E V800R010C10SPC500 Configuration Guide - QoS 01

This is NE40E V800R010C10SPC500 Configuration Guide - QoS
Rate and give feedback:
Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document. Note: Even the most advanced machine translation cannot match the quality of professional translators. Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).
Configuring Priority Mappings for MPLS Packets

Configuring Priority Mappings for MPLS Packets

This section describes how to configure priority mappings for MPLS packets and the application environment of this function.

Context

Traffic policy based on BA classification is used to map the precedence of traffic on one type of network to another type. That is, to transmit the traffic in the other network according to the original precedence.

When the NE40E serves as the border router for different networks, the original external priorities (EXP values) in the MPLS packets that go into the NE40E are all mapped to the internal priorities of the router represented by service classes of DiffServ and colors. When the NE40E sends out the packet, the internal priority is mapped back to the external priority.

Generally, the priority mappings of MPLS packets are configured on the core device of the network.

Pre-configuration Tasks

Before configuring traffic shaping, complete the following tasks:

  • Configuring the physical parameters of interfaces

  • Configuring the link layer attributes of interfaces to ensure their normal operation

  • Configuring IP addresses for interfaces

  • Enabling the routing protocol for communication between devices

This configuration is supported only on the Admin VS.

Procedure

  1. Run system-view

    The system view is displayed.

  2. Run diffserv domain ds-domain-name [ domain-id domain-id ]

    A DS domain is defined and the DS domain view is displayed.

  3. Define traffic policies on the router based on the actual situation.

    • To define a traffic policy for incoming MPLS traffic, run the mpls-exp-inbound exp phb service-class [ color ] command.

    • To define a traffic policy for outgoing MPLS traffic, run the mpls-exp-outbound service-class color map exp-value command.

    The system predefines a default domain. If you do not configure priority mappings in Step 3 for the DS domain, the system uses the default mappings. The default domain describes the default mappings from the EXP values of MPLS packets to QoS service classes and colors, or from QoS service classes and colors to the EXP values of MPLS packets. You can change the mappings in the default domain. The EXP values of the packets from an upstream device are mapped to QoS service classes and colors. Their mappings are shown in Table 5-9. The QoS service classes and colors of the packets entering a downstream device are mapped to EXP values. Their mappings are shown in Table 5-10.

    The default mappings between the EXP values of MPLS packets and QoS service classes are shown in Table 5-9.

    Table 5-9 Default mappings between the EXP values the QoS service classes

    EXP

    Service

    Color

    EXP

    Service

    Color

    0

    BE

    Green

    4

    AF4

    Green

    1

    AF1

    Green

    5

    EF

    Green

    2

    AF2

    Green

    6

    CS6

    Green

    3

    AF3

    Green

    7

    CS7

    Green

    The default mappings between the EXP values of MPLS packets and QoS service classes are shown in Table 5-10.

    Table 5-10 The default mappings between the EXP valueS and QoS service classes

    Service

    Color

    MPLS EXP

    BE

    Green

    0

    AF1

    Green, Yellow, Red

    1

    AF2

    Green, Yellow, Red

    2

    AF3

    Green, Yellow, Red

    3

    AF4

    Green, Yellow, Red

    4

    EF

    Green

    5

    CS6

    Green

    6

    CS7

    Green

    7

  4. Run commit

    The configuration is committed.

  5. Run quit

    Return to the system view.

  6. Run interface interface-type interface-number

    The interface view is displayed.

  7. Run trust upstream { ds-domain-name | default }

    The DS domain is bound to the interface, and BA classification is enabled on the interface.

    NOTE:

    In virtual access scenarios, external interfaces of APs function as inbound interfaces of traffic. To ensure that different queues are scheduled based on priorities, BA classification for AP devices is enabled on the remote AP interface of the master device.

    Perform the following steps to enable BA classification on the remote AP interface of the master device and configure the remote AP interface of the master device to deliver BA classification configurations to the AP devices:

    1. Run the trust upstream { 5p3d | ds-domain-name | default } { inbound | outbound off-load-service } remote command to bind a DS domain to the remote AP interface of the master device to enable BA classification.

  8. (Optional) Run mpls l2vc diffserv domain { 5p3d | domain-name | default }

    A DS domain to which the private network tag preference to be marked belongs is bound to a VLL interface.

  9. (Optional) Run slot slot-id

    The slot view is displayed.

  10. (Optional) Run mpls-inner-exp phb disable vll

    The function of obtaining the private network tag priority from a DS domain for the downstream traffic on the PW interface is disabled in the VLL networking.

  11. Run commit

    The configuration is committed.

Checking the Configurations

Run the following commands to check the previous configuration.

  • Run the display diffserv domain [ ds-domain-name ] [ 8021p | atm | dscp | exp ] [ inbound| outbound ] command to display the configurations of a DS domain.
  • Run the display diffserv domain application [ ds-domain-name ] command to display the interface list applied to a DS domain.
# Run the display diffserv domain command to display the mappings between the EXP priorities, CoSs, and colors in default DS domain.
<HUAWEI> display diffserv domain default exp inbound
Diffserv domain name:default                                                    
mpls-exp-inbound 0 phb be green                                                 
mpls-exp-inbound 1 phb af1 green                                                
mpls-exp-inbound 2 phb af2 green                                                
mpls-exp-inbound 3 phb af3 green                                                
mpls-exp-inbound 4 phb af4 green                                                
mpls-exp-inbound 5 phb ef green                                                 
mpls-exp-inbound 6 phb cs6 green                                                
mpls-exp-inbound 7 phb cs7 green   
<HUAWEI> display diffserv domain default exp outbound
Diffserv domain name:default                                                    
mpls-exp-outbound be green map 0                                                
mpls-exp-outbound be yellow map 0                                               
mpls-exp-outbound be red map 0                                                  
mpls-exp-outbound af1 green map 1                                               
mpls-exp-outbound af1 yellow map 1                                              
mpls-exp-outbound af1 red map 1                                                 
mpls-exp-outbound af2 green map 2                                               
mpls-exp-outbound af2 yellow map 2                                              
mpls-exp-outbound af2 red map 2                                                 
mpls-exp-outbound af3 green map 3                                               
mpls-exp-outbound af3 yellow map 3                                              
mpls-exp-outbound af3 red map 3                                                 
mpls-exp-outbound af4 green map 4                                               
mpls-exp-outbound af4 yellow map 4                                              
mpls-exp-outbound af4 red map 4                                                 
mpls-exp-outbound ef green map 5                                                
mpls-exp-outbound ef yellow map 5                                               
mpls-exp-outbound ef red map 5                                                  
mpls-exp-outbound cs6 green map 6                                               
mpls-exp-outbound cs6 yellow map 6                                              
mpls-exp-outbound cs6 red map 6                                                 
mpls-exp-outbound cs7 green map 7                                               
mpls-exp-outbound cs7 yellow map 7                                              
mpls-exp-outbound cs7 red map 7    

# Run the display diffserv domain application domain1 command to display the interface list applied to the DS domain named domain1.

<HUAWEI>  display diffserv domain application domain1
Diffserv domain name: domain1
 Interface: GigabitEthernet1/0/0.1 inbound
 Interface: GigabitEthernet1/0/0.1 outbound
Translation
Download
Updated: 2019-01-03

Document ID: EDOC1100055024

Views: 22186

Downloads: 115

Average rating:
This Document Applies to these Products
Related Documents
Related Version
Share
Previous Next