blob: 3252bd231e97a28271fa0d2328c62b433cb05890 [file] [log] [blame]
lh9ed821d2023-04-07 01:36:19 -07001.TH IP\-ADDRLABEL 8 "20 Dec 2011" "iproute2" "Linux"
2.SH "NAME"
3ip-addrlabel \- protocol address label management
4.SH "SYNOPSIS"
5.sp
6.ad l
7.in +8
8.ti -8
9.B ip
10.RI "[ " OPTIONS " ]"
11.B addrlabel
12.RI " { " COMMAND " | "
13.BR help " }"
14.sp
15
16.ti -8
17.IR OPTIONS " := { "
18\fB\-V\fR[\fIersion\fR] |
19\fB\-s\fR[\fItatistics\fR] |
20\fB\-r\fR[\fIesolve\fR] |
21\fB\-f\fR[\fIamily\fR] {
22.BR inet " | " inet6 " | " ipx " | " dnet " | " link " } | "
23\fB\-o\fR[\fIneline\fR] }
24
25.ti -8
26.BR "ip addrlabel" " { " add " | " del " } " prefix
27.BR PREFIX " [ "
28.B dev
29.IR DEV " ] [ "
30.B label
31.IR NUMBER " ]"
32
33.ti -8
34.BR "ip addrlabel" " { " list " | " flush " }"
35
36.SH "DESCRIPTION"
37IPv6 address label is used for address selection
38described in RFC 3484. Precedence is managed by userspace,
39and only label is stored in kernel.
40
41.SS ip addrlabel add - add an address label
42the command adds an address label entry to the kernel.
43.TP
44.BI prefix " PREFIX"
45.TP
46.BI dev " DEV"
47the outgoing interface.
48.TP
49.BI label " NUMBER"
50the label for the prefix.
510xffffffff is reserved.
52.SS ip addrlabel del - delete an address label
53the command deletes an address label entry in the kernel.
54.B Arguments:
55coincide with the arguments of
56.B ip addrlabel add
57but label is not required.
58.SS ip addrlabel list - list address labels
59the command show contents of address labels.
60.SS ip addrlabel flush - flush address labels
61the command flushes the contents of address labels and it does not restore default settings.
62
63.SH SEE ALSO
64.br
65.BR ip (8)
66
67.SH AUTHOR
68Manpage by Yoshifuji Hideaki / 吉藤英明
69