Foundry Configuration Guide for the FESX, FSX, and FWSX
C - 12 © Foundry Networks, Inc. December 2005
Syntax
Use the following CLI commands to configure RIP neighbor filters.
BGP4 Filters
Border Gateway Protocol version 4 (BGP4) filters control the routes that a Foundry device learns from BGP4
neighbors and advertises to BGP4 neighbors. You can configure filters to filter route information based on
network address, AS-path, or community name.
BGP4 Address Filters
BGP4 address filters control whether the Foundry device learns or drops BGP4 route information based on the
route’s network address.
Actions
• A BGP4 address filter applied to inbound packets permits (learns) or denies (drops) the specified network
address in BGP4 updates received from a BGP4 neighbor.
• A BGP4 address filter applied to outbound packets permits (advertises) or denies (drops) the specified
network address in BGP4 updates the Foundry device sends to a BGP4 neighbor.
Scope
You define BGP4 address filters globally, then apply them as part of a BGP4 neighbor's distribute list or as part of
a match statement in a route map.
Syntax
Use the following CLI commands to configure BGP4 address filters.
Table C.12: RIP Neighbor Filters
CLI syntax
FESX424 Router(config-rip-router)# neighbor <filter-num> permit |
deny
<source-IP-address> | any
Table C.13: BGP4 Address Filters
CLI syntax
FESX424 Router(config-bgp-router)# address-filter <num> permit |
deny
<ip-addr> <ip-mask> | any <ip-addr> <ip-mask> | any
FESX424 Router(config-bgp-router)# neighbor <router-id>
remote-as <as-number> [advertisement-interval <num>]
[distribute-list in | out <num,num,...>] [ebgp-multihop]
[filter-list in | out <num,num,...>] [maximum-prefix <num>]
[next-hop-self] [remote-as <as-number>] [route-map <map-name>]
[send-community] [weight <num>]
FESX424 Router(config-bgp-routemap RMAP_NAME)# match
as-path-filters | community-filters | address-filters <num,num,...>
[metric <num>] [next-hop <ip-addr>]
[route-type internal | external-type1 | external-type2]
[tag <tag-value>]