Prefix-list entry
Range
Try
Generated configuration
Prefix lengths
Shorter than the prefix (never matches)
Lengths that match
Longer than the range
Bit map of the network
Fixed: must equal the prefix
Can vary within matched subnets
Host bits, beyond the longest match
Subnets that match, by length
Test a route
Range matching notes
prefix/len alone matches only that exact prefix and length.
ge N matches lengths N up to /32 (or /128 for IPv6). le N matches lengths from the prefix length up to N. Both together match Nge through Nle.
IOS requires len < ge ≤ le ≤ 32, and len < le when only LE is used. A route matches when its first len bits equal the prefix and its length falls inside the range.