
Policies and Filters
December 2000
C - 35
Actions
•
A BGP4 AS-path filter applied to inbound packets permits (learns) or denies (drops) routes for networks with
the specified AS-path in BGP4 updates received from a BGP4 neighbor.
•
A BGP4 AS-path filter applied to outbound packets permits (advertises) or denies (drops) routes for networks
with the specified AS-path in BGP4 updates sent to a BGP4 neighbor.
Scope
You define BGP4 AS-path 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 or Web management interface panels to configure BGP4 AS-path filters.
NOTE:
The <as-path> value can be a regular expression. See “Using Regular Expressions” on page 19-53.
NOTE:
The
neighbor
command adds a BGP neighbor. The
filter-list
parameter specifies a list of AS-path
filters and whether the list is applied to inbound or outbound BGP updates.
NOTE:
The
match
command compares the information you configure for the command’s parameters against
BGP routes. You use this command when configuring a route map. If the comparison matches a route, set
statements in the route map specify the action to take. See “Defining Route Maps” on page 19-63.
BGP4 Community Filters
BGP4 community filters control whether the Foundry device learns or drops BGP4 route information based on the
route’s community membership.
Actions
•
A BGP4 community filter applied to inbound packets permits (learns) or denies (drops) routes for networks
with the specified community membership in BGP4 updates received from a BGP4 neighbor.
•
A BGP4 AS-path filter applied to outbound packets permits (advertises) or denies (drops) routes for networks
with the specified community membership in BGP4 updates sent to a BGP4 neighbor.
Scope
You define BGP4 community 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.
Table C.23: BGP4 AS-Path Filters
CLI syntax
Web management links
BigIron(config-bgp-router)# as-path-filter <num> permit | deny
<as-path>
BigIron(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>]
BigIron(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>]
Configure->BGP->AS Path Filter
Configure->BGP->Neighbor
Configure->BGP->Route Map Filter
Содержание Switch and Router
Страница 2: ...December 2000 Copyright 2000 by Foundry Networks Inc ...
Страница 26: ...Foundry Switch and Router Installation and Configuration Guide xxvi December 2000 ...
Страница 64: ...Foundry Switch and Router Installation and Configuration Guide 2 34 December 2000 ...
Страница 162: ...Foundry Switch and Router Installation and Configuration Guide 5 38 December 2000 ...
Страница 196: ...Foundry Switch and Router Installation and Configuration Guide 6 34 December 2000 ...
Страница 208: ...Foundry Switch and Router Installation and Configuration Guide 7 12 December 2000 ...
Страница 236: ...Foundry Switch and Router Installation and Configuration Guide 8 28 December 2000 ...
Страница 258: ...Foundry Switch and Router Installation and Configuration Guide 9 22 December 2000 ...
Страница 420: ...Foundry Switch and Router Installation and Configuration Guide 13 32 December 2000 ...
Страница 442: ...Foundry Switch and Router Installation and Configuration Guide 14 22 December 2000 ...
Страница 554: ...Foundry Switch and Router Installation and Configuration Guide 15 112 December 2000 ...
Страница 574: ...Foundry Switch and Router Installation and Configuration Guide 16 20 December 2000 ...
Страница 626: ...Foundry Switch and Router Installation and Configuration Guide 17 52 December 2000 ...
Страница 682: ...Foundry Switch and Router Installation and Configuration Guide 18 56 December 2000 ...
Страница 826: ...Foundry Switch and Router Installation and Configuration Guide 20 20 December 2000 ...
Страница 994: ...Foundry Switch and Router Installation and Configuration Guide 26 10 December 2000 ...
Страница 1004: ...Foundry Switch and Router Installation and Configuration Guide B 6 December 2000 ...
Страница 1044: ...Foundry Switch and Router Installation and Configuration Guide C 40 December 2000 ...
Страница 1048: ...Foundry Switch and Router Installation and Configuration Guide D 4 December 2000 ...
Страница 1070: ...Foundry Switch and Router Installation and Configuration Guide Index 18 December 2000 ...