Reference Guide

ip prefix-list
Enter the PREFIX-LIST mode and configure a prefix list.
C-Series, E-Series, S-Series, Z-Series
Syntax
ip prefix-list prefix-name
To delete a prefix list, use the no ip prefix-list prefix-name command.
Parameters
prefix-name
Enter a string up to 16 characters long as the name of the prefix list,
up to 140 characters long.
Command Modes CONFIGURATION
Command History
Version 8.3.11.1 Introduced on the Z9000.
Version 8.1.1.0 Introduced on the E-Series ExaScale.
Version 7.8.1.0 Increased the name string to accept up to 140 characters. Prior to
7.8.1.0, names are up to 16 characters long.
Version 7.6.1.0 Introduced on the S-Series.
Version 7.5.1.0 Introduced on the C-Series.
pre-Version
6.2.1.1
Introduced on the E-Series.
Usage
Information
Prefix lists redistribute OSPF and RIP routes meeting specific criteria. For related RIP
commands supported on C-Series and E-Series, refer to Routing Information Protocol (RIP). For
related OSPF commands supported on all three platforms, refer to the Open Shortest Path First
(OSPFv2 and OSPFv3) section in the
E-Series FTOS Command Line Reference Guide
.
Related
Commands
show ip route list – displays IP routes in an IP prefix list.
show ip prefix-list summary – displays a summary of the configured prefix lists.
permit
Configure a filter that passes packets meeting the criteria specified.
C-Series, E-Series, S-Series, Z-Series
Syntax
permit ip-prefix [ge min-prefix-length] [le max-prefix-length]
To delete a forward filter, use the no permit ip-prefix command.
Parameters
ip-prefix
Specify an IP prefix in the network/length format. For example,
35.0.0.0/8 means match the first 8 bits of address 35.0.0.0.
ge
min-prefix-
length
(OPTIONAL) Enter the keyword ge and then enter the minimum prefix
length, which is a number from zero (0) to 32.
305