HP 12500 Series Configuration Manual page 279

Mpls, routing switch series
Table of Contents

Advertisement

Peer
10.1.1.1
Configure an MP-iBGP peer relationship between a spoke-PE and the hub-PE.
5.
# Configure Spoke-PE 1.
[Spoke-PE1] bgp 100
[Spoke-PE1-bgp] peer 2.2.2.9 as-number 100
[Spoke-PE1-bgp] peer 2.2.2.9 connect-interface loopback 0
[Spoke-PE1-bgp] ipv4-family vpnv4
[Spoke-PE1-bgp-af-vpnv4] peer 2.2.2.9 enable
[Spoke-PE1-bgp-af-vpnv4] quit
[Spoke-PE1-bgp] quit
# Configure Spoke-PE 2.
[Spoke-PE2] bgp 100
[Spoke-PE2-bgp] peer 2.2.2.9 as-number 100
[Spoke-PE2-bgp] peer 2.2.2.9 connect-interface loopback 0
[Spoke-PE2-bgp] ipv4-family vpnv4
[Spoke-PE2-bgp-af-vpnv4] peer 2.2.2.9 enable
[Spoke-PE2-bgp-af-vpnv4] quit
[Spoke-PE2-bgp] quit
# Configure the Hub-PE.
[Hub-PE] bgp 100
[Hub-PE-bgp] peer 1.1.1.9 as-number 100
[Hub-PE-bgp] peer 1.1.1.9 connect-interface loopback 0
[Hub-PE-bgp] peer 3.3.3.9 as-number 100
[Hub-PE-bgp] peer 3.3.3.9 connect-interface loopback 0
[Hub-PE-bgp] ipv4-family vpnv4
[Hub-PE-bgp-af-vpnv4] peer 1.1.1.9 enable
[Hub-PE-bgp-af-vpnv4] peer 3.3.3.9 enable
[Hub-PE-bgp-af-vpnv4] quit
[Hub-PE-bgp] quit
After you complete the configurations, issue the display bgp peer command or the display bgp
vpnv4 all peer command on the PEs. The output shows that a BGP peer relationship has been
established between the PEs, and has reached the Established state.
[Spoke-PE1] display bgp peer
BGP local router ID : 1.1.1.9
Local AS number : 100
Total number of peers : 1
Peer
2.2.2.9
Verify your configuration.
6.
# Issue the display ip routing-table vpn-instance command on a PE. The output shows that the PE
has learned routes to each CE, and for a spoke-PE, the next hop of the route to the peer spoke-CE
is the Hub-PE.
AS
MsgRcvd
MsgSent OutQ PrefRcv Up/Down
65410
6
AS
MsgRcvd
MsgSent OutQ PrefRcv Up/Down
100
6
271
7
0
2 00:03:16 Established
Peers in established state : 1
5
0
0 00:00:32 Established
State
State

Advertisement

Table of Contents
loading

Table of Contents