04-17-2020 01:33 AM
Hi,
I want to summarize more than 6000 routes, and I surprised the online Cisco route summarization tool is not working,
manual summarization is very time-consuming. why this online tool is down?
SUHAS B,
Solved! Go to Solution.
04-17-2020 01:52 AM
Hi
Route summarization tool retired on Sep 16, 2019.
you can use netaddr library .. that may help
https://netaddr.readthedocs.io/en/latest/tutorial_01.html#summarizing-list-of-addresses-and-subnets
04-17-2020 01:52 AM
Hi
Route summarization tool retired on Sep 16, 2019.
you can use netaddr library .. that may help
https://netaddr.readthedocs.io/en/latest/tutorial_01.html#summarizing-list-of-addresses-and-subnets
04-17-2020 08:16 AM
Hi OMZ,
i appreciate for you prompt response, but here i have more than 6000+ EIGRP and OSPF dynamic routes data and i want to convert it into static,
can we import route text file in this tool?
Re
Suhas B.
04-17-2020 08:04 AM
They have withdrawn it.
Better to use netaddr
You do this in netaddr using the cidr_merge() function.
First we create a list of IP objects that contains a good mix of individual addresses and subnets, along with some string based IP address values for good measure. To make things more interesting some IPv6 addresses are thrown in as well.
> ip_list = [ip for ip in IPNetwork('fe80::/120')]
>>> ip_list.append(IPNetwork('192.0.2.0/24'))
>>> ip_list.extend([str(ip) for ip in IPNetwork('192.0.3.0/24')])
>>> ip_list.append(IPNetwork('192.0.4.0/25'))
>>> ip_list.append(IPNetwork('192.0.4.128/25'))
> len(ip_list)
515 cidr_merge(ip_list)
[IPNetwork('192.0.2.0/23'), IPNetwork('192.0.4.0/24'), IPNetwork('fe80::/120')]
06-07-2021 05:46 PM
this online one works well... https://tehnoblog.org/ip-tools/ip-address-aggregator/
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