The ipv6-prefix command configures a 6RD prefix and an IPv6 prefix length for a 6RD tunnel.
The undo ipv6-prefix command deletes the 6RD prefix and IPv6 prefix length of a 6RD tunnel.
By default, no 6RD prefix or IPv6 prefix length is configured for a 6RD tunnel.
Parameter | Description | Value |
---|---|---|
ipv6-address |
Specifies a IPv6 prefix. |
The address is a 32-bit hexadecimal number, in the format of X:X:X:X:X:X:X:X. |
prefix-length |
Specifies the prefix length of an IPv6 address. |
The value is an integer ranging from 1 to 64. |
ipv6-prefix-mask |
Specifies a 6RD prefix. |
IPv6 address /IPv6 address prefix length. |
Usage Scenario
A 6RD prefix is the IPv6 prefix assigned by a carrier for a 6RD address. The 6RD delegated prefix is calculated by combining the 6RD prefix and part or all bits of an IPv4 address. The 6RD delegated prefix is used to assign IPv6 address prefixes to devices or hosts in a 6RD domain.
To configure the 6RD prefix of a 6RD tunnel, run the ipv6-prefix command.Prerequisites
The tunnel encapsulation mode has been set to 6RD using the tunnel-protocol ipv6-ipv4 6rd command.
Precautions
A 6RD delegated prefix is composed of a 6RD prefix and part or all bits of the source tunnel (IPv4) address, with a length not exceeding 64 bits.