From: Pylko, Eric (EPylko@frontrunnernetworks.com)
Date: Thu Nov 14 2002 - 17:55:04 GMT-3
Isn't the access list supposed to be 0.0.0.0 255.255.255.254? The ones bits
are the wildcards. The last octet specifies the last bit to be a 0 which
will make sure all addresses are odd. Also, depending on which octet you
want to filter on, it might be 254.255.255.255.
Finally, you might need an extended access list on the route map. Or maybe
that's the distribute list. I remember something about needing them in
Halabi.
-Eric
-- Eric Pylko epylko@frontrunnernetworks.com CCIE #5827 Mobile: (585) 747-2446 Consulting Engineer Phone: (585) 899-4424 Frontrunner Network Systems Fax: (585) 899-4454-----Original Message----- From: ccie2002@bellsouth.net [mailto:ccie2002@bellsouth.net] Sent: Thursday, November 14, 2002 2:41 PM To: ccielab@groupstudy.com Subject: BGP HELP_FILTERING EVENS ROUTES
Hello:
Need a little BGP help trying to only premit even bgp routes to come thru. From some reason I can not get my even routes to come thru on my Cisco 2509 router. Can anyone advise what I might be doing wrong. I have two router in the same AS100 and I would like the Cisco2509 to recieve the even routes from the Cisco 2504. I did a route map but eveytime I adversite that to my neighbor (Cisco2504) I do not recieve "any" bgp routes from my Cisco2509. The goal is for the Cisco 2509 to see only even bgp routs advertised from the Cisco 2504.
Any help would be grateful. Below are the configs
Cisco2509#show ip bgp BGP table version is 9, local router ID is 200.200.4.4 Status codes: s suppressed, d damped, h history, * valid, > best, i - internal Origin codes: i - IGP, e - EGP, ? - incomplete
Network Next Hop Metric LocPrf Weight Path *> 160.7.7.0/24 150.3.47.2 0 200 300 i *> 160.11.1.0/24 150.3.47.2 0 200 300 i *> 160.12.1.0/24 150.3.47.2 0 200 300 i *> 160.13.1.0/24 150.3.47.2 0 200 300 i *> 195.6.6.0 150.3.47.2 0 200 i *> 195.10.2.0 150.3.47.2 0 0 200 i *> 200.200.3.0 0.0.0.0 0 32768 i *> 200.200.4.0 0.0.0.0
router bgp 100 no synchronization network 200.200.3.0 network 200.200.4.0 neighbor 150.3.26.6 remote-as 100 neighbor 150.3.26.6 route-reflector-client neighbor 150.3.26.6 route-map EVEN in neighbor 150.3.47.2 remote-as 200 !Cisco2509#show ip bgp summary BGP router identifier 200.200.4.4, local AS number 100 BGP table version is 9, main routing table version 9 8 network entries and 8 paths using 968 bytes of memory 3 BGP path attribute entries using 344 bytes of memory BGP activity 78/70 prefixes, 133/125 paths 32 prefixes revised.
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd 150.3.26.6 4 100 233 222 9 0 0 00:19:35 0 150.3.47.2 4 200 231 203 9 0 0 00:19:21 6 Cisco250
ip classless ! access-list 10 permit 0.0.0.0 254.0.0.0 route-map EVEN permit 10 match ip address 10
Cisco2504>show ip bgp sum BGP router identifier 150.3.4.4, local AS number 100 BGP table version is 105, main routing table version 105 17 network entries and 23 paths using 2249 bytes of memory 4 BGP path attribute entries using 440 bytes of memory BGP activity 43/26 prefixes, 98/75 paths 0 prefixes revised.
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd 150.3.26.5 4 100 223 235 105 0 0 00:20:53 8 150.3.53.5 4 100 215 218 105 0 0 03:01:42 10 Cisco250
router bgp 100 no synchronization network 10.10.10.0 mask 255.255.255.0 network 11.11.11.0 mask 255.255.255.0 network 12.12.12.0 mask 255.255.255.0 network 13.13.13.0 mask 255.255.255.0 network 14.14.14.0 mask 255.255.255.0 neighbor 150.3.26.5 remote-as 100 neighbor 150.3.26.5 route-reflector-client neighbor 150.3.53.5 remote-as 100 neighbor 150.3.53.5 route-reflector-client
Cisco2504>show ip bgp BGP table version is 105, local router ID is 150.3.4.4 Status codes: s suppressed, d damped, h history, * valid, > best, i - internal Origin codes: i - IGP, e - EGP, ? - incomplete
Network Next Hop Metric LocPrf Weight Path *> 10.10.10.0/24 0.0.0.0 0 32768 i *> 11.11.11.0/24 0.0.0.0 0 32768 i *> 12.12.12.0/24 0.0.0.0 0 32768 i *> 13.13.13.0/24 0.0.0.0 0 32768 i *> 14.14.14.0/24 0.0.0.0 0 32768 i * i160.7.7.0/24 150.3.47.2 100 0 200 300 i *>i 150.3.25.6 100 0 200 300 i * i160.11.1.0/24 150.3.47.2 100 0 200 300 i *>i 150.3.25.6 100 0 200 300 i * i160.12.1.0/24 150.3.47.2 100 0 200 300 i *>i 150.3.25.6 100 0 200 300 i * i160.13.1.0/24 150.3.47.2 100 0 200 300 i *>i 150.3.25.6 100 0 200 300 i *>i195.5.5.0 150.3.53.5 0 100 0 i * i195.6.6.0 150.3.47.2 100 0 200 i *>i 150.3.25.6 0 100 0 200 i * i195.10.2.0 150.3.47.2 100 0 200 i *>i 150.3.25.6 0 100 0 200 i Network Next Hop Metric LocPrf Weight Path *>i196.6.6.0 150.3.53.5 0 100 0 i *>i197.7.7.0 150.3.53.5 0 100 0 i *>i198.8.8.0 150.3.53.5 0 100 0 i *>i200.200.3.0 150.3.26.5 0 100 0 i *>i200.200.4.0 150.3.26.5 0 100 0 i Cisco250
This archive was generated by hypermail 2.1.4 : Tue Dec 03 2002 - 07:23:00 GMT-3