-
Boot System Commands ...
سلام .
من این دستورات رو تو یه روتر وارد می کنم :
[LEFT]boot system tftp c2600-is-mz[1].121-3a.T4.bin 192.168.30.10
boot system flash c2600-is-mz[1].121-3a.T4.bin
boot system rom[/LEFT]
[RIGHT]{192.168.30.10 آدرس سرور tftp میباشد }
من فکر می کردم با زدن این دستورات باید اول فایل IOS داخل tftp اجرا میشد که اگه اونجا نبود بره سراغ دومی که flash باشه و ...
اما حالا که می زنم، روتر اول IOS داخل flash رو باز می کنه بعد از extract میره سراغ tftp و فایل IOS داخل اونو load می کنه . یعنی عملا هم flash و هم tftp دوتایی قایل هاشون اجرا میشن اما نهایتا IOS داخل tftp دیده میشه ..
جالب اینه که وقتی flash رو پاکم می کنم دیگه اصلا بالا نمیاد در صورتی که انتظار میره بره سراف tftp و IOS اونجا رو load کنه !!!
کسی نظری داره در این مورد ؟!![/RIGHT]
-
have you issued "copy run start" command
-
بله .. از نوشته اولم مشخص بود که این کارو انجام دادم . چون که وقتی روتر بالا میاد اول IOS روی flash رو load می کنه و [B]بعد IOS روی tftp رو[/B] ... :)
-
[RIGHT]فرمان هایی که شما زدی درسته ،الیته تا اونجایی که سواد دارم. این بیشتر شبیه یک bug هست.
[/RIGHT]
-
اره .فرمان ها کاملا درسته .خیلی عجیبه
-
سلام
مقدار Conf Reg تونا چک کردید؟
-
confreg مربوط به configuration file داره فکر نمی کنم اصلا دخالتی روی IOS image داشته باشه
-
سلام منconf reg رو بر اساس این مطلب عرض کردم:[LEFT] The bootstrap program goes through the following steps when trying to locate and load the IOS image:
1. Examine the configuration register value. This value is a set of four hexadecimal digits. The last digit affects the bootup process. If the last digit is between 0x2 and 0xF, then the router proceeds to the next step. Otherwise, the router uses the values to determine how it should proceed next.
2. Examine the configuration file in NVRAM for [B][FONT=Courier-Bold]boot system [/FONT][/B]commands, which tell the bootstrap program where to find the IOS.
3. If no [B][FONT=Courier-Bold]boot system [/FONT][/B]commands are found in the configuration file in NVRAM, use the first valid IOS image found in flash.
4. If there are no valid IOS images in flash, generate a TFTP local broadcast to locate a TFTP server (this is called a [I]netboot [/I]and is not recommended because it is very slow and not very reliable for large IOS images).
5. If no TFTP server is found, load the Mini-IOS in ROM ([I]RXBOOT [/I]mode).
6. If there is Mini-IOS in ROM, then the Mini-IOS is loaded and you are taken into [I]RXBOOT [/I]mode; otherwise, the router either retries finding the IOS image or loads ROMMON and goes into [I]ROM Monitor [/I]mode.
[/LEFT]
-
آقای منصوری و سایر دوستان , ممنون از جواباتون ...
صرفا این پاسخ رو نوشتم که عرض کنم مقدار confreg مستقیما روی محل load شدن IOS اثر داره ... برای دیدن اثراتش پیشنهاد می کنم که از سایت boson نرم افزار config register calculator رو دانلود کنید .. (البته این مقدار روی محلی که باید فایل config هم load بشه اثر میذاره ...)
اینم بگم که هنوز مشکلم حل نشده ... شما هم بزنید ببینین به همین مشکل بر می خورین یا نه ؟!!!
-
یله حرف شما درسته ، من منظورم این مورد خاص بود. در اینجا به نظر نمیاد که مشکل از confrg یاشه.