IPv6 Prefix List Commands
OL-32830-01 Command Line Interface Reference Guide
prefix length greater than, or equal to, a value is specified using the ge keyword.
The ge and le keywords can be used to specify the range of the prefix length to be
matched in more detail than the usual
For a candidate prefix to match against a prefix list entry the following conditions
must exist:
•
The candidate prefix must match the specified prefix list and prefix length
entry
•
The value of the optional le keyword specifies the range of allowed prefix
lengths from 0 up to the value of the
value.
•
The value of the optional ge keyword specifies the range of allowed prefix
lengths from the value of the
Note that the first condition must match before the other conditions take effect.
An exact match is assumed when the ge or le keywords are not specified. If only
one keyword operand is specified then the condition for that keyword is applied,
and the other condition is not applied. The
the ge value. The ge value must be less than, or equal to, the le value. The le value
must be less than or equal to 128.
Every IPv6 prefix list, including prefix lists that do not have permit and deny
condition statements, has an implicit deny any any statement as its last match
condition.
Formal Specification
Checked prefix is cP and checked prefix length is cL.
Function PrefixIsEqual(P1, P2, L) compares the first L bits of two addresses P1 and
P2 and returns TRUE if they are equal.
Case 1. A prefix-list entry is:
•
P - prefix address
•
L - prefix length
•
ge - is not defined
•
le - is not defined
The prefix cP/cL matches the prefix-list entry if PrefixIsEqual(cP,P,L) && cL == L
Case 2. An prefix-list entry is:
•
P - prefix address
ipv6-prefix
prefix-length
/
le-length
argument, and including, this
ge-length
argument up to, and including, 128.
prefix-length
value must be less than
26
argument.
600