How to reload router in Dynamips

January 1, 2008 at 11:29 pm | Posted in Dynamips | Leave a comment

The IOS reload command is not suppored by dynamips in virtual routers. So you can use the Dynagen reload command. It performs a stop, followed by a start. To reload all routers in the entire lab, issue a reload /all:

reload R1

To let the router to start with the save config, you need to remove the initial config in your Net file. For instance

# cnfg = C:\Program Files\Dynamips\sample_labs\internetworkexpert \initial.configs\R1.initial.config.txt

Alternatively, before you reload your router,

wr mem your config to nvram (using IOS CLI)  and

export it to a directory (using Dynagen CLI) .

Then

reload with normal initial config (using Dynagen CLI) and

import the “saved config” from the save directory to your start-up config (using Dynagen CLI) .

configure replace to override the running config with the startup config (using IOS CLI).

Further info from http://dynagen.org/tutorial.htm#_Toc176827661

Advertisements

Leave a Comment »

RSS feed for comments on this post. TrackBack URI

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Create a free website or blog at WordPress.com.
Entries and comments feeds.

%d bloggers like this: