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"
Inviting all network professionals in operations! We'd like to understand what would be valuable for you in a mobile application. Your response will help Cisco improve a product feature that could benefit you. Thanks!
Click here to take the sur...
Cisco’s software-defined wide area network (SD-WAN) solution allows user to quickly and seamlessly establish an overlay fabric to connect an enterprise’s data centers, branch and campus locations, as well as colocation facilities in order to imp...
1. Log into CLI of DNAC:
ssh maglev@< DNAC appliance IP> -p 2222
2. Run this curl command to get token to get member id:
curl -X POST -u admin:<admin user password> -H -V https://<CLUSTER-IP>/api/system/v1/identitymgmt/token
Enterprise Switching Business Unit is glad to announce Beta release 16.12.2 for all Catalyst 9200/9300/9400/9500/9600 and Catalyst 3650/3850 Platforms. This release is made available to allow users to test, evaluate and share fee...
Purpose of the document
This document describes the general recommendations or best practices when designing and deploying the Cisco SD-Access technology. The document assumes that the reader has a general overview of Cisco's SD-Access for Distributed C...