< Home

Configuring User Access to the Public Network or L3VPN

Context

The configuration of the L3VE interface for connecting users to the public network or MPLS L3VPN varies with the networking environment. Perform the following steps based on actual needs.

Procedure

  • Configuring a user to access the public network
    1. Run system-view

      The system view is displayed.

    2. Run interface virtual-ethernet ve-number.subnumber

      The L3VE sub-interface view is displayed.

    3. Run dot1q termination vid vlan-id

      Or run qinq termination pe-vid pe-vid ce-vid ce-vid

      A VLAN ID is configured for the L3VE sub-interface.

    4. Run ip address ip-address { mask | mask-length }

      An IP address is configured for the L3VE sub-interface.

  • Configuring a user to access the MPLS L3VPN network
    1. Run system-view

      The system view is displayed.

    2. Run interface virtual-ethernet ve-number.subnumber

      The L3VE sub-interface view is displayed.

    3. Run dot1q termination vid vlan-id

      Or run qinq termination pe-vid pe-vid ce-vid ce-vid

      A VLAN ID is configured for the L3VE sub-interface.

    4. Run ip binding vpn-instance vpn-instance-name

      The L3VE sub-interface is associated with a VPN instance.

    5. Run ip address ip-address { mask | mask-length }

      An IP address is configured for the L3VE sub-interface. The IP address is a private network address of the MPLS L3VPN.

Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >