< Home

ipv6 enable (interface view)

Function

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

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

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

Format

ipv6 enable

undo ipv6 enable

Parameters

None

Views

Interface view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

You can perform IPv6 configurations on an interface only when the interface has the IPv6 function enabled.

Prerequisites

The ipv6 command has been run in the system view.

Follow-up Procedure

Configure IPv6 addresses and ND parameters. ND parameters include the M flag, O flag, RA halt flag, interval for sending RA packets, lifetime of RA packets, interval for sending NS packets, DAD counts, period during which the IPv6 neighbor keeps reachable, prefix carried in the RA packet, and static ND entries.

Precautions

After the IPv6 function is disabled on an interface, IPv6 configurations on the interface are deleted.
  • After the IPv6 function is disabled on an interface, IPv6 addresses of the interface are deleted and IPv6 commands cannot be configured on the interface.
  • After the IPv6 function is disabled on an interface, IS-IS IPv6 and RIPng are disabled on the interface. That is, the isis ipv6 enable and ripng enable commands become ineffective.

When system resources are insufficient, the ipv6 enable command does not take effect and an alarm is generated. The alarm ID is 1.3.6.1.4.1.2011.5.25.227.2.1.22.

Example

# Enable the IPv6 function on VLANIF10.

<HUAWEI> system-view
[HUAWEI] ipv6
[HUAWEI] interface vlanif 10
[HUAWEI-Vlanif10] ipv6 enable

# Enable the IPv6 function on GE0/0/1.

<HUAWEI> system-view
[HUAWEI] ipv6
[HUAWEI] interface gigabitethernet 0/0/1
[HUAWEI-GigabitEthernet0/0/1] undo portswitch
[HUAWEI-GigabitEthernet0/0/1] ipv6 enable
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >