lh | 9ed821d | 2023-04-07 01:36:19 -0700 | [diff] [blame^] | 1 | .TH IP\-ADDRLABEL 8 "20 Dec 2011" "iproute2" "Linux" |
| 2 | .SH "NAME" |
| 3 | ip-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" |
| 37 | IPv6 address label is used for address selection |
| 38 | described in RFC 3484. Precedence is managed by userspace, |
| 39 | and only label is stored in kernel. |
| 40 | |
| 41 | .SS ip addrlabel add - add an address label |
| 42 | the command adds an address label entry to the kernel. |
| 43 | .TP |
| 44 | .BI prefix " PREFIX" |
| 45 | .TP |
| 46 | .BI dev " DEV" |
| 47 | the outgoing interface. |
| 48 | .TP |
| 49 | .BI label " NUMBER" |
| 50 | the label for the prefix. |
| 51 | 0xffffffff is reserved. |
| 52 | .SS ip addrlabel del - delete an address label |
| 53 | the command deletes an address label entry in the kernel. |
| 54 | .B Arguments: |
| 55 | coincide with the arguments of |
| 56 | .B ip addrlabel add |
| 57 | but label is not required. |
| 58 | .SS ip addrlabel list - list address labels |
| 59 | the command show contents of address labels. |
| 60 | .SS ip addrlabel flush - flush address labels |
| 61 | the 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 |
| 68 | Manpage by Yoshifuji Hideaki / 吉藤英明 |
| 69 | |