Configuring BGP

Configuring Basic BGP Features

Command

Purpose

 

 

Router(config-router)# ip prefix-list

Enables the automatic generation of the sequence numbers of

sequence-number

prefix list entries. The default is enable.

 

 

If you disable automatic generation of sequence numbers in a prefix list, you must specify the sequence number for each entry using the sequence-valueargument of the ip prefix-listglobal configuration command.

Regardless of whether the default sequence numbers are used in configuring a prefix list, a sequence number need not be specified when deconfiguring an entry. show commands include the sequence numbers in their output.

Deleting a Prefix List or Prefix List Entries

To delete a prefix list, use the following command in router configuration mode:

Command

Purpose

 

 

Router(config-router)# no ip prefix-listlist-name

Deletes a prefix list.

 

 

You can delete entries from a prefix list individually. To delete an entry in a prefix list, use the following command in router configuration mode:

Command

Purpose

 

 

Router(config-router)# no ip prefix-list seq

Deletes an entry in a prefix list.

sequence-value

 

 

 

Note The sequence number of an entry need not be specified when you delete the entry.

Displaying Prefix Entries

To display information about prefix tables, prefix table entries, the policy associated with a node, or specific information about an entry, use the following commands in EXEC mode as needed:

Command

Purpose

 

 

Router# show ip prefix-list [detail summary]

Displays information about all prefix lists.

 

 

Router# show ip prefix-list [detail summary]

Displays a table showing the entries in a prefix list.

prefix-list-name

 

 

 

Router# show ip prefix-list prefix-list-name

Displays the policy associated with the node.

[network/length]

 

 

 

Router# show ip prefix-list prefix-list-name[seq

Displays the prefix list entry with a given sequence number.

sequence-number]

 

 

 

Cisco IOS IP Configuration Guide

IPC-307

Page 353
Image 353
Cisco Systems 78-11741-02 manual Deleting a Prefix List or Prefix List Entries, Displaying Prefix Entries, IPC-307