The tasks required to verify your MPLS configuration depend on the signaling protocol used. To validate the configuration, perform the appropriate set of tasks:
Suppose that LDP is configured to establish an LSP as shown in Figure 89.
To verify the LDP configuration, perform these verification tasks:
Verify that each router shows the appropriate LDP neighbors—for example, that Router R5 has both Router R6 and Router R7 as LDP neighbors.
From the CLI, enter the show ldp neighbor command.
user@r5> show ldp neighborAddress Interface Label space ID Hold time 10.0.8.5 ge-0/0/0.0 10.0.9.6:0 14 10.0.8.10 ge-0/0/1.0 10.0.9.7:0 11
The output shows the IP addresses of the neighboring interfaces along with the interface through which the neighbor adjacency is established. Verify the following information:
For a complete description of show ldp neighbor output, see the JUNOS Routing Protocols and Policies Command Reference.
Verify that a TCP-based LDP session has been established between all LDP neighbors. Also, verify that the modified keepalive value is active.
From the CLI, enter the show ldp session detail command.
user@r5> show ldp session detailAddress: 10.0.9.7, State: Operational, Connection: Open, Hold time: 28
Session ID: 10.0.3.5:0--10.0.9.7:0
Next keepalive in 3 seconds
Passive, Maximum PDU: 4096, Hold time: 30, Neighbor count: 1
Keepalive interval: 10, Connect retry interval: 1
Local - Restart: disabled, Helper mode: enabled
Remote - Restart: disabled, Helper mode: disabled
Local maximum recovery time: 240000 msec
Next-hop addresses received:
10.0.8.10
10.0.2.17
The output shows the detailed information, including session IDs, keepalive interval, and next-hop addresses, for each established LDP session. Verify the following information:
For a complete description of show ldp session detail output, see the JUNOS Routing Protocols and Policies Command Reference.
Verify that each Juniper Networks device's inet.3 routing table has an LSP for the loopback address on each of the other routers.
From the CLI, enter the show route table inet.3 command.
user@r5> show route table inet.3inet.3: 2 destinations, 2 routes (2 active, 0 holddown, 0 hidden)
+ = Active Route, - = Last Active, * = Both
10.0.9.6/32 *[LDP/9/0] 00:05:29, metric 1
> to 10.0.8.5 via ge-0/0/0.0
10.0.9.7/32 *[LDP/9/0] 00:05:37, metric 1
> to 10.0.8.10 via ge-0/0/1.0
The output shows the LDP routes that exist in the inet.3 routing table. Verify that an LDP-signaled LSP is associated with the loopback addresses of the other routers in the MPLS network.
For a complete description of show route table output, see the JUNOS Routing Protocols and Policies Command Reference.
Verify that traffic between Hosts C1 and C2 is forwarded over the LDP-signaled LSP between Router R6 and Router R7. Because traffic uses any configured gateway address by default, you must explicitly specify that the gateway address is to be bypassed.
If Host C1 is a Juniper Networks router, from the CLI enter the traceroute 220.220.0.0 source 200.200.0.1 bypass-routing gateway 172.16.0.1 command.
user@c1> traceroute 220.220.0.0 source
200.200.0.1 bypass-routing gateway 172.16.0.1traceroute to 220.220.0.1 (172.16.0.1) from 200.200.0.1, 30 hops max, 40 byte packets
1 172.16.0.1 (172.16.0.1) 0.661 ms 0.538 ms 0.449 ms
2 10.0.8.9 (10.0.8.9) 0.511 ms 0.479 ms 0.468 ms
MPLS Label=100004 CoS=0 TTL=1 S=1
3 10.0.8.5 (10.0.8.5) 0.476 ms 0.512 ms 0.441 ms
4 220.220.0.1 (220.220.0.1) 0.436 ms 0.420 ms 0.416 ms
The output shows the route that traffic travels between Hosts C1 and C2, without using the default gateway. Verify that traffic sent from C1 to C2 travels through Router R7. The 10.0.8.9 address is the interface address for Router R5.
For information about the traceroute command and its output. see the JUNOS System Basics and Services Command Reference.
Suppose that RSVP is configured to establish an LSP as shown in Figure 90.
To verify the RSVP configuration, perform these verification tasks:
Verify that each device shows the appropriate RSVP neighbors—for example, that Router R1 lists both Router R3 and Router R2 as RSVP neighbors.
From the CLI, enter the show rsvp neighbor command.
user@r1> show rsvp neighborRSVP neighbor: 2 learned Address Idle Up/Dn LastChange HelloInt HelloTx/Rx 10.0.6.2 0 3/2 13:01 3 366/349 10.0.3.3 0 1/0 22:49 3 448/448
The output shows the IP addresses of the neighboring routers. Verify that each neighboring RSVP router loopback address is listed.
For a complete description of show rsvp neighbor output, see the JUNOS Routing Protocols and Policies Command Reference.
Verify that an RSVP session has been established between all RSVP neighbors. Also, verify that the bandwidth reservation value is active.
From the CLI, enter the show rsvp session detail command.
user@r1> show rsvp session detailIngress RSVP: 1 sessions 10.0.9.7 From: 10.0.6.1, LSPstate: Up, ActiveRoute: 0 LSPname: r1–r7, LSPpath: Primary Bidirectional, Upstream label in: –, Upstream label out: - Suggested label received: -, Suggested label sent: – Recovery label received: -, Recovery label sent: 100000 Resv style: 1 FF, Label in: -, Label out: 100000 Time left: -, Since: Thu Jan 26 17:57:45 2002 Tspec: rate 10Mbps size 10Mbps peak Infbps m 20 M 1500 Port number: sender 3 receiver 17 protocol 0 PATH rcvfrom: localclient PATH sentto: 10.0.4.13 (ge-0/0/1.0) 1467 pkts RESV rcvfrom: 10.0.4.13 (ge-0/0/1.0) 1467 pkts Record route: <self> 10.0.4.13 10.0.2.1 10.0.8.10
The output shows the detailed information, including session IDs, bandwidth reservation, and next-hop addresses, for each established RSVP session. Verify the following information:
For a complete description of show rsvp session detail output, see the JUNOS Routing Protocols and Policies Command Reference.
Verify that the inet.3 routing table of the entry (ingress) router, R1, has a configured LSP to the loopback address of Router R7.
From the CLI, enter the show route table inet.3 command.
user@r1> show route table inet.3inet.3: 2 destinations, 2 routes (2 active, 0 holddown, 0 hidden)
+ = Active Route, - = Last Active, * = Both
10.0.9.7/32 *[RSVP/7] 00:05:29, metric 10
> to 10.0.4.17 via ge-0/0/0.0, label-switched-path r1–r7
The output shows the RSVP routes that exist in the inet.3 routing table. Verify that an RSVP-signaled LSP is associated with the loopback address of the exit (egress) router, R7, in the MPLS network.
For a complete description of show route table output, see the JUNOS Routing Protocols and Policies Command Reference.