Self-ping is a feature which helps to verify the LSP data plane programming along the path of the LSP. Self-ping is triggered once the LSP path comes UP and self-ping success indicates the data plane programming along the path of the LSP is fine.In Junos/Junos EVO initially self-ping was implemented in the following way:
In the PR1597233 the described behavior was changed so LSP self-ping should be successful before an LSP becomes UP. So even the new LSP will remain in DOWN state untill self-ping is successbul.The Junos/Junos EVO releases with the changes from the PR1597233 can be seen in the PR.
router-re0> show mpls lsp name lsp1 extensive Ingress LSP: 5 sessions 192.18.1.1 From: 192.18.1.2, State: Dn, ActiveRoute: 0, LSPname: lsp1, LSPid: 5 ActivePath: (none) Node/Link protection desired LSPtype: Static Configured, Penultimate hop popping LoadBalance: Random Follow destination IGP metric Encoding type: Packet, Switching type: Packet, GPID: IPv4 Time remaining before reverting: 25 LSP Self-ping Status : Enabled Primary primary-path State: Up Priorities: 7 0 OptimizeTimer: 1800 SmartOptimizeTimer: 180 Exclude: international do-not-use Flap Count: 5 MBB Count: 0 Reoptimization in 1679 second(s). Computed ERO (S [L] denotes strict [loose] hops): (CSPF metric: 10) 192.18.114.19 S Received RRO (ProtectionFlag 1=Available 2=InUse 4=B/W 8=Node 10=SoftPreempt 20=Node-ID): 192.18.1.1(flag=0x20) 62.127.114.19(Label=0) 98 Nov 16 11:31:50.896 Up 97 Nov 16 11:31:50.896 Self-ping started 96 Nov 16 11:31:50.896 Self-ping enqueued 95 Nov 16 11:31:50.896 Record Route: 192.18.1.1(flag=0x20) 192.18.114.19(Label=0) 94 Nov 16 11:31:50.894 LSP-ID: 9 created 93 Nov 16 11:31:50.894 Originate Call 92 Nov 16 11:31:50.894 CSPF: computation result accepted 192.18.114.19 91 Nov 16 11:31:50.894 Clear Call 90 Nov 16 11:31:50.893 Deselected as active 89 Nov 16 11:31:50.893 Link-protection Down
99 Nov 16 11:34:28.680 Self-ping ended successfully 98 Nov 16 11:31:50.896 Up 97 Nov 16 11:31:50.896 Self-ping started 96 Nov 16 11:31:50.896 Self-ping enqueued