Hi, I assume if I used prefix list filtering on the neighbor command this would be valid as an alternative to the solution shown. Am I correct?
ip prefix-list NOT_LONGER_THAN_SLASH_20 permit 0.0.0.0/0 le 20
neighbor 54.1.3.254 prefix-list NOT_LONGER_THAN_SLASH_20 in
neighbor 204.12.1.3 prefix-list NOT_LONGER_THAN_SLASH_20 in
neighbor 204.12.1.254 prefix-list NOT_LONGER_THAN_SLASH_20 in
Rack1R6(config-router)#do sh bgp
BGP table version is 59, local router ID is 150.1.6.6
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
* 112.0.0.0 204.12.1.254 0 54 50 60 i
*> 54.1.3.254 0 0 54 50 60 i
* 113.0.0.0 204.12.1.254 0 54 50 60 i
*> 54.1.3.254 0 0 54 50 60 i
* 114.0.0.0 204.12.1.254 0 54 i
*> 54.1.3.254 0 0 54 i
* 115.0.0.0 204.12.1.254 0 54 i
*> 54.1.3.254 0 0 54 i
* 116.0.0.0 204.12.1.254 0 54 i
*> 54.1.3.254 0 0 54 i
* 117.0.0.0 204.12.1.254 0 54 i
*> 54.1.3.254 0 0 54 i
* 118.0.0.0 204.12.1.254 0 54 i
*> 54.1.3.254 0 0 54 i
* 119.0.0.0 204.12.1.254 0 54 i
*> 54.1.3.254 0 0 54 i
Thanks,
Gavin