Top

Suspending and Resuming Dynamips

18 January, 2008 by Greg Ferro      Print Posting

As someone who travels often, and always looking to make use of the travel time, I was pleased to find that I can suspend and resume the Dynamips routers. This saves me battery on longer trips, or lets me have more CPU when I running other applications such as Parallels / VMware to give me some Microsoft Visio joy. iTerm sessions are not terminated by doing this, they just don’t show any data until you resume the sessions.

Go the terminal window that Dynagen opened when it started:

Reading ~/.bash_profile
gf:~ gregferro$ /Users/gregferro/Documents/dynalab/Dynagen/Dynagen.app/Contents/Resources/dynagen
‘/Users/gregferro/Documents/dynalab/mplsp2p/mplsp2p.net’ ;
exit
Reading configuration file…

Network successfully loaded

Dynagen management console for Dynamips and Pemuwrapper
Copyright (c) 2005-2007 Greg Anuzelli, contributions Pavel Skovajsa

=> suspend /all
100-VM ‘r4′ suspended
100-VM ‘r5′ suspended
100-VM ‘r6′ suspended
100-VM ‘r7′ suspended
100-VM ‘r1′ suspended
100-VM ‘r2′ suspended
100-VM ‘r3′ suspended
100-VM ‘r8′ suspended
=> resume r1
100-VM ‘r1′ resumed
=>
=> suspend ?
suspend {/all | router1 [router2] …}
suspend all or a specific router(s)
=>
=> suspend /all
Note: router r4 is already suspended
Note: router r5 is already suspended
Note: router r6 is already suspended
Note: router r7 is already suspended
100-VM ‘r1′ suspended
Note: router r2 is already suspended
Note: router r3 is already suspended
Note: router r8 is already suspended
=>
=> resume ?
resume {/all | router1 [router2] …}
resume all or a specific router(s)
=> resume /all
100-VM ‘r4′ resumed
100-VM ‘r5′ resumed
100-VM ‘r6′ resumed
100-VM ‘r7′ resumed
100-VM ‘r1′ resumed
100-VM ‘r2′ resumed
100-VM ‘r3′ resumed
100-VM ‘r8′ resumed
=>

Please rate this post :    Why ?
Rating: 10.0/10 (1 vote cast)
Share:
  • Reddit
  • Digg
  • del.icio.us
  • Facebook
  • Google
  • StumbleUpon
  • TwitThis
  • LinkedIn

Comments

4 Responses to “Suspending and Resuming Dynamips”

  1. Brandon Carroll on November 6th, 2008 12:01 am

    The suspend is really cool. Question though. When I suspend does this suspend the dynamips process of just the routers?

  2. Brandon Carroll on November 6th, 2008 4:29 am

    cause it looks like its just the routers…which is fine. I suspended the latop, came home from work, and resumed with no problems.

  3. Greg Ferro on November 6th, 2008 8:24 am

    Yes, dynamips is the emulator for IOS routers using MIPS cpu’s. PIX/ASA emulation is done in PEMU and I don’t know whether that has a suspend/resume.

  4. Ivan Pepelnjak on November 6th, 2008 4:06 pm

    Thanks. This will definitely help me.

Feel free to leave a comment...
and oh, if you want a pic to show with your comment, go get a gravatar!





Bottom