The nat64 static command configures the static NAT64 mapping of the specified IPv6 address.
The undo nat64 static command deletes the static mapping of the specified IPv6 addresses.
nat64 static [ protocol icmp ] ipv6-address ipv4-address [urn-route ]
nat64 static protocol{ tcp | udp } ipv6-address [ ipv6-port ] ipv4-address [ ipv4-port ] [urn-route ]
undo nat64 static [ protocol icmp ] ipv6-address ipv4-address [urn-route ]
undo nat64 static protocol { tcp | udp } ipv6-address [ ipv6-port ] ipv4-address [ ipv4-port ] [urn-route ]
undo nat64 static all
| Parameter | Description | Value |
|---|---|---|
| protocol { icmp tcp | udp } | Indicates a protocol type. | - |
| ipv6-address | Indicates an IPv6 address. | - |
| ipv6-port | Indicates the IPv6 port. | The value is an integer ranging from 1 to 65535. |
| ipv4-address | Indicates an IPv6 address. | - |
| ipv4-port | Indicates the IPv4 port. | The value is an integer ranging from 1 to 65535. |
| unr-route | Delivers the UNR route to prevent routing loops. |
By default, no UNRs are delivered. If ipv6-address is the IP address of an interface connecting to an IPv6 network, UNRs are not required. |
| all | Indicates all NAT64 static mapping. | - |
When an IPv6 packet is transmitted to the IPv4 network, the source IP address is translated according to the static mapping configuration. This configuration can also be adopted to translate the destination IP address of IPv4 packets sent to the IPv6 network.