beautypg.com

Defining neighbor distribute lists – Brocade TurboIron 24X Series Configuration Guide User Manual

Page 744

background image

710

Brocade TurboIron 24X Series Configuration Guide

53-1003053-01

Filtering

The seq parameter is optional and specifies the IP prefix list sequence number. You
can configure up to 100 prefix list entries. If you do not specify a sequence number, the software
numbers them in increments of 5, beginning with prefix list entry 5. The software interprets the
prefix list entries in numerical order, beginning with the lowest sequence number.

The deny | permit parameter specifies the action the software takes if a neighbor route is in this
prefix list.

The prefix-list matches only on this network unless you use the ge or le
parameters. (See below.)

The / parameter specifies the network number and the number of bits
in the network mask.

You can specify a range of prefix length for prefixes that are more specific than
/.

If you specify only ge , then the mask-length range is from to 32.

If you specify only le , then the mask-length range is from length to .

The or you specify must meet the following condition.

length < ge-value <= le-value <= 32

If you do not specify ge or le , the prefix list matches only on the exact
network prefix you specify with the / parameter.

For the syntax of the neighbor command shown in the example above, refer to

“Adding BGP4

neighbors”

on page 671.

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.

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

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

This command configures the Layer 3 Switch to use ACL 1 to select the routes that the Layer 3
Switch will accept from neighbor 10.10.10.1.

Syntax: neighbor distribute-list in | out

The parameter specifies the neighbor.

The 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 Layer 3 Switch will accept from the neighbor.

out – controls the routes sent to the neighbor.

NOTE

The command syntax shown above is new. However, the neighbor distribute-list in | out
command (where the direction is specified before the filter number) is the same as in earlier
software releases. Use the new syntax when you are using an IP ACL with the distribute list. Use the
old syntax when you are using a BGP4 address filter with the distribute list.