< Home

nat64 prefix

Function

The nat64 prefix command configures NAT64 prefix.

The undo nat64 prefix command cancels the configuration.

Format

nat64 prefix prefix prefix-length

undo nat64 prefix prefix prefix-length

Parameters

Parameter Description Value

prefix

Indicates the IPv6 address prefix.

-

prefix-length

Indicates the prefix length.

The value can be 32,40,48,56,64 or 96.

Views

System view

Default Level

2: Configuration level

Usage Guidelines

The NAT64 prefix must be different from the IPv6 interface address prefix.

This command is used to configure the global NAT64 prefix. If no specified global NAT64 prefix is available, the well known prefix 64:FF9B::/96 takes effect by default.

Example

# Set the NAT64 prefix to 2001::/32.

<sysname> system-view
[sysname] nat64 prefix 2001:: 32
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >