Configuring BGP4
Defining IP Prefix Lists
An IP prefix list specifies a list of networks. When you apply an IP prefix list to a neighbor, the routing switch sends or receives only a route whose destination is in the IP prefix list. You can configure up to 100 prefix lists. The software interprets the prefix lists in order, beginning with the lowest sequence number.
USING THE CLI
To configure an IP prefix list and apply it to a neighbor, enter commands such as the following:
HP9300(config)# ip
These commands configure an IP prefix list named Routesfor20, which permits routes to network 20.20.0.0/24. The neighbor command configures the routing switch to use IP prefix list Routesfor20 to determine which routes to send to neighbor 10.10.10.1. The routing switch sends routes that go to 20.20.x.x to neighbor 10.10.10.1 because the IP prefix list explicitly permits these routes to be sent to the neighbor.
Syntax: ip
The <name> parameter specifies the prefix list name. You use this name when applying the prefix list to a neighbor.
The description <string> parameter is a text string describing the prefix list.
The seq
The deny permit parameter specifies the action the software takes if a neighbor’s route is in this prefix list.
The
The
You can specify a range of prefix length for prefixes that are more specific than
•If you specify only ge
•If you specify only le
length <
If you do not specify ge
For the syntax of the neighbor command shown in the example above, see “Adding BGP4 Neighbors” on page
USING THE WEB MANAGEMENT INTERFACE
To configure an IP Prefix List, use the following procedure:
1.Log on to the device using a valid user name and password for
2.Click on the plus sign next to Configure in the tree view to display the list of configuration options.
3.Click on the plus sign next to IP to display the list of IP configuration options.
4.Select the Prefix List link.
•If the device does not have any prefix list ACLs, the IP Prefix List panel is displayed, as shown in the following example.
10 - 55