]> git.proxmox.com Git - mirror_iproute2.git/blame - man/man8/ip-addrlabel.8
update kernel headers based on net-next 3.21
[mirror_iproute2.git] / man / man8 / ip-addrlabel.8
CommitLineData
2a9721f1
SH
1.TH IP\-ADDRLABEL 8 "20 Dec 2011" "iproute2" "Linux"
2.SH "NAME"
aab2702d 3ip-addrlabel \- protocol address label management
2a9721f1
SH
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"
49572501
KR
37IPv6 address labels are used for address selection;
38they are described in RFC 3484. Precedence is managed by userspace,
39and only the label itself is stored in the kernel.
2a9721f1
SH
40
41.SS ip addrlabel add - add an address label
49572501 42add an address label entry to the kernel.
2a9721f1
SH
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
49572501 53delete an address label entry from the kernel.
2a9721f1
SH
54.B Arguments:
55coincide with the arguments of
56.B ip addrlabel add
49572501 57but the label is not required.
2a9721f1 58.SS ip addrlabel list - list address labels
49572501 59list the current address label entries in the kernel.
2a9721f1 60.SS ip addrlabel flush - flush address labels
49572501 61flush all address labels in the kernel. This does not restore any default settings.
2a9721f1
SH
62
63.SH SEE ALSO
64.br
65.BR ip (8)
66
67.SH AUTHOR
68Manpage by Yoshifuji Hideaki / 吉藤英明
69