- 論壇徽章:
- 0
|
這幾天在熟悉中興路由器時(shí)發(fā)現(xiàn)寫(xiě)入操作有write,write flash,write nvram等命令,這就讓人有些困惑了,cisco路由器中配置文件是保存在nvram中,IOS保存在flash中。然而在中興路由器上似乎有些不同了,通過(guò)dir發(fā)現(xiàn)中興路由器的配置文件保存在flash:/cfg/startrun.dat,執(zhí)行write和write flash命令,配置文件均得到了更新,這說(shuō)明write不帶參數(shù)時(shí)等同于write flash
ZXR10#dir
Directory of flash:/cfg
attribute size date time name
1 drwx 2048 JAN-30-2012 19:22:52 .
2 drwx 2048 JAN-30-2012 17:15:19 ..
3 -rwx 975 DEC-23-2011 16:15:48 QQ_list.dat
4 -rwx 154 DEC-23-2011 16:15:48 MSN_list.dat
5 -rwx 3453 JAN-30-2012 19:22:52 startrun.dat
通過(guò)dir nvram:發(fā)現(xiàn)不管執(zhí)行的是write, write flash, 還是write nvram, nvram:中的文件均看不到更新
ZXR10#dir nvram:
Directory of nvram:/
attribute size date time name
1 -wr- 708 <nodate> startup-config
16384 bytes total (15676 bytes free)
所以就不免有些疑惑了,請(qǐng)熟悉中興路由器的朋友不吝賜教,先謝了 |
|