Configuring BGP4

To apply the IP Prefix List to a neighbor, use the following procedure:

1.In the tree view, click on the plus sign next to BGP under Configure to display the list of BGP configuration options.

2.Select the Neighbor link to display the BGP Neighbor panel.

3.Select the Prefix List link to display the BGP Neighbor Prefix List panel, as shown in the following example.

4.Select the neighbor’s IP address from the IP Address field’s pulldown menu.

NOTE: The address appears in this menu only if you have already configured the neighbor information on the routing switch.

5.Select the direction to which you are applying the prefix list by clicking next to In or Out.

In – The prefix list applies to routes received from the neighbor.

Out – The prefix list applies to routes destined to be sent to the neighbor.

6.Enter the prefix list name or ID in the Prefix List Name field.

7.Click the Add button to save the change to the device’s running-config file.

8.Select the Save link at the bottom of the dialog. Select Yes when prompted to save the configuration change to the startup-config file on the device’s flash memory.

Defining Neighbor Distribute Lists

A neighbor distribute list is a list of BGP4 address filters or ACLs that filter the traffic to or from a neighbor. To configure a neighbor distribute list, use either of the following methods.

USING THE CLI

To configure a distribute list that uses ACL 1, enter a command such as the following:

HP9300(config-bgp-router)# neighbor 10.10.10.1 distribute-list 1 in

This command configures the routing switch to use ACL 1 to select the routes that the routing switch will accept from neighbor 10.10.10.1.

Syntax: neighbor <ip-addr> distribute-list <name-or-num> in out

The <ip-addr> parameter specifies the neighbor.

The <name-or-num> parameter specifies the name or number of a standard, extended, or named ACL. The in out parameter specifies whether the distribute list applies to inbound or outbound routes:

in – controls the routes the routing switch will accept from the neighbor.

out – controls the routes sent to the neighbor.

10 - 57