Huawei Quidway S9300 Configuration Manual page 471

Terabit routing switch
Table of Contents

Advertisement

Quidway S9300 Terabit Routing Switch
Configuration Guide - VPN
l
Issue 03 (2009-08-20)
#
return
Configuration file of PE1
#
sysname PE1
#
vlan batch 10 20 40
#
mpls lsr-id 1.1.1.1
mpls
mpls te
mpls rsvp-te
mpls te cspf
#
mpls l2vpn
#
pw-template 1to2
peer-address 2.2.2.2
control-word
vccv cc cw cv lsp-ping bfd
#
pw-template 1to3
peer-address 3.3.3.3
control-word
vccv cc cw cv lsp-ping bfd
#
mpls ldp
#
mpls ldp remote-peer 3.3.3.3
remote-ip 3.3.3.3
#
interface Vlanif10
mpls l2vc pw-template 1to3 100 tunnel-policy p1
mpls l2vc pw-template 1to2 200 secondary
#
interface Vlanif20
ip address 100.13.1.1 255.255.255.252
mpls
mpls te
mpls te max-link-bandwidth 50
mpls te max-reservable-bandwidth 30
mpls rsvp-te
#
interface Vlanif30
ip address 100.12.1.1 255.255.255.252
mpls
mpls ldp
#
interface GigabitEthernet1/0/0
port link-type trunk
port trunk allow-pass vlan 10
#
interface GigabitEthernet2/0/1
port link-type trunk
port trunk allow-pass vlan 20
#
interface GigabitEthernet2/0/2
port link-type trunk
port trunk allow-pass vlan 40
#
interface LoopBack1
ip address 1.1.1.1 255.255.255.255
#
interface Tunnel2/0/0
ip address unnumbered interface LoopBack1
tunnel-protocol mpls te
destination 3.3.3.3
mpls te tunnel-id 13
mpls te bandwidth bc0 20
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
5 PWE3 Configuration
5-89

Advertisement

Table of Contents
loading

Table of Contents