cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
501
Views
0
Helpful
2
Replies

cmd-sced question with flow permanent

johnsos
Level 1
Level 1

View the following and tell me if all this does is clears the memory at the times specified in the command. This is a snippit from the Microsoft LCS load-balancing document I got my hands on.

flow permanent port1 5060

flow permanent port2 5061

cmd-sched record MS_LCS5060-off 0 2 * * * "conf;no flow permanent port1;exit"

cmd-sched record MS_LCS5060-on 2 2 * * * "conf;flow permanent port1 5060;exit"

cmd-sched

cmd-sched record MS_LCS5061-off 0 3 * * * "conf;no flow permanent port2;exit"

cmd-sched record MS_LCS5061-on 2 3 * * * "conf;flow permanent port2 5061;exit"

Any info would be appreciated.

1 Accepted Solution

Accepted Solutions

Gilles Dufour
Cisco Employee
Cisco Employee

with these functions, each time the script is runned, all flow that are idled will be marked as so and eventually will be garbage collected.

So, it does clean up the flow table.

You can do a 'flow stat' to see the number of free flows. This number should not get to zero.

You will not see this number increasing as soon as the script runs, but it should after that if the number of free flows was low.

There are some discussions on flows and FCB on this forum that you can read if you are interested.

Gilles.

View solution in original post

2 Replies 2

Gilles Dufour
Cisco Employee
Cisco Employee

with these functions, each time the script is runned, all flow that are idled will be marked as so and eventually will be garbage collected.

So, it does clean up the flow table.

You can do a 'flow stat' to see the number of free flows. This number should not get to zero.

You will not see this number increasing as soon as the script runs, but it should after that if the number of free flows was low.

There are some discussions on flows and FCB on this forum that you can read if you are interested.

Gilles.

Thanks for your insight. I will browse the other discussions on flows as well.

Steve.

Review Cisco Networking for a $25 gift card