Avaya 1000 Series Configuration Manual page 324

Secure router
Hide thumbs Also See for 1000 Series:
Table of Contents

Advertisement

Configuring BGP Features
Network
18.1.1.0/24
18.1.5.0/24
18.1.6.0/24
18.1.7.0/24
Filter all routes with a community of 200:100 in INBOUND using community list filter on
Avaya11.
Avaya1> conf term
Avaya1/configure> policy community_list standard_community
1 1 permit aa_nn 200:100
The above command creates a community_list filter 1 with sequence number 1 which permits
any community with the value 200:100.
The community_list filter can be displayed by issuing the command below:
Avaya1/configure> show policy community_list
Community standard list 1 permit 200:100 Apply that community_list filter to a route_map
From200 and put it under the neighbor 30.30.30.3, which is 3rdPartyRouter INBOUND.
Avaya1/configure> policy route_map From200 1 deny
Avaya1/configure/policy/route_map From200 1> match
community standard_community 1
Avaya1/configure/policy/route_map From200 1> exit
Avaya1/configure> policy route_map From200 2 permit
Avaya1/configure/policy/route_map From200 2>
Route map From200 sequence 1 denies any routes that has the community 200:100 set. Route
map From200 sequence 2 permits all other routes.
Avaya1> conf term Avaya1/configure> router bgp 100
Avaya1/configure/router/bgp 100> neighbor 30.30.30.3 200
Avaya1/configure/router/bgp 100/neighbor 30.30.30.3 200> route_map From200 in
The above command applies the route map to neighbor 30.30.30.3 INBOUND. This will filter
all routes from 3rdPartyRouter, since every routes from 3rdPartyRouter has community
200:100 set.
Avaya1> show ip bgp table
BGP route table, local router ID is 30.30.30.1 Status codes: * valid, > best, i -
internal Origin codes: i - IGP, e - EGP, ? - incomplete
Network
18.1.1.0/24
18.1.5.0/24
18.1.6.0/24
18.1.7.0/24
324
Avaya Secure Router 1000 Series Configuration Guide
Next Hop
Metric
30.30.30.3
100
30.30.30.3
100
30.30.30.3
100
30.30.30.3
100
Next Hop
Metric
30.30.30.3
100
30.30.30.3
100
30.30.30.3
100
30.30.30.3
100
LocPrf
Path
170
100 200 ?
170
100 200 ?
170
100 200 ?
170
100 200 ?
LocPrf
Path
0
200 ?
0
200 ?
0
200 ?
0
200 ?
December 2010

Advertisement

Table of Contents
loading

Table of Contents