Friday, December 25, 2009

ACL to Allow only Odd Subnets in the first octect ?

ip access-list standard ODDNWK
permit 1.0.0.0 254.255.255.255

when applied in a route map with local-pref modifications

Rack1R7#sh ip bgp
BGP table version is 25, local router ID is 64.5.7.7
Status codes: s suppressed, d damped, h history, * valid, > best, i - internal,
r RIB-failure, S Stale
Origin codes: i - IGP, e - EGP, ? - incomplete

Network Next Hop Metric LocPrf Weight Path
*> 28.119.16.0/24 204.12.1.254 0 150 0 54 i
*> 28.119.17.0/24 204.12.1.254 0 150 0 54 i
*> 112.0.0.0 204.12.1.254 150 0 54 50 60 i
*> 113.0.0.0 204.12.1.254 50 0 54 50 60 i
*> 114.0.0.0 204.12.1.254 150 0 54 i
*> 115.0.0.0 204.12.1.254 50 0 54 i
*> 116.0.0.0 204.12.1.254 150 0 54 i
*> 117.0.0.0 204.12.1.254 50 0 54 i
*> 118.0.0.0 204.12.1.254 150 0 54 i
*> 119.0.0.0 204.12.1.254 50 0 54 i
*>i192.10.1.0 64.5.8.8 0 100 0 ?
*>i205.90.31.0 192.10.1.254 7 100 0 ?
*>i220.20.3.0 192.10.1.254 7 100 0 ?
*>i222.22.2.0 192.10.1.254 7 100 0 ?
Rack1R7#

No comments: