The BGP table of R3 has the same prefixes as the table of R4. This is because the "suppress-map" command is valid for all neighbors, not just one neighbor. To individually change the BGP tables on a per neighbor basis you have to suppress all prefixes you want to remove from any neighbor table and unsuppress on a per neighbor basis.
In this turorial R3 should see the 10.10.40.0/24 prefix, but not the prefixes with an odd 3rd octet. The prefix-list for the unsuppress-map is the same prerix-list we used in the last example, where the routes where suppressed.
ip prefix-list SUPP seq 5 permit 10.10.40.0/24
R2(config)#route-map UNSUPP permit 10
R2(config-route-map)#match ip address prefix-list SUPP
R2(config-route-map)#end
The new route-map is applied to the neighbor 192.168.100.6 (R3).
R2#configure terminal
R2(config)#router bgp 100
R2(config-router)#neighbor 192.168.100.6 unsuppress-map UNSUPP
R2(config-router)#end
R2#clear ip bgp *
R3#show ip bgp
BGP table version is 19, local router ID is 172.17.0.3
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
*> 10.10.0.0/16 192.168.100.5 0 0 100 i
*> 10.10.10.0/24 192.168.100.5 0 100 80 1000 2000 3000 i
*> 10.10.20.0/24 192.168.100.5 0 100 80 777 888 999 i
*> 10.10.30.0/24 192.168.100.5 0 100 80 i
*> 10.10.40.0/24 192.168.100.5 0 100 80 i
*> 10.10.50.0/24 192.168.100.5 0 100 80 i
The 10.10.40.0/24 is in the BGP table of R3, but not in the BGP table of R4.
R4#show ip bgp
BGP table version is 16, local router ID is 172.17.0.4
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
*> 10.10.0.0/16 192.168.100.9 0 0 100 i
*> 10.10.10.0/24 192.168.100.9 0 100 80 1000 2000 3000 i
*> 10.10.20.0/24 192.168.100.9 0 100 80 777 888 999 i
*> 10.10.30.0/24 192.168.100.9 0 100 80 i
*> 10.10.50.0/24 192.168.100.9 0 100 80 i
Part 1, Setup
Part 2, Setting the Aggregate
Part 3, Component Routes
Part 5, Modification of Attributes
Part 6, Playing with the AS-SET
|