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

How to save VLAN database in Dynamips

January 1, 2008 at 10:31 pm | Posted in Dynamips | Leave a comment

 http://7200emu.hacki.at/viewtopic.php?t=3864&highlight=flash+filesystem

(config)#vtp file nvram:vlan.dat
Setting device to store VLAN database at filename nvram:vlan.dat.

#dir nvram:
Directory of nvram:/

123  -rw-        1720                    <no date>  startup-config
124  —-          24                    <no date>  private-config
1  -rw-           0                    <no date>  ifIndex-table
2  -rw-         720                    <no date>  vlan.dat

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