Configuring IP Unicast Routing
Configuring Prefix Lists for BGP Filtering
You do not need to specify a sequence number when removing a configuration entry. Show commands include
the sequence numbers in their output.
Before using a prefix list in a command, you must set up the prefix list.
Procedure
Step 1
Step 2
Step 3
Step 4
Step 5
Command or Action
configure terminal
Example:
Device# configure terminal
ip prefix-list list-name [seq seq-value] deny
| permit network/len [ge ge-value] [le le-value]
Example:
Device(config)# ip prefix-list BLUE
permit 172.16.1.0/24
ip prefix-list list-name seq seq-value deny |
permit network/len [ge ge-value] [le le-value]
Example:
Device(config)# ip prefix-list BLUE seq
10 permit 172.24.1.0/24
end
Example:
Device(config)# end
show ip prefix list [detail | summary] name
[network/len] [seq seq-num] [longer]
[first-match]
Example:
Device# show ip prefix list summary
test
Routing Configuration Guide, Cisco IOS XE Everest 16.6.x (Catalyst 9500 Switches)
Configuring Prefix Lists for BGP Filtering
Purpose
Enters the global configuration mode.
Creates a prefix list with an optional sequence
number to deny or permit access for matching
conditions. You must enter at least one permit or
deny clause.
• network/len is the network number and
length (in bits) of the network mask.
• (Optional) ge and le values specify the range
of the prefix length to be matched.The
specified ge-value and le-value must satisfy
this condition: len < ge-value < le-value <
32
(Optional) Adds an entry to a prefix list, and assign
a sequence number to the entry.
Returns to privileged EXEC mode.
Verifies the configuration by displaying
information about a prefix list or prefix list entries.
135
Need help?
Do you have a question about the Catalyst 9500 series and is the answer not in the manual?
Questions and answers