lock(IPv6 address pool view)

Function

The lock command locks an IPv6 address pool. In this case, the IPv6 address pool is disabled.

The undo lock command unlocks an IPv6 address pool.

By default, IPv6 address pools are not locked.

This command is supported only on the NetEngine 8000 F1A.

Format

lock

undo lock

Parameters

None

Views

IPv6 address pool view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
ippool write

Usage Guidelines

Usage Scenario

The IPv6 address pool whose addresses are being used cannot be deleted. To delete an IPv6 address pool, you need to run the lock command in the view of the IPv6 address pool to lock it and then delete it after all online users are logged out.

After an IPv6 address pool is locked, its associated IPv6 prefix pool is disabled and cannot be used to assign IPv6 prefixes and DNS server addresses. In this case, you can use the undo lock command to unlock the IPv6 address pool.

Precautions

In VS mode, this command is supported only by the admin VS.

Users whose IP addresses are delivered by the RADIUS server from a locked address pool or whose prefixes are locked are not allowed to go online. If the users have gone online, they can renew the lease in this scenario.

Example

# Lock an IPv6 local address pool named pool1.
<HUAWEI> system-view
[~HUAWEI] ipv6 pool pool1 bas local
Info: Create an ipv6 pool.
[*HUAWEI-ipv6-pool-pool1] commit
[~HUAWEI-ipv6-pool-pool1] lock
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >