MPLS LSP behavior always confuses me so thought of documenting it: In steady state condition:
+-------+ +-------+ +-------+ +-------+ | | | | | | | | | R1 +-----+ R2 +-------------------+ R3 +------+ R4 | | | | |-------------------| | | | +-------+ +---+---+ New link 32 +---+---+ +-------+ | Metric 100 | | | | | | | | | | | | +-------+ | | | | | +-------+ R5 +-----------+ | | +-------+
R2 will show the bypass LSP as ingress: [edit] lab@DEVANG-M7i# run show rsvp session logical-system r2 Ingress RSVP: 1 sessions To From State Rt Style Labelin Labelout LSPname 192.168.1.3 192.168.1.2 Up 0 1 SE - 299776 Bypass->1.1.23.2 Total 1 displayed, Up 1, Down 0
Egress RSVP: 0 sessions Total 0 displayed, Up 0, Down 0
Transit RSVP: 1 sessions To From State Rt Style Labelin Labelout LSPname 192.168.1.4 192.168.1.1 Up 1 1 SE 299792 299776 r1-to-r4 Total 1 displayed, Up 1, Down 0
R2 Bypass LSP RRO:
[edit] lab@DEVANG-M7i# run show rsvp session logical-system r2 extensive Ingress RSVP: 1 sessions
192.168.1.3 From: 192.168.1.2, LSPstate: Up, ActiveRoute: 0 LSPname: Bypass->1.1.23.2 LSPtype: Static Configured Suggested label received: -, Suggested label sent: - Recovery label received: -, Recovery label sent: 299776 Resv style: 1 SE, Label in: -, Label out: 299776 Time left: -, Since: Thu Sep 1 14:34:18 2011 Tspec: rate 0bps size 0bps peak Infbps m 20 M 1500 Port number: sender 1 receiver 60691 protocol 0 Type: Bypass LSP Number of data route tunnel through: 1 Number of RSVP session tunnel through: 0 PATH rcvfrom: localclient Adspec: sent MTU 1500 Path MTU: received 1500 PATH sentto: 1.1.25.2 (ge-0/0/1.25) 2307 pkts RESV rcvfrom: 1.1.25.2 (ge-0/0/1.25) 2307 pkts Explct route: 1.1.25.2 1.1.35.1 Record route: <self> 1.1.25.2 1.1.35.1 <<< R2-R5-R3 Total 1 displayed, Up 1, Down 0
Egress RSVP: 0 sessions Total 0 displayed, Up 0, Down 0 <snip>
[edit] lab@DEVANG-M7i# set logical-systems r2 interfaces ge-0/0/1 unit 23 disable
[edit] lab@DEVANG-M7i# commit commit complete
After disabling the link between R2-R3: [edit] lab@DEVANG-M7i# run show mpls lsp logical-system r1 extensive Ingress LSP: 1 sessions
192.168.1.4 From: 192.168.1.1, State: Up, ActiveRoute: 0, LSPname: r1-to-r4 ActivePath: (primary) Link protection desired LSPtype: Static Configured LoadBalance: Random Encoding type: Packet, Switching type: Packet, GPID: IPv4 *Primary State: Up Priorities: 7 0 SmartOptimizeTimer: 180 Computed ERO (S [L] denotes strict [loose] hops): (CSPF metric: 4) 1.1.12.2 S 1.1.25.2 S 1.1.35.1 S 1.1.34.2 S Received RRO (ProtectionFlag 1=Available 2=InUse 4=B/W 8=Node 10=SoftPreempt 20=Node-ID): 192.168.1.2(flag=0x20) 1.1.12.2(Label=299808) 192.168.1.5(flag=0x20) 1.1.25.2(Label=299792) 192.168.1.3(flag=0x20) 1.1.35.1(Label=299792) 192.168.1.4(flag=0x20) 1.1.34.2(Label=3) 11 Sep 2 19:23:35.252 Record Route: 192.168.1.2(flag=0x20) 1.1.12.2(Label=299808) 192.168.1.5(flag=0x20) 1.1.25.2(Label=299792) 192.168.1.3(flag=0x20) 1.1.35.1(Label=299792) 192.168.1.4(flag=0x20) 1.1.34.2(Label=3) 10 Sep 2 19:23:35.252 Up 9 Sep 2 19:23:35.203 Originate make-before-break call <<< Before it deletes the older path and stop using bypass, it signalled the LSP path via next available IGP path R1-R2-R5-R3-R4. 8 Sep 2 19:23:35.203 CSPF: computation result accepted 1.1.12.2 1.1.25.2 1.1.35.1 1.1.34.2 <<< Disabling link cause the LSP to reroute to alternet path, R1-R2-R5-R3-R4 7 Sep 2 19:23:35.203 CSPF: link down/deleted: 1.1.23.1(192.168.1.2:0)(192.168.1.2)->0.0.0.0(1.1.23.2:0)(1.1.23.2) <<<< I disabled the link between R2-R3 6 Sep 1 14:34:21.390 Record Route: 192.168.1.2(flag=0x21) 1.1.12.2(flag=1 Label=299792) 192.168.1.3(flag=0x20) 1.1.23.2(Label=299776) 192.168.1.4(flag=0x20) 1.1.34.2(Label=3) <<<< LSP is going from R1-R2-R3-R4 5 Sep 1 14:34:18.538 Selected as active path 4 Sep 1 14:34:18.536 Record Route: 192.168.1.2(flag=0x20) 1.1.12.2(Label=299792) 192.168.1.3(flag=0x20) 1.1.23.2(Label=299776) 192.168.1.4(flag=0x20) 1.1.34.2(Label=3) 3 Sep 1 14:34:18.536 Up 2 Sep 1 14:34:18.385 Originate Call 1 Sep 1 14:34:18.385 CSPF: computation result accepted 1.1.12.2 1.1.23.2 1.1.34.2 Created: Thu Sep 1 14:34:18 2011 Total 1 displayed, Up 1, Down 0
Egress LSP: 0 sessions Total 0 displayed, Up 0, Down 0
Transit LSP: 0 sessions
Lets check RSVP:
It also has new LSP up and running. [edit] lab@DEVANG-M7i# run show rsvp session logical-system r1 extensive Ingress RSVP: 1 sessions
192.168.1.4 From: 192.168.1.1, LSPstate: Up, ActiveRoute: 0 LSPname: r1-to-r4, LSPpath: Primary LSPtype: Static Configured Suggested label received: -, Suggested label sent: - Recovery label received: -, Recovery label sent: 299808 Resv style: 1 SE, Label in: -, Label out: 299808 Time left: -, Since: Fri Sep 2 19:23:35 2011 Tspec: rate 0bps size 0bps peak Infbps m 20 M 1500 Port number: sender 2 receiver 49074 protocol 0 Link protection desired Type: Protection down 1 Sep 2 19:27:38 Link protection disabled on outbound interface[11 times] PATH rcvfrom: localclient Adspec: sent MTU 1500 Path MTU: received 1500 PATH sentto: 1.1.12.2 (ge-0/0/1.12) 10 pkts RESV rcvfrom: 1.1.12.2 (ge-0/0/1.12) 8 pkts Explct route: 1.1.12.2 1.1.25.2 1.1.35.1 1.1.34.2 Record route: <self> 192.168.1.2 (node-id) 1.1.12.2 192.168.1.5 (node-id) 1.1.25.2 192.168.1.3 (node-id) 1.1.35.1 192.168.1.4 (node-id) 1.1.34.2 Total 1 displayed, Up 1, Down 0
Egress RSVP: 0 sessions Total 0 displayed, Up 0, Down 0
Transit RSVP: 0 sessions Total 0 displayed, Up 0, Down 0
On R2 there is no alternate path to bring the bypass so it shows only the transit LSP. [edit] lab@DEVANG-M7i# run show rsvp session logical-system r2 extensive Ingress RSVP: 0 sessions Total 0 displayed, Up 0, Down 0
Egress RSVP: 0 sessions Total 0 displayed, Up 0, Down 0
Transit RSVP: 1 sessions
192.168.1.4 From: 192.168.1.1, LSPstate: Up, ActiveRoute: 1 LSPname: r1-to-r4, LSPpath: Primary Suggested label received: -, Suggested label sent: - Recovery label received: -, Recovery label sent: 299792 Resv style: 1 SE, Label in: 299808, Label out: 299792 Time left: 117, Since: Fri Sep 2 19:23:35 2011 Tspec: rate 0bps size 0bps peak Infbps m 20 M 1500 Port number: sender 2 receiver 49074 protocol 0 Link protection desired Type: Protection down 1 Sep 2 19:28:14 Link protection disabled on outbound interface[9 times] PATH rcvfrom: 1.1.12.1 (ge-0/3/2.12) 10 pkts Adspec: received MTU 1500 sent MTU 1500 PATH sentto: 1.1.25.2 (ge-0/0/1.25) 9 pkts RESV rcvfrom: 1.1.25.2 (ge-0/0/1.25) 9 pkts Explct route: 1.1.25.2 1.1.35.1 1.1.34.2 Record route: 1.1.12.1 <self> 192.168.1.5 (node-id) 1.1.25.2 192.168.1.3 (node-id) 1.1.35.1 192.168.1.4 (node-id) 1.1.34.2 Total 1 displayed, Up 1, Down 0
[edit] lab@DEVANG-M7i#
Enabling the link between R2-R3: [edit] lab@DEVANG-M7i# delete logical-systems r2 interfaces ge-0/0/1 unit 23 disable
[edit] lab@DEVANG-M7i# commit commit complete
[edit]
[edit] lab@DEVANG-M7i# run show mpls lsp logical-system r1 extensive Sep 02 19:35:59 Ingress LSP: 1 sessions
192.168.1.4 From: 192.168.1.1, State: Up, ActiveRoute: 0, LSPname: r1-to-r4 ActivePath: (primary) Link protection desired LSPtype: Static Configured LoadBalance: Random Encoding type: Packet, Switching type: Packet, GPID: IPv4 *Primary State: Up Priorities: 7 0 SmartOptimizeTimer: 180 Computed ERO (S [L] denotes strict [loose] hops): (CSPF metric: 4) 1.1.12.2 S 1.1.25.2 S 1.1.35.1 S 1.1.34.2 S Received RRO (ProtectionFlag 1=Available 2=InUse 4=B/W 8=Node 10=SoftPreempt 20=Node-ID): 192.168.1.2(flag=0x20) 1.1.12.2(Label=299808) 192.168.1.5(flag=0x20) 1.1.25.2(Label=299792) 192.168.1.3(flag=0x20) 1.1.35.1(Label=299792) 192.168.1.4(flag=0x20) 1.1.34.2(Label=3) 11 Sep 2 19:23:35.252 Record Route: 192.168.1.2(flag=0x20) 1.1.12.2(Label=299808) 192.168.1.5(flag=0x20) 1.1.25.2(Label=299792) 192.168.1.3(flag=0x20) 1.1.35.1(Label=299792) 192.168.1.4(flag=0x20) 1.1.34.2(Label=3) 10 Sep 2 19:23:35.252 Up 9 Sep 2 19:23:35.203 Originate make-before-break call 8 Sep 2 19:23:35.203 CSPF: computation result accepted 1.1.12.2 1.1.25.2 1.1.35.1 1.1.34.2 7 Sep 2 19:23:35.203 CSPF: link down/deleted: 1.1.23.1(192.168.1.2:0)(192.168.1.2)->0.0.0.0(1.1.23.2:0)(1.1.23.2) 6 Sep 1 14:34:21.390 Record Route: 192.168.1.2(flag=0x21) 1.1.12.2(flag=1 Label=299792) 192.168.1.3(flag=0x20) 1.1.23.2(Label=299776) 192.168.1.4(flag=0x20) 1.1.34.2(Label=3) 5 Sep 1 14:34:18.538 Selected as active path 4 Sep 1 14:34:18.536 Record Route: 192.168.1.2(flag=0x20) 1.1.12.2(Label=299792) 192.168.1.3(flag=0x20) 1.1.23.2(Label=299776) 192.168.1.4(flag=0x20) 1.1.34.2(Label=3) 3 Sep 1 14:34:18.536 Up 2 Sep 1 14:34:18.385 Originate Call 1 Sep 1 14:34:18.385 CSPF: computation result accepted 1.1.12.2 1.1.23.2 1.1.34.2 Created: Thu Sep 1 14:34:18 2011 Total 1 displayed, Up 1, Down 0
Egress LSP: 0 sessions Total 0 displayed, Up 0, Down 0
Transit LSP: 0 sessions Total 0 displayed, Up 0, Down 0
[edit] lab@DEVANG-M7i#
Manual optimization: [edit] lab@DEVANG-M7i# run clear mpls lsp optimize name r1-to-r4 logical-system r1
[edit] lab@DEVANG-M7i# run show mpls lsp logical-system r1 extensive Sep 02 19:36:47 Ingress LSP: 1 sessions
192.168.1.4 From: 192.168.1.1, State: Up, ActiveRoute: 0, LSPname: r1-to-r4 ActivePath: (primary) Link protection desired LSPtype: Static Configured LoadBalance: Random Encoding type: Packet, Switching type: Packet, GPID: IPv4 *Primary State: Up Priorities: 7 0 SmartOptimizeTimer: 180 Computed ERO (S [L] denotes strict [loose] hops): (CSPF metric: 3) 1.1.12.2 S 1.1.23.2 S 1.1.34.2 S Received RRO (ProtectionFlag 1=Available 2=InUse 4=B/W 8=Node 10=SoftPreempt 20=Node-ID): 192.168.1.2(flag=0x21) 1.1.12.2(flag=1 Label=299824) 192.168.1.3(flag=0x20) 1.1.23.2(Label=299808) 192.168.1.4(flag=0x20) 1.1.34.2(Label=3) 17 Sep 2 19:36:46.497 Record Route: 192.168.1.2(flag=0x21) 1.1.12.2(flag=1 Label=299824) 192.168.1.3(flag=0x20) 1.1.23.2(Label=299808) 192.168.1.4(flag=0x20) 1.1.34.2(Label=3) 16 Sep 2 19:36:43.514 Record Route: 192.168.1.2(flag=0x20) 1.1.12.2(Label=299824) 192.168.1.3(flag=0x20) 1.1.23.2(Label=299808) 192.168.1.4(flag=0x20) 1.1.34.2(Label=3) <<<<< As R2-R3 link is up and its best path to reach so CSPF recalculated the new path and its best path R1-R2-R3-R4. 15 Sep 2 19:36:43.514 Up 14 Sep 2 19:36:43.490 Originate make-before-break call 13 Sep 2 19:36:43.490 CSPF: computation result accepted 1.1.12.2 1.1.23.2 1.1.34.2 12 Sep 2 19:36:43.489 CSPF: Reroute due to re-optimization <<<<< executed the manual optimization command. 11 Sep 2 19:23:35.252 Record Route: 192.168.1.2(flag=0x20) 1.1.12.2(Label=299808) 192.168.1.5(flag=0x20) 1.1.25.2(Label=299792) 192.168.1.3(flag=0x20) 1.1.35.1(Label=299792) 192.168.1.4(flag=0x20) 1.1.34.2(Label=3) 10 Sep 2 19:23:35.252 Up 9 Sep 2 19:23:35.203 Originate make-before-break call 8 Sep 2 19:23:35.203 CSPF: computation result accepted 1.1.12.2 1.1.25.2 1.1.35.1 1.1.34.2 7 Sep 2 19:23:35.203 CSPF: link down/deleted: 1.1.23.1(192.168.1.2:0)(192.168.1.2)->0.0.0.0(1.1.23.2:0)(1.1.23.2) 6 Sep 1 14:34:21.390 Record Route: 192.168.1.2(flag=0x21) 1.1.12.2(flag=1 Label=299792) 192.168.1.3(flag=0x20) 1.1.23.2(Label=299776) 192.168.1.4(flag=0x20) 1.1.34.2(Label=3) 5 Sep 1 14:34:18.538 Selected as active path 4 Sep 1 14:34:18.536 Record Route: 192.168.1.2(flag=0x20) 1.1.12.2(Label=299792) 192.168.1.3(flag=0x20) 1.1.23.2(Label=299776) 192.168.1.4(flag=0x20) 1.1.34.2(Label=3) 3 Sep 1 14:34:18.536 Up 2 Sep 1 14:34:18.385 Originate Call 1 Sep 1 14:34:18.385 CSPF: computation result accepted 1.1.12.2 1.1.23.2 1.1.34.2 Created: Thu Sep 1 14:34:18 2011 Total 1 displayed, Up 1, Down 0
Egress LSP: 0 sessions Total 0 displayed, Up 0, Down 0
Transit LSP: 0 sessions Total 0 displayed, Up 0, Down 0
[edit] lab@DEVANG-M7i#
Scenario2:
+-------+ +-------+ | | | | | R2 +-------------------+ R3 | | | | | +---+---+ +---+---+ | | | | | | | | | | | | | +-------+ | | | | | +-------+ R5 +-----------+ | | +-------+
LSP: R2 to R3 Bypass: R2-R5-R3
If my link between R2 and R3 goes down then R2 will initiate the MBB and start calculating the LSP via alternate router, in this case the alternate IGP path is same as the bypass LSP path (R2-R5-R3), so R2 will use that path to establish the main LSP and it will bring down the bypass.
[edit logical-systems] lab@DEVANG-M7i# run show mpls lsp logical-system r2 extensive Sep 02 19:51:05 Ingress LSP: 1 sessions
192.168.1.3 From: 192.168.1.2, State: Up, ActiveRoute: 0, LSPname: r2-to-r3 ActivePath: (primary) Link protection desired LSPtype: Static Configured LoadBalance: Random Encoding type: Packet, Switching type: Packet, GPID: IPv4 *Primary State: Up Priorities: 7 0 SmartOptimizeTimer: 180 Computed ERO (S [L] denotes strict [loose] hops): (CSPF metric: 2) 1.1.25.2 S 1.1.35.1 S Received RRO (ProtectionFlag 1=Available 2=InUse 4=B/W 8=Node 10=SoftPreempt 20=Node-ID): 192.168.1.5(flag=0x20) 1.1.25.2(Label=299840) 192.168.1.3(flag=0x20) 1.1.35.1(Label=3) 17 Sep 2 19:44:29.077 Record Route: 192.168.1.5(flag=0x20) 1.1.25.2(Label=299840) 192.168.1.3(flag=0x20) 1.1.35.1(Label=3) 16 Sep 2 19:44:29.077 Up 15 Sep 2 19:44:29.063 Originate make-before-break call 14 Sep 2 19:44:29.063 CSPF: computation result accepted 1.1.25.2 1.1.35.1 13 Sep 2 19:43:28.622 Record Route: 192.168.1.5(flag=0x20) 1.1.25.2(Label=299824) 192.168.1.3(flag=0x20) 1.1.35.1(Label=3) <<< LSP is routed to the same path as the bypass was using (R2-R5-R3) 12 Sep 2 19:43:28.622 Up 11 Sep 2 19:43:28.603 CSPF: link down/deleted: 1.1.23.1(192.168.1.2:0)(192.168.1.2)->0.0.0.0(1.1.23.2:0)(1.1.23.2) <<< disabled link between R2 and R3. 10 Sep 2 19:43:28.581 Originate make-before-break call 9 Sep 2 19:43:28.581 CSPF: computation result accepted 1.1.25.2 1.1.35.1 8 Sep 2 19:43:28.580 1.1.23.1: Tunnel local repaired 7 Sep 2 19:43:28.580 1.1.23.1: Down 6 Sep 2 19:41:43.329 Link-protection Up 5 Sep 2 19:41:34.354 Selected as active path 4 Sep 2 19:41:34.352 Record Route: 192.168.1.3(flag=0x20) 1.1.23.2(Label=3) <<< original path R2-R3 3 Sep 2 19:41:34.352 Up 2 Sep 2 19:41:34.325 Originate Call 1 Sep 2 19:41:34.325 CSPF: computation result accepted 1.1.23.2 Created: Fri Sep 2 19:41:34 2011 Total 1 displayed, Up 1, Down 0
Egress LSP: 0 sessions Total 0 displayed, Up 0, Down 0
Transit LSP: 0 sessions Total 0 displayed, Up 0, Down 0
[edit logical-systems] lab@DEVANG-M7i# run show rsvp session extensive logical-system r2 Sep 02 19:51:10 Ingress RSVP: 1 sessions
192.168.1.3 From: 192.168.1.2, LSPstate: Up, ActiveRoute: 0 LSPname: r2-to-r3, LSPpath: Primary LSPtype: Static Configured Suggested label received: -, Suggested label sent: - Recovery label received: -, Recovery label sent: 299840 Resv style: 1 SE, Label in: -, Label out: 299840 Time left: -, Since: Fri Sep 2 19:44:29 2011 Tspec: rate 0bps size 0bps peak Infbps m 20 M 1500 Port number: sender 3 receiver 60694 protocol 0 Link protection desired Type: Protection down 1 Sep 2 19:50:38 Link protection disabled on outbound interface[11 times] PATH rcvfrom: localclient Adspec: sent MTU 1500 Path MTU: received 1500 PATH sentto: 1.1.25.2 (ge-0/0/1.25) 11 pkts RESV rcvfrom: 1.1.25.2 (ge-0/0/1.25) 11 pkts Explct route: 1.1.25.2 1.1.35.1 Record route: <self> 192.168.1.5 (node-id) 1.1.25.2 192.168.1.3 (node-id) 1.1.35.1 Total 1 displayed, Up 1, Down 0
Egress RSVP: 0 sessions Total 0 displayed, Up 0, Down 0
Transit RSVP: 0 sessions Total 0 displayed, Up 0, Down 0
[edit logical-systems] lab@DEVANG-M7i#
Configured optimize timer on LSP of R2: [edit logical-systems] lab@DEVANG-M7i# set r2 protocols mpls label-switched-path r2-to-r3 optimize-timer 30
[edit logical-systems] lab@DEVANG-M7i# show r2 interfaces ge-0/0/1 unit 23 Sep 02 19:55:15 disable; vlan-id 23; family inet { address 1.1.23.1/24; } family mpls;
[edit logical-systems]
lab@DEVANG-M7i# run show mpls lsp extensive logical-system r2 Sep 02 19:55:43 Ingress LSP: 1 sessions
192.168.1.3 From: 192.168.1.2, State: Up, ActiveRoute: 0, LSPname: r2-to-r3 ActivePath: (primary) Link protection desired LSPtype: Static Configured LoadBalance: Random Encoding type: Packet, Switching type: Packet, GPID: IPv4 *Primary State: Up Priorities: 7 0 OptimizeTimer: 30 <<<<<<<< optimized timer configured to 30 seconds. SmartOptimizeTimer: 180 Reoptimization in 12 second(s). <<<<<< Down counter to reoptimize (its start from 30 and goes 0) Computed ERO (S [L] denotes strict [loose] hops): (CSPF metric: 2) 1.1.25.2 S 1.1.35.1 S Received RRO (ProtectionFlag 1=Available 2=InUse 4=B/W 8=Node 10=SoftPreempt 20=Node-ID): 192.168.1.5(flag=0x20) 1.1.25.2(Label=299856) 192.168.1.3(flag=0x20) 1.1.35.1(Label=3) 21 Sep 2 19:55:27.577 Record Route: 192.168.1.5(flag=0x20) 1.1.25.2(Label=299856) 192.168.1.3(flag=0x20) 1.1.35.1(Label=3) 20 Sep 2 19:55:27.577 Up 19 Sep 2 19:55:27.537 Originate make-before-break call 18 Sep 2 19:55:27.537 CSPF: computation result accepted 1.1.25.2 1.1.35.1 17 Sep 2 19:44:29.077 Record Route: 192.168.1.5(flag=0x20) 1.1.25.2(Label=299840) 192.168.1.3(flag=0x20) 1.1.35.1(Label=3) 16 Sep 2 19:44:29.077 Up 15 Sep 2 19:44:29.063 Originate make-before-break call 14 Sep 2 19:44:29.063 CSPF: computation result accepted 1.1.25.2 1.1.35.1 13 Sep 2 19:43:28.622 Record Route: 192.168.1.5(flag=0x20) 1.1.25.2(Label=299824) 192.168.1.3(flag=0x20) 1.1.35.1(Label=3) 12 Sep 2 19:43:28.622 Up 11 Sep 2 19:43:28.603 CSPF: link down/deleted: 1.1.23.1(192.168.1.2:0)(192.168.1.2)->0.0.0.0(1.1.23.2:0)(1.1.23.2) 10 Sep 2 19:43:28.581 Originate make-before-break call 9 Sep 2 19:43:28.581 CSPF: computation result accepted 1.1.25.2 1.1.35.1 8 Sep 2 19:43:28.580 1.1.23.1: Tunnel local repaired 7 Sep 2 19:43:28.580 1.1.23.1: Down 6 Sep 2 19:41:43.329 Link-protection Up 5 Sep 2 19:41:34.354 Selected as active path 4 Sep 2 19:41:34.352 Record Route: 192.168.1.3(flag=0x20) 1.1.23.2(Label=3) 3 Sep 2 19:41:34.352 Up 2 Sep 2 19:41:34.325 Originate Call 1 Sep 2 19:41:34.325 CSPF: computation result accepted 1.1.23.2 Created: Fri Sep 2 19:41:34 2011 Total 1 displayed, Up 1, Down 0
Egress LSP: 0 sessions Total 0 displayed, Up 0, Down 0
Transit LSP: 0 sessions Total 0 displayed, Up 0, Down 0
[edit logical-systems] lab@DEVANG-M7i#
[edit logical-systems] lab@DEVANG-M7i# run show mpls lsp extensive logical-system r2 Sep 02 19:57:26 Ingress LSP: 1 sessions
192.168.1.3 From: 192.168.1.2, State: Up, ActiveRoute: 0, LSPname: r2-to-r3 ActivePath: (primary) Link protection desired LSPtype: Static Configured LoadBalance: Random Encoding type: Packet, Switching type: Packet, GPID: IPv4 *Primary State: Up Priorities: 7 0 OptimizeTimer: 30 SmartOptimizeTimer: 180 Reoptimization in 25 second(s). Computed ERO (S [L] denotes strict [loose] hops): (CSPF metric: 1) 1.1.23.2 S Received RRO (ProtectionFlag 1=Available 2=InUse 4=B/W 8=Node 10=SoftPreempt 20=Node-ID): 192.168.1.3(flag=0x20) 1.1.23.2(Label=3) 27 Sep 2 19:57:23.735 Record Route: 192.168.1.3(flag=0x20) 1.1.23.2(Label=3) 26 Sep 2 19:57:23.735 Up 25 Sep 2 19:57:23.730 Originate make-before-break call 24 Sep 2 19:57:23.730 CSPF: computation result accepted 1.1.23.2 23 Sep 2 19:57:23.729 CSPF: Reroute due to re-optimization <<<<<<< LSP reoptimized to the original path as R2-R3 link is up and optimize timer counter expier from 30 seconds. Old path was R2-R5-R3 and new path is R2-R3. 22 Sep 2 19:56:55.047 CSPF: computation result ignored, new path no benefit[3 times] 21 Sep 2 19:55:27.577 Record Route: 192.168.1.5(flag=0x20) 1.1.25.2(Label=299856) 192.168.1.3(flag=0x20) 1.1.35.1(Label=3) 20 Sep 2 19:55:27.577 Up 19 Sep 2 19:55:27.537 Originate make-before-break call 18 Sep 2 19:55:27.537 CSPF: computation result accepted 1.1.25.2 1.1.35.1 17 Sep 2 19:44:29.077 Record Route: 192.168.1.5(flag=0x20) 1.1.25.2(Label=299840) 192.168.1.3(flag=0x20) 1.1.35.1(Label=3) 16 Sep 2 19:44:29.077 Up 15 Sep 2 19:44:29.063 Originate make-before-break call 14 Sep 2 19:44:29.063 CSPF: computation result accepted 1.1.25.2 1.1.35.1 13 Sep 2 19:43:28.622 Record Route: 192.168.1.5(flag=0x20) 1.1.25.2(Label=299824) 192.168.1.3(flag=0x20) 1.1.35.1(Label=3) 12 Sep 2 19:43:28.622 Up 11 Sep 2 19:43:28.603 CSPF: link down/deleted: 1.1.23.1(192.168.1.2:0)(192.168.1.2)->0.0.0.0(1.1.23.2:0)(1.1.23.2) 10 Sep 2 19:43:28.581 Originate make-before-break call 9 Sep 2 19:43:28.581 CSPF: computation result accepted 1.1.25.2 1.1.35.1 8 Sep 2 19:43:28.580 1.1.23.1: Tunnel local repaired 7 Sep 2 19:43:28.580 1.1.23.1: Down 6 Sep 2 19:41:43.329 Link-protection Up 5 Sep 2 19:41:34.354 Selected as active path 4 Sep 2 19:41:34.352 Record Route: 192.168.1.3(flag=0x20) 1.1.23.2(Label=3) 3 Sep 2 19:41:34.352 Up 2 Sep 2 19:41:34.325 Originate Call 1 Sep 2 19:41:34.325 CSPF: computation result accepted 1.1.23.2 Created: Fri Sep 2 19:41:34 2011 Total 1 displayed, Up 1, Down 0
Egress LSP: 0 sessions Total 0 displayed, Up 0, Down 0
Transit LSP: 0 sessions ---(more)---
As primary path of the LSP is up so R2 should have by pass running too. Following command confirms that.
[edit logical-systems] lab@DEVANG-M7i# run show rsvp session logical-system r2 Sep 02 20:00:03 Ingress RSVP: 2 sessions To From State Rt Style Labelin Labelout LSPname 192.168.1.3 192.168.1.2 Up 0 1 SE - 3 r2-to-r3 192.168.1.3 192.168.1.2 Up 0 1 SE - 299872 Bypass->1.1.23.2 Total 2 displayed, Up 2, Down 0
Egress RSVP: 0 sessions Total 0 displayed, Up 0, Down 0
Transit RSVP: 0 sessions Total 0 displayed, Up 0, Down 0
[edit logical-systems] lab@DEVANG-M7i#
[edit logical-systems] lab@DEVANG-M7i# run show rsvp session logical-system r2 extensive Sep 02 20:00:55 Ingress RSVP: 2 sessions
192.168.1.3 From: 192.168.1.2, LSPstate: Up, ActiveRoute: 0 LSPname: r2-to-r3, LSPpath: Primary LSPtype: Static Configured Suggested label received: -, Suggested label sent: - Recovery label received: -, Recovery label sent: 3 Resv style: 1 SE, Label in: -, Label out: 3 Time left: -, Since: Fri Sep 2 19:57:23 2011 Tspec: rate 0bps size 0bps peak Infbps m 20 M 1500 Port number: sender 5 receiver 60694 protocol 0 Link protection desired Type: Link protected LSP, using Bypass->1.1.23.2 2 Sep 2 19:58:17 Link protection up, using Bypass->1.1.23.2 1 Sep 2 19:57:32 New bypass Bypass->1.1.23.2 PATH rcvfrom: localclient Adspec: sent MTU 1500 Path MTU: received 1500 PATH sentto: 1.1.23.2 (ge-0/0/1.23) 10 pkts RESV rcvfrom: 1.1.23.2 (ge-0/0/1.23) 10 pkts Explct route: 1.1.23.2 Record route: <self> 192.168.1.3 (node-id) 1.1.23.2
192.168.1.3 From: 192.168.1.2, LSPstate: Up, ActiveRoute: 0 LSPname: Bypass->1.1.23.2 LSPtype: Static Configured Suggested label received: -, Suggested label sent: - Recovery label received: -, Recovery label sent: 299872 Resv style: 1 SE, Label in: -, Label out: 299872 Time left: -, Since: Fri Sep 2 19:57:34 2011 Tspec: rate 0bps size 0bps peak Infbps m 20 M 1500 Port number: sender 1 receiver 60695 protocol 0 Type: Bypass LSP Number of data route tunnel through: 1 Number of RSVP session tunnel through: 0 PATH rcvfrom: localclient Adspec: sent MTU 1500 Path MTU: received 1500 PATH sentto: 1.1.25.2 (ge-0/0/1.25) 7 pkts RESV rcvfrom: 1.1.25.2 (ge-0/0/1.25) 7 pkts Explct route: 1.1.25.2 1.1.35.1 Record route: <self> 1.1.25.2 1.1.35.1 Total 2 displayed, Up 2, Down 0
Egress RSVP: 0 sessions Total 0 displayed, Up 0, Down 0
Transit RSVP: 0 sessions Total 0 displayed, Up 0, Down 0
lab@DEVANG-M7i# run show mpls lsp extensive logical-system r2 Sep 02 20:01:01 Ingress LSP: 1 sessions
192.168.1.3 From: 192.168.1.2, State: Up, ActiveRoute: 0, LSPname: r2-to-r3 ActivePath: (primary) Link protection desired LSPtype: Static Configured LoadBalance: Random Encoding type: Packet, Switching type: Packet, GPID: IPv4 *Primary State: Up Priorities: 7 0 OptimizeTimer: 30 SmartOptimizeTimer: 180 Reoptimization in 17 second(s). Computed ERO (S [L] denotes strict [loose] hops): (CSPF metric: 1) 1.1.23.2 S Received RRO (ProtectionFlag 1=Available 2=InUse 4=B/W 8=Node 10=SoftPreempt 20=Node-ID): 192.168.1.3(flag=0x20) 1.1.23.2(Label=3) 30 Sep 2 20:00:49.890 CSPF: computation result ignored, new path no benefit[6 times] 29 Sep 2 19:58:17.738 Link-protection Up 28 Sep 2 19:57:52.701 CSPF: computation result ignored, new path no benefit 27 Sep 2 19:57:23.735 Record Route: 192.168.1.3(flag=0x20) 1.1.23.2(Label=3) 26 Sep 2 19:57:23.735 Up 25 Sep 2 19:57:23.730 Originate make-before-break call 24 Sep 2 19:57:23.730 CSPF: computation result accepted 1.1.23.2 23 Sep 2 19:57:23.729 CSPF: Reroute due to re-optimization 22 Sep 2 19:56:55.047 CSPF: computation result ignored, new path no benefit[3 times] 21 Sep 2 19:55:27.577 Record Route: 192.168.1.5(flag=0x20) 1.1.25.2(Label=299856) 192.168.1.3(flag=0x20) 1.1.35.1(Label=3) 20 Sep 2 19:55:27.577 Up 19 Sep 2 19:55:27.537 Originate make-before-break call 18 Sep 2 19:55:27.537 CSPF: computation result accepted 1.1.25.2 1.1.35.1 17 Sep 2 19:44:29.077 Record Route: 192.168.1.5(flag=0x20) 1.1.25.2(Label=299840) 192.168.1.3(flag=0x20) 1.1.35.1(Label=3) 16 Sep 2 19:44:29.077 Up 15 Sep 2 19:44:29.063 Originate make-before-break call 14 Sep 2 19:44:29.063 CSPF: computation result accepted 1.1.25.2 1.1.35.1 13 Sep 2 19:43:28.622 Record Route: 192.168.1.5(flag=0x20) 1.1.25.2(Label=299824) 192.168.1.3(flag=0x20) 1.1.35.1(Label=3) 12 Sep 2 19:43:28.622 Up 11 Sep 2 19:43:28.603 CSPF: link down/deleted: 1.1.23.1(192.168.1.2:0)(192.168.1.2)->0.0.0.0(1.1.23.2:0)(1.1.23.2) 10 Sep 2 19:43:28.581 Originate make-before-break call 9 Sep 2 19:43:28.581 CSPF: computation result accepted 1.1.25.2 1.1.35.1 8 Sep 2 19:43:28.580 1.1.23.1: Tunnel local repaired 7 Sep 2 19:43:28.580 1.1.23.1: Down 6 Sep 2 19:41:43.329 Link-protection Up 5 Sep 2 19:41:34.354 Selected as active path 4 Sep 2 19:41:34.352 Record Route: 192.168.1.3(flag=0x20) 1.1.23.2(Label=3) 3 Sep 2 19:41:34.352 Up 2 Sep 2 19:41:34.325 Originate Call 1 Sep 2 19:41:34.325 CSPF: computation result accepted 1.1.23.2 Created: Fri Sep 2 19:41:34 2011 Total 1 displayed, Up 1, Down 0
Egress LSP: 0 sessions ---(more)---
+-------+ +-------+ | | | | | R2 +-------------------+ R3 | | |-------------------| | +---+---+ New link 32 +---+---+ | Metric 100 | | | | | | | | | | | | +-------+ | | | | | +-------+ R5 +-----------+ | | +-------+
LSP path: R2-3 and Bypass R2-R5-R3 Now R2-R3 link goes down, LSP takes the shortest path so it shifts over to the R2-R5-R3 and bring down the Bypass. No utilization of new link 32.
[edit logical-systems] lab@DEVANG-M7i# run show mpls lsp logical-system r2 extensive Sep 02 20:17:05 Ingress LSP: 1 sessions
192.168.1.3 From: 192.168.1.2, State: Up, ActiveRoute: 0, LSPname: r2-to-r3 ActivePath: (primary) Link protection desired LSPtype: Static Configured LoadBalance: Random Encoding type: Packet, Switching type: Packet, GPID: IPv4 *Primary State: Up Priorities: 7 0 OptimizeTimer: 30 SmartOptimizeTimer: 180 Reoptimization in 18 second(s). Computed ERO (S [L] denotes strict [loose] hops): (CSPF metric: 2) 1.1.25.2 S 1.1.35.1 S Received RRO (ProtectionFlag 1=Available 2=InUse 4=B/W 8=Node 10=SoftPreempt 20=Node-ID): 192.168.1.5(flag=0x20) 1.1.25.2(Label=299904) 192.168.1.3(flag=0x20) 1.1.35.1(Label=3) 43 Sep 2 20:16:54.656 CSPF: computation result ignored, new path no benefit[8 times] 42 Sep 2 20:13:15.120 Record Route: 192.168.1.5(flag=0x20) 1.1.25.2(Label=299904) 192.168.1.3(flag=0x20) 1.1.35.1(Label=3) <<< New path is from R2-R5-R3. 41 Sep 2 20:13:15.120 Up 40 Sep 2 20:13:15.101 Originate make-before-break call 39 Sep 2 20:13:15.101 CSPF: computation result accepted 1.1.25.2 1.1.35.1 38 Sep 2 20:13:02.773 CSPF: computation result ignored, new path no benefit[2 times] 37 Sep 2 20:12:14.683 Record Route: 192.168.1.5(flag=0x20) 1.1.25.2(Label=299888) 192.168.1.3(flag=0x20) 1.1.35.1(Label=3) 36 Sep 2 20:12:14.683 Up 35 Sep 2 20:12:14.653 CSPF: link down/deleted: 1.1.23.1(192.168.1.2:0)(192.168.1.2)->0.0.0.0(1.1.23.2:0)(1.1.23.2) <<< R2-R3 link is down. 34 Sep 2 20:12:14.635 Originate make-before-break call 33 Sep 2 20:12:14.635 CSPF: computation result accepted 1.1.25.2 1.1.35.1 32 Sep 2 20:12:14.633 1.1.23.1: Tunnel local repaired 31 Sep 2 20:12:14.633 1.1.23.1: Down 30 Sep 2 20:12:03.288 CSPF: computation result ignored, new path no benefit[29 times] 29 Sep 2 19:58:17.738 Link-protection Up 28 Sep 2 19:57:52.701 CSPF: computation result ignored, new path no benefit 27 Sep 2 19:57:23.735 Record Route: 192.168.1.3(flag=0x20) 1.1.23.2(Label=3) 26 Sep 2 19:57:23.735 Up 25 Sep 2 19:57:23.730 Originate make-before-break call 24 Sep 2 19:57:23.730 CSPF: computation result accepted 1.1.23.2 23 Sep 2 19:57:23.729 CSPF: Reroute due to re-optimization 22 Sep 2 19:56:55.047 CSPF: computation result ignored, new path no benefit[3 times] 21 Sep 2 19:55:27.577 Record Route: 192.168.1.5(flag=0x20) 1.1.25.2(Label=299856) 192.168.1.3(flag=0x20) 1.1.35.1(Label=3) 20 Sep 2 19:55:27.577 Up 19 Sep 2 19:55:27.537 Originate make-before-break call 18 Sep 2 19:55:27.537 CSPF: computation result accepted 1.1.25.2 1.1.35.1 17 Sep 2 19:44:29.077 Record Route: 192.168.1.5(flag=0x20) 1.1.25.2(Label=299840) 192.168.1.3(flag=0x20) 1.1.35.1(Label=3) 16 Sep 2 19:44:29.077 Up 15 Sep 2 19:44:29.063 Originate make-before-break call 14 Sep 2 19:44:29.063 CSPF: computation result accepted 1.1.25.2 1.1.35.1 13 Sep 2 19:43:28.622 Record Route: 192.168.1.5(flag=0x20) 1.1.25.2(Label=299824) 192.168.1.3(flag=0x20) 1.1.35.1(Label=3) 12 Sep 2 19:43:28.622 Up 11 Sep 2 19:43:28.603 CSPF: link down/deleted: 1.1.23.1(192.168.1.2:0)(192.168.1.2)->0.0.0.0(1.1.23.2:0)(1.1.23.2) 10 Sep 2 19:43:28.581 Originate make-before-break call 9 Sep 2 19:43:28.581 CSPF: computation result accepted 1.1.25.2 1.1.35.1 8 Sep 2 19:43:28.580 1.1.23.1: Tunnel local repaired 7 Sep 2 19:43:28.580 1.1.23.1: Down 6 Sep 2 19:41:43.329 Link-protection Up 5 Sep 2 19:41:34.354 Selected as active path 4 Sep 2 19:41:34.352 Record Route: 192.168.1.3(flag=0x20) 1.1.23.2(Label=3) 3 Sep 2 19:41:34.352 Up 2 Sep 2 19:41:34.325 Originate Call 1 Sep 2 19:41:34.325 CSPF: computation result accepted 1.1.23.2 Created: Fri Sep 2 19:41:34 2011 Total 1 displayed, Up 1, Down 0
Egress LSP: 0 sessions Total 0 displayed, Up 0, Down 0
Transit LSP: 0 sessions Total 0 displayed, Up 0, Down 0
[edit logical-systems] lab@DEVANG-M7i#
Now I have link 32 and optimization also configured but that link is not of any help as it has higher metric so it says no benefit: 1.1.23.2 S Received RRO (ProtectionFlag 1=Available 2=InUse 4=B/W 8=Node 10=SoftPreempt 20=Node-ID): 192.168.1.3(flag=0x20) 1.1.23.2(Label=3) 51 Sep
2 20:20:21.557 CSPF: computation result ignored, new path no
benefit <<<<<<<<< No use of link 32 as it has metric of 100 which is higher then the existing path. 50 Sep 2 20:20:15.859 Link-protection Up 49 Sep 2 20:19:51.761 CSPF: computation result ignored, new path no benefit
Adding link protection on all interfaces or R2 to wards R3: LSP: R2-R3 Bypass: R2-R5-R3
[edit logical-systems] lab@DEVANG-M7i# run show rsvp session logical-system r2 extensive Sep 02 20:21:52 Ingress RSVP: 2 sessions
192.168.1.3 From: 192.168.1.2, LSPstate: Up, ActiveRoute: 0 LSPname: r2-to-r3, LSPpath: Primary LSPtype: Static Configured Suggested label received: -, Suggested label sent: - Recovery label received: -, Recovery label sent: 3 Resv style: 1 SE, Label in: -, Label out: 3 Time left: -, Since: Fri Sep 2 20:19:21 2011 Tspec: rate 0bps size 0bps peak Infbps m 20 M 1500 Port number: sender 8 receiver 60694 protocol 0 Link protection desired Type: Link protected LSP, using Bypass->1.1.23.2 2 Sep 2 20:20:15 Link protection up, using Bypass->1.1.23.2 1 Sep 2 20:19:30 New bypass Bypass->1.1.23.2 PATH rcvfrom: localclient Adspec: sent MTU 1500 Path MTU: received 1500 PATH sentto: 1.1.23.2 (ge-0/0/1.23) 8 pkts RESV rcvfrom: 1.1.23.2 (ge-0/0/1.23) 8 pkts Explct route: 1.1.23.2 Record route: <self> 192.168.1.3 (node-id) 1.1.23.2
192.168.1.3 From: 192.168.1.2, LSPstate: Up, ActiveRoute: 0 LSPname: Bypass->1.1.23.2 LSPtype: Static Configured Suggested label received: -, Suggested label sent: - Recovery label received: -, Recovery label sent: 299920 Resv style: 1 SE, Label in: -, Label out: 299920 Time left: -, Since: Fri Sep 2 20:19:32 2011 Tspec: rate 0bps size 0bps peak Infbps m 20 M 1500 Port number: sender 1 receiver 60696 protocol 0 Type: Bypass LSP Number of data route tunnel through: 1 Number of RSVP session tunnel through: 0 PATH rcvfrom: localclient Adspec: sent MTU 1500 Path MTU: received 1500 PATH sentto: 1.1.25.2 (ge-0/0/1.25) 5 pkts RESV rcvfrom: 1.1.25.2 (ge-0/0/1.25) 5 pkts Explct route: 1.1.25.2 1.1.35.1 Record route: <self> 1.1.25.2 1.1.35.1 Total 2 displayed, Up 2, Down 0
Egress RSVP: 0 sessions Total 0 displayed, Up 0, Down 0
Transit RSVP: 0 sessions Total 0 displayed, Up 0, Down 0
[edit logical-systems] lab@DEVANG-M7i#
Now disabling main IGP path:
[edit logical-systems] lab@DEVANG-M7i# run show rsvp session logical-system r2 bypass extensive Sep 02 20:23:47 Ingress RSVP: 2 sessions
192.168.1.3 From: 192.168.1.2, LSPstate: BackupActive, ActiveRoute: 1 LSPname: Bypass->1.1.23.2 LSPtype: Static Configured Suggested label received: -, Suggested label sent: - Recovery label received: -, Recovery label sent: 299920 Resv style: 1 SE, Label in: -, Label out: 299920 Time left: -, Since: Fri Sep 2 20:19:32 2011 Tspec: rate 0bps size 0bps peak Infbps m 20 M 1500 Port number: sender 1 receiver 60696 protocol 0 Type: Bypass LSP Number of data route tunnel through: 1 Number of RSVP session tunnel through: 1 PATH rcvfrom: localclient Adspec: sent MTU 1500 Path MTU: received 1500 PATH sentto: 1.1.25.2 (ge-0/0/1.25) 8 pkts RESV rcvfrom: 1.1.25.2 (ge-0/0/1.25) 8 pkts Explct route: 1.1.25.2 1.1.35.1 Record route: <self> 1.1.25.2 1.1.35.1
192.168.1.5 <<<<<<<<<<< New bypass via link 32 From: 192.168.1.2, LSPstate: Up, ActiveRoute: 0 LSPname: Bypass->1.1.25.2 LSPtype: Static Configured Suggested label received: -, Suggested label sent: - Recovery label received: -, Recovery label sent: 299824 Resv style: 1 SE, Label in: -, Label out: 299824 Time left: -, Since: Fri Sep 2 20:23:24 2011 Tspec: rate 0bps size 0bps peak Infbps m 20 M 1500 Port number: sender 1 receiver 60697 protocol 0 Type: Bypass LSP Number of data route tunnel through: 0 Number of RSVP session tunnel through: 0 PATH rcvfrom: localclient Adspec: sent MTU 1500 Path MTU: received 1500 PATH sentto: 1.1.32.2 (ge-0/0/1.32) 3 pkts RESV rcvfrom: 1.1.32.2 (ge-0/0/1.32) 3 pkts Explct route: 1.1.32.2 1.1.35.2 Record route: <self> 1.1.32.2 1.1.35.2 Total 2 displayed, Up 2, Down 0
Egress RSVP: 0 sessions Total 0 displayed, Up 0, Down 0
Transit RSVP: 0 sessions Total 0 displayed, Up 0, Down 0
[edit logical-systems] lab@DEVANG-M7i#
[edit logical-systems] lab@DEVANG-M7i# run show mpls lsp extensive logical-system r2 Sep 02 20:24:39 Ingress LSP: 1 sessions
192.168.1.3 From: 192.168.1.2, State: Up, ActiveRoute: 0, LSPname: r2-to-r3 ActivePath: (primary) Link protection desired LSPtype: Static Configured LoadBalance: Random Encoding type: Packet, Switching type: Packet, GPID: IPv4 *Primary State: Up Priorities: 7 0 OptimizeTimer: 30 SmartOptimizeTimer: 180 Reoptimization in 4 second(s). Computed ERO (S [L] denotes strict [loose] hops): (CSPF metric: 2) 1.1.25.2 S 1.1.35.1 S Received RRO (ProtectionFlag 1=Available 2=InUse 4=B/W 8=Node 10=SoftPreempt 20=Node-ID): 192.168.1.5(flag=0x20) 1.1.25.2(Label=299952) 192.168.1.3(flag=0x20) 1.1.35.1(Label=3) 67 Sep 2 20:24:34.426 Link-protection Up 66 Sep 2 20:24:26.438 Link-protection Down 65 Sep 2 20:24:25.437 Record Route: 192.168.1.5(flag=0x20) 1.1.25.2(Label=299952) 192.168.1.3(flag=0x20) 1.1.35.1(Label=3) <<<< LSP via R2-R5-R3. 64 Sep 2 20:24:25.436 Up 63 Sep 2 20:24:25.421 Originate make-before-break call 62 Sep 2 20:24:25.421 CSPF: computation result accepted 1.1.25.2 1.1.35.1 61 Sep 2 20:24:14.497 CSPF: computation result ignored, new path no benefit 60 Sep 2 20:24:07.708 Link-protection Up 59 Sep 2 20:23:45.271 CSPF: computation result ignored, new path no benefit[2 times] 58 Sep 2 20:23:13.719 Record Route: 192.168.1.5(flag=0x20) 1.1.25.2(Label=299936) 192.168.1.3(flag=0x20) 1.1.35.1(Label=3) <<< New shortest IGP path is via R2-R5-R3. 57 Sep 2 20:23:13.719 Up 56 Sep 2 20:23:13.708 CSPF: link down/deleted: 1.1.23.1(192.168.1.2:0)(192.168.1.2)->0.0.0.0(1.1.23.2:0)(1.1.23.2) <<<<< Primary link down R2-R3 55 Sep 2 20:23:13.690 Originate make-before-break call 54 Sep 2 20:23:13.690 CSPF: computation result accepted 1.1.25.2 1.1.35.1 53 Sep 2 20:23:13.686 1.1.23.1: Tunnel local repaired 52 Sep 2 20:23:13.686 1.1.23.1: Down 51 Sep 2 20:22:46.954 CSPF: computation result ignored, new path no benefit[6 times] 50 Sep 2 20:20:15.859 Link-protection Up 49 Sep 2 20:19:51.761 CSPF: computation result ignored, new path no benefit 48 Sep 2 20:19:21.856 Record Route: 192.168.1.3(flag=0x20) 1.1.23.2(Label=3) 47 Sep 2 20:19:21.856 Up 46 Sep 2 20:19:21.851 Originate make-before-break call 45 Sep 2 20:19:21.851 CSPF: computation result accepted 1.1.23.2 44 Sep 2 20:19:21.851 CSPF: Reroute due to re-optimization 43 Sep 2 20:18:51.983 CSPF: computation result ignored, new path no benefit[12 times] 42 Sep 2 20:13:15.120 Record Route: 192.168.1.5(flag=0x20) 1.1.25.2(Label=299904) 192.168.1.3(flag=0x20) 1.1.35.1(Label=3) 41 Sep 2 20:13:15.120 Up 40 Sep 2 20:13:15.101 Originate make-before-break call 39 Sep 2 20:13:15.101 CSPF: computation result accepted 1.1.25.2 1.1.35.1 38 Sep 2 20:13:02.773 CSPF: computation result ignored, new path no benefit[2 times] 37 Sep 2 20:12:14.683 Record Route: 192.168.1.5(flag=0x20) 1.1.25.2(Label=299888) 192.168.1.3(flag=0x20) 1.1.35.1(Label=3) 36 Sep 2 20:12:14.683 Up 35 Sep 2 20:12:14.653 CSPF: link down/deleted: 1.1.23.1(192.168.1.2:0)(192.168.1.2)->0.0.0.0(1.1.23.2:0)(1.1.23.2) 34 Sep 2 20:12:14.635 Originate make-before-break call 33 Sep 2 20:12:14.635 CSPF: computation result accepted 1.1.25.2 1.1.35.1 32 Sep 2 20:12:14.633 1.1.23.1: Tunnel local repaired 31 Sep 2 20:12:14.633 1.1.23.1: Down 30 Sep 2 20:12:03.288 CSPF: computation result ignored, new path no benefit[29 times] 29 Sep 2 19:58:17.738 Link-protection Up 28 Sep 2 19:57:52.701 CSPF: computation result ignored, new path no benefit 27 Sep 2 19:57:23.735 Record Route: 192.168.1.3(flag=0x20) 1.1.23.2(Label=3) 26 Sep 2 19:57:23.735 Up 25 Sep 2 19:57:23.730 Originate make-before-break call 24 Sep 2 19:57:23.730 CSPF: computation result accepted 1.1.23.2 23 Sep 2 19:57:23.729 CSPF: Reroute due to re-optimization 22 Sep 2 19:56:55.047 CSPF: computation result ignored, new path no benefit[3 times] 21 Sep 2 19:55:27.577 Record Route: 192.168.1.5(flag=0x20) 1.1.25.2(Label=299856) 192.168.1.3(flag=0x20) 1.1.35.1(Label=3) 20 Sep 2 19:55:27.577 Up 19 Sep 2 19:55:27.537 Originate make-before-break call 18 Sep 2 19:55:27.537 CSPF: computation result accepted 1.1.25.2 1.1.35.1 Created: Fri Sep 2 19:41:34 2011 Total 1 displayed, Up 1, Down 0
Egress LSP: 0 sessions Total 0 displayed, Up 0, Down 0
Transit LSP: 0 sessions Total 0 displayed, Up 0, Down 0
[edit logical-systems] lab@DEVANG-M7i#
[edit logical-systems] lab@DEVANG-M7i# run show rsvp session logical-system r2 extensive Sep 02 20:26:44 Ingress RSVP: 2 sessions
192.168.1.3 <<<<<<< LSP on new path R2-R5-R3 From: 192.168.1.2, LSPstate: Up, ActiveRoute: 0 LSPname: r2-to-r3, LSPpath: Primary LSPtype: Static Configured Suggested label received: -, Suggested label sent: - Recovery label received: -, Recovery label sent: 299952 Resv style: 1 SE, Label in: -, Label out: 299952 Time left: -, Since: Fri Sep 2 20:24:25 2011 Tspec: rate 0bps size 0bps peak Infbps m 20 M 1500 Port number: sender 10 receiver 60694 protocol 0 Link protection desired Type: Link protected LSP, using Bypass->1.1.25.2 1 Sep 2 20:24:34 Link protection up, using Bypass->1.1.25.2 PATH rcvfrom: localclient Adspec: sent MTU 1500 Path MTU: received 1500 PATH sentto: 1.1.25.2 (ge-0/0/1.25) 8 pkts RESV rcvfrom: 1.1.25.2 (ge-0/0/1.25) 7 pkts Explct route: 1.1.25.2 1.1.35.1 Record route: <self> 192.168.1.5 (node-id) 1.1.25.2 192.168.1.3 (node-id) 1.1.35.1
192.168.1.5 <<<<<<<<<<<< Bypass on new path Link 32 From: 192.168.1.2, LSPstate: Up, ActiveRoute: 0 LSPname: Bypass->1.1.25.2 LSPtype: Static Configured Suggested label received: -, Suggested label sent: - Recovery label received: -, Recovery label sent: 299824 Resv style: 1 SE, Label in: -, Label out: 299824 Time left: -, Since: Fri Sep 2 20:23:24 2011 Tspec: rate 0bps size 0bps peak Infbps m 20 M 1500 Port number: sender 1 receiver 60697 protocol 0 Type: Bypass LSP Number of data route tunnel through: 1 Number of RSVP session tunnel through: 0 PATH rcvfrom: localclient Adspec: sent MTU 1500 Path MTU: received 1500 PATH sentto: 1.1.32.2 (ge-0/0/1.32) 7 pkts RESV rcvfrom: 1.1.32.2 (ge-0/0/1.32) 7 pkts Explct route: 1.1.32.2 1.1.35.2 Record route: <self> 1.1.32.2 1.1.35.2 Total 2 displayed, Up 2, Down 0
Egress RSVP: 0 sessions Total 0 displayed, Up 0, Down 0
Transit RSVP: 0 sessions Total 0 displayed, Up 0, Down 0
[edit logical-systems] lab@DEVANG-M7i#
Bringing Up main IGP path: [edit logical-systems] lab@DEVANG-M7i# delete r2 interfaces ge-0/0/1 unit 23 disable
[edit logical-systems] lab@DEVANG-M7i# commit Sep 02 20:28:03 commit complete
[edit logical-systems
[edit logical-systems] lab@DEVANG-M7i# run show mpls lsp extensive logical-system r2 Sep 02 20:29:07 Ingress LSP: 1 sessions
192.168.1.3 From: 192.168.1.2, State: Up, ActiveRoute: 0, LSPname: r2-to-r3 ActivePath: (primary) Link protection desired LSPtype: Static Configured LoadBalance: Random Encoding type: Packet, Switching type: Packet, GPID: IPv4 *Primary State: Up Priorities: 7 0 OptimizeTimer: 30 SmartOptimizeTimer: 180 Reoptimization in 0 second(s). Computed ERO (S [L] denotes strict [loose] hops): (CSPF metric: 1) 1.1.23.2 S Received RRO (ProtectionFlag 1=Available 2=InUse 4=B/W 8=Node 10=SoftPreempt 20=Node-ID): 192.168.1.3(flag=0x20) 1.1.23.2(Label=3) 78 Sep 2 20:29:01.492 Link-protection Up 77 Sep 2 20:28:37.329 CSPF: computation result ignored, new path no benefit 76 Sep 2 20:28:09.118 Link-protection Down 75 Sep 2 20:28:08.117 Record Route: 192.168.1.3(flag=0x20) 1.1.23.2(Label=3) <<<< LSP riding from R2-R3. 74 Sep 2 20:28:08.117 Up 73 Sep 2 20:28:08.107 Originate make-before-break call 72 Sep 2 20:28:08.107 CSPF: computation result accepted 1.1.23.2 71 Sep 2 20:28:08.107 CSPF: Reroute due to re-optimization <<< repotimization as best igp path R2-R3 is up and optimize timer reset. 70 Sep 2 20:28:06.484 Link-protection Up 69 Sep 2 20:28:06.482 Link-protection Down 68 Sep 2 20:27:38.526 CSPF: computation result ignored, new path no benefit[7 times] 67 Sep 2 20:24:34.426 Link-protection Up 66 Sep 2 20:24:26.438 Link-protection Down 65 Sep 2 20:24:25.437 Record Route: 192.168.1.5(flag=0x20) 1.1.25.2(Label=299952) 192.168.1.3(flag=0x20) 1.1.35.1(Label=3) 64 Sep 2 20:24:25.436 Up 63 Sep 2 20:24:25.421 Originate make-before-break call 62 Sep 2 20:24:25.421 CSPF: computation result accepted 1.1.25.2 1.1.35.1 61 Sep 2 20:24:14.497 CSPF: computation result ignored, new path no benefit 60 Sep 2 20:24:07.708 Link-protection Up 59 Sep 2 20:23:45.271 CSPF: computation result ignored, new path no benefit[2 times] 58 Sep 2 20:23:13.719 Record Route: 192.168.1.5(flag=0x20) 1.1.25.2(Label=299936) 192.168.1.3(flag=0x20) 1.1.35.1(Label=3) 57 Sep 2 20:23:13.719 Up 56 Sep 2 20:23:13.708 CSPF: link down/deleted: 1.1.23.1(192.168.1.2:0)(192.168.1.2)->0.0.0.0(1.1.23.2:0)(1.1.23.2) 55 Sep 2 20:23:13.690 Originate make-before-break call 54 Sep 2 20:23:13.690 CSPF: computation result accepted 1.1.25.2 1.1.35.1
[edit logical-systems] lab@DEVANG-M7i# run show rsvp session logical-system r2 extensive Sep 02 20:31:33 Ingress RSVP: 2 sessions
192.168.1.3 <<<<<<< Main LSP path: R2-R3 From: 192.168.1.2, LSPstate: Up, ActiveRoute: 0 LSPname: r2-to-r3, LSPpath: Primary LSPtype: Static Configured Suggested label received: -, Suggested label sent: - Recovery label received: -, Recovery label sent: 3 Resv style: 1 SE, Label in: -, Label out: 3 Time left: -, Since: Fri Sep 2 20:28:08 2011 Tspec: rate 0bps size 0bps peak Infbps m 20 M 1500 Port number: sender 11 receiver 60694 protocol 0 Link protection desired Type: Link protected LSP, using Bypass->1.1.23.2 2 Sep 2 20:29:01 Link protection up, using Bypass->1.1.23.2 1 Sep 2 20:28:55 New bypass Bypass->1.1.23.2 PATH rcvfrom: localclient Adspec: sent MTU 1500 Path MTU: received 1500 PATH sentto: 1.1.23.2 (ge-0/0/1.23) 12 pkts RESV rcvfrom: 1.1.23.2 (ge-0/0/1.23) 10 pkts Explct route: 1.1.23.2 Record route: <self> 192.168.1.3 (node-id) 1.1.23.2
192.168.1.3 <<<<<< Bypass path: R2-R5-R3 From: 192.168.1.2, LSPstate: Up, ActiveRoute: 0 LSPname: Bypass->1.1.23.2 LSPtype: Static Configured Suggested label received: -, Suggested label sent: - Recovery label received: -, Recovery label sent: 299968 Resv style: 1 SE, Label in: -, Label out: 299968 Time left: -, Since: Fri Sep 2 20:28:56 2011 Tspec: rate 0bps size 0bps peak Infbps m 20 M 1500 Port number: sender 1 receiver 60698 protocol 0 Type: Bypass LSP Number of data route tunnel through: 1 Number of RSVP session tunnel through: 0 PATH rcvfrom: localclient Adspec: sent MTU 1500 Path MTU: received 1500 PATH sentto: 1.1.25.2 (ge-0/0/1.25) 6 pkts RESV rcvfrom: 1.1.25.2 (ge-0/0/1.25) 6 pkts Explct route: 1.1.25.2 1.1.35.1 Record route: <self> 1.1.25.2 1.1.35.1 Total 2 displayed, Up 2, Down 0
Egress RSVP: 0 sessions Total 0 displayed, Up 0, Down 0
Transit RSVP: 0 sessions Total 0 displayed, Up 0, Down 0
[edit logical-systems] lab@DEVANG-M7i#
Main LSP or bypass runs only on best paths. And only one Bypass is created per LSP even you have multiple link as in our case.
Total Path: Best path: R2-R3 Second best path: R2-R5-R3 Third best path: R2-metric100 (link32)-R3
|