Note that the below example I am using the infamous Titanium image, but it works on real production NX-OS as well for sure.
1. Eth2/1 has an IP address 192.168.1.1/24 that we will change to 192.168.200.1/24.
5. Verify:
That was kind of fun, but what if we want to remove ALL ip address on ALL interfaces in one shot? We can also use the *Nix sed to modify the text stream:
1. Back to the 192.168.200.1/24 IP:
2. We can use sed to change string, note that it does not change the original string:
3. Now we can use the Cisco include command to include the string we want, then use sed to substitute the string. In this example I just include '192.168.200.1' but you can use 'include 'ip addresses' for example:
4. Now you see the interface:
5. Run the script:
6. Now you dont:
How cool is that? This is an absolute time saver in large scale environment. I wish Cisco includs *Nix tools in all of their platforms.
Happy coding!
Continue the good work
ReplyDeleteanal fuck
Nice blog! Actually, I am getting more information to read your great post. Thank you.
ReplyDeletePega Training in Chennai
Pega Course in Chennai
Tableau Training in Chennai
Spark Training in Chennai
Oracle Training in Chennai
Oracle DBA Training in Chennai
Social Media Marketing Courses in Chennai
Unix Training in Chennai
Power BI Training in Chennai
This is really such a great article. I really enjoyed it. Thank you for sharing.
ReplyDeleteFinal Year Project on Cloud Computing
JavaScript Training in Chennai
Final Year Projects for CSE
JavaScript Training in Chennai
"This is an absolute time saver " - absolutely agree, thanks .
ReplyDeleteGet inspired by your blog. Keep doing like this....
ReplyDeleteEthical Hacking Course in Chennai
Ethical hacking course in bangalore
Ethical hacking course in coimbatore
Ethical Hacking Training in Bangalore
Ethical hacking Training institute in bangalore
Ethical Hacking in Bangalore
Hacking Course in Bangalore
Ethical Hacking institute in Bangalore
Selenium Training in Bangalore
Software Testing course in Bangalore
This comment has been removed by the author.
ReplyDeleteYour post is really awesome .It is very useful for me to develop my skills....
ReplyDeleteTally Course in chennai
Tally Course in Bangalore
Tally Training in Bangalore
Tally training in coimbatore
Tally course in madurai
Tally Course in Hyderabad
Tally Classes in Bangalore
Tally institute in Bangalore
Ethical hacking course in bangalore
Selenium Course in Bangalore
Nice article...Waiting for next update...
ReplyDeletePhotoshop Classes in Chennai
Photoshop Course
learn photoshop
photoshop training in Porur
photoshop training in anna nagar
Drupal Training in Chennai
Manual Testing Training in Chennai
LoadRunner Training in Chennai
QTP Training in Chennai
C C++ Training in Chennai
Thanks for the efforts in writing the wonderful article.
ReplyDeleteblue prism interview questions
javascript interview questions
Thanks for sharing this blog. It was so informative.
ReplyDeleteJava Training in Bangalore
Java Course in Bangalore
Thanks for sharing this blog. It was so informative.
ReplyDeleteOnline tally course
Tally classes near me
Thanks for sharing this blog. It was so informative.
ReplyDeletePython training institute in chennai
Python institute in chennai
Thanks for sharing this blog. It was so informative.
ReplyDeletePayroll in tally erp 9
Tally payroll
Tally course in Bangalore
ReplyDeleteTally course in Marathahalli
Tally course in Nagawara
Elegant IT Services Bangalore Location