Step 4 Run:
quit
Return to the system view.
Step 5 Run:
interface interface-type interface-number
The AC interface view is displayed.
Step 6 (Optional) Run:
undo portswitch
The Layer 2 interface is configured as a Layer 3 interface.
NOTE
To use an XGE interface, a GE interface, an Ethernet interface, or an Eth-Trunk interface of the S7700 as
the AC interface of the PE, you need to run undo portswitch to configure the Layer 2 interface as a Layer
3 interface.
Step 7 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 ] | mtu mtu-value | secondary ]
*
The Martini VLL is created.
NOTE
The raw and tagged parameters are available only for Ethernet links.
The Martini L2VC requires the VC IDs of the VCs of the same encapsulation type on a PE to
be unique. The change of the encapsulation type may cause collision of VC IDs.
----End
5.5.4 Checking the Configuration
After a Martini VLL is configured, you can view information about the two ends of the Martini
VLL.
Prerequisite
The configurations of the Martini VLL function are complete.
Procedure
l Run the display mpls l2vc [ vc-id | interface interface-type interface-number ] command
to check the Martini VLL connection information on the local PE.
l Run the display mpls l2vc remote-info [ vc-id ] command to check the peer Martini VLL
connection information on the local PE.
----End
Example
Run the display mpls l2vc command. You can find that destination is the peer IP address of
the specified VC and VC state is up. For example:
Quidway S7700 Smart Routing Switch
Configuration Guide - VPN 5 VLL Configuration
Issue 01 (2011-07-15) Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
463