blob: 413002a8f2fbc2fcc930287e27bdce81f9417b8e [file] [log] [blame]
Vince Lehmanc439d662015-04-27 10:56:00 -05001nlsrc
2=====
3
4Usage
5-----
6
7::
8
9 nlsrc [-h] [-V] COMMAND [<Command Options>]
10
11
12Description
13-----------
14
15``nlsrc`` is a tool to retrieve link-state database (LSDB) status information from NLSR and
16announce/withdraw Name prefixes advertised by NLSR.
17
18Options
19-------
20
21``-h``
22 Print usage information
23
24``-V``
25 Show NLSRC version information
26
27``COMMAND``
28
29 ``status``
30 Retrieve LSDB status information
31
32 ``advertise``
33 Add a Name prefix to be advertised by NLSR
34
35 ``advertise <name>``
36
37 ``name``
38 The Name prefix to be advertised
39
40 ``withdraw``
41 Remove a Name prefix advertised through NLSR
42
43 ``withdraw <name>``
44
45 ``name``
46 The Name prefix to be withdrawn
47
dmcoomesc2c3ae02017-04-19 10:25:58 -050048Notes
49-----
50
51When security is enabled, NLSR will not be allowed to successfully
52advertise/withdraw names without first setting a default identity of operator.
53If default identity is not set as operator, the user will be presented with the
54error message: Name prefix update error (code: 403)”. To remedy this
55issue, use command 'ndn-sec-default'.
56
57Example:
58
59 ndnsec-set-default /ndn/a-site/%C1.Operator/op
60
Vince Lehmanc439d662015-04-27 10:56:00 -050061Exit Status
62-----------
63
64nlsrc exits with one of the following values:
65::
66
67 0 nlsrc exited successfully
68 >0 An error occurred