A Layer 2 interface is switched to a Layer 3 interface.
When using XGE, GE, Ethernet, and Eth-Trunk interfaces as AC interfaces, run this command
to switch Layer 2 interfaces to Layer 3 interfaces.
Step 4 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
A backup VC is configured.
The ID of the backup VC must be different from that of the master VC.
----End
6.7.3 Checking the Configuration
After a backup PW is configured, you can view information about the backup PW.
Context
The configurations of the backup PW are complete.
Procedure
l Run the display mpls l2vc [ vc-id | interface interface-type interface-number | remote-
info [ vc-id ] | state { down | up } ] command to check the status of a PW.
----End
Example
After the configuration is successful, the following results are displayed when the display mpls
l2vc [ vc-id | interface interface-type interface-number | remote-info [ vc-id ] | state { down |
up } ] command is used on the PE to which a CE is connected through only one link:
l The statuses of the master and backup PWs are up.
l VC state of the master PW is active, and VC state of the backup PW is inactive.
For example:
<Quidway> display mpls l2vc interface vlanif 10
*client interface : Vlanif10 is up
session state : up
AC state : up
VC state : up
VC ID : 100
VC type : VLAN
destination : 3.3.3.3
local group ID : 0 remote group ID : 0
local VC label : 23552 remote VC label : 23553
local AC OAM State : up
local PSN State : up
local forwarding state : forwarding
local status code : 0x0
remote AC OAM state : up
remote PSN state : up
remote forwarding state: forwarding
remote statuscode : 0x0
BFD for PW : available
BFD sessionIndex : 257 BFD state : up
Quidway S7700 Smart Routing Switch
Configuration Guide - VPN 6 PWE3 Configuration
Issue 01 (2011-07-15) Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
566