Anyone! I am a mid level network engineer that needs to learn how to automate building switches; my job period. I don't really know where to start, but I know I want to run a script that can learn what ports a device has and configure it from a standard template we use dynamically. Maybe on with the template being pulled via SCP? I know this is a complex question, but any guidance on where to start or what a script to find the ports on a device would look like would be greatly appreciated? I did start reading the "TCL Scripting for IOS" to learn the basics, but I don't natively think like a programmer.
Joe, side question... where did you get started in programming and aside from me reading the Cisco books and watching random videos where should I go to legitimately learn tcl for networking? I will unfortunately still be using devices that don't support python for a while hence why I'm still asking for tcl guidance. (3850 switches mainly)
I started in college. Learned C++ and Java, taught myself Perl. I taught myself Tcl when Cisco opened it up. I mainly used book references at the time, but now sites like Stackoverflow are great to learn by example.
The 3850 are the first IOS family to support on-box Python starting in 16.5(1). I'll be discussing this very thing at CiscoLive next week.
[toc:faq]The ProblemOn traditional switches whenever we have a trunk
interface we use the VLAN tag to demultiplex the VLANs. The switch needs
to determine which MAC Address table to look in for a forwarding
decision. To do this we require the switch to do...
[toc:faq]Introduction:Netdr is a tool available on a RSP720, Sup720 or
Sup32 that allows one to capture packets on the RP or SP inband. The
netdr command can be used to capture both Tx and Rx packets in the
software switching path. This is not a substitut...
IntroductionOSPF, being a link-state protocol, allows for every router
in the network to know of every link and OSPF speaker in the entire
network. From this picture each router independently runs the Shortest
Path First (SPF) algorithm to determine the b...