Re: Tcl script on Cisco 1941 router to change IP address on interface and to remove/add IP route statements
here is a very simple TCL script to add an IP address (192.168.1.1/24) to an interface (GigabitEthernet0/0) and remove a staic route (ip route 0.0.0.0 0.0.0.0 null 0) and add a static route (ip route 10.10.10.0 255.255.255.0 GigabitEthernet0/1). You can expand that script as you wish:
tclsh set ip_address "192.168.1.1" set mask "255.255.255.0" ios_config "interface GigabitEthernet0/0" "ip address $ip_address $mask" ios_config "no ip route 0.0.0.0 0.0.0.0 null 0"
Topic: Auto-Summarization in IGP (EIGRP and RIP)
I know you may know about Auto Summary, but there are very few documents about Auto Summary. I decided to describe it in simple words. I saw that many CCNA and CCNP students face diff...
The template editor is a standalone application that can be used to Build your Day-0 (PnP) or Day-N configurations.
•Day-0 (PnP) : Is your PnP/Onboarding Template . This is a one-time Template that used while you onboard your ...
Join us on Thursday, May 21 at 10 am PT (and on demand after) as we discuss what multicloud is and how organizations can use it to optimize the user experience around SaaS and IaaS.
We'll take your questions during the event and after - so post them below...