HP FlexNetwork 10500 Series Configuration Manual page 269

Hide thumbs Also See for FlexNetwork 10500 Series:
Table of Contents

Advertisement

* >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-default] ip vpn-instance vpn1
[PE2-bgp-default-vpn1] peer 10.2.1.1 substitute-as
[PE2-bgp-default-vpn1] address-family ipv4 unicast
[PE2-bgp-default-ipv4-vpn1] peer 10.2.1.1 enable
[PE2-bgp-default-ipv4-vpn1] quit
[PE2-bgp-default-vpn1] quit
[PE2-bgp-default] 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: -MDC=1;
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,
Network
* >e 10.1.1.0/24
*
e 10.2.1.0/24
* >e 100.1.1.0/24
<CE2> display ip routing-table
Destinations : 18
Destination/Mask
0.0.0.0/32
10.1.1.0/24
10.2.1.0/24
10.2.1.0/32
10.2.1.1/32
10.2.1.255/32
10.2.1.2
10.2.1.2
: Incomplete
: 100 100
: 10.2.1.2
s - suppressed, S - stale, i - internal, e - external
Origin: i - IGP, e - EGP, ? - incomplete
NextHop
10.2.1.2
10.2.1.2
10.2.1.2
Routes : 18
Proto
Pre
Cost
Direct 0
0
BGP
255
0
Direct 0
0
Direct 0
0
Direct 0
0
Direct 0
0
0
MED
LocPrf
0
NextHop
127.0.0.1
10.2.1.2
10.2.1.1
10.2.1.1
127.0.0.1
10.2.1.1
260
0
100?
0
100?
PrefVal Path/Ogn
0
100?
0
100?
0
100 100?
Interface
InLoop0
Vlan12
Vlan12
Vlan12
InLoop0
Vlan12

Advertisement

Table of Contents
loading

Table of Contents