ipv6 enable

Function

The ipv6 enable command enables the IPv6 capability on an interface.

The undo ipv6 enable command disables the IPv6 capability on an interface.

By default, the IPv6 capability is disabled on an interface.

Format

ipv6 enable

undo ipv6 enable

Parameters

None

Views

100ge sub-interface view, 100GE interface view, 10GE sub-interface view, 10GE interface view, 200GE sub-interface view, 25GE sub-interface view, 25GE interface view, 400GE sub-interface view, 400GE interface view, 40GE sub-interface view, 40GE interface view, 50GE sub-interface view, 50GE interface view, Eth-Trunk sub-interface view, Eth-Trunk interface view, FlexE interface view, GE optical interface view, GE sub-interface view, GE interface view, GE electrical interface view, Global VE sub-interface view, Loopback interface view, PW-VE sub-interface view, PW-VE interface view, Tunnel interface view, VBDIF interface view, VE sub-interface view, VLANIF interface view, Management interface view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
interface-mgr write

Usage Guidelines

Usage Scenario

You can perform other IPv6 configurations on an interface only when IPv6 is enabled in the interface view.

Configuration Impact

After the IPv6 function is disabled on the interface, the IPv6 addresses of the interface are deleted and IPv6-related commands no longer can be configured on the interface.

Follow-up Procedure

Perform IPv6-related configurations, including configuring IPv6 addresses and ND-related parameters (M flag, O flag, RA halt flag, interval for sending RA messages, lifetime of RA messages, interval for sending NS messages, DAD times, time period during which the IPv6 neighbor keeps reachable, prefix carried in the RA message, and static ND entries).

Precautions

After you disable IPv6 on an interface, IPv6-related configurations are removed. For example, after IPv6 is disabled on an interface, IS-IS IPv6 and RIPng on the interface are also disabled. That is, the isis ipv6 enable and ripng enable commands become invalid. The ipv6 enable and ccc commands cannot be used together. If both commands are used, IPv6 routes cannot be used to forward traffic.

Example

# Enable the IPv6 capability on GigabitEthernet 0/1/1.
<HUAWEI> system-view
[~HUAWEI] interface GigabitEthernet 0/1/1
[~HUAWEI-GigabitEthernet0/1/1] ipv6 enable
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >