Re: how to save the config file in dynamips

From: kelly@cliffhanger.com
Date: Sat Jun 30 2007 - 08:31:45 ART


If you don't change the 'cnfg' option on the
router, it will load the file indicated on that
line. You need to either comment the 'cnfg'
option out, or change it to the 'nvram' file.

i.e.,

[[Router r1]]
  model = 3640
  console = 2001
  slot0 = NM-1FE-TX
  slot1 = NM-4T
  F0/0 = sw1 F1/1
  S1/0 = FRSW 1
  
  #cnfg = /<path-to-init-configs>/<initial-config-file.txt>
  
  cnfg = /<path-to-nvram>/r1.cfg
  

-- 
         ___
        /\  \
       /  \  \
      /    \  \
     /  /\  \  \
    /  /  \  \  \
   /  /  / \  \  \
  /  /  /___\__\  \
 /  /  /___________\
  \/_______________/

Impossible Triangle M. C. Escher

Big riffs, massive grooves, and expansive improvisations

Quoting darth router <darklordrouter@gmail.com>: I just copy the contents of the working directory to a new folder. Seems like all the save features are really buggy. If I want a specific config, i copy the contents of the backed up working dir and slap them into the main working dir. DR On 6/30/07, Blaine Williams <williams.blaine@gmail.com> wrote: > > Ben, > > I usually export my configs in dynagen to the config files that are > referenced in my .net file for each router. Just make sure you have a > backup copy of the start configs for each lab. > > Blaine W. > > On 6/29/07, Ben Zheng <bzheng8989@yahoo.com> wrote: > > My Dynamips was installed on the Linux machine. After I made some > configuration on the simulator, I want to save it to nvram by "wr mem". > However, when I restarted dynagent, the router only started with the initial > configuration. The nvram file in the working directory doesn't seems to be > updated by looking at the time stamp of the file. Could someone tell me how > I can save the config file in Dynamics? > > > > I have workingdir defined in the net file globally and initial config > file defined under each router instance. > > > > TIA > > > > Ben > > > > > > > > > > > > > ____________________________________________________________________________________ > > Sick sense of humor? Visit Yahoo! TV's > > Comedy with an Edge to see what's on, when. > > http://tv.yahoo.com/collections/222 > > > > _______________________________________________________________________ > > Subscription information may be found at: > > http://www.groupstudy.com/list/CCIELab.html > > _______________________________________________________________________ > Subscription information may be found at: > http://www.groupstudy.com/list/CCIELab.html _______________________________________________________________________ Subscription information may be found at: http://www.groupstudy.com/list/CCIELab.html



This archive was generated by hypermail 2.1.4 : Sun Jul 01 2007 - 17:24:53 ART