BGP AS filter

From: Roy Grego (ccsi100@xxxxxxxxx)
Date: Sat Feb 03 2001 - 04:07:48 GMT-3


   
Hello all,

Still trying to filter the route without using IP.

Diagram: IBGP Nei's --- R1 (AS5)-- EBGP -- (AS10) R2.

Task. Block a route learned from iBGP on R1 to R2.

My R1 config:

router bgp 5
nei 6.6.6.6 remote-as 5
nei 2.2.2.2 remote-as 5
nei 1.1.1.1 remote-as 10
nei 1.1.1.1 filter-list 5 out

ip as-path access-list 5 deny _5$
ip as-path access-list 5 permit .*

ALSO TRIED A ROUTE MAP
route-map TAG2 deny 10
  match as-path 5

 route-map TAG2 permit 20

Getting the same result. I cleared BGP, & reloaded.
R2# Sh ip bgp

*> 10.10.10.10/32 5.5.5.5 0 5 i

(10.10.10.10 is injected with network command into 6)

thanks,
ROY



This archive was generated by hypermail 2.1.4 : Thu Jun 13 2002 - 10:28:34 GMT-3