beautypg.com

H3C Technologies H3C S10500 Series Switches User Manual

Page 94

background image

83

5.

Verification

# Execute the display mpls ldp lsp command on each switch to view the LDP LSP information. Take Switch

A as an example:

display mpls ldp lsp

LDP LSP Information

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

SN DestAddress/Mask In/OutLabel Next-Hop In/Out-Interface

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

1 1.1.1.9/32 3/NULL 127.0.0.1 -------/InLoop0

2 2.2.2.9/32 NULL/3 10.1.1.2 -------/Vlan2

3 3.3.3.9/32 NULL/1024 10.1.1.2 -------/Vlan2

4 11.1.1.0/24 3/NULL 0.0.0.0 -------/Vlan4

5 20.1.1.0/24 NULL/3 10.1.1.2 -------/Vlan2

6 21.1.1.0/24 NULL/1027 10.1.1.2 -------/Vlan2

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

A '*' before an LSP means the LSP is not established

A '*' before a Label means the USCB or DSCB is stale

# On Switch A, check the connectivity of the LDP LSP from Switch A to Switch C.

[SwitchA] ping lsp ipv4 21.1.1.0 24

LSP Ping FEC: IPV4 PREFIX 21.1.1.0/24 : 100 data bytes, press CTRL_C to break

Reply from 20.1.1.2: bytes=100 Sequence=1 time = 3 ms

Reply from 20.1.1.2: bytes=100 Sequence=2 time = 2 ms

Reply from 20.1.1.2: bytes=100 Sequence=3 time = 1 ms

Reply from 20.1.1.2: bytes=100 Sequence=4 time = 1 ms

Reply from 20.1.1.2: bytes=100 Sequence=5 time = 3 ms

--- FEC: IPV4 PREFIX 21.1.1.0/24 ping statistics ---

5 packet(s) transmitted

5 packet(s) received

0.00% packet loss

round-trip min/avg/max = 1/2/3 ms

# On Switch C, check the connectivity of the LDP LSP from Switch C to Switch A.

[SwitchC] ping lsp ipv4 11.1.1.0 24

LSP Ping FEC: IPV4 PREFIX 11.1.1.0/24 : 100 data bytes, press CTRL_C to break

Reply from 10.1.1.1: bytes=100 Sequence=1 time = 2 ms

Reply from 10.1.1.1: bytes=100 Sequence=2 time = 2 ms

Reply from 10.1.1.1: bytes=100 Sequence=3 time = 2 ms

Reply from 10.1.1.1: bytes=100 Sequence=4 time = 3 ms

Reply from 10.1.1.1: bytes=100 Sequence=5 time = 2 ms

--- FEC: IPV4 PREFIX 11.1.1.0/24 ping statistics ---

5 packet(s) transmitted

5 packet(s) received

0.00% packet loss

round-trip min/avg/max = 2/2/3 ms