ipv6 prefix

Function

The ipv6 prefix command creates an IPv6 prefix pool and displays the IPv6 prefix pool view, or directly enters the IPv6 prefix pool view if the IPv6 prefix pool already exists.

The undo ipv6 prefix command deletes an IPv6 prefix pool.

By default, no IPv6 prefix pool is created on a device.

This command is supported only on the NetEngine 8000 F1A.

Format

ipv6 prefix prefix-name [ local | delegation | remote ]

undo ipv6 prefix prefix-name

Parameters

Parameter Description Value
prefix-name

Specifies the name of the IPv6 prefix pool to be created.

The value is a sting of 1 to 32 case-insensitive characters. It cannot contain spaces. The value can be a combination of letters, digits, dots (.), hyphens (-), and underscores (_). The value cannot be only one hyphen (-) or two consecutive hyphens (--).

local

Configures a local prefix pool. After IPv6 prefixes are configured in a local prefix pool on a device, and the local prefix pool is bound to a local address pool, the device functions as a server and assigns IPv6 prefixes or IPv6 addresses to users.

-

delegation

Configures a delegation prefix pool. After an IPv6 delegation prefix pool is bound to an IPv6 delegation address pool on a device, the device functions as a delegating router and assigns IPv6 prefixes to requesting routers. Requesting routers use these IPv6 prefixes exclusively.

-

remote

Configures a remote prefix pool. After a remote IPv6 prefix pool is bound to a remote IPv6 address pool on a remote device, the remote device functions as a DHCP server and assigns IPv6 prefixes or IPv6 addresses to users.

-

Views

System view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
ippool write

Usage Guidelines

Usage Scenario

A delegation prefix pool is used in the prefix delegation (PD) scenario. The PD scenario involves two roles: delegating routers and requesting routers. Requesting routers apply to delegating routers for IPv6 prefixes and release of IPv6 prefixes as required. Delegating routers, which can be BRAS device or servers, are used to configure IPv6 network segments and assign address segments according to the requests of requesting routers.

A dynamic prefix pool functions as the client of a DAP IPv6 resource pool to assign prefixes to users.

After a prefix pool is configured, you must bind it to an address pool. Only one prefix pool can be bound to an address pool. The binding relationship is as follows:

  • A local prefix pool or a dynamic prefix pool can be bound to a user-side local address pool (if the prefix-shared command is run).
  • A delegation prefix pool or a dynamic prefix pool can be bound to a user-side delegation address pool (if the prefix-shared command is run).
  • A local prefix pool can be bound to a user-side relay address pool.
  • A remote prefix pool can be bound to a user-side remote address pool.

Precautions

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

Example

# Configure a local prefix pool named prefix1.
<HUAWEI> system-view
[~HUAWEI] ipv6 prefix prefix1 local
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >