Huawei Quidway S9300 Configuration Manual page 206

Terabit routing switch
Table of Contents

Advertisement

3 BGP/MPLS IP VPN Configuration
Run the display bgp vpnv4 all routing-table command on an ASBR-PE, and you can see the
VPNv4 routes on the ASBR-PE.
[ASBR-PE1] display bgp vpnv4 all routing-table
BGP Local router ID is 2.2.2.9
Status codes: * - valid, > - best, d - damped,
Total number of routes from all PE: 2
Route Distinguisher: 100:1
*>i
*>i
Total routes of vpn-instance vpn1: 9
*>i
*>i
*>
*>
*>
*
*>
*
*>
----End
Configuration Files
l
l
3-102
h - history,
Origin : i - IGP, e - EGP, ? - incomplete
Network
10.1.1.0/24
10.1.1.1/32
Network
10.1.1.0/24
10.1.1.1/32
10.2.1.0/24
10.2.1.1/32
192.1.1.0
192.1.1.1/32
192.1.1.2/32
Configuration file of CE1
#
sysname CE1
#
vlan batch 10
#
interface Vlanif 10
ip address 10.1.1.1 255.255.255.0
#
interface GigabitEthernet1/0/0
port link-type trunk
port trunk allow-pass vlan 10
#
bgp 65001
peer 10.1.1.2 as-number 100
#
ipv4-family unicast
undo synchronization
import-route direct
peer 10.1.1.2 enable
#
return
Configuration file of PE1
#
sysname PE1
#
vlan batch 10 20
#
ip vpn-instance vpn1
route-distinguisher 100:1
vpn-target 1:1 export-extcommunity
vpn-target 1:1 import-extcommunity
#
mpls lsr-id 1.1.1.9
mpls
lsp-trigger all
#
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
i - internal, s - suppressed, S - Stale
NextHop
MED
1.1.1.9
0
1.1.1.9
0
NextHop
MED
1.1.1.9
0
1.1.1.9
0
192.1.1.2
192.1.1.2
0.0.0.0
0
192.1.1.2
0
0.0.0.0
0
192.1.1.2
0
0.0.0.0
0
Quidway S9300 Terabit Routing Switch
Configuration Guide - VPN
LocPrf
PrefVal Path/Ogn
100
0
100
0
LocPrf
PrefVal Path/Ogn
100
0
100
0
0
0
0
0
0
0
0
Issue 03 (2009-08-20)
?
?
?
?
200?
200?
?
200?
?
200?
?

Advertisement

Table of Contents
loading

Table of Contents