Community discussions

MikroTik App
 
merlinthemagic
newbie
Topic Author
Posts: 38
Joined: Sun Jun 01, 2008 8:54 pm

refresh time and k factor for MPLS

Sat Dec 18, 2010 12:56 am

We are forwarding all traffic onto TE tunnels. the issue we are having is that we have redundant routers at every edge on the network, running VRRP for gateway protection.

We build tunnels from the BGP edge (also redundant) to each edge device that is 2 x 2 = 4 tunnels in each direction.

Now we setup static routes on the bgp edge and forward the traffic onto a tunnel, with a second tunnel as backup gateway. we have "disable running check=no" set on the tunnels.

if one of the edge routers dies for any reason (bgp or customer edge) it can take between 120 - 165 seconds for the other end to realize the tunnel is no longer live.

I read another post that said this timeout is determined by refresh-time * k-factor, where can i change these settings and what is the absolute lowest these values should be set to in order to have a stable setup that will survive normal packet loss?
You do not have the required permissions to view the files attached to this post.
 
merlinthemagic
newbie
Topic Author
Posts: 38
Joined: Sun Jun 01, 2008 8:54 pm

Re: refresh time and k factor for MPLS

Tue Dec 28, 2010 10:17 pm

MPLSGUY, any input on this issue?
 
Mplsguy
MikroTik Support
MikroTik Support
Posts: 227
Joined: Fri Jun 06, 2008 5:06 pm

Re: refresh time and k factor for MPLS

Fri Dec 31, 2010 1:55 pm

You can configure k-factor and refresh-time in "/mpls traffic-eng interface" menu. Basically these parameters control how often RSVP Path and Resv messages are sent out the particular interface. You can think of it as of hello interval for OSPF. The basic idea is - refresh-time specifies how often messages are sent (that is - load on routers/network), but k-factor influences how timeout is calculated (that is what packet loss will be tolerated - how many consecutive messages must be lost in order to consider path down). For detailed info on this see RFC 2205 section 3.7.

If you are using CSPF, you can also use periodic path reoptimization. But take into account that path info must be redistributed to tunnel head-end router by the moment reoptimization occurs and this will depend on OSPF timeouts (OSPF adjacency timing out).

By adjusting RSVP timeouts and routing protocol timeouts you can make change response time smaller, but still this path change will not be immediate (like matter of milliseconds). The correct way would be to use BFD for RSVP or TE fast reroute. Unluckily none of these are available at this time yet.
 
eflanery
Member
Member
Posts: 376
Joined: Fri May 28, 2004 10:11 pm
Location: Moscow, ID
Contact:

Re: refresh time and k factor for MPLS

Tue Jan 04, 2011 6:28 pm

The correct way would be to use BFD for RSVP or TE fast reroute. Unluckily none of these are available at this time yet.
Does this mean they are planned? :D :D
 
User avatar
normis
MikroTik Support
MikroTik Support
Posts: 26385
Joined: Fri May 28, 2004 11:04 am
Location: Riga, Latvia

Re: refresh time and k factor for MPLS

Wed Jan 05, 2011 11:40 am

yet
this word usually means that
 
merlinthemagic
newbie
Topic Author
Posts: 38
Joined: Sun Jun 01, 2008 8:54 pm

Re: refresh time and k factor for MPLS

Thu Jan 06, 2011 8:50 am

Thank you. We were hoping for sub second reroute, we await FRR's arrival.

If i may make a suggestion, it is a pain to configure strict LSP's using the command line, maybe you would consider making MPLS TE part of winbox.

Regards,

Martin Madsen
 
bronx
newbie
Posts: 39
Joined: Wed Feb 11, 2015 1:04 am
Location: Turin, Italy

Re: refresh time and k factor for MPLS

Mon Dec 07, 2015 11:15 am

Waiting for fast reroute

Who is online

Users browsing this forum: Amazon [Bot] and 53 guests