Description

Ping mpls rsvp, use detail option to check MPLS label


ping mpls rsvp name <LSP-name> detail

ping mpls rsvp name <LSP-name> standby <standby_LSP-name> detail

Symptoms

Ping mpls rsvp, use detail option to check MPLS label


ping mpls rsvp name <LSP-name> detail

ping mpls rsvp name <LSP-name> standby <standby_LSP-name> detail





Solution

Ping mpls rsvp detail to check MPLS label:

Need to enable 127.0.0.0/8 IP address on loopback address to make the ping mpls to work, e.g. interfaces lo0 unit 0 family inet address 127.0.0.1/32


example:

Please note of primary LSP is using Label=300304 and standby LSP is using (Label=300336).


labroot@dravid:Ingress-LSR> show mpls lsp name LSP-to-R02 detail              

Ingress LSP: 6 sessions


172.16.0.2

 From: 172.16.0.1, State: Up, ActiveRoute: 0, LSPname: LSP-to-R02, LSPid: 7

 ActivePath: PATH-R01toR02-PRI (primary)

 LSPtype: Static Configured, Penultimate hop popping

 LoadBalance: Random

 Follow destination IGP metric

 Encoding type: Packet, Switching type: Packet, GPID: IPv4

 LSP Self-ping Status : Enabled

 *Primary  PATH-R01toR02-PRI State: Up

  Priorities: 7 0

  SmartOptimizeTimer: 180

     Include Any: L1

  Flap Count: 6

  MBB Count: 0

  Computed ERO (S [L] denotes strict [loose] hops): (CSPF metric: 20)

 172.20.4.15 S 172.20.4.12 S 

  Received RRO (ProtectionFlag 1=Available 2=InUse 4=B/W 8=Node 10=SoftPreempt 20=Node-ID):

     172.20.4.15(Label=300304) 172.20.4.12(Label=3)

 Standby  PATH-R01toR02-SEC State: Up

  Priorities: 7 0

  SmartOptimizeTimer: 180

     Include All: M0

  Flap Count: 1

  MBB Count: 0

  Computed ERO (S [L] denotes strict [loose] hops): (CSPF metric: 20)

 172.20.0.0 S 172.20.0.3 S 

  Received RRO (ProtectionFlag 1=Available 2=InUse 4=B/W 8=Node 10=SoftPreempt 20=Node-ID):

     172.20.0.0(Label=300336) 172.20.0.3(Label=3)

Total 1 displayed, Up 1, Down 0


Egress LSP: 8 sessions

Total 0 displayed, Up 0, Down 0


Transit LSP: 14 sessions

Total 0 displayed, Up 0, Down 0



labroot@dravid:Ingress-LSR> show mpls lsp name ?           

Possible completions:

 <name>        Regular expression for LSP names to match


labroot@dravid:Ingress-LSR> ping mpls rsvp LSP-to-R02 detail                

Request for seq 1, to interface 406, label 300304, packet size 92 

Reply for seq 1, return code: Egress-ok, time: 0.816 ms

    Local transmit time: 2024-12-12 20:32:50 PST 96.281 ms

    Remote receive time: 2024-12-12 20:32:50 PST 97.097 ms


labroot@dravid:Ingress-LSR> ping mpls rsvp LSP-to-R02 standby ?       

Possible completions:

 <standby>      Name of standby path


labroot@dravid:Ingress-LSR> ping mpls rsvp LSP-to-R02 standby PATH-R01toR02-SEC detail   

Request for seq 1, to interface 399, label 300336, packet size 92  

Reply for seq 1, return code: Egress-ok, time: 0.753 ms

    Local transmit time: 2024-12-12 20:32:31 PST 263.627 ms

    Remote receive time: 2024-12-12 20:32:31 PST 264.380 ms

Modification History

2024-12-13 : Article Created