5000 Series Layer 2/3 Managed Data Center Switch CLI Reference Guide
676
le length
(Optional) If this option is configured, then a prefix is only considered a
match if its network mask length is less than or equal to this value. This
value must be longer than the ge length and less than or equal to 32.
renumber renumber-interval
first-statement-number
(Optional) Provides the option to renumber the sequence numbers of
the IP prefix list statements with a given interval starting from a
particular sequence number. The valid range for renumber-interval is 1-
100, and the valid range for first-statement-number is 1-1000.
Default
Prefix lists are not configured by default. When neither the
ge
nor the
le
option
is configured, the
destination prefix must match the network/length exactly. If the
ge
option is configured without the
le
option, any prefix with a network mask greater than or equal to the
ge
value is considered a match.
Similarly, if the
le
option is configured without the ge option, a prefix with a network mask less than or
equal to the le value is considered a match.
Command Mode
Global Config
Example
The following example configur
es a prefix list that allows routes with one of two specific destination
prefixes, 172.20.0.0/16 and 192.168.1.0/24.
(Routing)(Config)#ip prefix-list apple seq 16 permit 172.20.0.0/16
(Routing)(Config)#ip prefix-list apple seq 20 permit 192.168.10/24
The following example disallows only the default route.
(Routing)(Config)#ip prefix-list orange deny 0.0.0.0/0
(Routing)(Config)#ip prefix-list orange permi 0.0.0.0/0 ge 1
7-52
ip prefix-list description
To apply a text description to a prefix list, use the
ip prefix-list description
command in Global
Configuration mode.
No
command removes the text description.
ip prefix-list list-name description text
no ip prefix-list list-name description
Parameters
list-name
The text name of the prefix list.
text
Text description of the prefix list. Up to 80 characters.
Default
No description is configured.