Configuring the SVC VLL
The SVC VLL is a simplified Martini mode, in which inner labels are manually specified. The SVC mode facilitates planning of label resources on VLL networks, but it increases configuration workload and is not easy to extend.
Pre-configuration Tasks
Before configuring the SVC VLL, you need to complete the following tasks:
-
Configuring static routes or an IGP protocol for the PE and P devices on the MPLS backbone network to implement IP connectivity.
-
Enabling the MPLS for PEs and Ps.
-
Setting up a tunnel (GRE tunnel, LSP tunnel, or TE tunnel) between the PEs.
You also need to configure tunnel policies when VLL services need to be transmitted over TE tunnels or when VLL services need to be load balanced among multiple tunnels to fully use network resources. For details, see step 1 in Configuring and Applying a Tunnel Policy.
Procedure
Perform the following operations on the PE devices at both ends of a VC:
-
Run system-view
The system view is displayed.
-
Run mpls l2vpn
MPLS L2VPN is enabled and the MPLS L2VPN view is displayed.
-
Run quit
Return to the system view.
-
Run interface interface-type interface-number
The AC interface view is displayed.
The SVC VLL can use the following interfaces as AC interfaces: GE interfaces, GE sub-interfaces, XGE interfaces, XGE sub-interfaces, Ethernet interfaces, Ethernet sub-interfaces, Eth-Trunk interfaces, Eth-Trunk sub-interfaces, and VLANIF interfaces.
The sub-interfaces can be dotlq sub-interfaces or QinQ sub-interfaces.
-
Run mpls static-l2vc { { destination ip-address | pw-template pw-template-name vc-id } * | destination ip-address [ vc-id ] } transmit-vpn-label transmit-label-value receive-vpn-label receive-label-value [ tunnel-policy tnl-policy-name | [ control-word | no-control-word ] | [ raw | tagged ] ] *
The SVC VLL is created.
Configure a PW template before you can use it. Refer to Creating a PW Template and Setting Attributes for the PW Template for details on the PW template configuration.
-
(Optional) Run bpdu transmit enable
The interface connected to a VLL is enabled to transparently transmit BPDU packets.
-
(Optional) Run mpls l2vpn service-name service-name
A name is configured for the L2VPN service, so you can maintain the L2VPN service by clicking the name directly on the NMS GUI.
-
(Optional) Run mpls l2vpn frag
Fragmentation of L2VPN IPv4 packets is enabled.
Verifying the Configuration
After you complete configuring the SVC VLL, run the following commands to check information about the SVC connection and interfaces used by the SVC connection.
- Run the display mpls static-l2vc [ interface interface-type interface-number ] command to check the SVC L2VPN connection information on the PE.
- Run the display mpls static-l2vc brief command to check the SVC L2VPN connection brief information on the PE.
- Run the display l2vpn ccc-interface vc-type static-vc [ down | up ] command to check the interface information of the SVC connections in Up/Down state.