prefix(IPv6 address pool view)

Function

The prefix command binds an IPv6 prefix pool to an IPv6 address pool.

The undo prefix command unbinds an IPv6 prefix pool from an IPv6 address pool.

By default, no IPv6 prefix pool is bound to an IPv6 address pool.

This command is supported only on the NetEngine 8000 F1A.

Format

prefix prefix-name

undo prefix [ prefix-name ]

Parameters

Parameter Description Value
prefix-name

Specifies the name of an IPv6 prefix pool.

The name is a string of 1 to 32 case-insensitive characters without spaces.

Views

IPv6 address pool view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
ipv6pool write

Usage Guidelines

Usage Scenario

If you want the device to allocate addresses or prefixes for users, run this command to bind an IPv6 prefix pool to an IPv6 address pool.

Prerequisites

Before binding a prefix pool to an address pool, you must run the ipv6 prefix command to create the prefix pool.

Precautions

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

A prefix pool can be bound to only one address pool. Similarly, an address pool can be bound to only one prefix pool. The binding between address pools and prefix pools follows.

  • User-side local address pool: The prefix pool for binding can be the local prefix pool.
  • User-side delegation address pool: The prefix pool for binding can be the delegation prefix pool.
  • User-side relay address pool: The prefix pool for binding can be the local prefix pool.
  • User-side remote address pool: The prefix pool for binding can be the remote prefix pool.

Different prefix pools are used for different address allocation modes:

  • The local prefix pool is configured when the WAN interface address is allocated in ND prefix allocation or DHCPv6 IA_NA mode.
  • The delegation prefix pool is configured when the LAN interface prefix is allocated in ND prefix allocation or DHCPv6 PD mode.
  • The remote prefix pool is configured when the address or prefix is allocated by the remote server in DHCPv6 IA_NA/IA_PD mode.

If an IPv6 address pool is bound to a domain or a bas interface, the IPv6 prefix pool bound to the IPv6 address pool cannot be modified or deleted.

Example

# Bind an IPv6 prefix pool named prefix1 to a local address pool named pool1 in the view of pool1.
<HUAWEI> system-view
[~HUAWEI] ipv6 prefix prefix1 local
 Info: Create a prefix pool.
[*HUAWEI-ipv6-prefix-prefix1] commit
[~HUAWEI-ipv6-prefix-prefix1] quit
[~HUAWEI] ipv6 pool pool1 bas local
Info: Create an ipv6 pool.
[*HUAWEI-ipv6-pool-pool1] commit
[~HUAWEI-ipv6-pool-pool1] prefix prefix1
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >