cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2265
Views
20
Helpful
4
Replies

Cisco online Route summarization tool not working

suhas bhoir
Level 1
Level 1

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,

1 Accepted Solution

Accepted Solutions

omz
VIP Alumni
VIP Alumni

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

View solution in original post

4 Replies 4

omz
VIP Alumni
VIP Alumni

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

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.

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')]
Please do not hesitate to click the STAR button if you are satisfied with my answer.

Jamie_Hessels
Level 1
Level 1
Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Review Cisco Networking products for a $25 gift card