blob: 5a7d78586c47b8e944e5d338f8a52fa99a01ef14 [file] [log] [blame]
Ashlesh Gawande92e4ea52017-07-19 11:38:12 -05001nfd-asf-strategy
2================
3
4SYNOPSIS
5--------
6| nfdc strategy set prefix <PREFIX> strategy /localhost/nfd/strategy/asf/%FD%02[/probing-interval~<PROBING-INTERVAL>][/n-silent-timeouts~<N-SILENT-TIMEOUTS>]
7
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).
27 Default and minimum value is 0 i.e. switch immediately.
28 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
35nfdc strategy set prefix /ndn strategy /localhost/nfd/strategy/asf/%FD%03/probing-interval~30000
36 Set probing interval as 30 seconds.
37
38nfdc strategy set prefix /ndn strategy /localhost/nfd/strategy/asf/%FD%03/n-silent-timeouts~5
39 Set n-silent-timeouts as 5.
40
41nfdc strategy set prefix /ndn strategy /localhost/nfd/strategy/asf/%FD%03/probing-interval~30000/n-silent-timeouts~5
42 Set probing interval as 30 seconds and n-silent-timeouts as 5.
43
44SEE ALSO
45--------
46nfdc(1), nfdc-strategy(1)