Debian Codegraph @

ax25rtd/ax25rtctl.man

raw
1 .TH @@@AX25RTCTL@@@ 8 "11 November 2003" Linux "Linux Programmer's Manual"
2 .SH NAME
3 @@@ax25rtctl@@@ \- AX.25 routing control program
4 .SH SYNOPSIS
5 .B @@@ax25rtctl@@@ [options]
6 .SH DESCRIPTION
7 .LP
8 .B @@@ax25rtctl@@@
9 is a program to control @@@ax25rtd@@@. There are several options:
10 .TP
11 .B -a, --add ax25 <callsign> <dev> <time> [digipeater]
12 Add an entry to the AX.25 routing table. If time is "0"
13 this entry will be marked permanent, hence: the daemon will not
14 overwrite this route.
15 .TP
16 .B -d, --del ax25 <callsign> <dev>
17 Remove an entry from the AX.25 routing table.
18 .TP
19 .B -a, --add ip <ip> <dev> <time> <call> <ipmode>
20 Add an entry to the IP routing table. If time is "0" the
21 entry will be marked permanent.
22 .TP
23 .B -d, --del ip <ip>
24 Remove an entry from the IP routing table.
25 .TP
26 .B -l, --list ax25
27 Lists the content of the cache for the AX.25 routing table.
28 .TP
29 .B -l, --list ip
30 Lists the content of the cache for the IP routing table.
31 .TP
32 .B -e, --expire <minutes>
33 Removes the entries older than <minutes> from the caches and
34 the kernel routing tables.
35 .TP
36 .B -s, --save
37 Saves the AX.25 and IP cache to /var/ax25/ax25rtd/ax25_route and
38 /var/ax25/ax25rtd/ip_route (or the files specified in
39 /etc/ax25/ax25rtd.conf).
40 .TP
41 .B -r, --reload
42 Reloads the config file /etc/ax25/ax25rtd.conf. This will
43 *not* affect the caches or the heard list.
44 .TP
45 .B -q, --shutdown
46 Same as 'killall -TERM @@@ax25rtd@@@' ;-)
47 .TP
48 .B -V, --version
49 Prints version.
50 .PP
51 Note that you can specify either the port name (as defined in
52 /etc/ax25/axports) or the interface name (shown by ifconfig). If names
53 conflict (i.e. port scc0 is in fact interface scc3, and vica versa), the
54 interface name has precedence over the port name. Example:
55
56 @@@ax25rtctl@@@ --add ax25 dl0tha scc3 0 db0pra
57
58 is equivalent to
59
60 @@@ax25rtctl@@@ --add ax25 dl0tha 9k6 0 db0pra
61
62 All commands return port names in their output, though.
63 With one exception: ax25_route and ip_route use interface names.
64
65 .SH FILES
66 /etc/ax25/ax25rtd.conf
67 .SH "SEE ALSO"
68 .BR ax25rtd.conf (5),
69 .BR @@@ax25rtd@@@ (8).
70 .LP
71 .SH AUTHORS
72 .nf
73 Joerg Reuter <[email protected]>
74 .br
75 Klaus Kudielka OE1KIB
76 .fi