< Home

excluded-address

Function

The excluded-address command specifies the range of the IPv6 addresses that cannot be automatically assigned to clients from the IPv6 address pool.

The undo excluded-address command deletes the specified range of the IPv6 addresses that cannot be automatically assigned to clients from the address pool.

By default, all IPv6 addresses in the address pool can be automatically assigned to clients.

Format

excluded-address start-ipv6-address [ to end-ipv6-address ]

undo excluded-address start-ipv6-address [ to end-ipv6-address ]

Parameters

Parameter

Description

Value

start-ipv6-address

Specifies the start IPv6 address that cannot be automatically assigned.

The value has 128 bits. It is represented as eight groups of four hexadecimal digits with the groups being separated by colons, in the format of X:X:X:X:X:X:X:X.

to end-ipv6-address

Specifies the end IPv6 address that cannot be automatically assigned.

The value has 128 bits. It is represented as eight groups of four hexadecimal digits with the groups being separated by colons, in the format of X:X:X:X:X:X:X:X.

end-ipv6-address and start-ipv6-address must be on the same network segment and end-ipv6-address must be greater than start-ipv6-address. If end-ipv6-address is not specified, only the start-ipv6-address cannot be automatically assigned.

Views

IPv6 address pool view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

The excluded-address command is used on DHCPv6 servers. In an address pool, some IPv6 addresses need to be reserved for other services, and some IPv6 addresses are statically assigned to certain hosts (such as the DNS server and Web server) and cannot be automatically assigned to clients. You can run the excluded-address command to specify the range of the IPv6 addresses that cannot be automatically assigned to clients from the IPv6 address pool.

Prerequisites

  1. An address pool has been created by using the dhcpv6 pool command.
  2. Bind an IPv6 address prefix to an address pool by using the address prefix

Precautions

  • The excluded IPv6 address or IPv6 address segment must be in the local address pool.
  • The excluded IPv6 address or IPv6 address segment cannot be automatically assigned to clients from a local address pool.
  • If you run the excluded-address command multiple times, you can specify multiple IPv6 addresses or IPv6 address segments that cannot be automatically assigned to clients.

Example

# Specify IPv6 addresses fc00:1::1 to fc00:1::10 not to be automatically allocated from the address pool global1.

<HUAWEI> system-view
[HUAWEI] dhcpv6 pool global1
[HUAWEI-dhcpv6-pool-global1] address prefix fc00:1::/64
[HUAWEI-dhcpv6-pool-global1] excluded-address fc00:1::1 to fc00:1::10
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >