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

NE20E-S2 V800R010C10SPC500 Configuration Guide - LAN Access and MAN Access 01

This is NE20E-S2 V800R010C10SPC500 Configuration Guide - LAN Access and MAN Access
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 a User-VLAN Sub-interface on a BRAS's User-Side Interface

Configuring a User-VLAN Sub-interface on a BRAS's User-Side Interface

When VLAN users access an IP core network through a BRAS, the IP core network cannot identify users' VLAN tags. In this situation, configure a user-VLAN sub-interface on the BRAS to remove the VLAN tags carried in the user VLAN packets.

Usage Scenario

If a Layer 2 network connects to an IP core network through a BRAS, it is recommended that you configure a user-VLAN sub-interface on the BRAS to remove the VLAN tags before sending user VLAN packets to the IP core network.

If a Layer 2 network connects to an IP core network through a BRAS, it is recommended that you configure a Dot1q or QinQ VLAN tag termination sub-interface on the BRAS to remove the VLAN tags before sending user VLAN packets to the IP core network.

Pre-configuration Tasks

Before configuring a user-VLAN sub-interface on a BRAS's user-side interface, correctly plan the user VLANs to allow the user packets that the sub-interface receives carry one or two VLAN tags.

Procedure

  1. Run system-view

    The system view is displayed.

  2. Run interface interface-type interface-number.subinterface-number

    The view of a BRAS's user-side Ethernet sub-interface is displayed.

  3. (Optional) Run qinq-vlan pe-vlan description description

    A description is configured for the outer VLAN tag carried in double-tagged packets received by the sub-interface.

    When users send double-tagged VLAN packets to go online in batches through a BRAS, with the outer VLAN tag representing services and the inner VLAN tag representing users, to learn only the users' service information, configure a description for the outer VLAN tag carried in double-tagged packets received by the BRAS's user-side sub-interface.

  4. Run user-vlan { { start-vlan-id [ end-vlan-id ] [ qinq start-pe-vlan [ end-pe-vlan ] ] } | any-other }

    The Ethernet sub-interface is configured as a user-VLAN sub-interfaced, and the user-VLAN view is displayed.

  5. (Optional) Run vlan vlan-id [ qinq pe-vlan ] description description

    A description is configured for the user VLAN.

    This command is supported only on the Admin-VS.

    To learn not only online service information but also user information, configure a user VLAN description.

Checking the Configurations

Run the display sub-interface interface-type interface-number pevlan pevlan [ cevlan cevlan ] command to check information about user-VLAN sub-interfaces. For example:

<HUAWEI> display sub-interface gigabitethernet0/1/1 pevlan 10 cevlan 100
    Sub-interface: GigabitEthernet0/1/1.1
    Sub-interface-status: UP
    PeVlan/CeVlan: 10/100
    The BAS function has been disabled
NOTE:

This command is supported only on the Admin-VS.

Translation
Download
Updated: 2019-01-02

Document ID: EDOC1100055378

Views: 18795

Downloads: 35

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