HP HSR6800 Configuration Manual page 315

Hide thumbs Also See for HSR6800:
Table of Contents

Advertisement

4.
Establish IBGP peer relationships between PEs and CEs to redistribute VPN routes, and
configure routing policies to change the next hop of the routes:
# On CE 1, configure PE 1 as the IBGP peer, and configure a routing policy for the routes
received from PE 1, changing the next hop address of the routes to the IP address of PE 1.
<CE1> system-view
[CE1] route-policy ce-ibgp permit node 0
[CE1-route-policy] apply ip-address next-hop 10.1.1.2
[CE1-route-policy] quit
[CE1] bgp 100
[CE1-bgp] peer 10.1.1.2 as-number 100
[CE1-bgp] peer 10.1.1.2 route-policy ce-ibgp import
[CE1-bgp] import-route direct
[CE1-bgp] quit
# Configure the other three CEs (CE 2 through CE 4) in a similar way to configuring CE 1.
(Details not shown.)
# On PE 1, configure the CE 1 and CE 2 as its IBGP peers, and configure PE 1 as the route
reflector.
[PE1] bgp 100
[PE1-bgp] ipv4-family vpn-instance vpn1
[PE1-bgp-vpn1] peer 10.1.1.1 as-number 100
[PE1-bgp-vpn1] peer 10.1.1.1 reflect-client
[PE1-bgp-vpn1] import-route direct
[PE1-bgp-vpn1] quit
[PE1-bgp] ipv4-family vpn-instance vpn2
[PE1-bgp-vpn2] peer 10.2.1.1 as-number 100
[PE1-bgp-vpn2] peer 10.2.1.1 reflect-client
[PE1-bgp-vpn2] import-route direct
[PE1-bgp-vpn2] quit
[PE1-bgp] quit
# Configure PE 2 in a similar way to configuring PE 1. (Details not shown.)
Execute the display bgp vpnv4 vpn-instance peer command on the PEs. The output shows
that BGP peer relationships have been established between the PEs and CEs, and have
reached Established state. Take the BGP peer relationship between PE 1 and CE 1 as an
example:
[PE1] display bgp vpnv4 vpn-instance vpn1 peer
BGP local router ID : 1.1.1.9
Local AS number : 100
Total number of peers : 1
Peer
10.1.1.1
5.
Configure an MP-IBGP peer relationship between PEs:
# On PE 1, configure PE 2 as the MP-IBGP peer, and configure a routing policy for the routes
received from PE 2, changing the next hop address of the routes as the loopback interface
address of PE 2.
[PE1] route-policy pe-ibgp permit node 0
[PE1-route-policy] apply ip-address next-hop 3.3.3.9
Peers in established state : 1
AS
MsgRcvd
MsgSent OutQ PrefRcv Up/Down
100
26
307
21
0
2 00:11:08 Established
State

Advertisement

Table of Contents
loading

Table of Contents