Configuring Bgp As Number Substitution - HP 10500 Series Configuration Manual

Hide thumbs Also See for 10500 Series:
Table of Contents

Advertisement

[SPE2-bgp] quit
# Advertise to UPE 2 the routes permitted by a routing policy (the routes of CE 1).
[SPE2] ip prefix-list hope index 10 permit
[SPE2] route-policy hope permit node 0
[SPE2-route-policy-hope-0] if-match ip address prefix-list hope
[SPE2-route-policy-hope-0] quit
[SPE2] bgp 100
[SPE2-bgp] ipv4-family vpnv4
[SPE2-bgp-vpnv4] peer 4.4.4.9 upe route-policy hope export
Verify the configurations:
9.
After completing all the configurations, CE 1 and CE3 can learn each other's interface routes and
can ping each other. CE 2 and CE 4 cannot learn each other's interface routes and cannot ping
each other.

Configuring BGP AS number substitution

Network requirements
As shown in
The two CEs have the same AS number, 600. Configure BGP AS number substitution on the PEs to enable
the CEs to communicate with each other.
Figure 51 Network diagram
Device
CE 1
PE 1
CE 2
Figure
51, CE 1 and CE 2 belong to VPN 1 and are connected to PE 1 and PE 2, respectively.
Interface
IP address
Vlan-int11
10.1.1.1/24
Vlan-int12
100.1.1.1/24
Loop0
1.1.1.9/32
Vlan-int11
10.1.1.2/24
Vlan-int12
20.1.1.1/24
Vlan-int12
10.2.1.1/24
Vlan-int13
200.1.1.1/24
10.2.1.1 24
Device
Interface
P
Loop0
Vlan-int11
Vlan-int12
PE 2
Loop0
Vlan-int11
Vlan-int12
174
IP address
2.2.2.9/32
30.1.1.1/24
20.1.1.2/24
3.3.3.9/32
30.1.1.2/24
10.2.1.2/24

Advertisement

Table of Contents
loading

Table of Contents