PREV NEXT INDEX

Avici Systems Inc.


neighbor filter-list


Applies a filter list onto route updates from/to a BGP neighbor.

Syntax: [no] neighbor {ip-address | peer-group-name} filter-list list-name {in | out | weight}

ip-address

IP address of a BGP neighbor.

peer-group-name

Name of a BGP peer group.

list-name

Name of a filter list.

in

Access list is applied to incoming routes.

out

Access list is applied to outgoing routes.

weight

Assigns a weight to incoming routes that match filter list entries. Valid values are 0 to 65535.

Description: Access lists enable you to restrict the routing information that BGP learns or advertises to and from neighbors and peer groups.

Use the neighbor filter-list command to apply a filter list onto route updates to and from a BGP peer.

If you apply a filter list to an individual IP address, you override the filtering defined for a peer group that includes that IP address.

Use the ip-address parameter to apply the specified filter list to route updates to and/or from a BGP neighbor.

Use the peer-group-name parameter to apply the specified filter list to route updates to and/or from members of a peer group.

Use the in argument to filter incoming route updates.

Use the out argument to filter outgoing route updates.

Use the weight keyword to add the specified weight attribute to incoming routes. Weight is a number you can assign to a path to control path selection. Weight is local to the router. The route with the highest weight is used as the preferred route when multiple routes are available.

Weights assigned by the match as-path and set weight commands override weights assigned by neighbor filter-list.

If you use the neighbor filter-list command more than once specifying the same IP address or peer group, only the last list-name defined is applied.

Use the show ip as-path-access-list command to display defined as-path access lists.

Use the no neighbor filter-list command to remove the specified filter list from route updates.

Factory Default: No filter list is applied.

Command Mode: Router configuration.

Example 1: In the following example an already existing filter-list named filterList1 is applied to multicast/unicast neighbor 10.5.12.106:

router#config terminal

Enter configuration commands, one per line. End with CNTL/Z.

router(config)#router bgp 100

router(config-router)#neighbor 10.5.12.106 remote-as 100

router(config-router)#address-family ipv4 multicast

router(config-router-af)#neighbor 10.5.12.106 activate

router(config-router-af)#neighbor 10.5.12.106 filter-list filterList1 out

router(config-router-af)#end

router#

Related Commands: neighbor distribute-list
neighbor peer-group (assigning and creating)
neighbor weight
ip as-path access-list
show access-lists
show ip bgp neighbors


PREV NEXT INDEX

Copyright © 2004 Avici Systems Inc.
Avici® and TSR® is a registered trademark of Avici Systems Inc.
IPriori™, Composite Links™, SSR™, QSR, and NSR® are trademarks of Avici Systems Inc.

   Source File Name: BGP_Nd.fm
    HTML File Name: BGP_Nd30.html
    Last Updated: 05/10/04 at 16:36:55

Please email suggestions and comments to: doc@avici.com