[Contents] [Prev] [Next] [Index] [Report an Error] [No Frames]


Monitoring MPLS

Use the show commands in this section to monitor MPLS status.

NOTE: The E120 router and E320 router output for monitor and show commands is identical to output from other E-series routers, except that the E120 and E320 router output also includes information about the adapter identifier in the interface specifier (slot/adapter/port).


You can set a statistics baseline for MPLS major interface statistics with the baseline mpls interface command. The following statistics are maintained for each MPLS major interface:
  • receive packets and octets
  • transmit packets and octets
  • receive discarded packets
  • transmit discarded packets
  • receive error packets
  • transmit error packets
  • failed label lookups


You can set a statistics baseline for MPLS forwarding table entries with the baseline mpls label command. You must first enable the statistics with the mpls statistics label command. When enabled, the following statistics are maintained for each forwarding table entry:
  • receive packets and octets
  • receive discarded packets
  • receive error packets

You can set a statistics baseline for MPLS next-hop table entries with the baseline mpls next-hop command. You must first enable these statistics with the mpls statistics next-hop command. When enabled, the following statistics are maintained for each next-hop table entry:
  • out packets and bytes
  • out discarded packets
  • out error packets

You can set a statistics baseline for MPLS tunnel statistics with the baseline mpls tunnel command.

You can enable collection of the following statistics for each policy attached to a tunnel by issuing the mpls statistics policy command:
  • packets and bytes
  • classifier group
  • EXP bits value

You can use the output filtering feature of the show command to include or exclude lines of output based on a text string you specify. See JUNOSe System Basics Configuration Guide, Chapter 2, Command-Line Interface for details.

You can trace paths through the MPLS user plane with the traceroute command. ICMP extensions enable LSRs to append MPLS header information (the label stack) to ICMP destination unreachable and time exceeded messages. The traceroute display shows the label and EXP bits used to switch the ICMP packets:

host1:edge1#traceroute 10.90.101.9
Tracing route to 10.90.101.9, TTL = 32, timeout = 2 sec.
(Press ^c to stop.)
1  3ms  2ms  2ms       10.90.101.4    mplsLabel1=4009
mplsExpBits1=0
2  2ms  2ms  2ms       10.90.101.7    mplsLabel1=7004
mplsExpBits1=0
3  2ms  2ms  2ms       10.90.101.9

See JUNOSe IP, IPv6, and IGP Configuration Guide, Chapter 1, Configuring IP, for more information about using the traceroute command.

baseline mpls interface

baseline mpls label

baseline mpls next-hop

baseline mpls tunnel

mpls statistics label

mpls statistics next-hop

mpls statistics policy

show atm vc

show cac

show cac interface

show configuration

show ip tunnel-route

    show ipv6 tunnel-route

host1:vr2#show ip tunnel-route all
Protocol/Route type codes:
  I1- ISIS level 1, I2- ISIS level2,
  I- route type intra, IA- route type inter, E- route type external,
  i- metric type internal, e- metric type external,
  O- OSPF, E1- external type 1, E2- external type2,
  N1- NSSA external type1, N2- NSSA external type2
  L- MPLS label, V- VRF, *- via indirect next-hop

  Prefix/Length      Type       Next Hop      Dst/Met                  Interface                
------------------ --------- --------------- ---------- ----------------------------------------
200.200.200.1/32   Ldp       111.111.1.1[L18 110/2      ATM5/1.1                                
                             ]                                                                  
                   Rsvp      200.200.200.1[L 110/2      ATM5/1.1                                
                             25]                                                                

host1:vr2#show ip tunnel-route 200.200.200.1/32 detail
Protocol/Route type codes:
  I1- ISIS level 1, I2- ISIS level2,
  I- route type intra, IA- route type inter, E- route type external,
  i- metric type internal, e- metric type external,
  O- OSPF, E1- external type 1, E2- external type2,
  N1- NSSA external type1, N2- NSSA external type2
  L- MPLS label, V- VRF, *- via indirect next-hop

200.200.200.1/32 Type: Ldp Distance: 110 Metric: 2 Tag: 0 Class: 0
  MPLS next-hop: 3, label 18 on ATM5/1.1 (ip19000003.mpls.ip), nbr 111.111.1.1

host1:pe1:pe11#show ipv6 tunnel-route all
Protocol/Route type codes:
  O- OSPF, E1- external type 1, E2- external type2,
  N1- SSA external type1, N2- NSSA external type2
  L- MPLS label, V- VRF, *- via indirect next-hop

         Prefix/Length             Type     Dst/Met                  Interface                
-------------------------------- --------- ---------- ----------------------------------------
::21.21.21.0/126                 BgpTunnel 200/0      [L20,L26] ATM5/0.10                     
                                 BgpTunnel 200/0      [L20,L34] ATM5/0.10                     
2::2/128                         BgpTunnel 200/0      [L20,L26] ATM5/0.10                     
                                 BgpTunnel 200/0      [L20,L34] ATM5/0.10                     

host1:pe1:pe11#show ipv6 tunnel-route ::21.21.21.0/126 detail all
Protocol/Route type codes:
  O- OSPF, E1- external type 1, E2- external type2,
  N1- SSA external type1, N2- NSSA external type2
  L- MPLS label, V- VRF, *- via indirect next-hop

::21.21.21.0/126 Type: BgpTunnel Distance: 200 Metric: 0 Class: 0
  MPLS next-hop: 18, label 20, VPN traffic, resolved by MPLS next-hop 13
  MPLS next-hop: 13, resolved by MPLS next-hop 34, peer ::ffff:2.2.2.2
  MPLS next-hop: 34, ECMP next-hop, leg count 2
  MPLS next-hop: 17, resolved by MPLS next-hop 16, peer 2.2.2.2
  MPLS next-hop: 16, primary(in use): label 26 on ATM5/0.10, secondary: resolved by MPLS next-hop 0

show ldp

show ldp binding

    show mpls binding

show ldp graceful-restart

show ldp igp-sync

show ldp interface

show ldp neighbor

show ldp profile

show ldp statistics

show ldp targeted session

show mpls

show mpls explicit-paths

show mpls fast-reroute database

host1(config-if)#show mpls fast-reroute database
                            OutIntf                                 Backup
Role        Name            / Label        BackupIntf / Label       Status
----   ---------------   -------------   ----------------------   -----------
Core   LSP 10.1.1.1:6    ATM4/0.2 / 21   tun mpls:bypass23 / 21   Established
Core   LSP 10.1.1.1:7    ATM4/0.2 / 26   tun mpls:bypass23 / 26   Established 

Example on a tunnel ingress router
                 OutIntf                                 Backup
Role   Name      / Label        BackupIntf / Label       Status
----   ----   -------------   ----------------------   -----------
Head   1      ATM4/0.1 / 27   tun mpls:bypass12 / 27   Established
Head   p2     ATM4/0.1 / 21   tun mpls:bypass12 / 21   Established             

show mpls forwarding

    host1:vr2#show mpls forwarding brief
Platform label space

In Label  Owner                              Action                            
-------- -------- --------------------------------------
28       ldp      lookup on inner header/label                                 
29       ldp      swap to 20 on ATM2/0.10, nbr 10.10.10.2                      
30       ldp      lookup on inner header/label                                 
31       ldp      swap to 22 on ATM2/0.10, nbr 10.10.10.2                      
32       ldp      swap to 23 on ATM2/0.10, nbr 10.10.10.2 

show mpls interface

show mpls minor-interface

show mpls next-hop

show mpls phb-id

show mpls profile

show mpls rsvp

show mpls rsvp authentication

show mpls rsvp bfd interfaces

show mpls rsvp counters

show mpls rsvp hello graceful restart

show mpls rsvp hello instance

The router declares the peer to be dead if it does not receive hellos from the peer during the peer's advertised recovery period.

The router declares the peer to be gracefully restarting if hellos are seen from the peer and its sequence number has changed.

The router declares the peer to be up if hellos are seen from the peer and its sequence number has not changed.

show mpls tunnels

In the output for Tunnel 2, the line phb-id 2 indicates that the tunnel is an L-LSP with PHB-ID 2. You can then display the output of the show mpls phb-id command to determine the corresponding PSC. For example, the show mpls phb-id command described previously in this section indicates that PHB-ID 2 is EF class.

host1#show mpls tunnels

Tunnel 1 to   0.0.0.0
  State:  Enabled with Incomplete Config
  tunnel not announced to any IGP
  (Global) Retry forever
       at (Global) interval 5 during Lsp setup if there is route
  (Global) Retry forever
       at (Global) interval 5 during Lsp setup if there is no route
  metric is relative 0


Tunnel 2 to   222.9.1.3
  State:  Up
  Out label 24 on ATM3/0.1 nbr 10.10.11.5
    14 pkts, 0 hcPkts, 2156 octets
    0 hcOctets, 0 errors, 0 discardPkts
  tunnel not announced to any IGP
  (Global) Retry forever
       at (Global) interval 5 during Lsp setup if there is route
  (Global) Retry forever
       at (Global) interval 5 during Lsp setup if there is no route
  metric is relative 0
    phb-id 2
    path option 2
    option is currently used - path is calculated  by isis
        10.10.11.5
        10.10.12.3
        222.9.1.3
    next reoptimization in 1687 seconds
  stacked labels:
FastEthernet2/4.1     222.9.1.3          R0        Out 18 on  tun mpls:1


Tunnel tail-de090106-1-18a for  222.9.1.2
  State:  Up
  In  label 20 on ATM3/0.1
    0 pkts, 0 hcPkts, 0 octets
0 hcOctets, 0 errors, 0 discardPkts

show mpls tunnels brief


[Contents] [Prev] [Next] [Index] [Report an Error] [No Frames]