Cisco Cisco ASR 5000
Context Configuration Mode Commands I-M
ip prefix-list ▀
Command Line Interface Reference, StarOS Release 18 ▄
2575
network_address/net_mask
: the IP address and the length, in bits, of the network mask that defines the
prefix. The IP address and mask must be entered in IPv4dotted-decimal notation. When neither
ge
(greater
than or equal to) or
le
(less than or equal to) are specified an exact match is assumed.
ge ge_value
: Specifies the minimum prefix length to match as an integer from 0 through 32. If only the ge
value is specified, the range is from the ge value to 32. The ge value must be greater than
net_mask
and less
than the le value.
le le_value
: Specifies the maximum prefix length to match as an integer from 0 through 32. If only the le
value is specified, the range is from the
net_mask
to the le value. The le value must be less than or equal to
32.
The following equation describes the conditions that ge and le values must satisfy:
The following equation describes the conditions that ge and le values must satisfy:
net_mask < ge_value < le_value <= 32
Usage
Use this command to filter routes by their IP prefix.
Example
ip prefix-list name prelist10 seq 5 permit 192.168.100.0/8 ge 12 le 24