HP 12500 Series Configuration Manual page 336

Mpls, routing switch series
Table of Contents

Advertisement

BGP Local router ID is 10.2.1.1
Status codes: * - valid, ^ - VPN best, > - best, d - damped,
Network
*>
10.1.1.0/24
*>
10.1.1.1/32
*
10.2.1.0/24
*
10.2.1.1/32
Configure BGP AS number substitution.
2.
# Configure BGP AS number substitution on PE 2.
<PE2> system-view
[PE2] bgp 100
[PE2-bgp] ipv4-family vpn-instance vpn1
[PE2-bgp-vpn1] peer 10.2.1.1 substitute-as
[PE2-bgp-vpn1] quit
[PE2-bgp] quit
You can see that among the routes advertised by PE 2 to CE 2, the AS_PATH of 100.1.1.1/32 has
changed from 100 600 to 100 100:
*0.13498737 PE2 RM/7/RMDEBUG:
BGP.vpn1: Send UPDATE to 10.2.1.1 for following destinations :
Origin
AS Path
Next Hop
100.1.1.1/32
Display again the routing information that CE 2 receives and the routing table:
<CE2> display bgp routing-table peer 10.2.1.2 received-routes
Total Number of Routes: 5
BGP Local router ID is 10.2.1.1
Status codes: * - valid, ^ - VPN best, > - best, d - damped,
Network
*>
10.1.1.0/24
*>
10.1.1.1/32
*
10.2.1.0/24
*
10.2.1.1/32
*>
100.1.1.1/32
<CE2> display ip routing-table
Routing Tables: Public
Destinations : 9
Destination/Mask
10.1.1.0/24
10.1.1.1/32
10.2.1.0/24
10.2.1.1/32
10.2.1.2/32
100.1.1.1/32
h - history,
i - internal, s - suppressed, S - Stale
Origin : i - IGP, e - EGP, ? - incomplete
NextHop
10.2.1.2
10.2.1.2
10.2.1.2
10.2.1.2
: Incomplete
: 100 100
: 10.2.1.2
h - history,
i - internal, s - suppressed, S - Stale
Origin : i - IGP, e - EGP, ? - incomplete
NextHop
10.2.1.2
10.2.1.2
10.2.1.2
10.2.1.2
10.2.1.2
Routes : 9
Proto
Pre
Cost
BGP
255
0
BGP
255
0
Direct 0
0
Direct 0
0
Direct 0
0
BGP
255
0
328
MED
LocPrf
0
0
0
0
MED
LocPrf
0
0
NextHop
10.2.1.2
10.2.1.2
10.2.1.1
127.0.0.1
10.2.1.2
10.2.1.2
PrefVal Path/Ogn
0
100?
0
100?
0
100?
0
100?
PrefVal Path/Ogn
0
100?
0
100?
0
100?
0
100?
0
100 100?
Interface
Vlan1
Vlan1
Vlan1
InLoop0
Vlan1
Vlan1

Advertisement

Table of Contents
loading

Table of Contents