blob: 7d84607239132f7a0d4df6a2ae3054add1dc6494 [file] [log] [blame]
Ashlesh Gawande92e4ea52017-07-19 11:38:12 -05001nfd-asf-strategy
2================
3
4SYNOPSIS
5--------
Eric Newberry7249fb42021-04-04 21:09:32 -07006| nfdc strategy set prefix <PREFIX> strategy /localhost/nfd/strategy/asf[/v=4][/probing-interval~<PROBING-INTERVAL>][/n-silent-timeouts~<N-SILENT-TIMEOUTS>]
Ashlesh Gawande92e4ea52017-07-19 11:38:12 -05007
8DESCRIPTION
9-----------
10
11ASF is an Adaptive Smoothed RTT-based Forwarding Strategy that chooses the best next hop based on SRTT measurement, and also periodically probes other next hops to learn their RTTs.
12
13OPTIONS
14-------
15<PROBING-INTERVAL>
16 Tells ASF how often to send a probe to determine alternative paths.
17 The value is specified in milliseconds (non-negative integer)
18 Lower value means high overhead but faster reaction.
19 Default value is 1 minute and minimum value is 1 second.
20 It is optional to specify probing-interval.
21
22<N-SILENT-TIMEOUTS>
23 ASF switches immediately to another appropriate face (if available) upon timeout.
24 This behavior may be too sensitive for application use and appropriate only for link
25 failures and not transient timeouts. So this parameter makes ASF switch paths
26 only after it has encountered the specified number of timeouts (non-negative integer).
Eric Newberry7249fb42021-04-04 21:09:32 -070027 Default and minimum value is 0, i.e., switch immediately.
Ashlesh Gawande92e4ea52017-07-19 11:38:12 -050028 It is optional to specify n-silent-timeouts.
29
30EXAMPLES
31--------
32nfdc strategy set prefix /ndn strategy /localhost/nfd/strategy/asf
33 Use the default values.
34
Eric Newberry7249fb42021-04-04 21:09:32 -070035nfdc strategy set prefix /ndn strategy /localhost/nfd/strategy/asf/v=4/probing-interval~30000
Ashlesh Gawande92e4ea52017-07-19 11:38:12 -050036 Set probing interval as 30 seconds.
37
Eric Newberry7249fb42021-04-04 21:09:32 -070038nfdc strategy set prefix /ndn strategy /localhost/nfd/strategy/asf/v=4/n-silent-timeouts~5
Ashlesh Gawande92e4ea52017-07-19 11:38:12 -050039 Set n-silent-timeouts as 5.
40
Eric Newberry7249fb42021-04-04 21:09:32 -070041nfdc strategy set prefix /ndn strategy /localhost/nfd/strategy/asf/v=4/probing-interval~30000/n-silent-timeouts~5
Ashlesh Gawande92e4ea52017-07-19 11:38:12 -050042 Set probing interval as 30 seconds and n-silent-timeouts as 5.
43
44SEE ALSO
45--------
Eric Newberry7249fb42021-04-04 21:09:32 -070046nfdc(1), nfdc-strategy(1)