HP HPE FlexNetwork MSR Router Series Configuration Manual page 329

Table of Contents

Advertisement

# Execute the display bgp routing-table ipv4 peer received-routes command on CE 2 to
verify that CE 2 has not received the route to 100.1.1.0/24.
<CE2> display bgp routing-table ipv4 peer 10.2.1.2 received-routes
Total number of routes: 2
BGP local router ID is 200.1.1.1
Status codes: * - valid, > - best, d - dampened, h - history,
Network
* >e 10.1.1.0/24
*
e 10.2.1.0/24
2.
Configure BGP AS number substitution on PE 2.
<PE2> system-view
[PE2] bgp 100
[PE2-bgp] ip vpn-instance vpn1
[PE2-bgp-vpn1] peer 10.2.1.1 substitute-as
[PE2-bgp-vpn1] address-family ipv4 unicast
[PE2-bgp-ipv4-vpn1] peer 10.2.1.1 enable
[PE2-bgp-ipv4-vpn1] quit
[PE2-bgp-vpn1] quit
[PE2-bgp] quit
Verifying the configuration
# The output shows that among the routes advertised by PE 2 to CE 2, the AS_PATH of 100.1.1.0/24
has changed from 100 600 to 100 100.
*Jun 13 16:15:59:456 2012 PE2 BGP/7/DEBUG:
BGP.vpn1: Send UPDATE to peer 10.2.1.1 for following destinations:
Origin
AS Path
Next Hop
100.1.1.0/24,
# Display again the routing information that CE 2 has received, and the routing table.
<CE2> display bgp routing-table ipv4 peer 10.2.1.2 received-routes
Total number of routes: 3
BGP local router ID is 200.1.1.1
Status codes: * - valid, > - best, d - dampened, h - history,
BGP.vpn1: Send UPDATE to peer 10.2.1.1 for following destinations:
Origin
: Incomplete
AS Path
: 100 600
Next Hop
: 10.2.1.2
100.1.1.0/24,
s - suppressed, S - stale, i - internal, e - external
Origin: i - IGP, e - EGP, ? - incomplete
NextHop
10.2.1.2
10.2.1.2
: Incomplete
: 100 100
: 10.2.1.2
s - suppressed, S - stale, i - internal, e - external
MED
LocPrf
0
319
PrefVal Path/Ogn
0
100?
0
100?

Advertisement

Table of Contents
loading

Table of Contents