Routes matched in the leak-map route-map will be advertised in addition to the summary.
R2(config)#ip access-list extended LEAK
R2(config-ext-nacl)#permit ip 2.2.2.0 0.0.0.255 any
R2(config)#route-map LEAK-MAP 10
R2(config-route-map)#match ip address LEAK
R2(config)#int f0/0
R2(config-if)#ip summary-address eigrp 100 0.0.0.0 0.0.0.0 leak-map LEAK-MAP
When summaries are created in EIGRP, OSPF, and BGP, the router automatically
installs a route to Null0 to match the summary. This is used to prevent the router
from forwarding traffic for destinations inside the summary that it does not have a
longer match for
#eigrp stub receive-only, the eigrp stub command is issued with the receive-only keyword to configure the device as a receive-only neighbor (connected, summary, and static routes will not be sent)
R2(config)#ip access-list extended LEAK
R2(config-ext-nacl)#permit ip 2.2.2.0 0.0.0.255 any
R2(config)#route-map LEAK-MAP 10
R2(config-route-map)#match ip address LEAK
R2(config)#int f0/0
R2(config-if)#ip summary-address eigrp 100 0.0.0.0 0.0.0.0 leak-map LEAK-MAP
When summaries are created in EIGRP, OSPF, and BGP, the router automatically
installs a route to Null0 to match the summary. This is used to prevent the router
from forwarding traffic for destinations inside the summary that it does not have a
longer match for
No comments:
Post a Comment