beautypg.com

H3C Technologies H3C S7500E Series Switches User Manual

Page 158

background image

3-76

Perform the display bgp peer command and the display bgp vpn-instance peer command on PEs.
You can see 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 Peers in established state : 1

Peer V AS MsgRcvd MsgSent OutQ Up/Down State PrefRcv

3.3.3.3 4 100 3 3 0 00:00:11 Established 0

[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 Peers in established state : 1

Peer V AS MsgRcvd MsgSent OutQ Up/Down State PrefRcv

192.168.1.2 4 65001 4 5 0 00:02:13 Established 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 data bytes, press CTRL_C to break

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 data bytes, press CTRL_C to break

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

round-trip min/avg/max = 35/48/74 ms

The sample output shows that CE 1 and CE 2 can reach each other.

7) Verify the configuration

Perform the display mpls lsp verbose command on PE 1. You can find an LSP with LspIndex 2050.
This is the LSP, that is, the MPLS TE tunnel, established using RSVP-TE.

[PE1] display mpls lsp verbose

------------------------------------------------------------------

LSP Information: RSVP LSP

------------------------------------------------------------------

No : 1