06-20-2013 12:19 AM - edited 03-04-2019 08:15 PM
Hi all
If I have a multipayer switch say with 100 vlans,
if I redistribute connected networks on that switch, can I summarise them ? and if so hwo would I achieve it ?
cheers
06-20-2013 12:50 AM
Hi Carl,
in this scenario the multilayer switch acts as ASBR and summarization can be done with the summary-address command:
http://www.cisco.com/en/US/docs/ios-xml/ios/iproute_ospf/command/ospf-s1.html#wp4241563273
Tip: There's an "Ask the Expert" for OSPF, perfect opportuntiy for solving such questions:
https://supportforums.cisco.com/message/3965564#3965564
Best regards
Rolf
06-20-2013 11:37 AM
Yes try the following command
router ospf 1
redistribute connected
redistribute connected metric metric-value
06-21-2013 07:26 AM
Hello Carl,
As Rolf has explained, you can indeed summarize networks redistributed into OSPF using the summary-address command on the router that performs the redistribution. It does not matter where do the redistributed routes come from (i.e. connected, static, from another protocol...)
My only concern regarding redistributing the directly connected networks is the fact that these networks can also be injected into OSPF as internal networks using the network command (or in newer IOSes, the ip ospf interface level command). I see a couple of disadvantages of redistributing directly connected networks into OSPF:
Best regards,
Peter
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide