< Home

Associating the L2VE Interface with a VLL

Context

Perform the following steps on an NPE.

Procedure

  1. Run system-view

    The system view is displayed.

  2. Run mpls l2vpn

    MPLS L2VPN is enabled and the MPLS L2VPN view is displayed.

  3. Run quit

    Return to the system view.

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

    The L2VE sub-interface view is displayed.

  5. Run dot1q termination vid vlan-id

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

  6. Run mpls l2vc { ip-address | pw-template pw-template-name } * vc-id [ group-id group-id | tunnel-policy policy-name | [ control-word | no-control-word ] | [ raw | tagged ] | ignore-standby-state ] *

    A Martini VLL is created.

    The tunnel policy for a Martini VLL defaults to LSP and no load balancing is performed. If a tunnel of another type is needed, you can specify tunnel-policy policy-name to apply the matching tunnel policy.

    To create a Martini VLL, you need to specify the IP address and VC ID of the destination PE. The VC IDs of PEs at both ends of the VC must be the same.

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