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. To configure prefix list for BGP filtering, perform this procedure: Procedure Configuring BGP Configuring Prefix Lists for BGP Filtering Command or Action Purpose Device(config)# end Step 7 show ip bgp neighbors [paths regular-expression] Example: Device# show ip bgp neighbors Verifies the configuration. Step 8 copy running-config startup-config Example:
Device# copy running-config startup-config (Optional) Saves your entries in the configuration file. Command or Action Purpose Step 1 enable Example: Device> enable Enables privileged EXEC mode. Enter your password if prompted. Step 2 configure terminal Example: Device# configure terminal Enters global configuration mode. Step 3 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 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. Configuring BGP 25