excluded-ipv6-prefix

Function

The excluded-ipv6-prefix command reserves the specified IPv6 prefix to prevent it from being allocated to users.

The undo excluded-ipv6-prefix command releases the reserved IPv6 prefix.

By default, no IPv6 prefix is reserved.

This command is supported only on the NetEngine 8000 F1A.

Format

excluded-ipv6-prefix start-ipv6-prefix/prefix-length [ end-ipv6-prefix/prefix-length ]

undo excluded-ipv6-prefix start-ipv6-prefix/prefix-length [ end-ipv6-prefix/prefix-length ]

Parameters

Parameter Description Value
start-ipv6-prefix/prefix-length

Specifies the start IPv6 prefix or prefix length.

The address is a 32-digit hexadecimal number, in the format of X:X::X:X/M.

end-ipv6-prefix/prefix-length

Specifies the end IPv6 prefix or prefix length.

The address is a 32-digit hexadecimal number, in the format of X:X::X:X/M.

Views

IPv6 prefix pool view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
ipv6pool write

Usage Guidelines

Usage Scenario

To reserve some IPv6 prefixes for future use in network planning, run the excluded-ipv6-prefix command.

Prerequisites

The IPv6 prefix to be reserved must be within the allocatable range of the prefix pool.

Configuration Impact

If the command is run several times, all the reserved IPv6 prefixes cannot be allocated to users.

Precautions

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

When no end IPv6 prefix is configured, only the start IPv6 prefix is reserved.

A maximum of 1024 IPv6 prefix segments can be reserved in a prefix pool.

The command is used to configure the delegation prefix pool.

Example

# Reserve the IPv6 prefix 2001:DB8::/64 in the prefix pool.
<HUAWEI> system-view
[~HUAWEI] ipv6 prefix pre2 delegation
  Info:Create a prefix pool
[~HUAWEI-ipv6-prefix-pre2] commit
[~HUAWEI-ipv6-prefix-pre2] prefix 2001:DB8::/60
[*HUAWEI-ipv6-prefix-pre2] excluded-ipv6-prefix 2001:DB8::/64
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >