If you want to push out IOS to remote devices I would recommend that you use EXPECT to accomplish your task. It is much easier and you can use autoexpect to provide the framework within EXPECT that you need. I find that you will have to clean up a bit, but it is a great start. Also, EXPECT runs on TCL which can provide additional control with conditions/requirements that you may have. On the other hand I have written EEM scripts that will copy a configuration and download an image from the switches in my lab so I don't have to do it. It might be possible, depending on how strict your requirements are, the current version of EEM, and the platform/IOS that you are running. The EEM is a powerful tool that can provide additional functionality, flexablity, and additional benefits.
[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...