From: Kevin M. Woods (kev@xxxxxxx)
Date: Wed Jun 14 2000 - 03:37:49 GMT-3
Providing the AS_PATH is `600' then _600$ and ^600$ are equivalent. I
would say you either found a bug or you accidently appended a space or
two to the end of the permit RE.
Kevin
// When using the following config for an as-path filter to filter all
// routes originating from AS600 to remote AS 500, BGP ends up denying
// everyting.
//
// router bgp 100
// no synchronization
// bgp confederation identifier 666
// neighbor 172.16.4.5 remote-as 500
// neighbor 172.16.4.5 filter-list 1 out
// neighbor 172.16.10.1 remote-as 100
// neighbor 172.16.10.1 next-hop-self
// !
// ip classless
// ip as-path access-list 1 deny ^600$
// ip as-path access-list 1 permit .*
//
// I then change the ip as-path access-list to deny _600$ instead of deny
// ^600$ and BGP filters all routes originating from AS 600 and allows
// everything else. Can someone explain why _600$ works and ^600$ does
// not?
//
// Thanks.
//
// Joshua W. Watkins
// Systems Engineer
// Mountain States Networking
This archive was generated by hypermail 2.1.4 : Thu Jun 13 2002 - 08:23:41 GMT-3