28.06.2014 Views

Discussion

Discussion

Discussion

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

RSVP RRO in the path calculation log (line 4 in the log) contains the path being followed<br />

by the primary LSP. This LSP goes first to R3 (10.1.31.2) and then to R4<br />

(10.1.34.2) before reaching the egress at R5 (10.1.45.2). The following command<br />

shows that RSVP has reserved the bandwidth:<br />

aviva@R1> show rsvp interface<br />

RSVP interface: 2 active<br />

Active Subscr- Static Available Reserved Highwater<br />

Interface State resv iption BW BW BW mark<br />

so-0/0/0.0 Up 0 100% 155.52Mbps 155.52Mbps 0bps 0bps<br />

so-0/0/2.0 Up 1 100% 155.52Mbps 105.52Mbps 50Mbps 50Mbps<br />

For interface so-0/0/2, which connects to R3, the first router in the LSP, the output<br />

shows that 50 Mbps have been reserved and 105.52 Mbps are still available.<br />

Next in the configuration is to set up a secondary path. There are two commands for<br />

this. The first command creates the secondary path in the LSP, and the second<br />

defines the path for MPLS. This recipe uses the standby option in the secondary path<br />

so the path is established when the primary path is set up and remains up at all<br />

times. This means that the secondary path is always available to take over immediately<br />

if the primary path fails. The result is that no traffic is dropped during the time<br />

it takes for CSPF to calculate a new route and RSVP to signal a new path.<br />

Look at the LSP again to check that the secondary path has been set up. A quick<br />

glance shows two RSVP sessions for the R1-to-R5 LSP:<br />

aviva@R1> show rsvp session ingress<br />

Ingress RSVP: 2 sessions<br />

To From State Rt Style Labelin Labelout LSPname<br />

10.0.0.5 10.0.0.1 Up 0 1 FF - 100144 R1-to-R5<br />

10.0.0.5 10.0.0.1 Up 0 1 FF - 100160 R1-to-R5<br />

Total 2 displayed, Up 2, Down 0<br />

A detailed look at the LSP shows more information about the two paths:<br />

aviva@R1> show mpls lsp ingress extensive<br />

Ingress LSP: 1 sessions<br />

10.0.0.5<br />

From: 10.0.0.1, State: Up, ActiveRoute: 0, LSPname: R1-to-R5<br />

ActivePath: primary-path-R1-to-R5 (primary)<br />

LoadBalance: Random<br />

Encoding type: Packet, Switching type: Packet, GPID: IPv4<br />

*Primary primary-path-R1-to-R5 State: Up<br />

Bandwidth: 50Mbps<br />

SmartOptimizeTimer: 180<br />

Received RRO (ProtectionFlag 1=Available 2=InUse 4=B/W 8=Node 10=SoftPreempt):<br />

10.1.13.2 10.1.34.2 10.1.45.2<br />

5 Oct 7 09:15:34 Selected as active path<br />

4 Oct 7 09:15:34 Record Route: 10.1.13.2 10.1.34.2 10.1.45.2<br />

3 Oct 7 09:15:34 Up<br />

2 Oct 7 09:15:34 Originate Call<br />

1 Oct 7 09:15:05 Path name undefined or disabled[3 times]<br />

Standby secondary-path-R1-to-R5 State: Up<br />

This is the Title of the Book, eMatter Edition<br />

Copyright © 2008 O’Reilly & Associates, Inc. All rights reserved.<br />

Protecting an LSP’s Path | 523

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!