# ip prefix-list

#### Syntax

ip prefix-list listName { description desc |
[ seq sequence ] { permit | deny } ipPrefix [ ge geNumber ] [ le leNumber ] }

no ip prefix-list listName [ description |
[ seq sequence ] [ { permit | deny } ipPrefix [ ge geNumber ] [ le leNumber ] ] ]

#### Release Information

Command introduced before JunosE Release 7.1.0.

#### Description

Creates a prefix list for route filtering; specifies a list entry—a permit or deny clause for a network address. The no version removes the specified prefix list or the specified list entry.

#### Options

- listName—Name of the prefix list; a string of up to 32 characters
- desc—Description of the prefix list
- sequence—Number in the range 0–65535 that indicates the position the prefix list entry is to have in the list of entries already configured for the prefix list; if sequence is not specified, the value of the last sequence number + 5 is used
- permit—If the prefix of the route being filtered matches the specified prefix and permit is specified, the route is redistributed as controlled by the set actions
- deny—If the prefix of the route being filtered matches the specified prefix and deny is specified, the route is not redistributed
- ipPrefix—Network route to be filtered, in the format network / length, where
  - network—Base address of the network route to be filtered; for example, 192.168.32.0 or 10.10.0.0
  - length—Length of the network prefix; number of bits masking base address to produce address to be matched
- geNumber—Route being filtered matches if its prefix is within the range specified: greater than or equal to geNumber and less than or equal to 32
- leNumber—Route being filtered matches if its prefix is within the range specified: greater than or equal to length and less than or equal to leNumber

#### Mode

Global Configuration