Huawei Quidway S9300 Configuration Manual page 208

Terabit routing switch
Table of Contents

Advertisement

3 BGP/MPLS IP VPN Configuration
l
3-104
port trunk allow-pass vlan 12
#
interface LoopBack1
ip address 2.2.2.9 255.255.255.255
#
bgp 100
peer 1.1.1.9 as-number 100
peer 1.1.1.9 connect-interface LoopBack1
#
ipv4-family unicast
undo synchronization
import-route direct
peer 1.1.1.9 enable
#
ipv4-family vpnv4
policy vpn-target
peer 1.1.1.9 enable
#
ipv4-family vpn-instance vpn1
peer 192.1.1.2 as-number 200
import-route direct
#
ospf 1
area 0.0.0.0
network 2.2.2.9 0.0.0.0
network 172.1.1.0 0.0.0.255
#
return
Configuration file of ASBR-PE2
#
sysname ASBR-PE2
#
vlan batch 12 22
#
ip vpn-instance vpn1
route-distinguisher 200:2
vpn-target 2:2 export-extcommunity
vpn-target 2:2 import-extcommunity
#
mpls lsr-id 3.3.3.9
mpls
lsp-trigger all
#
mpls ldp
#
interface Vlanif22
ip address 162.1.1.1 255.255.255.0
mpls
mpls ldp
#
interface Vlanif12
ip binding vpn-instance vpn1
ip address 192.1.1.2 255.255.255.0
#
interface GigabitEthernet1/0/0
port link-ype trunk
port trunk allow-pass vlan 22
#
interface GigabitEthernet2/0/0
port link-ype trunk
port trunk allow-pass vlan 12
#
interface LoopBack1
ip address 3.3.3.9 255.255.255.255
#
bgp 200
peer 4.4.4.9 as-number 200
peer 4.4.4.9 connect-interface LoopBack1
#
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
Quidway S9300 Terabit Routing Switch
Configuration Guide - VPN
Issue 03 (2009-08-20)

Advertisement

Table of Contents
loading

Table of Contents