R3303-HP HSR6800 Routers Layer 3 - IP Services Configuration Guide

213
Step Command Remarks
2. Configure an AFT IPv4
address pool.
aft address-group group-number
start-ipv4-address end-ipv4-address
Required for type 1
and type 3.
Ignored for type 2
and type 4.
3. Configure the 6to4 AFT
policy.
Associate an IPv6 ACL with an address pool:
aft v6tov4 acl6 number acl6-number
address-group group-number [ no-pat ]
Associate an IPv6 ACL with an interface
address:
aft v6tov4 acl6 number acl6-number interface
interface-type interface-number
Associate a DNS64 prefix with an address
pool:
aft v6tov4 prefix-dns64 dns64-prefix
prefix-length address-group group-number
[ no-pat ]
Associate a DNS64 prefix with an interface
address:
aft v6tov4 prefix-dns64 dns64-prefix
prefix-length interface interface-type
interface-number
Configure one of
them.
Configuring 4to6 AFT policies
When the communication is initiated by an IPv4 host, the source and destination IPv4 addresses are
translated into IPv6 addresses based on two 4to6 AFT policies.
One 4to6 AFT policy is used for source address translation, and the other is for destination address
translation.
Policy for the source IPv4 address translation—If the packet matches the specified ACL, the AFT
translates the source address into an IPv6 address by using the specified DNS64 prefix. If not, the
AFT translates the address into an IPv6 address by using the first configured DNS64 prefix in system
view.
Policy for destination IPv4 address translation—If the destination IPv4 address matches the
specified ACL, the AFT translates the address into an IPv6 address by using the specified IVI prefix.
If not, the address is not translated and the packet is forwarded according to the destination IPv4
address.
To configure 4to6 AFT policy:
Ste
p
Command
Remarks
1. Enter system view.
system-view N/A
2. Configure the 4to6 AFT policy
for source address translation.
aft v4tov6 acl number acl-number prefix-dns64
dns64-prefix prefix-length
Optional.