blob: 83d77953459cadb24e58b8213c1ba7073d911b4f [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
laqinfan35731852017-08-08 06:17:39 -050029 ``lsdb``
Vince Lehmanc439d662015-04-27 10:56:00 -050030 Retrieve LSDB status information
31
laqinfan35731852017-08-08 06:17:39 -050032 ``routing``
33 Retrieve routing table status information
34
35 ``status``
36 Retrieve LSDB status and routing table status information
37
Vince Lehmanc439d662015-04-27 10:56:00 -050038 ``advertise``
39 Add a Name prefix to be advertised by NLSR
40
41 ``advertise <name>``
42
43 ``name``
44 The Name prefix to be advertised
45
46 ``withdraw``
47 Remove a Name prefix advertised through NLSR
48
49 ``withdraw <name>``
50
51 ``name``
52 The Name prefix to be withdrawn
53
dmcoomesc2c3ae02017-04-19 10:25:58 -050054Notes
55-----
56
57When security is enabled, NLSR will not be allowed to successfully
58advertise/withdraw names without first setting a default identity of operator.
59If default identity is not set as operator, the user will be presented with the
60error message: Name prefix update error (code: 403)”. To remedy this
61issue, use command 'ndn-sec-default'.
62
63Example:
64
65 ndnsec-set-default /ndn/a-site/%C1.Operator/op
66
Vince Lehmanc439d662015-04-27 10:56:00 -050067Exit Status
68-----------
69
70nlsrc exits with one of the following values:
71::
72
73 0 nlsrc exited successfully
74 >0 An error occurred