ipv6policy Command
Purpose
Configures or displays IPv6 policies for the default address selection that is based on RFC 3484.
Syntax
ipv6policy -add address prefix precedence label
ipv6policy -delete address prefix precedence label
ipv6policy -show
Description
You can use the ipv6policy command to configure IPv6 policies that override the default behavior of algorithms in RFC 3484.
Flags
Item | Description |
---|---|
-add | Adds new IPv6 policies to the system. |
-delete | Deletes IPv6 policies from the system. |
-show | Displays all existing IPv6 policies that are defined on the system. |
Parameters
Item | Description |
---|---|
address | Specifies a valid IPv6 address. |
prefix | Specifies an IPv6 prefix (a valid integer) according to RFC 3484. |
precedence | Specifies a precedence value (a valid integer) according to RFC 3484. |
label | Specifies a label value (a valid integer) according to RFC 3484. |
Examples
To add a new ipv6 policy to the
system for the address
2001::
with prefix=16
, precedence=10
,
and label=20
, enter the following command as a root
user: ipv6policy -add 2001:: 16 10 20