[j-nsp] RSVP Fast Reroute Node Protection
Judah Scott
judah.scott.iam at gmail.com
Fri Jul 31 15:36:16 EDT 2009
Thanks everyone for your help/examples. I tried this with an all-JUNOS
topology and node-link-protection worked. One important thing to note is
that a complete Route-Record on the primary lsp seems required for
node-protection. Also, 'set protocols rsvp [interface] link-protection' is
required only on the primary path interface as mentioned earlier by others.
Thanks,
J Scott
On Fri, Jul 31, 2009 at 8:58 AM, Harry Reynolds <harry at juniper.net> wrote:
> Well, not enough time for me to wade through your ted. ;) I was able to do
> a quick sanity test and find both link and node bypass working.
>
> Watch for wrap in the below ascii topo. If you expand enough it should take
> the form of:
>
> r2-----r3
> | \ -\ |
> R0---r1-----r4----r5
>
>
> Here, r1 is ingress with an lsp that is constrained through r2 and r3,
> egressing at r4. R2 has link-protection enabled under only the fe-1/0/0
> interface (along the primary lsp path). No other interfaces are enabled for
> link protection.
>
>
> << test topo:
>
> +--------+ +--------+
> | | | |
> | vpn09 | fe-1/0/0 | vpn05 |
> | R2 |---------------| R3 |
> | P1 | fe-1/1/2 | P2 |
> | | | |
> +--------+ +--------+
> t3-0/1/2 | | so-1/2/2 _______| | fe-1/0/3
> | | / t3-0/0/1 |
> | | / |
> | | / |
> | |________/_____________ |
> | / | |
> t3-0/3/1 | / so-1/2/2 | | fe-1/1/2
> +--------+ +--------+ / +--------+
> +--------+
> | vpn07 | | vpn03 |_/ t3-0/3/0 | vpn11 | |
> vpn08 |
> | R0 | fe-1/1/3 | R1 | | R4 | fe-1/1/3 |
> R5 |
> | CE1 |-------------| PE1 | so-0/1/0 | PE2 |-------------|
> CE2 |
> | | fe-1/1/1 | |---------------| | fe-1/0/3 |
> |
> | | | | so-0/3/0 | | |
> |
> +--------+ +--------+ +--------+
> +--------+
>
>
> R0 (vpn07) m10
> lo0.0 10.255.14.177 abcd::10:255:14:177
> R0-R1: fe-1/1/3 1.1.1.1/30
>
> R1 (vpn03) m20
> lo0.0 10.255.71.24 abcd::10:255:71:24
> R0-R1: fe-1/1/1
> R1-GR: gr-3/0/0
> R1-R2: t3-0/3/1 10.1.2.1/30
> R1-R3: t3-0/3/0 10.1.3.1/30
> R1-R4: so-0/1/0 10.1.4.1/30
>
> R2 (vpn09) m10
> lo0.0 10.255.14.179 abcd::10:255:14:179
> R1-R2: t3-0/1/2 10.1.2.2/30
> R2-R3: fe-1/0/0 10.2.3.1/30
> R2-R4: so-1/2/2 10.2.4.1/30
>
> R3 (vpn05) m10
> lo0.0 10.255.14.175 abcd::10:255:14:175
> R1-R3: t3-0/0/1 10.1.3.2/30
> R2-R3: fe-1/1/2 10.2.3.2/30
> R3-R4: fe-1/0/3 10.3.4.1/30
>
> R4 (vpn11) m10
> lo0.0 10.255.14.181 abcd::10:255:14:181
> R1-R4: so-0/3/0 10.1.4.2/30
> R2-R4: so-1/2/2 10.2.4.2/30
> R3-R4: fe-1/1/2 10.3.4.2/30
> R4-GR: gr-1/3/0
> R4-R5: fe-1/1/3
>
> R5 (vpn08) m10
> lo0.0 10.255.14.178 abcd::10:255:14:178
> R4-R5: fe-1/0/3 1.1.1.2/30
>
>
>
> <<< ingress set for link protection, transit node r2 has a link bypass:
>
>
>
> [edit]
> regress at vpn09# run show rsvp session ingress bypass detail
> Ingress RSVP: 1 sessions
>
> 10.255.14.175
> From: 10.255.14.179, LSPstate: Up, ActiveRoute: 0
> LSPname: Bypass->10.2.3.2
> Suggested label received: -, Suggested label sent: -
> Recovery label received: -, Recovery label sent: 301760
> Resv style: 1 SE, Label in: -, Label out: 301760
> Time left: -, Since: Fri Jul 31 08:47:46 2009
> Tspec: rate 0bps size 0bps peak Infbps m 20 M 1500
> Port number: sender 1 receiver 20116 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: 10.2.4.2 (so-1/2/2.0) 4 pkts
> RESV rcvfrom: 10.2.4.2 (so-1/2/2.0) 3 pkts
> Explct route: 10.2.4.2 10.3.4.1
> Record route: <self> 10.2.4.2 10.3.4.1
> Total 1 displayed, Up 1, Down 0
>
>
> <<< set node-link:
>
>
> {master}[edit]
> regress at vpn03# set protocols mpls label-switched-path r1_vpn03-to-r4_vpn11
> node-link-protection
>
> {master}[edit]
> regress at vpn03# commit
> warning: graceful-switchover is enabled, commit synchronize should be used
>
>
> <<< Now have a node bypass:
>
>
>
> [edit]
> regress at vpn09# run show rsvp session ingress bypass detail
> Ingress RSVP: 2 sessions
>
> 10.255.14.175
> From: 10.255.14.179, LSPstate: Up, ActiveRoute: 0
> LSPname: Bypass->10.2.3.2
> Suggested label received: -, Suggested label sent: -
> Recovery label received: -, Recovery label sent: 301760
> Resv style: 1 SE, Label in: -, Label out: 301760
> Time left: -, Since: Fri Jul 31 08:47:46 2009
> Tspec: rate 0bps size 0bps peak Infbps m 20 M 1500
> Port number: sender 1 receiver 20116 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: 10.2.4.2 (so-1/2/2.0) 5 pkts
> RESV rcvfrom: 10.2.4.2 (so-1/2/2.0) 4 pkts
> Explct route: 10.2.4.2 10.3.4.1
> Record route: <self> 10.2.4.2 10.3.4.1
>
> 10.255.14.181
> From: 10.255.14.179, LSPstate: Up, ActiveRoute: 0
> LSPname: Bypass->10.2.3.2->10.3.4.2
> 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 Jul 31 08:48:50 2009
> Tspec: rate 0bps size 0bps peak Infbps m 20 M 1500
> Port number: sender 1 receiver 20117 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: 10.2.4.2 (so-1/2/2.0) 3 pkts
> RESV rcvfrom: 10.2.4.2 (so-1/2/2.0) 3 pkts
> Explct route: 10.2.4.2
> Record route: <self> 10.2.4.2
> Total 2 displayed, Up 2, Down 0
>
>
> <<<transit node config:
> [edit]
> regress at vpn09# show protocols mpls
> interface all;
>
> [edit]
> regress at vpn09# show protocols rsvp
> interface t3-0/1/2.0;
> interface fe-1/0/0.0 {
> link-protection;
> }
> interface so-1/2/2.0;
>
> [edit]
>
> <<<ingress node:
>
> {master}[edit]
> regress at vpn03# show protocols mpls
> traceoptions {
> file mpls;
> flag error;
> flag graceful-restart;
> }
> label-switched-path r1_vpn03-to-r4_vpn11 {
> to 10.255.14.181;
> node-link-protection;
> primary prime;
> }
> path prime {
> 10.255.14.179 loose;
> 10.255.14.175 loose;
> }
> interface all;
>
> {master}[edit]
> regress at vpn03# show protocols rsvp
> traceoptions {
> file rsvp;
> flag error detail;
> flag event detail;
> }
> interface t3-0/3/1.0;
> interface t3-0/3/0.0;
> interface so-0/1/0.0;
>
> {master}[edit]
> regress at vpn03#
>
> <<< r2/trtansit node ted:
>
> [edit]
> regress at vpn09# run show ted database detail | no-more
> TED database: 0 ISIS nodes 6 INET nodes
> NodeID: 10.2.3.1-1
> Type: Net, Age: 967 secs, LinkIn: 2, LinkOut: 2
> Protocol: OSPF(0.0.0.0)
> To: 10.255.14.179, Local: 0.0.0.0, Remote: 0.0.0.0
> Local interface index: 0, Remote interface index: 0
> To: 10.255.14.175, Local: 0.0.0.0, Remote: 0.0.0.0
> Local interface index: 0, Remote interface index: 0
> NodeID: 10.3.4.2-1
> Type: Net, Age: 967 secs, LinkIn: 2, LinkOut: 2
> Protocol: OSPF(0.0.0.0)
> To: 10.255.14.181, Local: 0.0.0.0, Remote: 0.0.0.0
> Local interface index: 0, Remote interface index: 0
> To: 10.255.14.175, Local: 0.0.0.0, Remote: 0.0.0.0
> Local interface index: 0, Remote interface index: 0
> NodeID: 10.255.71.24
> Type: Rtr, Age: 990 secs, LinkIn: 3, LinkOut: 3
> Protocol: OSPF(0.0.0.0)
> To: 10.255.14.179, Local: 10.1.2.1, Remote: 10.1.2.2
> Local interface index: 72, Remote interface index: 0
> To: 10.255.14.181, Local: 10.1.4.1, Remote: 10.1.4.2
> Local interface index: 70, Remote interface index: 0
> To: 10.255.14.175, Local: 10.1.3.1, Remote: 10.1.3.2
> Local interface index: 71, Remote interface index: 0
> NodeID: 10.255.14.175
> Type: Rtr, Age: 965 secs, LinkIn: 3, LinkOut: 3
> Protocol: OSPF(0.0.0.0)
> To: 10.255.71.24, Local: 10.1.3.2, Remote: 10.1.3.1
> Local interface index: 70, Remote interface index: 0
> To: 10.3.4.2-1, Local: 10.3.4.1, Remote: 0.0.0.0
> Local interface index: 0, Remote interface index: 0
> To: 10.2.3.1-1, Local: 10.2.3.2, Remote: 0.0.0.0
> Local interface index: 0, Remote interface index: 0
> NodeID: 10.255.14.179
> Type: Rtr, Age: 967 secs, LinkIn: 3, LinkOut: 3
> Protocol: OSPF(0.0.0.0)
> To: 10.255.14.181, Local: 10.2.4.1, Remote: 10.2.4.2
> Local interface index: 69, Remote interface index: 0
> To: 10.255.71.24, Local: 10.1.2.2, Remote: 10.1.2.1
> Local interface index: 70, Remote interface index: 0
> To: 10.2.3.1-1, Local: 10.2.3.1, Remote: 0.0.0.0
> Local interface index: 0, Remote interface index: 0
> NodeID: 10.255.14.181
> Type: Rtr, Age: 972 secs, LinkIn: 3, LinkOut: 3
> Protocol: OSPF(0.0.0.0)
> To: 10.255.14.179, Local: 10.2.4.2, Remote: 10.2.4.1
> Local interface index: 71, Remote interface index: 0
> To: 10.255.71.24, Local: 10.1.4.2, Remote: 10.1.4.1
> Local interface index: 70, Remote interface index: 0
> To: 10.3.4.2-1, Local: 10.3.4.2, Remote: 0.0.0.0
> Local interface index: 0, Remote interface index: 0
>
> [edit]
>
>
>
More information about the juniper-nsp
mailing list