Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Verifying That MPLS Is Working Correctly

 

To verify that MPLS is working correctly, perform the following tasks:

Verifying the Physical Layer on the Switches

Purpose

Verify that the interfaces are up. Perform this verification task on each of the switches.

Action

user@switch> show interfaces xe-* terse

Meaning

The show interfaces terse command displays status information about the 10-Gigabit Ethernet interfaces on the switch. This output verifies that the interfaces are up. The output for the protocol family (Proto column) of the core interfaces (xe-0/0/5.0 and xe-0/0/6.0), shows that these interfaces are configured as both inet and mpls. The Local column for the core interfaces shows the IP address configured for these interfaces.

Verifying the Routing Protocol

Purpose

Verify the state of the configured routing protocol. You should perform this verification task on each of the switches. The state should be Full. If you have configured OSPF as the routing protocol, use the show ospf neighbor command to verify that the routing protocol is communicating with the switch neighbors.

Action

user@switch> show ospf neighbor

Meaning

The show ospf neighbor command displays the status of the routing protocol that has been configured on this switch. The output shows that the state is Full, meaning that the routing protocol is operating correctly—that is, hello packets are being exchanged between directly connected neighbors. For additional information on checking and monitoring routing protocols, see the Junos OS Routing Protocols and Policies Command Reference .

Verifying the Core Interfaces Being Used for the MPLS Traffic

Purpose

Verify that the state of the MPLS interface is Up. You should perform this verification task on each of the switches.

Action

user@switch> show mpls interface

Meaning

The show mpls interface command displays the status of the core interfaces that have been configured to belong to family mpls. This output shows that the interface configured to belong to family mpls is up.

Verifying RSVP

Purpose

Verify the state of the RSVP session. You should perform this verification task on each of the switches.

Action

user@switch> show rsvp session

Meaning

This output confirms that the RSVP sessions are up.