l Configuration file of PE3
#
sysname PE3
#
vlan batch 30 60
#
mpls lsr-id 3.3.3.3
mpls
mpls te
mpls rsvp-te
mpls te cspf
#
mpls l2vpn
mpls l2vpn default martini
#
pw-template 3to1
peer-address 1.1.1.1
control-word
vccv cc cw cv lsp-ping bfd
#
mpls ldp
#
mpls ldp remote-peer 1.1.1.1
remote-ip 1.1.1.1
#
interface Vlanif30
ip address 100.34.1.2 255.255.255.252
mpls
mpls te
mpls te max-link-bandwidth 50
mpls te max-reservable-bandwidth 30
mpls rsvp-te
#
interface Vlanif60
ip address 10.1.1.1 255.255.255.252
mpls l2vc pw-template 3to1 100 tunnel-policy p1
#
interface GigabitEthernet1/0/0
port hybrid pvid vlan 60
port hybrid tagged vlan 60
#
interface GigabitEthernet2/0/1
port hybrid pvid vlan 30
port hybrid tagged vlan 30
#
interface LoopBack1
ip address 3.3.3.3 255.255.255.255
#
interface Tunnel2/0/0
ip address unnumbered interface LoopBack1
tunnel-protocol mpls te
destination 1.1.1.1
mpls te tunnel-id 31
mpls te bandwidth bc0 20
mpls te commit
#
ospf 1
opaque-capability enable
area 0.0.0.0
network 3.3.3.3 0.0.0.0
network 100.34.1.0 0.0.0.3
mpls-te enable
#
tunnel-policy p1
tunnel select-seq cr-lsp load-balance-number 1
#
return
l Configuration file of PE2
4 VLL Configuration
Quidway S9300 Terabit Routing Switch
Configuration Guide - VPN
4-102 Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
Issue 03 (2009-08-20)