mpls static-l2vc pw-template pwt 200 transmit-vpn-label 100 receive-vpn-label
200
#
interface GigabitEthernet1/0/0
port link-type trunk
port trunk allow-pass vlan 50
#
interface GigabitEthernet2/0/0
port link-type trunk
port trunk allow-pass vlan 50
#
interface LoopBack0
ip address 5.5.5.9 255.255.255.255
#
ospf 1
area 0.0.0.0
network 5.5.5.9 0.0.0.0
network 40.1.1.0 0.0.0.255
#
return
l Configuration file of CE2
#
sysname CE2
#
vlan batch 60
#
interface Vlanif 60
ip address 100.1.1.2 255.255.255.0
#
interface GigabitEthernet1/0/0
port link-type trunk
port trunk allow-pass vlan 60
#
return
6.13.5 Example for Configuring Static BFD for PW
Networking Requirements
The networking requirements are as follows:
l Set up PW1 (master PW) between PE1 and PE2.
l Set up PW2 (backup PW) between PE1 and PE3.
As shown in Figure 6-16, BFD is used to check the connectivity of the master PW and the
backup PW. If the master PW is faulty, services can be switched to the backup PW.
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.
620