mpls l2vc pw-template 3to1 200
#
interface GigabitEthernet1/0/0
port hybrid pvid vlan 60
port hybrid tagged vlan 60
#
interface GigabitEthernet1/0/1
port hybrid pvid vlan 70
port hybrid tagged vlan 70
#
interface LoopBack1
ip address 5.5.5.5 255.255.255.255
#
ospf 1
area 0.0.0.0
network 5.5.5.5 0.0.0.0
network 200.2.1.0 0.0.0.3
#
bfd 3to1 bind pw interface Vlanif70
discriminator local 31
discriminator remote 13
commit
#
return
l Configuration file of CE2
#
sysname CE2
#
vlan batch 50 70
#
interface Vlanif50
ip address 10.1.1.2 255.255.255.252
#
interface Vlanif70
ip address 10.1.2.2 255.255.255.252
#
interface GigabitEthernet1/0/0
port link-type trunk
port trunk allow-pass vlan 50
#
interface GigabitEthernet1/0/1
port link-type trunk
port trunk allow-pass vlan 70
#
return
6.13.6 Example for Configuring Dynamic BFD for SH-PW
Networking Requirements
As shown in Figure 6-17, PE1, P, and PE2 are on the same MPLS network, and CE1 and CE2
belong to one VPN instance. An SH-PW is set up between PE1 and PE2. A dynamic BFD session
is required to check the connectivity of the PW, thus protecting services on the link.
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.
635