length
, you must explicitly specify
le
with a
max-length
value that is greater than or equal to
min-
length
.)
no [ip | ipv6 prefix-list
name
]
Deletes the entire prefix list identified by
name
.
no [ip | ipv6 prefix-list
name
] [seq
seq-num
]
Deletes the entry with the specified sequence number from the prefix list identified by
name
.
Individual prefix list entries are made using separate commands in the general configuration context. All entries
that have the same prefix list name are part of the same prefix list. Thus, the following commands, taken from a
show running-config
listing, constitute two prefix lists.
ip prefix-list "Odd" seq 5 permit 10.1.1.1 255.255.255.0 ge 24 le 24
ip prefix-list "Odd" seq 10 deny 10.1.2.1 255.255.255.0 ge 24 le 24
ip prefix-list "Odd" seq 15 permit 10.1.3.1 255.255.255.0 ge 24 le 24
ip prefix-list "Odd" seq 20 deny 10.1.4.1 255.255.255.0 ge 24 le 24
ip prefix-list "Even" seq 5 deny 10.1.1.1 255.255.255.0 ge 24 le 24
ip prefix-list "Even" seq 10 permit 10.1.2.1 255.255.255.0 ge 24 le 24
ip prefix-list "Even" seq 15 deny 10.1.3.1 255.255.255.0 ge 24 le 24
ip prefix-list "Even" seq 20 permit 10.1.4.1 255.255.255.0 ge 24 le 24
.
.
.
Sequence numbers, which are optional, determine the order in which prefix list entries are evaluated during match
operations. If you do not specify a sequence number for an entry, the switch uses a number that is 5 more than
the highest sequence number already used in the list. (For the first entry in a prefix list, the default value of the
sequence number is 5.) You can insert a new entry in a prefix list between two entries already in the list by
specifying a sequence number for the new entry that is between the sequence numbers of the two existing
entries.
Entering a prefix list description
Use the following command to enter a description string into an existing prefix list:
Syntax:
[ip | ipv6 prefix-list
name
] [seq
seq-num
description
description-string
]
Enters a description into a prefix list.
[ip | ipv6]
Specifies an IPv4 (IP) or IPv6 prefix list.
name
Specifies the name of the prefix list to which this description will be added. The prefix list must already exist.
seq seq-num
Optionally specifies a sequence number for the description entry. The description is attached to the prefix list
entry identified by that sequence number. If the prefix list does not contain an entry with that sequence
number, no description is entered.
Chapter 12 Route Policy
267