HP 12500 Series Configuration Manual page 128

Mpls, routing switch series
Table of Contents

Advertisement

[PE2-bgp-vpn1] import-route direct
[PE2-bgp-vpn1] quit
[PE2-bgp] peer 2.2.2.2 as-number 100
[PE2-bgp] peer 2.2.2.2 connect-interface loopback 0
[PE2-bgp] ipv4-family vpnv4
[PE2-bgp-af-vpnv4] peer 2.2.2.2 enable
[PE2-bgp-af-vpnv4] quit
[PE2-bgp] quit
Perform the display bgp peer command and the display bgp vpn-instance peer command on PEs.
The output shows that the BGP peer relationships have been formed between PEs and between PEs
and CEs and have reached the established state. Take PE 1 for example:
[PE1-bgp] display bgp peer
BGP local router ID : 2.2.2.2
Local AS number : 100
Total number of peers : 1
Peer
V
3.3.3.3
[PE1-bgp] display bgp vpn-instance vpn1 peer
BGP local router ID : 2.2.2.2
Local AS number : 100
Total number of peers : 1
Peer
192.168.1.2
0
Ping CE 2 on CE 1 and vice versa to test connectivity.
[CE1] ping 192.168.2.2
PING 192.168.2.2: 56
Reply from 192.168.2.2: bytes=56 Sequence=1 ttl=253 time=61 ms
Reply from 192.168.2.2: bytes=56 Sequence=2 ttl=253 time=54 ms
Reply from 192.168.2.2: bytes=56 Sequence=3 ttl=253 time=53 ms
Reply from 192.168.2.2: bytes=56 Sequence=4 ttl=253 time=57 ms
Reply from 192.168.2.2: bytes=56 Sequence=5 ttl=253 time=36 ms
--- 192.168.2.2 ping statistics ---
5 packet(s) transmitted
5 packet(s) received
0.00% packet loss
round-trip min/avg/max = 36/52/61 ms
[CE2] ping 192.168.1.2
PING 192.168.1.2: 56
Reply from 192.168.1.2: bytes=56 Sequence=1 ttl=253 time=38 ms
Reply from 192.168.1.2: bytes=56 Sequence=2 ttl=253 time=61 ms
Reply from 192.168.1.2: bytes=56 Sequence=3 ttl=253 time=74 ms
Reply from 192.168.1.2: bytes=56 Sequence=4 ttl=253 time=36 ms
Reply from 192.168.1.2: bytes=56 Sequence=5 ttl=253 time=35 ms
--- 192.168.1.2 ping statistics ---
5 packet(s) transmitted
5 packet(s) received
0.00% packet loss
Peers in established state : 1
AS MsgRcvd MsgSent OutQ PrefRcv Up/Down
4
100
3
Peers in established state : 1
V AS
MsgRcvd MsgSent OutQ PrefRcv Up/Down State
4 65001
4
data bytes, press CTRL_C to break
data bytes, press CTRL_C to break
120
3
0
0 00:00:11
5
0
0 00:02:13
State
PrefRcv
Established
0
PrefRcv
Established

Advertisement

Table of Contents
loading

Table of Contents