# exclude-prefix

#### Syntax

[ no ] exclude-prefix Ipv6Prefix [ endIpv6prefix ]

#### Release Information

Command introduced in JunosE Release 10.1.0.

#### Description

Specifies the IPv6 prefix or range of prefixes to exclude from being allocated to the requesting router. You can exclude those prefixes that have been assigned to local interfaces from being delegated to the DHCPv6 clients. The no version removes the IPv6 prefix or prefix range from the exclusion set and makes it available again for delegation to clients.

| Note: If you attempt to exclude a prefix range that overlaps with another prefix range that has been already excluded from delegation to clients in the IPv6 local address pool, an error message is displayed and the configuration fails.

#### Options

- Ipv6Prefix—IPv6 prefix or the starting IPv6 prefix of the range of prefixes to be excluded from being delegated to the requesting router.
- endIpv6Prefix—Ending prefix of the range of IPv6 prefixes to be excluded from being delegated to the requesting router. If you specify this value, all prefixes from the starting IPv6 prefix up to this prefix are excluded from allocation.

#### Mode

IPv6 Local Pool Configuration