HP HSR6800 Configuration Manual page 358

Hide thumbs Also See for HSR6800:
Table of Contents

Advertisement

[PE3-bgp] ipv4-family vpnv4
[PE3-bgp-af-vpnv4] peer 2.2.2.9 enable
# Allow the local AS number to appear in the AS-PATH attribute of the routes received.
[PE3-bgp-af-vpnv4] peer 2.2.2.9 allow-as-loop 2
[PE3-bgp-af-vpnv4] quit
[PE3-bgp] quit
# Configure CE 1.
[CE1] bgp 200
[CE1-bgp] peer 1.1.1.9 as-number 200
[CE1-bgp] peer 1.1.1.9 connect-interface loopback 0
[CE1-bgp] ipv4-family vpnv4
[CE1-bgp-af-vpnv4] peer 1.1.1.9 enable
[CE1-bgp-af-vpnv4] undo policy vpn-target
[CE1-bgp-af-vpnv4] quit
[CE1-bgp] quit
# Configure PE 4 and CE 2 in a similar way to configuring PE 3 and CE 1. (Details not shown.)
7.
Verify the configurations:
After completing all the configurations, execute the display ip routing-table command on PE 1
and PE 2 to verify that the public routing tables contain only routes on the service provider
network. Take PE 1 as an example.
[PE1] display ip routing-table
Routing Tables: Public
Destinations : 7
Destination/Mask
3.3.3.9/32
4.4.4.9/32
30.1.1.0/24
30.1.1.1/32
30.1.1.2/32
127.0.0.0/8
127.0.0.1/32
Execute the display ip routing-table vpn-instance command on PE 1 and PE 2 to verify that
the VPN routing tables contain sub-VPN routes. Take PE 1 as an example.
[PE1] display ip routing-table vpn-instance vpn1
Routing Tables: vpn1
Destinations : 9
Destination/Mask
11.1.1.0/24
11.1.1.1/32
11.1.1.2/32
100.1.1.0/24
110.1.1.0/24
120.1.1.0/24
Routes : 7
Proto
Pre
Cost
Direct 0
0
ISIS
15
10
Direct 0
0
Direct 0
0
Direct 0
0
Direct 0
0
Direct 0
0
Routes : 9
Proto
Pre
Cost
Direct 0
0
Direct 0
0
Direct 0
0
BGP
255
0
BGP
255
0
BGP
255
0
350
NextHop
Interface
127.0.0.1
InLoop0
30.1.1.2
POS5/1/2
30.1.1.1
POS5/1/2
127.0.0.1
InLoop0
30.1.1.2
POS5/1/2
127.0.0.1
InLoop0
127.0.0.1
InLoop0
NextHop
Interface
11.1.1.1
POS5/1/1
127.0.0.1
InLoop0
11.1.1.2
POS5/1/1
11.1.1.1
NULL0
11.1.1.1
NULL0
4.4.4.9
NULL0

Advertisement

Table of Contents
loading

Table of Contents