C613-50170-01 Rev B
Command Reference for x510 Series
1551
AlliedWare Plus™ Operating System - Version 5.4.7-1.x
IP
V
4 S
OFTWARE
A
CCESS
C
ONTROL
L
IST
(ACL) C
OMMANDS
IP
PREFIX
-
LIST
ip prefix-list
Overview
Use this command to create an entry for an IPv4 prefix list.
Use the
no
variant of this command to delete the IPv4 prefix-list entry.
Syntax
ip prefix-list <
list-name
> [seq <
1-429496725
>] {deny|permit}
{any|<
ip-prefix
>} [ge <
0-32
>] [le <
0-32
>]
ip prefix-list
<list-name>
description
<text>
ip prefix-list sequence-number
no ip prefix-list <
list-name
> [seq <
1-429496725
>]
no ip prefix-list
<list-name>
[description
<text>
]
no ip prefix-list sequence-number
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.
When setting these parameters, set the
le
value to be less than 32, 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.
<ip-prefix>
Specifies the IPv4 address and length of the network
mask in dotted decimal in the format A.B.C.D/M.
any
Any prefix match. Same as
0.0.0.0/0 le 32
.
ge<
0-32
>
Specifies the minimum prefix length to be matched.
le<
0-32
>
Specifies the maximum prefix length to be matched.
<text>
Text description of the prefix list.
sequence-number
Specify sequence numbers included or excluded in prefix
list.