iTerm and Dynamips – write to all terminals at once

I am often find myself needing to stop, make a configuration change to Dynagen, and then restart. To make sure I don’t miss anything I go to every screen and write the configuration.

In iTerm, there is the ability to send the same command to all screens at once, excellent!

I am often find myself needing to stop, make a configuration change to Dynagen, and then restart. To make sure I don’t miss anything I go to every screen and write the configuration.

In iTerm, there is the ability to send the same command to all screens at once. Most useful when I am in the middle of something and I need to write the configurations on all my boxes and then shutdown dynamips (usually to make a configuration change).

alltabs.png

Note that once you have done this, it stays in that mode until you make the menu selection again to turn it off. This is also useful, because when you restart Dynamips, you can hit the enter key a few times to clear all the consoles and reduce the CPU load (becuase idlepc works best when the IOS is at the user prompt, not at the boot prompt.

About Greg Ferro

Greg Ferro is a Network Engineer/Architect, mostly focussed on Data Centre, Security Infrastructure, and recently Virtualization. He has over 20 years in IT, in wide range of employers working as a freelance consultant including Finance, Service Providers and Online Companies. He is CCIE#6920 and has a few ideas about the world, but not enough to really count.

He is a host on the Packet Pushers Podcast, blogger at EtherealMind.com and on Twitter @etherealmind and Google Plus

You can contact Greg via the site contact page.

  • Roy

    Hi Greg

    Could you please advise how you managed to get labelled tags i.e R1, R2 etc?
    All I ever get with iterm is: Shell, Shell, and yes you guessed it…Shell.

    Cheers

    • http://etherealmind.com Greg Ferro

      Double click the tab, and a window will open “Info”, in the box “Name” put in the name you like. It will then save this name for every instance of that connection.

  • Roy

    Thanks for the promt reply Greg.
    I was wondering if there was a way for this to be done automatically, with iterm using the GNS3 hostnames but at least this way I can label the tabs without much hassle.

    Cheers

Subscribe For Weekly Updates by Email

Get a Weekly Summary of Latest Articles and Posts to your Email Inbox Every Sunday

Thanks for signing up. Look for the email from MailChimp & make sure you confirm your email address. You may need to check your spam or gmail settings to be sure of receiving the email.

Note: You can unsubscribe at any time using the link at the bottom of every email.