Step 1 |
enable
|
Enables privileged EXEC mode.
|
Step 2 |
configure terminal
Device# configure terminal
|
Enters global configuration mode.
|
Step 3 |
ipv6 unicast-routing
Device(config)# ipv6 unicast-routing
|
Enables the forwarding of IPv6 unicast datagrams.
|
Step 4 |
interface type number
Device(config)# interface gigabitethernet 0/0/0
|
Configures an interface type and enters interface configuration mode.
|
Step 5 |
description string
Device(config-if)# description interface facing ipv6
|
Adds a description to an interface configuration.
|
Step 6 |
ipv6 enable
Device(config-if)# ipv6 enable
|
Enables IPv6 processing on an interface.
|
Step 7 |
ipv6 {ipv6-address/prefix-length | prefix-name sub-bits/prefix-length}
Device(config-if)# ipv6 2001:DB8:1::1/96
|
Configures an IPv6 address based on an IPv6 general prefix and enables IPv6 processing on an interface.
|
Step 8 |
nat64 enable
Device(config-if)# nat64 enable
|
Enables Stateful NAT64 translation on an IPv6 interface.
|
Step 9 |
exit
|
Exits interface configuration mode and enters global configuration mode.
|
Step 10 |
interface type number
Device(config)# interface gigabitethernet 1/2/0
|
Configures an interface type and enters interface configuration mode
|
Step 11 |
description string
Device(config-if)# description interface facing ipv4
|
Adds a description to an interface configuration.
|
Step 12 |
ip address ip-address mask
Device(config-if)# ip address 209.165.201.24 255.255.255.0
|
Configures an IPv4 address for an interface.
|
Step 13 |
nat64 enable
Device(config-if)# nat64 enable
|
Enables Stateful NAT64 translation on an IPv4 interface.
|
Step 14 |
exit
|
Exits interface configuration mode and enters global configuration mode.
|
Step 15 |
ipv6 access-list access-list-name
Device(config)# ipv6 access-list nat64-acl
|
Defines an IPv6 access list and enters IPv6 access list configuration mode.
|
Step 16 |
permit ipv6 ipv6-address any
Device(config-ipv6-acl)# permit ipv6 2001:DB8:2::/96 any
|
Sets permit conditions for an IPv6 access list.
|
Step 17 |
exit
Device(config-ipv6-acl# exit
|
Exits IPv6 access list configuration mode and enters global configuration mode.
|
Step 18 |
nat64 prefix stateful ipv6-prefix/length
Device(config)# nat64 prefix stateful 2001:DB8:1::1/96
|
Enables NAT64 IPv6-to-IPv4 address mapping.
|
Step 19 |
nat64 v4 pool pool-name start-ip-address end-ip-address
Device(config)# nat64 v4 pool pool1 209.165.201.1 209.165.201.254
|
Defines the Stateful NAT64 IPv4 address pool.
|
Step 20 |
nat64 v6v4 list access-list-name pool pool-name
Device(config)# nat64 v6v4 list nat64-acl pool pool1
|
Dynamically translates an IPv6 source address to an IPv6 source address and an IPv6 destination address to an IPv4 destination
address for NAT64.
|
Step 21 |
end
|
Exits global configuration mode and enters privileged EXEC mode.
|