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

Configuration Guide - VPN

S7700 and S9700 V200R013C00

This document describes the configurations of VPN, including GRE, IPSec, BGP/MPLS IP VPN, BGP/MPLS IPv6 VPN, VLL, PWE3, VPLS, L2VPN Access to L3VPN.
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).
Why Cannot L2VPN Map Packets by 802.1p Priority?

Why Cannot L2VPN Map Packets by 802.1p Priority?

Fault Symptom

s

A port maps packets by 802.1p priority, but L2VPN cannot map packets by 802.1p priority, causing invalid network congestion management.

Involved Cards

EE series, SC series, FC series, EH1D2X48SEC0 and ET1D2X48SEC0 cards

Service Impact

This fault occurs in combined feature deployment scenarios. To obtain information about scenarios where this fault occurs, understand the following basic concepts:

  • QinQ termination sub-interface attributes (qinq termination l2 { symmetry | asymmetry })

    • symmetry: specifies that a QinQ termination sub-interface connects to L2VPN in symmetry mode.
    • asymmetry: specifies that a QinQ termination sub-interface connects to L2VPN in asymmetry mode.
    • If this command is not configured, a QinQ termination sub-interface connects to L2VPN in default mode.
  • VSI encapsulation mode (encapsulation { ethernet | vlan })

    • ethernet: indicates the Ethernet encapsulation mode.
    • vlan: indicates the VLAN encapsulation mode that meets the 802.1q standard.
  • VLL encapsulation mode (mpls l2vc or mpls static-l2vc)

    • raw: indicates the raw encapsulation mode.
    • tagged: indicates the tagged encapsulation mode.

L2VPN fails to map packets by 802.1p priority in the following cases:

  • A VSI in VLAN mode is bound to a QinQ sub-interface in asymmetry mode.

  • A VSI in Ethernet mode is bound to a QinQ sub-interface or dot1q sub-interface.

  • A VLL in tagged mode is bound to a QinQ sub-interface in asymmetry mode.

  • A VLL in raw mode is bound to a QinQ sub-interface in symmetry or asymmetry mode.

Solution

To solve this problem, configure ACL-based remarking on the interface. (This solution consumes ACL resources.) The detailed configuration is as follows:

  1. Configure ACLs to match 8021p priorities of packets.
    [Switch] acl 4000
    [Switch-acl-L2-4000] rule permit 8021p 0
    [Switch-acl-L2-4000] quit
    [Switch] acl 4001
    [Switch-acl-L2-4001] rule permit 8021p 1
    [Switch-acl-L2-4001] quit
    [Switch] acl 4002
    [Switch-acl-L2-4002] rule permit 8021p 2
    [Switch-acl-L2-4002] quit
    [Switch] acl 4003
    [Switch-acl-L2-4003] rule permit 8021p 3
    [Switch-acl-L2-4003] quit
    [Switch] acl 4004
    [Switch-acl-L2-4004] rule permit 8021p 4
    [Switch-acl-L2-4004] quit
    [Switch] acl 4005
    [Switch-acl-L2-4005] rule permit 8021p 5
    [Switch-acl-L2-4005] quit
    [Switch] acl 4006
    [Switch-acl-L2-4006] rule permit 8021p 6
    [Switch-acl-L2-4006] quit
    [Switch] acl 4007
    [Switch-acl-L2-4007] rule permit 8021p 7
    [Switch-acl-L2-4007] quit
    
  2. Configure ACL-based remarking on the main interface of the sub-interface to which a VSI is bound. GigabitEthernet0/0/1 is used as an example.
    [Switch] interface gigabitethernet 1/0/1
    [Switch-GigabitEthernet1/0/1] traffic-remark inbound acl 4000 8021p 0
    [Switch-GigabitEthernet1/0/1] traffic-remark inbound acl 4001 8021p 1
    [Switch-GigabitEthernet1/0/1] traffic-remark inbound acl 4002 8021p 2
    [Switch-GigabitEthernet1/0/1] traffic-remark inbound acl 4003 8021p 3
    [Switch-GigabitEthernet1/0/1] traffic-remark inbound acl 4004 8021p 4
    [Switch-GigabitEthernet1/0/1] traffic-remark inbound acl 4005 8021p 5
    [Switch-GigabitEthernet1/0/1] traffic-remark inbound acl 4006 8021p 6
    [Switch-GigabitEthernet1/0/1] traffic-remark inbound acl 4007 8021p 7
    [Switch-GigabitEthernet1/0/1] quit
    
Translation
Download
Updated: 2019-04-08

Document ID: EDOC1100065751

Views: 37958

Downloads: 50

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