PREV NEXT INDEX

Avici Systems Inc.


neighbor prefix-list


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

Syntax: [no] neighbor {ip-address | peer-group-name} prefix-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 an prefix 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 autonomous system paths included in the prefix list. Valid values are 0 to 65535.

Description: IPriori supports prefix lists on a per address family basis. By entering the neighbor prefix-list command in the desired family address mode (address-family ipv4 unicast for unicast, and address-family ipv4 multicast for multicast) prefix-lists can be configured for both unicast and multicast neighbors. The neighbor command for prefix-lists are backwards compatible with the unicast commands available in router configuration mode. Entering the commands in router configuration mode automatically configures a unicast list. In all other respects, the neighbor commands for these lists have not changed.

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

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

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

Use the peer-group-name parameter to apply the specified prefix 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 prefix-list.

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

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

Factory Default: No prefix list is applied.

Command Mode: Router configuration.

Example: In the following example an already existing prefix-list named prefixList1 is applied to multicast/unicast neighbor 10.5.12.100:

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.100 remote-as 100

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

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

router(config-router-af)#neighbor 10.5.12.100 prefix-list prefixList1 in

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_Nd36.html
    Last Updated: 05/10/04 at 16:36:55

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