
C613-50186-01 Rev B
Command Reference for AR2050V
1187
AlliedWare Plus™ Operating System - Version 5.4.7-1.x
BGP
AND
BGP4+ C
OMMANDS
IPV
6
PREFIX
-
LIST
(IP
V
6 P
REFIX
L
IST
)
ipv6 prefix-list (IPv6 Prefix List)
Overview
Use this command to create an IPv6 prefix list or an entry in an existing prefix list.
Use the
no
variant of this command to delete a whole prefix list or a prefix list entry.
Syntax
ipv6 prefix-list <
list-name
> [seq <
1-429496725
>] {deny|permit}
{any|<
ipv6-prefix
>} [ge <
0-128
>] [le <
0-128
>]
ipv6 prefix-list
<list-name>
description
<text>
no ipv6 prefix-list <
list-name
> [seq <
1-429496725
>]
no ipv6 prefix-list
<list-name>
[description
<text>
]
Mode
Global Configuration
Usage
When the device processes a prefix list, it starts to match prefixes from the top of
the prefix list, and stops whenever a permit or deny occurs. To promote efficiency,
use the
seq
parameter and place common permits or denials towards the top of
the list. If you do not use the
seq
parameter, the sequence values are generated in
a sequence of 5.
The parameters
ge
and
le
specify the range of the prefix lengths to be matched.
The parameters
ge
and
le
are only used if an ip-prefix is stated. When setting
these parameters, set:
•
the
le
value to be less than 128, and
•
the
ge
value to be less than or equal to the
le
value, and greater than the
ip-prefix mask length.
Prefix lists implicitly exclude prefixes that are not explicitly permitted in the prefix
list. This means if a prefix that is being checked against the prefix list reaches the
end of the prefix list without matching a permit or deny, this prefix will be denied.
Parameter
Description
<list-name>
Specifies the name of a prefix list.
seq <
1-429496725
>
Sequence number of the prefix list entry.
deny
Specifies that the prefixes are excluded from the list.
permit
Specifies that the prefixes are included in the list.
<ipv6-prefix>
Specifies the IPv6 prefix and prefix length in hexadecimal
in the format X:X::X:X/M.
any
Any prefix match. Same as : :0/0 le 128.
ge <
0-128
>
Specifies the minimum prefix length to be matched.
le <
0-128
>
Specifies the maximum prefix length to be matched.
description
Prefix list specific description.
<text>
Up to 80 characters of text description of the prefix list.