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


Monitoring MPLS

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

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. Refer to ERX 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 ERX Routing Protocols Configuration Guide, Vol. 1, Chapter 2, Configuring IP, for more information on using the traceroute command.

    show cac

host1#show cac 
resource info flood interval 180 

    show cac interface

host1#show cac interface
atm2/0
  bandwidth 10 kbps
  IP/MPLS reserveable bw 10 kbps
  current total available bw 10 kbps
  MPLS TE flooding threshold:
    up   15 30 45 60 75 80 85 90 95 96 97 98 99 100
    down 100 99 98 97 96 95 90 85 80 75 60 45 30 15
  MPLS TE administrative weight 0
  MPLS TE attribute flags 0
  Available BW at 8 priority levels:
      0     10 kbps
      1     10 kbps
      2     10 kbps
      3     10 kbps
      4     10 kbps
      5     10 kbps
      6     10 kbps
      7     10 kbps 

    show configuration

host1#show configuration virtual-router euro7

    show mpls

    host1#show mpls 
    MPLS administratively enabled
     Current state is Config incomplete
     LSR ID is 2.2.2.2
     Re-optimization timer is 3600
     Label range 3000 ~ 4000
     retry forever at interval 30 during LSP setup if there is route
     retry forever at interval 30 during LSP setup if there is no route
    Loop Detect enabled

    show mpls binding

host1#show mpls binding

   Frame Relay over MPLS  vc-id 50001 group-id 2
    In    26  interface   neighbor 222.9.1.3
    Out   27  interface   neighbor 222.9.1.3
   VLAN over MPLS  vc-id 240001 group-id 2        
    In    22  interface   neighbor 222.9.1.3
    Out   25  interface   neighbor 222.9.1.3

  10.1.1.1/32
    In    10001  interface ATM4/0.120  neighbor 10.4.12.2
    Out   20001  interface ATM4/0.120  neighbor 10.4.12.2

  10.2.2.2/32
    In    10002  interface ATM4/0.120  neighbor 10.4.12.2
    Out   20002  interface ATM4/0.120  neighbor 10.4.12.2

  10.3.3.3/32
    In    10005  interface ATM4/0.120  neighbor 10.4.12.2
    Out   20003  interface ATM4/0.120  neighbor 10.4.12.2

  10.4.12.0/30
    In    10003  interface ATM4/0.120  neighbor 10.4.12.2
    Out   20004  interface ATM4/0.120  neighbor 10.4.12.2

  10.4.23.0/30
    In    10004  interface ATM4/0.120  neighbor 10.4.12.2
    Out   20005  interface ATM4/0.120  neighbor 10.4.12.2

    show mpls explicit-paths

host1:pe2#show mpls explicit-paths
  path name/identifier rx1-path enabled
    1: next-address 70.70.70.2
    2: next-address 30.30.30.1
  not referenced by any options
  path name/identifier rx1-path2 enabled
    1: next-address 60.60.60.2
    2: next-address 40.40.40.1
  not referenced by any options

host1:pe2#show mpls explicit-paths name rx1-path2
  path name/identifier rx1-path2 enabled
    1: next-address 60.60.60.2
    2: next-address 40.40.40.1
  not referenced by any options

    show mpls forwarding

host1:vr2#show mpls forwarding
LSP tail-0a000200-30-42 for  10.0.2.0/255.255.255.252
  In  label 2001 on atm2/1.120
    0 pkts, 0 hcPkts, 0 octets
    0 hcOctets, 0 errors, 0 discardPkts

LSP tail-0a640202-32-43 for  10.100.2.2/255.255.255.255
  In  label 2004 on atm2/1.120
    0 pkts, 0 hcPkts, 0 octets
    0 hcOctets, 0 errors, 0 discardPkts

LSP tail-0a640203-32-45 for  10.100.2.3/255.255.255.255
  In  label 2005 on atm2/1.120
    0 pkts, 0 hcPkts, 0 octets
    0 hcOctets, 0 errors, 0 discardPkts

LSP  to   10.100.3.3/255.255.255.255
  In  label 2006 on atm2/1.120
    0 pkts, 0 hcPkts, 0 octets
    0 hcOctets, 0 errors, 0 discardPkts
  Out label 3006 on atm2/0.230 to 10.0.2.2
    0 pkts, 0 hcPkts, 0 octets
    0 hcOctets, 0 errors, 0 discardPkts

LSP  to   10.100.3.4/255.255.255.255
  In  label 2007 on atm2/1.120
    0 pkts, 0 hcPkts, 0 octets
    0 hcOctets, 0 errors, 0 discardPkts
  Out label 3007 on atm2/0.230 to 10.0.2.2
    0 pkts, 0 hcPkts, 0 octets
    0 hcOctets, 0 errors, 0 discardPkts
    host1:vr2#show mpls forwarding brief
    name/id               destination        label/intf
    tail-0a000200-30-42   10.0.2.0/30        In  2001 on atm2/1.120
    tail-0a640202-32-43   10.100.2.2/32      In  2004 on atm2/1.120
    tail-0a640203-32-45   10.100.2.3/32      In  2005 on atm2/1.120
                          10.100.3.3/32      In  2006 on atm2/1.120
                                             Out 3006 on atm2/0.230 to 10.0.2.2
                          10.100.3.4/32      In  2007 on atm2/1.120
                                             Out 3007 on atm2/0.230 to 10.0.2.2

    show mpls interface

host1:pe2#show mpls interface 
Interface ATM2/0.120 Up
 RSVP not configured
 LDP/CR-LDP enabled with profile default
 IP interfaces on this MPLS interface:
    100.2.12.1/30
        Session to 2.2.2.2 is operational (passive) 
        Session negotiated LDP advertisement mode is Downstream Unsolicited
        Session statistics:
          3 label alloc, 2 label learned, last reset flag = 0
          last restart time = 00:00:19
          Rcvd: 0 notf, 6 msg, 0 mapping, 0 request
                0 abort, 0 release, 0 withdraw, 1 addr
                0 addr withdraw, 6 msgId, 0 VCId msg
                0 bad mapping, 0 bad request, 0 bad abort, 0 bad release
                0 bad withdraw, 0 bad addr, 0 bad addr withdraw
                0 bad VCId msg, 0 unknown msg type err
                last info err code = 0, 0 loop detected
          Sent: 0 notf, 6 msg, 3 mapping, 0 request
                0 abort, 0 release, 0 withdraw, 1 addr
                0 addr withdraw, 6 msgId, 0 VCId msg
        Adjacency statistics:
          5 hello recv, 4 hello sent, 0 bad hello recv, reset flag = 0 
          adj setup time = 00:00:19
          last hello recv time = 00:00:04, last hello sent time = 00:00:04
MPLS Statistics:
   Rcvd: 0 failed lbl lookup, 0 octets, 0 hcOctets
         0 pkts, 0 hcPkts, 0 errors, 0 discards
   Sent: 0 octets, 0 hcOctets, 0 pkts
         0 hcPkts, 0 errors, 0 discards
   1 adjacency, 1 session
   5 hello recv, 5 hello sent, 0 hello rej
   1 adj setup, 0 adj deleted, reset flag = 0

host1:pe2#show mpls interface
Interface atm2/0.60 Up
 RSVP not configured
 LDP/CR-LDP enabled with profile default
 IP interfaces on this MPLS interface:
    60.60.60.1/16  Session to 4.4.4.4 is operational (active)
 MPLS Statistics:
   Rcvd: 0 failed lbl lookup, 0 octets, 0 hcOctets
         0 pkts, 0 hcPkts, 0 errors, 0 discards
   Sent: 0 octets, 0 hcOctets, 0 pkts
         0 hcPkts, 0 errors, 0 discards

Interface atm2/0.70 Up
 RSVP not configured
 LDP/CR-LDP enabled with profile default
 IP interfaces on this MPLS interface:
    70.70.70.1/16
 MPLS Statistics:
   Rcvd: 0 failed lbl lookup, 0 octets, 0 hcOctets
         0 pkts, 0 hcPkts, 0 errors, 0 discards
   Sent: 0 octets, 0 hcOctets, 0 pkts
         0 hcPkts, 0 errors, 0 discards

host1:pe2#show mpls interface atm 2/0.60
Interface atm2/0.60 Up
 RSVP not configured
 LDP/CR-LDP enabled with profile default
 IP interfaces on this MPLS interface:
    60.60.60.1/16  Session to 4.4.4.4 is operational (active)
 MPLS Statistics:
   Rcvd: 0 failed lbl lookup, 0 octets, 0 hcOctets
         0 pkts, 0 hcPkts, 0 errors, 0 discards
   Sent: 0 octets, 0 hcOctets, 0 pkts
         0 hcPkts, 0 errors, 0 discards

host1:pe2#show mpls interface brief
Interface           IP-Address        Protocol  Status
atm2/0.60           60.60.60.1/16     ldp       Up
atm2/0.70         70.70.70.1/16    ldp      Up

    show mpls ldp targeted session

host1#show mpls ldp targeted session
Mpls Target Session Status:

 D = Dynamically, S = Statically, A = Access List Configured

    Targeted session sent to 6.6.6.6 is Up  Used By: A
    Targeted session sent to 7.7.7.7 is Up  Used By: A
    Targeted session sent to 8.8.8.8 is Up  Used By: A
    Targeted session sent to 9.9.9.9 is Up  Used By: S/A
    Targeted session sent to 10.10.10.10 is Up  Used By: A
    Targeted session sent to 2.2.2.2 is Down  Used By: S
    Targeted session received from 3.3.3.3 is Down Used By: S

    show mpls minor-interface

host1:two#show mpls minor-interface 

Tunnel 2 to 0.0.0.0 
  State:  Enabled with Incomplete Config
  LSP setup using cr-ldp
  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 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

FastEthernet2/4.1 to 222.9.1.3 
  State:  Up
  In  label 25
    14 pkts, 0 hcPkts, 2100 octets
    0 hcOctets, 0 errors, 0 discardPkts
  Out label 18 on  tun mpls:1 nbr 222.9.1.3
 14 pkts, 0 hcPkts, 2100 octets
    0 hcOctets, 0 errors, 0 discardPkts

FastEthernet2/4.1 to 222.9.1.3
  State:  Up

FastEthernet2/4.1 to 222.9.1.3
  State:  Up
  Out label 18 on  tun mpls:1 nbr 222.9.1.3
    14 pkts, 0 hcPkts, 2100 octets
    0 hcOctets, 0 errors, 0 discardPkts

    show mpls profile

host1:pe2#show mpls ldp profile default
ldp profile default: used by 2 interfaces
   session retry:  10 times at interval 10
   CR-LDP enabled

host1:pe2#show mpls rsvp profile default
RSVP profile default: used by 0 interfaces
    refresh period: 30000 ms
    timeout factor: 3

    show mpls rsvp

host1#show mpls rsvp psb
  PSB: Sender 223.10.1.1 LSPId 1 timeout -- InLabel --
       PHopIntf
       IncomingIntf
       OutgoingIntf ATM2/0.1
       PHopAddr 0.0.0.0 m_ipNextHopAddr 221.1.1.1
       NextHop 221.1.1.1/255.255.255.255 (strict)
       LabelRange --
       SenderTSpec CType IntServ Controlled Load
                   Token Bucket Rate 0
                   Token Bucket Size 0
                   Peak Data Rate 0
                   Min Policed Unit 0
                   Max Packet Size 0
       Flags : InUse
               RroRequired
               PathRefreshSent

host1#show mpls rsvp rsb
  RSB: Timeout 157500 label 1/33
       Flags : InUse
               StyleConverted

host1:two#show mpls rsvp sessions
Destination 222.9.3.1 TunnelId 1 Extended Tunnel Id 
223.10.1.1
  PSB: Sender 223.10.1.1 LSPId 1 timeout 157500 InLabel 17
       Associated Minor Interface: Tunnel 223.10.1.1:1
       PHopIntf ATM2/0.1
       IncomingIntf ATM2/1.1
       OutgoingIntf ATM2/0.3
       PHopAddr 221.1.1.2 m_ipNextHopAddr 122.1.1.1
       NextHop 122.1.1.1/255.255.255.255 (strict)
       LabelRange (generic) min 0 max 1048575
       SenderTSpec CType IntServ Controlled Load
                   Token Bucket Rate 0
                   Token Bucket Size 0
                   Peak Data Rate 0
                   Min Policed Unit 0
                   Max Packet Size 0
       RRO IPv4 hop 221.1.1.2 (strict)
       ADSPEC --
       IN ERO IPv4 hop 221.1.1.1 (strict)
              IPv4 hop 122.1.1.1 (strict)
       OUT ERO IPv4 hop 122.1.1.1 (strict)
       SES ATTR Setup Pri 4, Hold Pri 4, name --
                Flags : IngressReRoute
       TTC --
       Policy Object --
       Unknown Objects --
       Flags : InUse
               PathRefreshSent                                                 
  RSB: Timeout 157500 label 16
       Associated Minor Interface: Tunnel 223.10.1.1:1
       FlowSpec CType IntServ Controlled Load
                Token Bucket Rate 0
                Token Bucket Size 0
                Peak Data Rate 0
                Min Policed Unit 0
                Max Packet Size 0
       RRO IPv4 hop 122.1.1.1 (strict)
       Policy Object --
       Unknown Objects --
       Flags : InUse
               StyleConverted
               ResvRefrSent

    show mpls tunnels

host1:pe2#show mpls tunnels

Tunnel 2 to   0.0.0.0
  State:  Enabled with Incomplete Config
  LSP setup using cr-ldp
  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 1 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
  LSP setup using cr-ldp
  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
  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

host1:pe2#show mpls tunnels role head

Tunnel pe2-to-pe1 to   1.1.1.1
  Out Label 300
  State:  Up
  Residing on atm2/0.60
  LSP setup using ldp
  tunnel is announced to  ISIS BGP
  metric is relative 0

  Mpls Statistics:
    0 pkts, 0 hcPkts, 0 octets
    0 hcOctets, 0 errors, 0 discardPkts

host1:pe2#show mpls tunnels role tail

Tunnel  for  2.2.2.2
  In Label 3000
  State:  Up
  Residing on atm2/0.70

  Mpls Statistics:
    0 pkts, 0 hcPkts, 0 octets
    0 hcOctets, 0 errors, 0 discardPkts

host1:pe2#show mpls tunnels destination 2.2.2.2

Tunnel  for  2.2.2.2
  In Label 3000
  State:  Up
  Residing on atm2/0.70

  Mpls Statistics:
    0 pkts, 0 hcPkts, 0 octets
    0 hcOctets, 0 errors, 0 discardPkts

    show mpls tunnels brief

host1:pe2#show mpls tunnels brief
name/id          destination  metric  state/label/intf
vpnEgressLabel3  0.0.0.0      R0      Incoming 1048573 on stack
vpnEgressLabel4  0.0.0.0      R0      Incoming 1048572 on stack
pe2-to-pe1       1.1.1.1      R0      Outgoing 300 on atm2/0.60
                 2.2.2.2      R0      Incoming 3000 on atm2/0.70


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