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 perform step 3 to configure the Layer 2 interface as a Layer 3
interface.
Step 4
Run:
mpls static-l2vc
destination
ip-address
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.
----End
5.4.4 Checking the Configuration
After an SVC VLL is configured, you can view information about the SVC connection and
interfaces of the SVC connection.
Prerequisite
The configurations of the SVC VLL function are complete.
Procedure
l
Run the
display mpls static-l2vc
[
interface
interface-type
interface-number
] command
to check the SVC L2VPN connection information on the PE.
l
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.
----End
Example
Run the
display mpls static-l2vc
command. You can find that the VC status is Up. For example:
<Quidway>
display mpls static-l2vc
Total svc connections: 1, 1 up, 0 down
*Client Interface : Vlanif10 is up
AC Status : up
VC State :
up
VC ID : 0
VC Type : VLAN
Destination : 3.3.3.9
Transmit VC Label : 100
Receive VC Label : 200
Control Word : Disable
VCCV Capability : alert lsp-ping bfd
Tunnel Policy Name : --
Traffic Behavior : --
PW Template Name : --
Main or Secondary : Main
Create time : 0 days, 0 hours, 6 minutes, 44 seconds
UP time : 0 days, 0 hours, 6 minutes, 44 seconds
Last change time : 0 days, 0 hours, 6 minutes, 44 seconds
VC last up time : 2010/07/24 12:31:31
VC total up time : 0 days, 2 hours, 12 minutes, 51 seconds
CKey : 16
NKey : 15
Run the
display l2vpn ccc-interface vc-type
static-vc up
command. You can find that the VC
type is SVC and the status 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.
460