HP 10500 SERIES Configuration Manual page 350

Hide thumbs Also See for 10500 SERIES:
Table of Contents

Advertisement

[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
The output shows 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 the routing information that CE 2 has received 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,
h - history,
Origin : i - IGP, e - EGP, ? - incomplete
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
127.0.0.0/8
127.0.0.1/32
200.1.1.1/32
After you also configure BGP AS substitution on PE 1, the VLAN interfaces of CE 1 and CE 2 can
ping each other:
<CE1> ping –a 100.1.1.1 200.1.1.1
PING 200.1.1.1: 56
Reply from 200.1.1.1: bytes=56 Sequence=1 ttl=253 time=109 ms
Reply from 200.1.1.1: bytes=56 Sequence=2 ttl=253 time=67 ms
Reply from 200.1.1.1: bytes=56 Sequence=3 ttl=253 time=66 ms
Reply from 200.1.1.1: bytes=56 Sequence=4 ttl=253 time=85 ms
Reply from 200.1.1.1: bytes=56 Sequence=5 ttl=253 time=70 ms
: Incomplete
: 100 100
: 10.2.1.2
i - internal, s - suppressed, S - Stale
NextHop
MED
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
Direct 0
0
Direct 0
0
Direct 0
0
data bytes, press CTRL_C to break
342
LocPrf
PrefVal Path/Ogn
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
127.0.0.1
127.0.0.1
127.0.0.1
0
100?
0
100?
0
100?
0
100?
0
100 100?
Interface
Vlan12
Vlan12
Vlan12
InLoop0
Vlan12
Vlan12
InLoop0
InLoop0
InLoop0

Advertisement

Table of Contents
loading

Table of Contents