Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Navigation

Verifying That MPLS Is Working Correctly

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

  1. Verifying the Physical Layer on the Switches
  2. Verifying the Routing Protocol
  3. Verifying the Core Interfaces Being Used for the MPLS Traffic
  4. Verifying RSVP

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
Interface               Admin Link Proto    Local                 Remote
xe-0/0/0                up    up
xe-0/0/0.0              up    up
xe-0/0/1.0              up    up  
xe-0/0/2.0              up    up   
xe-0/0/3.0              up    up   inet       2.2.2.1/16
xe-0/0/4.0 up up xe-0/0/5.0 up up inet 10.1.5.1/24 mpls xe-0/0/6.0 up up inet 10.1.6.1/24
mpls

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
Address          Interface              State     ID               Pri  Dead
127.1.1.1        xe—0/0/5               Full      10.10.10.10      128    39

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
Interface        State       Administrative groups
ge—0/0/5            Up          <none>
ge—0/0/6            Up          <none>

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
Ingress RSVP: 1 sessions
To              From            State   Rt Style Labelin Labelout LSPname
127.1.1.3       127.1.1.1         Up       0  1 FF       -   300064 lsp_to_pe2_ge1
Total 1 displayed, Up 1, Down 0

Egress RSVP: 1 sessions
To              From            State   Rt Style Labelin Labelout LSPname
127.1.1.1       127.1.1.3         Up       0  1 FF  299968        - lsp_to_pe1_ge1
Total 1 displayed, Up 1, Down 0

Transit RSVP: 0 sessions
Total 0 displayed, Up 0, Down 0

Meaning

This output confirms that the RSVP sessions are up.

Published: 2014-09-26

Supported Platforms

Published: 2014-09-26