< Home

nat64 enable

Function

The nat64 enable command enables the NAT64 function.

The undo nat64 enable command disables the NAT64 function.

Format

nat64 enable

undo nat64 enable

Parameters

None

Views

System view and interface view

Default Level

2: Configuration level

Usage Guidelines

Before NAT64, you can run the nat64 enable command on a specified interface to enable NAT64 on the interface. Or, you can run the nat64 enable command in the system view to enable NAT64 globally. In this manner, NAT64 is enabled on all interfaces.

If NAT64 is disabled in the system view but enabled on a specific interface, NAT64 takes effect only on this interface.

The global NAT64 function supports hot standby but the NAT64 function on an interface does not.

By default, NAT64 is disabled globally and on interfaces.

Example

# Enable the NAT64 function on the GigabitEthernet 0/0/2.

<sysname> system-view
[sysname] interface GigabitEthernet 0/0/2
[sysname-GigabitEthernet 0/0/2] nat64 enable
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >