Error image is not a valid ios image archive

Lightweight access point should upgrade itself from wireless controller automatically. But sometimes your out-of-the-box firmware is too old and you need to perform the manual procedure. It is easy but you need to know one hidden command!

The Cisco lightweight access point managed by the wireless controller is not a new product. It has been on the market for years, evolved from LWAPP to CAPWAP model, is supporting a wide range of access point models. The idea is that access point upgrades its firmware when it registers to WLC. Sounds easy? Yes. Is it working? Yes, usually, but not always. Sometimes you need to perform a manual lightweight access point firmware upgrade procedure which is not well documented. And you need to know a hidden command. I will show you how.

My lightweight access point image is too old

What are the symptoms that you cannot upgrade your access point automatically? On the web dashboard, you will see the access point reappearing with Operational Status set to Downloading. However, this does not answer the question what exactly the problem is. More answers you will get from the access point console

*Dec 17 16:39:40.227: %CAPWAP-5-SENDJOIN: sending Join Request to 172.16.1.205perform archive download capwap:/ap3g2 tar file
*Dec 17 16:39:40.251: %CAPWAP-6-AP_IMG_DWNLD: Required image not found on AP. Downloading image from Controller.
ERROR: Image is not a valid IOS image archive.
Download image failed, notify controller!!! From:8.0.110.0 to 0.0.0.0, FailureCode:3

The access point joined the controller successfully and attempted to download the current archive from the controller, but the whole operation failed. The FailureCode:3 does not point to a reason.

My access point out-of-box had preinstalled firmware 15.3(3)JA1, the latest vWLC version 8.6.101.0 requires the 15.3(3)JG1. As we can see the 15.3(3)JA1 is compatible with controller firmware release 8.0.110.0 – both released in 2014.

In my case, I suspect one of the possible reasons why automatic firmware upgrade did not work is that for Cisco Aironet 3700 with release 15.3(3)JF has changed the platform code from ap3g2 to c3700. I could see this when I listed available images in WLC

(Cisco Controller) >show ap bundle all

Primary AP Image Size Supported AP's
---------------- ---- ------------
ap1g1 13320 AP700
ap1g3 15360 AP1530
ap1g4 28452 AP1850/1810
ap1g5 24992 AP1815,1540
ap3g3 47184 AP2800,3800,1560
c1570 13040 AP1570
c3700 14340 AP1700,2700,3700

Another possible reason was that the download or image verification process changes significantly and access point was not able to verify the new image. That is not an uncommon problem in Cisco; we saw this on ASA already.

Manual firmware update

You can perform manual firmware upgrade in such situation loading either up-to-date version or any close to this. You can download the firmware from cisco.com, but you need valid service contract assigned to your CCO profile. I got 15.3(3)JF release.

First, put the downloaded archive on the server accessible from subnet where access point gets its IP address from. This image needs to be accessible via HTTP, HTTPS, FTP, TFTP or SCP.

To download, extract and install new firmware you need to use the archive command, but it is not available by default

AP84b8.02aa.bbcc#arch?
% Unrecognized command

To enable the archive command, you need first enable hidden debug mode

AP84b8.02aa.bbcc#debug capwap console cli
This command is meant only for debugging/troubleshooting
Any configuration change may result in different
behavior from centralized configuration.

CAPWAP console CLI allow/disallow debugging is on

Now while the archive command is active, you can download firmware manually from your server

AP84b8.02aa.bbcc#archive download-sw tftp://192.168.1.250/ap3g2-k9w8-tar.153-3.JF.tar

The access point running old firmware will constantly attempt to join the controller and download the firmware. If you try to run manual upgrade at this point, you will see the error message.

Unable to create temp dir "flash:/update"
Download image failed, notify controller!!! From:8.0.110.0 to 0.0.0.0, FailureCode:7

You can add /overwrite option to remove old firmware if you want. When the installation is completed, you need to reload the access point manually. Now it should be able to join the controller and download the latest 15.3(3)JG1 firmware from it.

Вот что говорит роммон помогите!

Если кто знает tftp клиент вроде правильно настроен вот только фаил чуть не так называется как исправить тот какой по умолчанию не знаю!

Xmodem file system is available.

flashfs[0]: 1 files, 1 directories

flashfs[0]: 0 orphaned files, 0 orphaned directories

flashfs[0]: Total bytes: 7741440

flashfs[0]: Bytes used: 1536

flashfs[0]: Bytes available: 7739904

flashfs[0]: flashfs fsck took 11 seconds.

Reading cookie from flash parameter block…done.

Base ethernet MAC Address: 00:16:c7:16:c4:53

Initializing ethernet port 0…

Reset ethernet port 0…

Reset done!

ethernet link up, 100 mbps, full-duplex

Ethernet port 0 initialized: link is up

Ethernet port 0 initialized: link is up

button pressed for 20 seconds

process_config_recovery: set IP address and config to default 10.0.0.1

process_config_recovery: image recovery

image_recovery: Download default IOS tar image tftp://255.255.255.255/c1200-k9w7

-tar.default

examining image…tftp://255.255.255.255/c1200-k9w7-tar.default: no such file or

directory

ERROR: Failed to open archive file tftp://255.255.255.255/c1200-k9w7-tar.default

The system is unable to boot automatically because there

are no bootable files to boot.

ap:

ap: version

C1200 Boot Loader (C1200-BOOT-M) Version 12.3(2)JA4, RELEASE SOFTWARE (fc1)

Technical Support: http://www.cisco.com/techsupport

Compiled Mon 13-Jun-05 15:39 by ssearch

Error opening flash:/update/info (no such file or directory)

ERROR: Image is not a valid IOS image archive.

The system is unable to boot automatically because there

are no bootable files to boot.


Изменено 16 февраля, 2011 пользователем Cezar1209

Dear guys,
i am trying to install a different IOS to my 3550 switch as a practice, but before the installation, i would like to try to back up the current IOS to my TFTP server as a back up, since i am a very beginner of using Cisco switch, i got the following problem that need help.

1. i failed «copy flash tftp: or «archive upload-sw tftp» to back up the current running IOS to my TFTP server. below is the show flash result.

Switch#sh flash

Directory of flash:/

7 drwx 192 Mar 01 1993 00:03:08 c3550-i9q3l2-mz.121-11.EA1

15998976 bytes total (11623936 bytes free)
Switch#

2. as above, c3550-i9q3l2-mz.121-11.EA1 is currently the IOS running in my 3550, but why is
the size so small (only 192 ??) comparing to the IOS that i am going to install to it ?
is this really a IOS or is it the bootup ? since the IOS i am going to install is around 6M in size.

3. what should i do in order that i could copy the current IOS to my TFTP Server as backup?

4. what command should i type in order to download the new IOS to my 3550 swtich from my TFTP server ? is it as simple as «copy tftp flash» and «archive download-sw flash» ??

Thanks Guys !!

>>>so you’r connected to the serial console?<<<

Yes, I’m connecting through the serial console. The Cisco devices arn’t set up to be accesible for managing any other way.

>>>have you done any other thests to verify the switch can connect to the ftp server? e.g. can it ping the ftp server?<<<

Good point. No I hadn’t. All the pings fail, regardless if they’re tageted to IPs or DNS names. Presumably as the device only has the serial port connected, and I believe the fiber is set solely for connecting to our SAN storage.

>>>is there enough space in flash to hold the new image?<<<

Yes, of the roughly 30,000,000bytes of space on the Cisco device, around 20,000,000bytes are still free, and the new firmware (cbs30x0-ipbase-tar.122-46.SE.tar) is only around 10,000,000bytes.

>>>are you sure you need ftp and not tftp ?
Place the firmware image file (*.tar) on a TFTP server that is network-accessible from the switch you wish to update.<<<

I was just referencing the user manual, which includes directions for upgrading over ftp. The lack of network connectivity makes the problem rather definitive.

——

How would I get the updated file onto the Cisco device essentially by the only means available of the serial connection? That’s the one thing I can’t seem to find in the user guide.

Otherwise I presume I’ll have to start configuring the device to have network connectivity, upgrade it, then revert everything back to however it’s currently configured.

I’ve tried using the ‘ Cisco Catalyst Blade Switch (CCBS) 3020 for HP Management Utilities for Windows ‘, and the ‘ HP BladeSystem Integrated Manager for Windows ‘ The HP management utility for windows doesn’t seem to add any management functionality to the Ciscos after running MIBs_to_SIM.bat. (Unless I’m doing something wrong) And ‘ The HP management utility for windows ‘ says that it cannot detect HP SIM later than 5.2.1 on the system… but this is a fresh install of the newest release of HPSIM and identifies it’s self as version 05.02.02.00 build date: 2008-07-04 10:23.

Обновление программного обеспечения Catalyst 3750 в конфигурации стека при помощи интерфейса командной строки

24 февраля 2009
Машинный перевод


Содержание

Введение
Предварительные условия
Требования
Используемые компоненты
Условные обозначения
Найдите Версию программного обеспечения и Набор характеристик
Решите Который Файлы Использовать
Файловая система Флэша и Требования к памяти
3750 обновлений «IOS» Стека Коммутатора Серии — Автоматический (образ.tar)
Пошаговые инструкции
3750 обновлений «IOS» Стека Коммутатора Серии — Руководство (образ.tar)
Пошаговые инструкции
3750 обновлений «IOS» Стека Коммутатора Серии — Руководство (Образ.bin)
Пошаговые инструкции
Проверки
Устранение неполадок
Передача образа от Сбоев сервера «TFTP» или Поврежденного образа IOS
Вы Получаете Сообщение об ошибках Error_Bad_Mzip
%Error открываясь flash:update/info (Никакой такой файл или папка)
Коммутаторы в Стеке не Загружают Новый Образ (Несоответствие Версии)
Ошибка контрольной суммы %Tar в tftp
Программное обеспечение «Cisco IOS» Обновления с Другими Наборами характеристик
Дискуссионные форумы NetPro — избранные темы
Дополнительные сведения


Введение

Этот документ объясняет пошаговую процедуру, чтобы использовать интерфейс командной строки (CLI), чтобы модернизировать образа программного обеспечения на Cisco Catalyst 3750 коммутаторов серии, у которых есть конфигурация «multiswitch stack».

Предварительные условия

Требования

Прежде, чем Вы загрузите программное обеспечение, обратитесь к этим разделам Комментариев к выпуску для Catalyst 3750, 3560, и 2970 Коммутаторов, SEB Выпуска 12.2 (25) Cisco IOS и Выше для важной информации:

  • Обнаружение Версии программного обеспечения и Набора характеристик
  • Решение, Который Файлы Использовать
  • Обновление Коммутатора, используя Менеджера устройств или Помощника по работе в сети
  • Обновление Коммутатора, используя CLI
  • Восстановление от Сбоя программного обеспечения

Используемые компоненты

Сведения, содержащиеся в данном документе, относятся к следующим версиям оборудования:

  • Коммутаторы WS-C3750G-12S
  • Коммутаторы WS-C3750G-24TS

Примечание: Можно заменить любым наращиваемым Catalyst 3750 series switch.
Приводимые в документе сведения были получены в специально созданных лабораторных условиях. Все устройства, упоминаемые в этом документе, запускались с настройками, сброшенными до начальных (заводских). Если ваша сеть работает в реальных условиях, необходимо четко понимать последствия применения каждой команды.

Условные обозначения

Дополнительные сведения об условных обозначениях в документах см. в разделе Технические советы Cisco. Условные обозначения.

Найдите Версию программного обеспечения и Набор характеристик

Каталог, у которого есть название релиза программного обеспечения CISCO IOS, сохраняет образ Cisco IOS как файл «BIN». Хранилища каталога образ на флэше — устройстве системной платы (перепрограммируемый:). Подкаталог содержит файлы что Вы потребность в управлении «web».
Можно использовать команду EXEC show version, которой дают привилегию, чтобы видеть версию программного обеспечения, которая работающих под управлением на Вашем коммутаторе. Вторая линия дисплея показывает версию.
Примечание: Хотя выходные данные show version всегда показывают образ программного обеспечения, который работающих под управлением на коммутаторе, модельное название, которое появляется в конце этого дисплея, является конфигурацией матрицы. Этот образ — или базовый образ IP, прежде известный как стандартный многослойный образ (S I), или образ служебных команд » IP «, прежде известный как улучшенный многослойный образ (EMI). Это название не изменяется, если Вы модернизируете образа программного обеспечения.
Можно также использовать команду EXEC dir filesystem:, которой дают привилегию. Эта команда показывает имена каталога любых образов другого программного обеспечения, которые Вы сохранили во флэш-памяти.
Прежде, чем Вы решите Cisco IOS Software release, к которому Вы хотите модернизировать коммутаторов, Вы должен:

  • Читайте Комментарии к выпуску определенного Cisco IOS Software release. Обратитесь к Cisco Catalyst 3750 Series Switches — Комментарии к выпуску.
  • Удостоверьтесь, что у Cisco IOS Software release действительно есть любые дефекты, которые могут затронуть любую существующую функциональность. Обратитесь к Bug Toolkit (только для зарегистрированных клиентов) и Cisco Catalyst 3750 Series Switches — Уведомления о дефектах.

Решите Который Файлы Использовать

Центр загрузки программного обеспечения Catalyst 3750 содержит два набора образов IOS для каждого набора характеристик и версий. Один набор содержит только файл образа «IOS», у которого есть.bin расширения. Другой набор содержит образ IOS плюс на основе веба менеджер устройств, у которого есть.tar расширения.
Этот документ объясняет процедуру обновления с образом.tar, а также с образом.bin. Файл.tar содержит графический файл Cisco IOS и файлы что Вы потребность во Встроенном диспетчере устройств. Следует использовать объединенный файл «TAR», чтобы модернизировать коммутатора через менеджера устройств.
Cisco IOS Software Release 12.2 (25) SEA и ранее упомянутый образ, который предоставляет уровень 2 + характеристики и базовый уровень 3 маршрутизации как S I. Эти релизы программного обеспечения упомянули образ, который предоставляет полный уровень 3 маршрутизации и дополнительное обслуживание как EMI.
Cisco IOS Software Release 12.2 (25) SEB и выше обращается к S I как Ядро IP образ и EMI как Служебные команды » IP» образ.
Таблица 1 перечисляет другие соглашения о записи имен файла для выпусков ранее чем и выше чем Cisco IOS Software Release 12.2 (25) SEB.

Таблица 1: Соглашения о записи имен графического файла Cisco IOS
Cisco IOS Software Release 12.2 (25) SEA и ранее Cisco IOS Software Release 12.2 (25) SEB и выше
c3750-i9-mz (S I) c3750-ipbase-mz
c3750-i9k91-mz (S I) c3750-ipbasek9-mz
c3750-i5-mz (EMI) c3750-ipservices-mz
c3750-i5k91-mz (EMI) c3750-ipservicesk9-mz

Таблица 2 перечисляет имена файла для этого релиза программного обеспечения.

Таблица 2: Файлы образа «Cisco IOS»
Имя файла Описание
c3750-ipbase-tar.122-25. SEB.tar Catalyst 3750 базовых образов IP и файлы менеджера устройств
У этого образа есть уровень 2 + и базовый уровень 3 средства маршрутизации.
c3750-ipservices-tar.122-25. SEB.tar Catalyst 3750 образов служебных команд » IP » и файлы менеджера устройств
У этого образа есть и уровень 2 + и полный уровень 3 средства маршрутизации.
c3750-ipbasek9-tar.122-25. SEB.tar Catalyst 3750 IP базирует файлы менеджера устройств и криптографический образ
У этого образа есть Kerberos, SSH1, уровень 2 +, и базовый уровень 3 средства маршрутизации.
c3750-ipservicesk9-tar.122-25. SEB.tar Catalyst 3750 криптографических образов служебных команд » IP » и файлы менеджера устройств
У этого образа есть Kerberos, SSH, уровень 2 +, и полный уровень 3 характеристики.
c3750-advipservicesk9-tar.122-25. SEB.tar Catalyst 3750 расширенных образов служебных команд » IP «, криптографический файл, и файлы менеджера устройств
У этого образа есть все функции образа служебных команд » IP » и возможность одноадресной маршрутизации пакетов IPv62.

1 SSH = Secure Shell (SSH )
2 IPv6 = версия 6 IP
Инструментальное средство Советника Sofware (только для зарегистрированных клиентов) помогает определять набор характеристик, требуемый для funtionalities, необходимого в сети.

Файловая система Флэша и Требования к памяти

Файловая система Флэша
3750 отправок от фабрики с инсталляцией на основе веба менеджер устройств (файл.tar) в перепрограммируемом: directory. Процесс извлечения, применяемый к TAR-файлу, создает каталог образа Cisco IOS. Каталог образа имеет то же имя, что и образ Cisco IOS (BIN-файл), но без расширения файла. Это хранилища каталога образ Cisco IOS (файл.bin) наряду с подкаталогом «HTML», который содержит файлы менеджера устройств.
Выполните команду dir flash: дают команду, чтобы рассмотреть 3750 файловых систем Флэша. Вот пример вывода команды:

3750#dir flash:
Directory of flash:/

   2  -rwx  5684228  Mar 12 1993 08:13:57 +00:00  c3750-ipbase-mz.122-25.SEC2.bin
   3  -rwx     2105   Mar 1 1993 00:02:16 +00:00  config.text
   4  drwx      192  Mar 12 1993 08:11:00 +00:00  c3750-ipbase-mz.122-25.SEB4
   5  -rwx        5   Mar 1 1993 00:02:16 +00:00  private-config.text
   6  -rwx      856   Mar 1 1993 00:04:40 +00:00  vlan.dat
 364  -rwx      105  Mar 12 1993 08:11:00 +00:00  info

15998976 bytes total (3201536 bytes free)
!--- Notice the "d" in the permissions statement.
!--- It indicates that c3750-ipbase-mz.122-25.SEB4 is a directory.
!--- This directory is the location of both the Cisco IOS image (.bin file)
!--- and the HTML subdirectory.

Обратитесь к этим разделам в этом документе, чтобы модернизировать этих 3750, переключаются на Cisco IOS Software release с на основе веба менеджер устройств:

  • 3750 обновлений «IOS» Стека Коммутатора Серии — Автоматический (образ.tar)
  • 3750 обновлений «IOS» Стека Коммутатора Серии — Руководство (образ.tar)

Обратитесь к 3750 обновлениям «IOS» Стека Коммутатора Серии — Руководство (Образ.bin) раздел, чтобы модернизировать коммутатора с только Cisco IOS Software release.
Память DRAM
У всех моделей 3750 коммутаторов серии есть конфигурация «динамического ОЗУ» 128 Мбайт. Нет никаких требований динамического динамического «ОЗУ», чтобы рассмотреть перед Вами обновление «ПО» на 3750.
Флэш-память
Внутренняя флэш-память, отправленная с этими 3750 коммутаторами, составляет или 16 Мбайт или 32 Мбайта, основанные на модели Catalyst 3750 коммутаторов. Обратитесь к Cisco Catalyst 3750 Документов для получения дополнительной информации.
В флэш-памяти можно сохранять ограниченное число образов. Всегда проверяют размер, в байтах, образа в Загрузках — Коммутаторы (только для зарегистрированных клиентов) перед Вами обновление «ПО». Выполните dir flash: дайте команду, чтобы сравнить размер этого образа со свободным местом во Флэше. Вот пример вывода команды:

3750#dir flash:
Directory of flash:/

   2  -rwx  6221372   Mar 1 1993 00:23:06 +00:00  c3750-ipbase-mz.122-25.SED1.bin
   3  -rwx     2105   Mar 1 1993 00:02:16 +00:00  config.text
   4  -rwx  5684228   Mar 1 1993 01:17:34 +00:00  c3750-ipbase-mz.122-25.SEC2.bin
   5  -rwx        5   Mar 1 1993 00:02:16 +00:00  private-config.text
   6  -rwx      856   Mar 1 1993 00:04:40 +00:00  vlan.dat

15998976 bytes total (4087296 bytes free)
3750#

Если необходимо, выполните команду delete flash: команда file_name , чтобы удалить одиночный образ Cisco IOS (файл.bin). Или выйдите, удаление / вызывают / рекурсивную команду flash:dir_name , чтобы удалить каталог и все файлы в каталоге.
Вот пример вывода команды, чтобы удалить образ Cisco IOS (файл.bin):

3750#delete flash:c3750-ipbase-mz.122-25.SED1.bin
Delete filename [c3750-ipbase-mz.122-25.SED1.bin]?
!--- Press Return or Enter.
Delete flash:c3750-ipbase-mz.122-25.SED1.bin? [confirm]
!--- Press Return or Enter.
3750#dir flash:
Directory of flash:/

   3  -rwx        2105   Mar 1 1993 00:02:16 +00:00  config.text
   4  -rwx     5684228   Mar 1 1993 01:17:34 +00:00  c3750-ipbase-mz.122-25.SEC2.bin
   5  -rwx           5   Mar 1 1993 00:02:16 +00:00  private-config.text
   6  -rwx         856   Mar 1 1993 00:04:40 +00:00  vlan.dat

15998976 bytes total (10309120 bytes free)

Вот пример вывода команды, чтобы удалить образ Cisco IOS с на основе веба менеджер устройств (каталог):

3750#dir flash:
Directory of flash:/

   2  -rwx     5684228  Mar 12 1993 08:13:57 +00:00  c3750-ipbase-mz.122-25.SEC2.bin
   3  -rwx        2105   Mar 1 1993 00:02:16 +00:00  config.text
   4  drwx         192  Mar 12 1993 08:11:00 +00:00  c3750-ipbase-mz.122-25.SEB4
   5  -rwx           5   Mar 1 1993 00:02:16 +00:00  private-config.text
   6  -rwx         856   Mar 1 1993 00:04:40 +00:00  vlan.dat
 364  -rwx         105  Mar 12 1993 08:11:00 +00:00  info

15998976 bytes total (3201536 bytes free)
3750#delete /force /recursive flash:c3750-ipbase-mz.122-25.SEB4
Delete filename [c3750-ipbase-mz.122-25.SEB4]?
!--- Press Return or Enter.
3750#dir flash:
Directory of flash:/

   2  -rwx     5684228  Mar 12 1993 08:13:57 +00:00  c3750-ipbase-mz.122-25.SEC
2.bin
   3  -rwx        2105   Mar 1 1993 00:02:16 +00:00  config.text
   5  -rwx           5   Mar 1 1993 00:02:16 +00:00  private-config.text
   6  -rwx         856   Mar 1 1993 00:04:40 +00:00  vlan.dat
 364  -rwx         105  Mar 12 1993 08:11:00 +00:00  info

15998976 bytes total (10308608 bytes free)

Для обновления может потребоваться освободить еще больше места в флэш-памяти. Эта потребность зависит от числа образов, хранящихся в флэш-памяти. Вы может удалить больше старых образов / каталог, чтобы освободить это пространство.

3750 обновлений «IOS» Стека Коммутатора Серии — Автоматический (образ.tar)

В данном разделе приводятся сведения о настройке функций, описанных в этом документе.
Процедура в этом разделе копирует объединенный файл «TAR» в коммутатор. Вы копируете файл в коммутатор от сервера «TFTP» и извлекаете файлы. Можно загрузить графический файл и заменить текущий образ, или можно сохранить текущий образ.
Примечание: Для стеков коммутатора archive download-sw и команды EXEC archive upload-sw, которым дают привилегию, могут только использоваться через задатчика стека. Образы программного обеспечения, загруженные задатчику стека, автоматически загружаются к остальной части элементов стека. Таким образом, Вы должны войтись к основному коммутатору, чтобы выполнить это обновление.

Пошаговые инструкции

Чтобы загрузить программное обеспечение, закончите эти шаги:

Шаг 1

Используйте Решение, Какие Файлы Использовать раздел этого документа, чтобы определить тип образа и набора характеристик, который Вы хотите загрузить.

Шаг 2

Обратитесь к Загрузке программного обеспечения — Cisco Catalyst 3750 Программного обеспечения (только для зарегистрированных клиентов) и найдите образ, который Вы хотите загрузить.
Чтобы загрузить старшие версии образа служебных команд » IP » или графических файлов ядра IP для Catalyst 3750 коммутаторов, нажмите Catalyst Archived 3750 Программного обеспечения. Чтобы получить авторизацию и загрузить файлы криптографического программного обеспечения, нажмите Catalyst 3750 Сильный Криптографический (3DES) Программное обеспечение.
Примечание: Cisco IOS Software Release ранее чем Cisco IOS Software Release 12.1 (19) EA1c включают обновление bootloader. bootloader может занять до 1 минуты, чтобы модернизировать первоначально что Вы загрузка новое программное обеспечение. Не делайте мощность циклически повторяет коммутатор во время обновления bootloader.

Шаг 3

Скопируйте образ в соответствующий каталог «TFTP» на рабочей станции, и удостоверьтесь, что у сервера «TFTP» есть правильная конфигурация.
Для получения дополнительной информации, обратитесь к Приложению B руководства по конфигурации программного обеспечения для этого выпуска.

Шаг 4

Вход к коммутатору через порт консоли или сеанс «Telnet», и вводит режим включения.

Шаг 5

Чтобы рассмотреть текущую версию, выполните команду show version.

3750#show version
Cisco Internetwork Operating System Software
IOS (tm) C3750 Software (C3750-I5-M), Version 12.1(19)EA1d, RELEASE SOFTWARE (fc1)
Copyright (c) 1986-2004 by cisco Systems, Inc.
Compiled Mon 05-Apr-04 22:06 by antonino
Image text-base: 0x00003000, data-base: 0x009206D8

ROM: Bootstrap program is C3750 boot loader
BOOTLDR: C3750 Boot Loader (C3750-HBOOT-M) Version 12.1(14)EA1, RELEASE SOFTWARE (fc1)

3750 uptime is 4 days, 19 hours, 43 minutes
System returned to ROM by power-on
System image file is "flash:c3750-i5-mz.121-19.EA1d.bin"

cisco WS-C3750G-12S (PowerPC405) processor (revision A0) with 118776K/12288K bytes of
memory.
Processor board ID CAT0732R0JU
Last reset from power-on
Bridging software.
5 Virtual Ethernet/IEEE 802.3  interface(s)
40 Gigabit Ethernet/IEEE 802.3 interface(s)
The password-recovery mechanism is enabled.
512K bytes of flash-simulated non-volatile configuration memory.
Base ethernet MAC Address       : 00:0D:BD:5C:16:80
Motherboard assembly number     : 73-8307-06
Power supply part number        : 341-0048-01
Motherboard serial number       : CAT073205SU
Power supply serial number      : DTH073004US
Model revision number           : A0
Motherboard revision number     : A0
Model number                    : WS-C3750G-12S-E
System serial number            : CAT0732R0JU
Top Assembly Part Number        : 800-23419-01
Top Assembly Revision Number    : A0
Hardware Board Revision Number  : 0x06


Switch   Ports  Model              SW Version              SW Image
------   -----  -----              ----------              ----------
    1   28     WS-C3750G-24TS     12.1(19)EA1d            C3750-I5-M
*    2   12     WS-C3750G-12S      12.1(19)EA1d            C3750-I5-M

Switch 01

Шаг 6

Выполните команду dir flash: команда на 3750, чтобы проверить количество свободной памяти, которое Вы имеете для обновления.
Ниже приведен пример результата выполнения команды:

3750#dir flash:
Directory of flash:/

   2  -rwx        1516   Mar 01 1993 00:01:28  vlan.dat
   3  -rwx     4050902   Mar 01 1993 00:03:32  c3750-i5-mz.121-19.EA1d.bin
   4  -rwx        4273   Mar 05 1993 19:22:44  config.text
  84  -rwx           5   Mar 05 1993 19:22:44  private-config.text

15998976 bytes total (11940352 bytes free)

Действие 7

Чтобы проверить обеспечение связи с сервером «TFTP», прозвоните его IP — адрес.

3750#ping 11.11.11.11

Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 11.11.11.11, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 1/1/1 ms

Шаг 8

Есть несколько опций для загрузки образа. Можно использовать ключи командной строки, у которых, появляется, в этом разделе есть новый образ, записывают поверх старый образ или оставляют внутри перепрограммируемый старый образ.
Пример использует команду archive download-sw, чтобы сохранить старый образ на устройстве. Для полного описания доступных команд, обратитесь к разделу archive download-sw Catalyst 3750 Команд Cisco IOS Коммутатора.
Вот опции, доступные для команды archive download-sw:

3750#archive download-sw ?
 /destination-system  specify destination system to receive software
 /force-reload        Unconditionally reload system after successful sw
                      upgrade
 /imageonly           Load only the IOS image(s)
 /leave-old-sw        Leave old sw installed after successful sw upgrade
 /no-set-boot         Don't set BOOT -- leave existing boot config alone
 /no-version-check    skip version check that prevents incompatible image
                      install
 /only-system-type    specify individual system type to be updated
 /overwrite           OK to overwrite an existing image
 /reload              Reload system (if no unsaved config changes) after
                      successful sw upgrade
 /safe                Always load before deleting old version
 flash1:              Image file
 flash2:              Image file
 flash:               Image file
 ftp:                 Image file
 rcp:                 Image file
 tftp:                Image file

Данный пример показывает команду в использовании и выходных данных коммутатора во время процесса загрузки:

3750#archive download-sw /leave-old-sw tftp://11.11.11.11/
c3750-i5-tar.122-20.SE.tar
Loading c3750-i5-tar.122-20.SE.tar .from 11.11.11.11 (via GigabitEthernet1/0/4):
!!!!!!!!!!!!!.!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
[OK - 8488960 bytes]

Loading c3750-i5-tar.122-20.SE.tar .from 11.11.11.11 (via GigabitEthernet1/0/4):
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
examining image...
extracting info (98 bytes)
extracting c3750-i5-mz.122-20.SE/info (435 bytes)
extracting info (98 bytes)

Stacking Version Number: 1.4

System Type:             0x00000000
 Ios Image File Size:   0x004BA200
 Total Image File Size: 0x00818A00
 Minimum Dram required: 0x04000000
 Image Suffix:          i5-122-20.SE
 Image Directory:       c3750-i5-mz.122-20.SE
 Image Name:            c3750-i5-mz.122-20.SE.bin
 Image Feature:         LAYER_3|MIN_DRAM_MEG=64

Old image for switch 1: unknown
Old image for switch 2: unknown

Extracting images from archive into flash on switch 1...
c3750-i5-mz.122-20.SE/ (directory)
c3750-i5-mz.122-20.SE/html/ (directory)
extracting c3750-i5-mz.122-20.SE/html/cms_boot.jar (154860 bytes)
extracting c3750-i5-mz.122-20.SE/html/err.html (152 bytes)
extracting c3750-i5-mz.122-20.SE/html/cms_splash.gif (22131 bytes)
extracting c3750-i5-mz.122-20.SE/html/cms_13.html (510 bytes)
extracting c3750-i5-mz.122-20.SE/html/custom_cms.html (2441 bytes)
extracting c3750-i5-mz.122-20.SE/html/not_supported.html (1392 bytes)
extracting c3750-i5-mz.122-20.SE/html/cluster.html (2822 bytes)
extracting c3750-i5-mz.122-20.SE/html/start.html (576 bytes)
extracting c3750-i5-mz.122-20.SE/html/test.htm (2301 bytes)
extracting c3750-i5-mz.122-20.SE/html/xhome.htm (25035 bytes)
extracting c3750-i5-mz.122-20.SE/html/stylesheet.css (3364 bytes)
extracting c3750-i5-mz.122-20.SE/html/back-exp.htm (182 bytes)
extracting c3750-i5-mz.122-20.SE/html/sitewide.js (10627 bytes)
extracting c3750-i5-mz.122-20.SE/html/tools.htm (21818 bytes)
extracting c3750-i5-mz.122-20.SE/html/appsui.js (3092 bytes)
extracting c3750-i5-mz.122-20.SE/html/forms.js (11521 bytes)
extracting c3750-i5-mz.122-20.SE/html/doc.htm (22332 bytes)
extracting c3750-i5-mz.122-20.SE/html/express-setup.htm (61957 bytes)
extracting c3750-i5-mz.122-20.SE/html/troubleshooting_Browser.htm (3704 bytes)
extracting c3750-i5-mz.122-20.SE/html/troubleshooting_OS.htm (2851 bytes)
extracting c3750-i5-mz.122-20.SE/html/net_report.htm (21107 bytes)
!--- Output suppressed.

Installing (renaming): `flash1:update/c3750-i5-mz.122-20.SE' ->
                                      `flash1:c3750-i5-mz.122-20.SE'
New software image installed in flash1:c3750-i5-mz.122-20.SE

Installing (renaming): `flash:update/c3750-i5-mz.122-20.SE' ->
                                      `flash:c3750-i5-mz.122-20.SE'
New software image installed in flash:c3750-i5-mz.122-20.SE

All software images installed.
!--- Installation of the image and supporting files is now complete
!--- in the flash of all switches in the stack. In this example, installation
!--- is complete in both switches.

Шаг 9

Копия образа завершена, и Вы готовы к перезагрузке. Чтобы проверить это, текущее состояние коммутаторов —

Ready

, выполнить команду show switch detail.
Ниже представлен пример этого:

3750#show switch detail
                                              Current
Switch#  Role      Mac Address     Priority     State
--------------------------------------------------------
1       Slave     000c.30ae.4f00     9         Ready
*2       Master    000d.bd5c.1680     15        Ready



        Stack Port Status             Neighbors
Switch#  Port 1     Port 2           Port 1   Port 2
--------------------------------------------------------
 1        Ok         Ok                2        2
 2        Ok         Ok                1        1

Шаг 10

Чтобы проверить это, новый образ находится в перепрограммируемом для элементов стека, выполнить команду dir flash: и dir flash 1: команда. В данном примере есть два элемента стека коммутатора. Если конфигурация стека включает дополнительные коммутаторы в стек, выполнить команду dir flash#: для каждого дополнительного коммутатора в стеке.
Выполните команду show version, чтобы проверить это, старый образ все еще — образ системы текущей операции. Выполните команду show boot, чтобы проверить это, новый образ — теперь образ в

BOOT path-list

, который будет загрузка в следующем коммутаторе перезагружать.

3750#dir flash:
Directory of flash:/

   2  -rwx        1516   Mar 01 1993 00:01:28  vlan.dat
   3  -rwx     4050902   Mar 01 1993 00:03:32  c3750-i5-mz.121-19.EA1d.bin
   4  -rwx        4273   Mar 05 1993 19:22:44  config.text
   6  drwx         192   Mar 05 1993 19:40:16  c3750-i5-mz.122-20.SE
  84  -rwx           5   Mar 05 1993 19:22:44  private-config.text
!--- Notice the "d" in the permissions statement. The "d" indicates a directory.

15998976 bytes total (3491328 bytes free)
3750#dir flash1:
Directory of flash1:/

   2  -rwx     4050902   Mar 01 1993 00:35:58  c3750-i5-mz.121-19.EA1d.bin
   3  -rwx        1516   Mar 01 1993 00:01:33  vlan.dat
   4  -rwx        4273   Mar 05 1993 19:22:44  config.text
   5  -rwx           5   Mar 05 1993 19:22:44  private-config.text
   7  drwx         192   Mar 05 1993 19:37:40  c3750-i5-mz.122-20.SE

15998976 bytes total (3491328 bytes free)


3750#show version
Cisco Internetwork Operating System Software
IOS (tm) C3750 Software (C3750-I5-M), Version 12.1(19)EA1d, RELEASE SOFTWARE (fc1)
Copyright (c) 1986-2004 by cisco Systems, Inc.
Compiled Mon 05-Apr-04 22:06 by antonino
Image text-base: 0x00003000, data-base: 0x009206D8

ROM: Bootstrap program is C3750 boot loader
BOOTLDR: C3750 Boot Loader (C3750-HBOOT-M) Version 12.1(14)EA1, RELEASE SOFTWARE (fc1)

3750 uptime is 4 days, 19 hours, 43 minutes
System returned to ROM by power-on
System image file is "flash:c3750-i5-mz.121-19.EA1d.bin"

cisco WS-C3750G-12S (PowerPC405) processor (revision A0) with
118776K/12288K bytes of memory.
Processor board ID CAT0732R0JU
Last reset from power-on
Bridging software.
5 Virtual Ethernet/IEEE 802.3  interface(s)
40 Gigabit Ethernet/IEEE 802.3 interface(s)
The password-recovery mechanism is enabled.
512K bytes of flash-simulated non-volatile configuration memory.
Base ethernet MAC Address       : 00:0D:BD:5C:16:80
Motherboard assembly number     : 73-8307-06
Power supply part number        : 341-0048-01
Motherboard serial number       : CAT073205SU
Power supply serial number      : DTH073004US
Model revision number           : A0
Motherboard revision number     : A0
Model number                    : WS-C3750G-12S-E
System serial number            : CAT0732R0JU
Top Assembly Part Number        : 800-23419-01
Top Assembly Revision Number    : A0
Hardware Board Revision Number  : 0x06


Switch   Ports  Model              SW Version              SW Image
------   -----  -----              ----------              ----------
    1   28     WS-C3750G-24TS     12.1(19)EA1d            C3750-I5-M
*    2   12     WS-C3750G-12S      12.1(19)EA1d            C3750-I5-M


Switch 01

!--- When you issue the show boot command, it now reads the new code revision
!--- that will load at the next reboot.

3750#show boot
BOOT path-list      : flash:c3750-i5-mz.122-20.SE/c3750-i5-mz.122-20.SE.bin
Config file         : flash:/config.text
Private Config file : flash:/private-config.text
Enable Break        : no
Manual Boot         : no
HELPER path-list    :
Auto upgrade        : yes
3750#
3750#

Шаг 11

Выполните команду reload при подсказке и подтвердите, чтобы продолжить перезагружение. Новая версия кода должна подойти и начать работающих под управлением как ожидалось на всех коммутаторах в стеке.
Вот пример выходных данных от коммутатора, перезагрузите:

3750#reload
Proceed with reload? [confirm]

4d19h: %SYS-5-RELOAD: Reload requested

Base ethernet MAC Address: 00:0d:bd:5c:16:80

Xmodem file system is available.

The password-recovery mechanism is enabled.

Initializing Flash...

flashfs[0]: 86 files, 4 directories

flashfs[0]: 0 orphaned files, 0 orphaned directories

flashfs[0]: Total bytes: 15998976

flashfs[0]: Bytes used: 12507648

flashfs[0]: Bytes available: 3491328

flashfs[0]: flashfs fsck took 9 seconds.

...done Initializing Flash.

Boot Sector Filesystem (bs) installed, fsid: 3

done.

Loading "flash:c3750-i5-mz.122-20.SE/c3750-i5-mz.122-20.SE.bin"
...@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@

File "flash:c3750-i5-mz.122-20.SE/c3750-i5-mz.122-20.SE.bin" uncompressed and installed,
entry point: 0x3000

executing...

             Restricted Rights Legend

Use, duplication, or disclosure by the Government is
subject to restrictions as set forth in subparagraph
(c) of the Commercial Computer Software - Restricted
Rights clause at FAR sec. 52.227-19 and subparagraph
(c) (1) (ii) of the Rights in Technical Data and Computer
Software clause at DFARS sec. 252.227-7013.

          cisco Systems, Inc.
          170 West Tasman Drive
          San Jose, California 95134-1706



Cisco Internetwork Operating System Software
IOS (tm) C3750 Software (C3750-I5-M), Version 12.2(20)SE, RELEASE SOFTWARE (fc1)
Copyright (c) 1986-2004 by cisco Systems, Inc.
Compiled Wed 19-May-04 11:52 by yenanh
Image text-base: 0x00003000, data-base: 0x00B53B10

Initializing flashfs...

flashfs[1]: 86 files, 4 directories
flashfs[1]: 0 orphaned files, 0 orphaned directories
flashfs[1]: Total bytes: 15998976
flashfs[1]: Bytes used: 12507648
flashfs[1]: Bytes available: 3491328
flashfs[1]: flashfs fsck took 9 seconds.
flashfs[1]: Initialization complete....done Initializing flashfs.

POST: CPU MIC register Tests : Begin
POST: CPU MIC register Tests : End, Status Passed

POST: PortASIC Memory Tests : Begin
POST: PortASIC Memory Tests : End, Status Passed

POST: CPU MIC PortASIC interface Loopback Tests : Begin
POST: CPU MIC PortASIC interface Loopback Tests : End, Status Passed

POST: PortASIC RingLoopback Tests : Begin
POST: PortASIC RingLoopback Tests : End, Status Passed

Waiting for Stack Master Election (around 20 seconds)...
POST: PortASIC CAM Subsystem Tests : Begin
POST: PortASIC CAM Subsystem Tests : End, Status Passed


POST: PortASIC Stack Port Loopback Tests : Begin
POST: PortASIC Stack Port Loopback Tests : End, Status Passed

POST: PortASIC Port Loopback Tests : Begin
POST: PortASIC Port Loopback Tests : End, Status Passed

Election Complete
Switch 2 booting as Master
Waiting for Port download...Complete

cisco WS-C3750G-12S (PowerPC405) processor (revision A0) with 118784K/12280K bytes of
memory.
Processor board ID CAT0732R0JU
Last reset from power-on
Bridging software.
1 Virtual Ethernet/IEEE 802.3  interface(s)
40 Gigabit Ethernet/IEEE 802.3 interface(s)
The password-recovery mechanism is enabled.

512K bytes of flash-simulated non-volatile configuration memory.
Base ethernet MAC Address       : 00:0D:BD:5C:16:80
Motherboard assembly number     : 73-8307-06
Power supply part number        : 341-0048-01
Motherboard serial number       : CAT073205SU
Power supply serial number      : DTH073004US
Model revision number           : A0
Motherboard revision number     : A0
Model number                    : WS-C3750G-12S-E
System serial number            : CAT0732R0JU
Top Assembly Part Number        : 800-23419-01
Top Assembly Revision Number    : A0
Hardware Board Revision Number  : 0x06


Switch   Ports  Model              SW Version              SW Image
------   -----  -----              ----------              ----------
*    2   12     WS-C3750G-12S      12.2(20)SE              C3750-I5-M



Press RETURN to get started!


00:00:57: %STACKMGR-6-SWITCH_ADDED: Switch 1 has been ADDED to the stack
00:00:57: %STACKMGR-6-SWITCH_ADDED: Switch 2 has been ADDED to the stack
00:01:27: %LINEPROTO-5-UPDOWN: Line protocol on Interface Vlan1, changed state to down
00:01:27: %SPANTREE-5-EXTENDED_SYSID: Extended SysId enabled for type vlan
00:01:30: %SYS-5-CONFIG_I: Configured from memory by console
00:01:30: %STACKMGR-6-SWITCH_READY: Switch 2 is READY
00:01:30: %STACKMGR-6-STACK_LINK_CHANGE: Stack Port 1 Switch 2 has changed to st
3750>
3750>ate UP
00:01:30: %STACKMGR-6-STACK_LINK_CHANGE: Stack Port 2 Switch 2 has changed to state UP
00:01:30: %STACKMGR-6-MASTER_READY: Master Switch 2 is READY
00:01:31: %SYS-5-RESTART: System restarted --
Cisco Internetwork Operating System Software
IOS (tm) C3750 Software (C3750-I5-M), Version 12.2(20)SE, RELEASE SOFTWARE (fc1)
Copyright (c) 1986-2004 by cisco Systems, Inc.
Compiled Wed 19-May-04 11:52 by yenanh
00:01:32: %LINK-5-CHANGED: Interface GigabitEthernet2/0/1,
changed state to administratively
down
00:01:32: %LINK-5-CHANGED: Interface Vlan1, changed state to administratively down
00:01:32: %LINK-5-CHANGED: Interface Vlan2, changed state to administratively down
00:01:35: %STACKMGR-6-SWITCH_READY: Switch 1 is READY
00:01:35: %STACKMGR-6-STACK_LINK_CHANGE: Stack Port 1 Switch 1 has changed to state UP
00:01:35: %STACKMGR-6-STACK_LINK_CHANGE: Stack Port 2 Switch 1 has changed to state UP
00:01:25: %STACKMGR-6-SWITCH_ADDED: Switch 1 has been ADDED to the stack (3750-1)
00:01:25: %STACKMGR-6-SWITCH_ADDED: Switch 2 has been ADDED to the stack (3750-1)
00:01:32: %SPANTREE-5-EXTENDED_SYSID: Extended SysId enabled for type vlan (3750-1)
00:01:35: %SYS-5-CONFIG_I: Configured from memory by console (3750-1)
00:01:35: %STACKMGR-6-SWITCH_READY: Switch 2 is READY (3750-1)
00:01:35: %STACKMGR-6-MASTER_READY: Master Switch 2 is READY (3750-1)
00:01:35: %STACKMGR-6-SWITCH_READY: Switch 1 is READY (3750-1)
00:01:36: %SYS-5-RESTART: System restarted -- (3750-1)
Cisco Internetwork Operating System
3750>
3750>Software  (3750-1)
IOS (tm) C3750 Software (C3750-I5-M), Version 12.2(20)SE, RELEASE SOFTWARE
(fc1) (3750-1)
Copyright (c) 1986-2004 by cisco Systems, Inc. (3750-1)
Compiled Wed 19-May-04 11:52 by yenanh (3750-1)
00:01:37: %LINK-3-UPDOWN: Interface GigabitEthernet1/0/2, changed state to up
00:01:37: %LINK-3-UPDOWN: Interface GigabitEthernet1/0/3, changed state to up
00:01:37: %LINK-3-UPDOWN: Interface GigabitEthernet1/0/4, changed state to up
00:01:38: %LINK-3-UPDOWN: Interface GigabitEthernet2/0/2, changed state to up
00:01:38: %LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet1/0/2, changed
state to up
00:01:38: %LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet1/0/3, changed
state to up
00:01:38: %LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet1/0/4, changed
state to up
00:01:39: %LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet2/0/2, changed
state to up
3750>

3750 обновлений «IOS» Стека Коммутатора Серии — Руководство (образ.tar)

Предыдущий раздел этого документа объяснил, как модернизировать IOS, используя команду archive download-sw. Можно также модернизировать IOS вручную коммутатор коммутатором, не разъединяя кабели стека. Эти три главных действия в этом методе:

  1. Скопируйте образ.tar от сервера «TFTP» до основного коммутатора.
  2. Извлеките образ.tar во все файловые системы Флэша коммутаторов.
  3. Настройте переменные загрузки.

Команда archive download-sw делает все три шага во время автоматического обновления «IOS». Можно также выполнить эти три шага в ручное обновление «IOS». Постепенный раздел показывает приведенное в качестве примера обновление «IOS», чтобы модернизировать IOS к Cisco IOS Software Release 12.2 (25) SEE1. У данного примера есть стек коммутатора с тремя коммутаторами. Коммутатор 1 является основным коммутатором, и коммутаторы 2 и 3 являются коммутаторами — участниками.

Пошаговые инструкции

Шаг 1 — Загрузка Образ.tar

Вы должны удостовериться, что Вы имеете достаточное пространство в наличии во Флэше основного коммутатора. У основного коммутатора должна быть дважды величина пространства размера файла образа.tar. Это пространство необходимо, чтобы хранить файл.tar, а также сохранить содержание файла.tar, который Вы извлекаете в шаге 2. Например, если размер образа.tar составляет 10 MBS, у Вас должен быть минимум 20 MBS свободного места.

3750-stack#copy tftp: flash:
Address or name of remote host []? 10.10.10.10
Source filename []? c3750-advipservicesk9-tar.122-25.SEE1.tar
Destination filename [c3750-advipservicesk9-tar.122-25.SEE1.tar]?
Accessing tftp://10.10.10.10/c3750-advipservicesk9-tar.122-25.SEE1.tar...
Loading c3750-advipservicesk9-tar.122-25.SEE1.tar from 10.10.10.10 (via Vlan10
): !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!--- Output is suppressed.

Шаг 2 — Извлечение Образ.tar

Извлеките образы.tar ко всем коммутаторам в файловой системе Флэша. Команда archive tar /xtract создает каталог и извлекает файлы под недавно созданным каталогом.
Это — пример синтаксиса команды:

3750-stack#archive tar /xtract  

Выполните следующие шаги:

  1. Извлеките файл.tar во Флэш на switch1.
    3750-stack#archive tar /xtract c3750-advipservicesk9-tar.122-25.SEE1.tar
    flash1:
    
    extracting c3750-advipservicesk9-mz.122-25.SEE1/html/images/grn_vertlines_bott
    .gif (957 bytes)
    extracting c3750-advipservicesk9-mz.122-25.SEE1/html/images/red.gif (147 bytes
    extracting c3750-advipservicesk9-mz.122-25.SEE1/html/images/print.gif (625 byt
    )
    !--- Output is suppressed.
  2. Извлеките файл.tar во Флэш на switch2.
    750-stack#archive tar /xtract c3750-advipservicesk9-tar.122-25.SEE1.tar
    flash2:
    
    extracting c3750-advipservicesk9-mz.122-25.SEE1/html/images/grn_vertlines_bott
    .gif (957 bytes)
    extracting c3750-advipservicesk9-mz.122-25.SEE1/html/images/red.gif (147 bytes
    extracting c3750-advipservicesk9-mz.122-25.SEE1/html/images/print.gif (625 byt
    )
    !--- Output is suppressed.
  3. Извлеките файл.tar во Флэш на switch3.
    3750-stack#archive tar /xtract c3750-advipservicesk9-tar.122-25.SEE1.tar
    flash3:
    
    extracting c3750-advipservicesk9-mz.122-25.SEE1/html/images/grn_vertlines_bott
    .gif (957 bytes)
    extracting c3750-advipservicesk9-mz.122-25.SEE1/html/images/red.gif (147 bytes)
    extracting c3750-advipservicesk9-mz.122-25.SEE1/html/images/print.gif (625 bytes)
    !--- Output is suppressed.

Шаг 3 — Настраивает Переменные загрузки

После того, как Вы извлекаете файлы.tar во Флэш, Вы должны настроить переменные загрузки, чтобы указать на новый IOS. Вы должны найти путь, где файл.bin извлекается.

3750-stack#dir
Directory of flash:/

   2  drwx192  Mar 11 1993 00:31:05 +00:00  c3750-advipservicesk9-mz.122-25.SEE1 
!--- The archive tar /xtract command created this directory.
 455  -rwx         114  Mar 11 1993 00:31:05 +00:00  info
 457  -rwx        9433   Mar 1 1993 01:40:11 +00:00  config.text
 458  -rwx         796   Mar 1 1993 00:02:39 +00:00  vlan.dat
 459  -rwx          24   Mar 1 1993 01:40:11 +00:00  private-config.text

15998976 bytes total (5613056 bytes free)


3750-stack#dir flash:c3750-advipservicesk9-mz.122-25.SEE1

Directory of flash:/c3750-advipservicesk9-mz.122-25.SEE1/

   3  -rwx     8169055  Mar 11 1993 00:29:52 +00:00  c3750-advipservicesk9-mz.1
22-25.SEE1.bin
   4  drwx        4160  Mar 11 1993 00:30:29 +00:00  html
 454  -rwx         709  Mar 11 1993 00:31:05 +00:00  info

15998976 bytes total (5613056 bytes free)
3750-stack#

Команда boot system switch all используется, чтобы изменить переменные загрузки.
Примечание: Этот boot system switch all был снижен к второй линии из-за пространственных рассмотрений.

3750-stack(config)#boot system switch all flash:/c3750-
advipservicesk9-mz.122-25.SEE1/c3750-advipservicesk9-mz.122-25.SEE1.bin
3750-stack(config)#exit
3750-stack#write memory

Шаг 4 — Перезагружает и Проверяет

Перезагрузите коммутатор и проверьте это, коммутатор работающих под управлением нового ПО «Cisco IOS» релиза программного обеспечения после перезагружения:

!--- Reload the switch.

Switch#reload
Proceed with reload? [confirm]



!--- Verify the Cisco IOS software release of the switch after the reload.

3750-stack#show version
Cisco IOS Software, C3750 Software (C3750-ADVIPSERVICESK9-M), Version 12.2(25)S
E1, RELEASE SOFTWARE (fc1)
Copyright (c) 1986-2006 by Cisco Systems, Inc.
Compiled Mon 22-May-06 08:52 by yenanh
Image text-base: 0x00003000, data-base: 0x01255B58

!--- Output is suppressed.

Switch   Ports  Model              SW Version              SW Image
------   -----  -----              ----------              ----------
*    1   28     WS-C3750G-24PS     12.2(25)SEE1            C3750-ADVIPSERVICESK
    2   52     WS-C3750G-48TS     12.2(25)SEE1            C3750-ADVIPSERVICESK
    3   26     WS-C3750-24TS      12.2(25)SEE1            C3750-ADVIPSERVICESK



!--- Verify the switch master and member state:

3750-stack#show switch
                                              Current
Switch#  Role      Mac Address     Priority     State
--------------------------------------------------------
*1       Master    0015.63f6.b700     5         Ready
2       Member    0015.c6c1.3000     2         Ready
3       Member    000f.f794.3d00     5         Ready

3750 обновлений «IOS» Стека Коммутатора Серии — Руководство (Образ.bin)

3750 стеков коммутатора могут управляться или с менеджером устройств сети или с CLI. Если Вы управляете коммутатором с CLI, Вы не нуждаетесь в образе.tar. Этот раздел объясняет обновление «IOS» с образом.bin. Он, предполагаемых, что Вы уже настроили 3750 стеков коммутатора с образом IOS. Этот раздел объясняет, как скопировать и модернизировать нового IOS в 3750 стеках коммутатора.
Примечание: Команды archive download-sw и archive upload-sw применимы только для графических файлов.tar и не применяются к графическим файлам.bin.
Данный пример объясняет пошаговую процедуру, чтобы модернизировать IOS к Cisco IOS Software Release 12.2 (25) SEE2 на Catalyst 3750 стеков коммутатора. Catalyst у 3750 стеков коммутатора есть два коммутатора и образ IOS, определяется в сервере «TFTP» 172.22.1.165. Эти выходные данные показывают элемент стека и задатчика в этом стеке:

Switch#show switch
                                              Current
Switch#  Role      Mac Address     Priority     State
--------------------------------------------------------
1       Member    0015.63f6.b700     5         Ready
*2       Master    0015.c6c1.3000     10        Ready

Пошаговые инструкции

Шаг 1 — Загрузка Образ.bin

Обратитесь к Загрузке программного обеспечения — Cisco Catalyst 3750 Программного обеспечения (только для зарегистрированных клиентов) и найдите образ, который Вы хотите загрузить. Центр Загрузки программного обеспечения Catalyst 3750 содержит два набора образов IOS для каждого набора характеристик и версий. Один набор содержит только файл образа «IOS», у которого есть.bin расширения. Другой набор содержит образ IOS плюс на основе веба менеджер устройств, у которого есть.tar расширения.

Шаг 2 — Проверяет Доступную память

Можно проверить доступную память в файловой системе Флэша обоих коммутаторов индивидуально, поскольку выходные данные данного примера показывают:

Switch#dir flash1:
Directory of flash1:/

   2  -rwx          24   Mar 3 1993 22:02:44 +00:00  private-config.text
   3  -rwx      623744   Jan 1 1970 00:12:28 +00:00  stardust0923
   4  -rwx         796   Mar 1 1993 00:02:55 +00:00  vlan.dat
   5  -rwx      623744   Jan 1 1970 00:32:09 +00:00  diag
   6  -rwx     8169055   Mar 1 1993 00:43:34 +00:00  c3750-advipservicesk9-mz.
22-25.SEE1.bin
   8  -rwx       10192   Mar 3 1993 22:02:44 +00:00  config.text
 462  -rwx         114   Mar 1 1993 00:32:19 +00:00  info
 367  drwx         192   Mar 1 1993 00:32:19 +00:00  c3750-advipservicesk9-mz.
22-25.SEE1

32514048 bytes total (12754944 bytes free)


Switch#dir flash2:
Directory of flash:/

   2  -rwx     4207104   Jan 1 1970 00:14:06 +00:00  c3750-i9-mz.122-20.SE4
   3  -rwx      623744   Jan 1 1970 00:17:20 +00:00  stardust0923
   4  -rwx     4207104   Jan 1 1970 00:19:44 +00:00  ios
   5  -rwx      623744   Jan 1 1970 00:20:47 +00:00  diag
   6  -rwx     8169055  Mar 21 1993 23:29:36 +00:00  c3750-advipservicesk9-mz.1
22-25.SEE1.bin
   7  -rwx         796   Mar 1 1993 00:02:49 +00:00  vlan.dat
   8  -rwx          24   Mar 3 1993 22:02:44 +00:00  private-config.text
  10  -rwx       10192   Mar 3 1993 22:02:44 +00:00  config.text
  11  drwx         128  Mar 21 1993 23:25:53 +00:00  c3750-ipservicesk9-mz.122-
25.SEB1

32514048 bytes total (13071360 bytes free)

В Catalyst 3750 стеков коммутатора

flash:

представляет файловую систему Флэша основного коммутатора. В данном примере команда dir flash: отображает содержание основного коммутатора (Коммутатор 2), который является flash2:.

Шаг 3 — Копия Образы к Файловой системе Флэша

Скопируйте образ.bin от сервера «TFTP» до файловой системы Флэша обоих коммутаторов.
Примечание: Автоматическое Обновление (автообновление) характеристика только работает с образами.tar.

Switch#copy tftp: flash1:
Address or name of remote host [172.22.1.165]?
Source filename [c3750-advipservicesk9-mz.122-25.SEE2]? c3750-advipservicesk9-
.122-25.SEE2.bin
Destination filename [c3750-advipservicesk9-mz.122-25.SEE2.bin]?
Accessing tftp://172.22.1.165/c3750-advipservicesk9-mz.122-25.SEE2.bin...
Loading c3750-advipservicesk9-mz.122-25.SEE2.bin from 172.22.1.165 (via Vlan1)
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

!--- Output is truncated.

[OK - 8172194 bytes]

8172194 bytes copied in 203.718 secs (40115 bytes/sec)


Switch#copy tftp: flash2:
Address or name of remote host [172.22.1.165]?
Source filename [c3750-advipservicesk9-mz.122-25.SEE2.bin]?
Destination filename [c3750-advipservicesk9-mz.122-25.SEE2.bin]?
Accessing tftp://172.22.1.165/c3750-advipservicesk9-mz.122-25.SEE2.bin...
Loading c3750-advipservicesk9-mz.122-25.SEE2.bin from 172.22.1.165 (via Vlan1):
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

!--- Output is truncated.

[OK - 8172194 bytes]

8172194 bytes copied in 186.655 secs (43782 bytes/sec)

Шаг 4 — Настраивает Переменные загрузки

Настройте переменные загрузки, чтобы загрузить коммутатор с недавно скопированным IOS:

Switch(config)#boot system switch all flash:/
c3750-advipservicesk9-mz.122-25.SEE2.bin
Switch(config)#exit
Switch#write memory

Шаг 5 — Проверяет Перед Перезагружением

Проверьте переменные загрузки:

Switch#show boot
BOOT path-list      : flash:/c3750-advipservicesk9-mz.122-25.SEE2.bin
!--- Master switch.
Config file         : flash:/config.text
Private Config file : flash:/private-config.text
Enable Break        : no
Manual Boot         : no
HELPER path-list    :
Auto upgrade        : yes
-------------------
Switch 1
!--- Member switch.
-------------------
BOOT path-list      : flash:/c3750-advipservicesk9-mz.122-25.SEE2.bin
Config file         : flash:/config.text
Private Config file : flash:/private-config.text
Enable Break        : no
Manual Boot         : no
HELPER path-list    :

Auto upgrade        : no

Проверьте это, новый файл IOS присутствует во Флэше:

Switch#dir flash1:
Directory of flash1:/

   2  -rwx          24   Mar 3 1993 22:02:44 +00:00  private-config.text
   3  -rwx      623744   Jan 1 1970 00:12:28 +00:00  stardust0923
   4  -rwx         796   Mar 1 1993 00:02:48 +00:00  vlan.dat
   5  -rwx      623744   Jan 1 1970 00:32:09 +00:00  diag
   6  -rwx     8169055   Mar 1 1993 00:43:34 +00:00  c3750-advipservicesk9-mz.1
22-25.SEE1.bin
   7  -rwx     8172194   Mar 3 1993 22:31:35 +00:00  c3750-advipservicesk9-mz.1
22-25.SEE2.bin
   8  -rwx       10192   Mar 3 1993 22:02:44 +00:00  config.text
 462  -rwx         114   Mar 1 1993 00:32:19 +00:00  info
 367  drwx         192   Mar 1 1993 00:32:19 +00:00  c3750-advipservicesk9-mz.1
22-25.SEE1

32514048 bytes total (4582400 bytes free)


Switch#dir flash: or dir flash2:
Directory of flash2:/

   2  -rwx     4207104   Jan 1 1970 00:14:06 +00:00  c3750-i9-mz.122-20.SE4
   3  -rwx      623744   Jan 1 1970 00:17:20 +00:00  stardust0923
   4  -rwx     4207104   Jan 1 1970 00:19:44 +00:00  ios
   5  -rwx      623744   Jan 1 1970 00:20:47 +00:00  diag
   6  -rwx     8169055  Mar 21 1993 23:29:36 +00:00  c3750-advipservicesk9-mz.1
22-25.SEE1.bin
   7  -rwx         796   Mar 1 1993 00:02:54 +00:00  vlan.dat
   8  -rwx          24   Mar 3 1993 22:02:44 +00:00  private-config.text
   9  -rwx     8172194   Mar 3 1993 22:42:06 +00:00  c3750-advipservicesk9-mz.1
22-25.SEE2.bin
  10  -rwx       10192   Mar 3 1993 22:02:44 +00:00  config.text
  11  drwx         128  Mar 21 1993 23:25:53 +00:00  c3750-ipservicesk9-mz.122-
25.SEB1

32514048 bytes total (4898816 bytes free)

Шаг 6 — Перезагружает и Проверяет

Перезагрузите коммутатор и проверьте это, коммутатор работающих под управлением новой ПО «Cisco IOS» версии программного обеспечения после перезагружения:

!--- Reload the switch.

Switch#reload
Proceed with reload? [confirm]

!--- Verify the Cisco IOS software version of the switch after the reload.

Switch#show version
Cisco IOS Software, C3750 Software (C3750-ADVIPSERVICESK9-M), Version 12.2(25)SE
E2, RELEASE SOFTWARE (fc1)
Copyright (c) 1986-2006 by Cisco Systems, Inc.
Compiled Fri 28-Jul-06 12:55 by yenanh
Image text-base: 0x00003000, data-base: 0x01256754

ROM: Bootstrap program is C3750 boot loader
BOOTLDR: C3750 Boot Loader (C3750-HBOOT-M), Version 12.2 [bkeene-flo_dsbu2 100]

Switch uptime is 33 minutes
System returned to ROM by power-on
System image file is "flash:/c3750-advipservicesk9-mz.122-25.SEE2.bin"


This product contains cryptographic features and is subject to United
States and local country laws governing import, export, transfer and
use. Delivery of Cisco cryptographic products does not imply
third-party authority to import, export, distribute or use encryption.
Importers, exporters, distributors and users are responsible for
compliance with U.S. and local country laws. By using this product you
agree to comply with applicable laws and regulations. If you are unable
to comply with U.S. and local laws, return this product immediately.

A summary of U.S. laws governing Cisco cryptographic products may be found at:
http://www.cisco.com/wwl/export/crypto/tool/stqrg.html

If you require further assistance please contact us by sending email to
export@cisco.com.

cisco WS-C3750G-48TS (PowerPC405) processor (revision 01) with 118784K/12280K by
tes of memory.
Processor board ID FOC0941U2SK
Last reset from power-on
3 Virtual Ethernet interfaces
132 Gigabit Ethernet interfaces
The password-recovery mechanism is enabled.

512K bytes of flash-simulated non-volatile configuration memory.
Base ethernet MAC Address       : 00:15:C6:C1:30:00  
!--- Master switch information.
Motherboard assembly number     : 73-10218-04
Power supply part number        : 341-0107-01
Motherboard serial number       : FOC09400W9S
Power supply serial number      : AZS093905HN
Model revision number           : 01
Motherboard revision number     : 02
Model number                    : WS-C3750G-48TS-S
System serial number            : FOC0941U2SK
Top Assembly Part Number        : 800-26857-01
Top Assembly Revision Number    : 06
Version ID                      : V03
Hardware Board Revision Number  : 0x03

!--- Verify that all the switches run the new Cisco IOS software version:

Switch   Ports  Model              SW Version              SW Image
------   -----  -----              ----------              ----------
    1   28     WS-C3750G-24PS     12.2(25)SEE2      C3750-ADVIPSERVICESK
*    2   52     WS-C3750G-48TS     12.2(25)SEE2      C3750-ADVIPSERVICESK


Switch 01                 
!--- Member switch information.
---------
Switch Uptime                   : 33 minutes
Base ethernet MAC Address       : 00:15:63:F6:B7:00
Motherboard assembly number     : 73-10217-03
Power supply part number        : 341-0108-02
Motherboard serial number       : FOC09382V48
Power supply serial number      : DCA09330W5E
Model revision number           : 01
Motherboard revision number     : 04
Model number                    : WS-C3750G-24PS-E
System serial number            : FOC0939U17V
Top assembly part number        : 800-27482-01
Top assembly revision number    : 01
Version ID                      : V03

Configuration register is 0xF

!--- Verify the switch master and member state:

Switch#show switch
                                              Current
Switch#  Role      Mac Address     Priority     State
--------------------------------------------------------
1       Member    0015.63f6.b700     5         Ready
*2       Master    0015.c6c1.3000     10        Ready

Проверки

В данном разделе содержатся сведения для проверки работы текущей конфигурации.
Некоторые команды show поддерживаются интерпретатором выходных данных, который обеспечивает отображение анализа выходных данных команды show.

  • show switch detail — Проверяет это, все коммутаторы готовы.
  • show version — Проверяет это, все коммутаторы в стеке не работающих под управлением к новой версии кода.
3750#show switch detail
                                              Current
Switch#  Role      Mac Address     Priority     State
--------------------------------------------------------
1       Slave     000c.30ae.4f00     9         Ready              
*2       Master    000d.bd5c.1680     15        Ready



        Stack Port Status             Neighbors
Switch#  Port 1     Port 2           Port 1   Port 2
--------------------------------------------------------
 1        Ok         Ok                2        2
 2        Ok         Ok                1        1

!--- The show version command now reflects the new code revision, as expected.
3750#show version
Cisco Internetwork Operating System Software
IOS (tm) C3750 Software (C3750-I5-M), Version 12.2(20)SE, RELEASE SOFTWARE (fc1)
Copyright (c) 1986-2004 by cisco Systems, Inc.
Compiled Wed 19-May-04 11:52 by yenanh
Image text-base: 0x00003000, data-base: 0x00B53B10

ROM: Bootstrap program is C3750 boot loader
BOOTLDR: C3750 Boot Loader (C3750-HBOOT-M) Version 12.1(14)EA1, RELEASE SOFTWARE (fc1)

3750 uptime is 2 minutes
System returned to ROM by power-on
System image file is "flash:c3750-i5-mz.122-20.SE/c3750-i5-mz.122-20.SE.bin"

cisco WS-C3750G-12S (PowerPC405) processor (revision A0) with 118784K/12280K bytes of
memory.
Processor board ID CAT0732R0JU
Last reset from power-on
Bridging software.
5 Virtual Ethernet/IEEE 802.3  interface(s)
40 Gigabit Ethernet/IEEE 802.3 interface(s)
The password-recovery mechanism is enabled.

512K bytes of flash-simulated non-volatile configuration memory.
Base ethernet MAC Address       : 00:0D:BD:5C:16:80
Motherboard assembly number     : 73-8307-06
Power supply part number        : 341-0048-01
Motherboard serial number       : CAT073205SU
Power supply serial number      : DTH073004US
Model revision number           : A0
Motherboard revision number     : A0
Model number                    : WS-C3750G-12S-E
System serial number            : CAT0732R0JU
Top Assembly Part Number        : 800-23419-01
Top Assembly Revision Number    : A0
Hardware Board Revision Number  : 0x06


Switch   Ports  Model              SW Version              SW Image
------   -----  -----              ----------              ----------
    1   28     WS-C3750G-24TS     12.2(20)SE              C3750-I5-M
*    2   12     WS-C3750G-12S      12.2(20)SE              C3750-I5-M


Switch 01
---------
Switch Uptime                   : 2 minutes
Base ethernet MAC Address       : 00:0C:30:AE:4F:00
Motherboard assembly number     : 73-7058-07
Power supply part number        : 341-0045-01
Motherboard serial number       : CSJ0708020N
Power supply serial number      : LIT07050027
Model revision number           : 01
Motherboard revision number     : 03
Model number                    : WS-C3750G-24TS-E
System serial number            : CSJ0711U03G

Configuration register is 0xF

Устранение неполадок

Этот раздел содержит сведения об устранении неполадок конфигурации.

Передача образа от Сбоев сервера «TFTP» или Поврежденного образа IOS

Если Вы находите, что передача образа от сбоев сервера «TFTP» непрерывно, обратитесь к Типичным проблемам в Установке Образов Используя TFTP или сервер «RCP». Этот документ предоставляет решения известных неполадок с сервером «TFTP».

Вы Получаете Сообщение об ошибках Error_Bad_Mzip

Это сообщение об ошибке возникает, если поврежден образ Cisco IOS или TAR-файл выгружается через Xmodem. Чтобы разрешить проблему, закончите эти шаги:

  1. Загрузите BIN-файл на коммутатор через Xmodem.
  2. Задайте путь загрузки, указывающий на правильное имя файла.
  3. Перезагрузите коммутатор.
  4. Проверьте соответствие размера файла образа.
    Если размер файла образа неверный, попробуйте загрузить файл образа еще раз.

Сошлитесь на эти документы, чтобы проверить процедуру восстановления:

  • Пошаговая процедура восстановления раздел Восстановления «Catalyst» 2950, 2955, и коммутаторы серии «3550» от Поврежденного или отсутствующего образа
  • Восстановление от Сбоя программного обеспечения раздел Комментариев к выпуску для Catalyst 3750, 3560, и 2970 Коммутаторов, SEB Выпуска 12.2 (25) Cisco IOS и Выше

%Error открываясь flash:update/info (Никакой такой файл или папка)

Коммутатор сообщает об этом сообщении об ошибках во время обновления программного обеспечения:

Stack_Switch1#archive download-sw
tftp://1.1.1.2/c3750-advipservicesk9-tar.122-25.SEE1.tar
Could not buffer tarfile...using multiple downloads
examining image...
%Error opening tftp://1.1.1.2/c3750-advipservicesk9-tar.122-25.SEE1.tar (Timed out)
%Error opening flash:update/info (No such file or directory)
ERROR: Image is not a valid IOS image archive
    Закончите эти шаги, чтобы определить и разрешить проблему:

  1. Удостоверьтесь, что Вы в состоянии прозвонить IP — адрес сервера «TFTP» от коммутатора.
  2. Проверьте свой сервер «TFTP», работает и если возможный, попробовать другой сервер «TFTP».
  3. Удалите, если у Вас есть какой-нибудь старый информационный каталог от Флэша.
  4. Если сообщение об ошибках все еще появляется, форматируйте Флэш и перезагрузите коммутатор. После того, как Вы форматируете, коммутатор мог бы загрузиться в режим ROMMON. Если начальные загрузки коммутатора в режим ROMMON, то восстановите коммутатор, используя Протокол Xmodem.

Коммутаторы в Стеке не Загружают Новый Образ (Несоответствие Версии)

После обновления «IOS» любой или больше коммутаторов не загружаются с новыми образами. Или, когда Вы добавляете коммутатор к существующему стеку, и у недавно добавленного коммутатора есть другой Cisco IOS software release чем стек существующего коммутатора, новый коммутатор неработоспособен. У 3750 стеков коммутатора есть характеристика, названная автообновлением, которое дается возможность по умолчанию. Эта характеристика дает возможность стеку коммутатора автоматически модернизировать IOS на недавно добавленном коммутаторе. Иногда это автообновление не в состоянии модернизировать IOS недавно добавленного коммутатора. Вы видите эту последовательность сообщений, когда Вы добавляете коммутатор к существующему стеку.

1w2d: %IMAGEMGR-6-AUTO_COPY_SW_INITIATED: Auto-copy-software process initiated
for switch number(s) 3
1w2d: %IMAGEMGR-6-AUTO_COPY_SW:
1w2d: %IMAGEMGR-6-AUTO_COPY_SW: Searching for stack member to act
1w2d: %IMAGEMGR-6-AUTO_COPY_SW: as software donor...
1w2d: %IMAGEMGR-6-AUTO_COPY_SW: Found donor (system #1) for
1w2d: %IMAGEMGR-6-AUTO_COPY_SW: member(s) 3
1w2d: %IMAGEMGR-6-AUTO_COPY_SW: System software to be uploaded:
1w2d: %IMAGEMGR-6-AUTO_COPY_SW: System Type:             0x00000000
1w2d: %IMAGEMGR-6-AUTO_COPY_SW: Warning: Unable to determine image running
1w2d: %IMAGEMGR-6-AUTO_COPY_SW: Software could not be copied to
1w2d: %IMAGEMGR-6-AUTO_COPY_SW: system(s) 3
1w2d: %IMAGEMGR-6-AUTO_COPY_SW: Software was not copied
1w2d: %IMAGEMGR-6-AUTO_ADVISE_SW_INITIATED: Auto-advise-software process initiat
ed for switch number(s) 3
1w2d: %IMAGEMGR-6-AUTO_ADVISE_SW:
1w2d: %IMAGEMGR-6-AUTO_ADVISE_SW:
1w2d: %IMAGEMGR-6-AUTO_ADVISE_SW: Systems with incompatible software
1w2d: %IMAGEMGR-6-AUTO_ADVISE_SW: have been added to the stack.  The
1w2d: %IMAGEMGR-6-AUTO_ADVISE_SW: software running on all of the stack
1w2d: %IMAGEMGR-6-AUTO_ADVISE_SW: members has been scanned, and it has
1w2d: %IMAGEMGR-6-AUTO_ADVISE_SW: been determined that the stack can be
1w2d: %IMAGEMGR-6-AUTO_ADVISE_SW: repaired by issuing the following
1w2d: %IMAGEMGR-6-AUTO_ADVISE_SW: command(s):
1w2d: %IMAGEMGR-6-AUTO_ADVISE_SW:
1w2d: %IMAGEMGR-6-AUTO_ADVISE_SW:     archive copy-sw /force-reload /overwrite /
dest 3 1
1w2d: %IMAGEMGR-6-AUTO_ADVISE_SW:
3750-stack#show switch
                                              Current
Switch#  Role      Mac Address     Priority     State
--------------------------------------------------------
*1       Master    0015.63f6.b700     5         Ready
2       Member    0015.c6c1.3000     2         Ready
3       Member    000f.f794.3d00     5         Version Mismatch

Примечание: Характеристике автообновления нужно дать возможность модернизировать коммутатора в несоответствии версии (VM) режим. По умолчанию, автообновление дается возможность. Можно проверить состояние автообновления, используя команду EXEC show boot, которой дают привилегию, и при проверке авто линии обновления в дисплее. Можно отключить автообновление, используя команду глобальной кофигурации no boot auto-copy-sw на задатчике стека. Обратитесь к Общим сведениям Автообновления и Автосоветуйте для получения дополнительной информации.
Есть три других метода, доступные, чтобы решить проблему несоответствия версии:

  • Первый способ
  • Метод 2
  • Метод 3

Метод 1 — Образ.tar

Модернизируйте коммутатора — участника, у которого есть несовместимый образ программного обеспечения, используя команду EXEC archive copy-sw , которой дают привилегию. Эта команда копирует образ программного обеспечения от существующего элемента стека к тому с несовместимым программным обеспечением. Затронутый коммутатор автоматически перезагружает и присоединяется к стеку как к полностью функционирующему элементу.
Эти выходные данные показывают синтаксис команды archive copy-sw:

3750_Stack#archive copy-sw ?

 /destination-system  specify destination system to receive software
 /force-reload        Unconditionally reload system after successful sw
                      upgrade
 /leave-old-sw        Leave old sw installed after successful sw upgrade
 /no-set-boot         do not update BOOT setting on systems after installing
                      sw
 /overwrite           OK to overwrite an existing image
 /reload              Reload system (if no unsaved config changes) after
                      successful sw upgrade
 /safe                Always load before deleting old version
 1                    copy software from system 1
 2                    copy software from system 2
 3                    copy software from system 3
  • Для /destination-system destination-stack-member-number , задайте количество элемента стека, к который источник, который работающих под управлением графического файла, должен быть скопирован. Если Вы не задаете количество элемента стека, работающий под управлением графический файл копируют во все элементы стека по умолчанию.
  • Задайте /force-reload, чтобы безоговорочно вызвать перезагрузку системы после успешной загрузки образа программного обеспечения. Если Вы не хотите использовать /force-reload, сбросьте обновленный элемент стека, вручную использующий reload slot switch_member_number , чтобы осуществить это изменение конфигурации.
  • Для source-stack-member-number , задайте количество элемента стека, чтобы скопировать работающий под управлением графический файл. Диапазон чисел элемента стека 1 — 9.
  • Если Вы получаете превысить намеченную сумму сообщение системного журнала во время, перезагружают, то выполняют команду archive copy-sw /overwrite /destination-system, чтобы записать поверх образ программного обеспечения во флэш-памяти с загруженным.

Это — пример команды archive copy-sw:

  1. Эта команда archive copy-sw копирует текущий работающий под управлением образ IOS с, переключаются 1, чтобы переключиться 3 на 3750 стеках коммутатора.
    archive copy-sw /overwrite /destination-system 3 1
  2. Перезагрузите элемент 3 коммутатора.
    reload slot 3

Метод 2 — Образ.tar

Можно использовать этот метод, если Вы используете менеджера устройств, чтобы управлять стеком коммутатора. Извлеките образ.tar в файловую систему Флэша недавно добавленного коммутатора. Он, предполагаемых, что у Вас уже есть образ.tar на коммутаторе. Если он не доступен, можно загрузить от Загрузки программного обеспечения — Cisco Catalyst 3750 Страниц «ПО» (только для зарегистрированных клиентов) и скопировать в коммутатор, используя TFTP.

3750-stack#show switch
                                              Current
Switch#  Role      Mac Address     Priority     State
--------------------------------------------------------
*1       Master    0015.63f6.b700     5         Ready
2       Member    0015.c6c1.3000     2         Ready
3       Member    000f.f794.3d00     5   Version Mismatch

!--- Switch 3 is displayed as a version mismatch.
!--- You need to extract the .tar image to flash3:


3750-stack#archive tar /xtract c3750-advipservicesk9-tar.122-25.SEE1.tar
flash3:

extracting c3750-advipservicesk9-mz.122-25.SEE1/html/images/grn_vertlines_bott
.gif (957 bytes)
extracting c3750-advipservicesk9-mz.122-25.SEE1/html/images/red.gif (147 bytes
extracting c3750-advipservicesk9-mz.122-25.SEE1/html/images/print.gif (625 bytes
)
!--- Output is suppressed.

Настройте переменные загрузки на новом коммутаторе. Этот шаг не является обязательным. Но если Вы разъединяете этот коммутатор из стека в будущем, коммутатор не мог бы загрузить правильный IOS.
Примечание: Команда boot system switch 3 flash: была снижена к второй линии из-за пространственных рассмотрений.

3750-stack#configure terminal
3750-stack(config)#boot system switch 3 flash:/c3750-advipservicesk9-mz.
122-25.SEE1/c3750-advipservicesk9-mz.122-25.SEE1.bin
3750-stack(config)#exit
3750-stack#write memory

Перезагрузите элемент 3 коммутатора.

3750-stack#reload slot 3

Метод 3 — Образ.bin

Скопируйте файл.bin от основного коммутатора до недавно добавленного коммутатора, настройте переменные загрузки, и перезагрузите коммутатор.

3750-stack#show switch
                                              Current
Switch#  Role      Mac Address     Priority     State
--------------------------------------------------------
*1       Master    0015.63f6.b700     5         Ready
2       Member    0015.c6c1.3000     2         Ready
3       Member    000f.f794.3d00     5   Version Mismatch

!--- Switch 3 is displayed as a version mismatch.
!--- You need to copy the .bin image to flash3:


3750-stack#copy c3750-advipservicesk9-mz.122-25.SEE1.bin flash3:
3750-stack#configure terminal
3750-stack(config)#boot system switch 3 flash:/
c3750-advipservicesk9-mz.122-25.SEE1.bin
3750-stack(config)#exit
3750-stack#write memory
3750-stack#reload slot 3

Ошибка контрольной суммы %Tar в tftp

Это сообщение об ошибках происходит, когда Вы используете команду archive, чтобы модернизировать образа программного обеспечения:
Примечание: Команда archive была снижена к второй линии из-за пространственных рассмотрений.

3750_switch#archive download-sw tftp://10.1.1.1/c3750-
ipbase-mz.122-25.SEC.bin
Loading c3750-ipbase-mz.122-25.SEC.bin from 10.1.1.1 (via Vlan1):
!!!!!!!!!!!!!!!!!!!!.!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
[OK - 5683384 bytes]

Loading c3750-ipbase-mz.122-25.SEC.bin from 10.1.1.1 (via Vlan1):
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!.!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!.!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
[OK - 5683384 bytes]

examining image...
%Tar checksum error in tftp://10.1.1.1/c3750-ipbase-mz.122-25.SEC.bin
%Error opening flash:update/info (No such file or directory)
ERROR: Image is not a valid IOS image archive.

Причина для этого сообщения об ошибках состоит в том, что команда archive для файлов.tar и не может использоваться с файлами.bin. Чтобы модернизировать использования файла.bin, используйте команду copy.

Программное обеспечение «Cisco IOS» Обновления с Другими Наборами характеристик

Cisco Catalyst, который по умолчанию разрешают 3750 Серий, изменяется в наборах характеристик, в то время как Вы модернизируете к более позднему выпуску Cisco IOS.

Error: The image in the archive which would be used to upgrade
Error: system number [dec] does not support the same feature set.

Чтобы преодолеть эту проблему, используйте флажок, «разрешают обновление характеристики», в то время как Вы выполняете команду archive-download-sw.

archive-download-sw /allow-feature-upgrade

Эта опция поддерживаема только от SE выпуска 12.2 (35) Cisco IOS или выше.

Дискуссионные форумы NetPro — избранные темы

Networking Professionals Connection — это форум, на котором специалисты по сетевым технологиям обмениваются вопросами, советами и сведениями о сетевых решениях, продуктах и технологиях. Избранные ссылки представляют собой последние разделы, посвященные определенным технологиям.

Форумы Обсуждения NetPro — Избранные темы о локальных сетях (LAN)
Сетевая инфраструктура: маршрутизация и коммутация локальных сетей
Error opening NVRAM on Cisco 3550 — Jun 24, 2009
Can I still access SVI even though VLAN not allowed on trunk? — Jun 24, 2009
Shaping on traffic — Jun 24, 2009
Help regarding SSH — Jun 24, 2009
Dumb switch — Jun 24, 2009
Сетевая инфраструктура: Начало работы с локальными сетями (LANs)
Etherchannel Grouping on 3750 — Jun 24, 2009
VLAN Utilization — Jun 23, 2009
frame relay — Jun 23, 2009
Remote office Connection — Jun 23, 2009
Default Rout using: ip default-network — Jun 23, 2009

Like RS-232, TFTP is less and less used these days, but remains an absolutely critical protocol for network engineers.

Here I’ll present a couple of TFTP implementation oddities that sometimes break TFTP.

TFTP Uses Ephemeral Ports

The bulk of the data flow between a TFTP client and server uses ephemeral ports on both ends.  This is strange behavior.  Most applications use ephemeral ports on the client side, but the server responds from its well known port number.  Here’s an example of a normal application (a DNS query):

13:12:13.497988 IP 192.168.1.91.56119 > 192.168.1.1.53:  54600+ A? www.google.com. (32)

13:12:13.583574 IP 192.168.1.1.53 > 192.168.1.91.56119:  54600 5/4/4 CNAME www.l.google.com.,[|domain]

The client originated the query from an ephemeral port (56119), and sent it to the server’s well known port (53).  The server’s response was symmetric: 53 -> 56119.

TFTP servers don’t generally behave this way.  Consider this TFTP transaction:


12:55:33.188470 IP 192.168.1.9.
34617 > 192.168.1.91.69:  22 RRQ «myfile.dat» netascii
12:55:33.189962 IP 192.168.1.91.
42829 > 192.168.1.9.34617: UDP, length 516
12:55:33.190060 IP 192.168.1.9.
34617 > 192.168.1.91.42829: UDP, length 4
12:55:33.190088 IP 192.168.1.91.
42829 > 192.168.1.9.34617: UDP, length 92
12:55:33.190190 IP 192.168.1.9.
34617 > 192.168.1.91.42829: UDP, length 4

The client originated the transaction from an ephemeral port (34617), and sent it to the server’s well known port (69).  But the server’s response was NOT symmetric.  Rather than replying from port 69, the server spawned a new ephemeral port (42829) when replying to the client.  After the initial request packet, the four packets responsible for the file transfer (data, ack, data, ack) were exchanged between two ephemeral ports.

This is strange behavior, and most flow-mangling smart devices (firewalls, NAT engines, reflexive ACLs, etc…) won’t recognize the second or later packets as being related to the first.  Unlike active mode FTP, TFTP doesn’t include an application header describing what’s going to happen next.  Accordingly, there’s nothing for a protocol-aware firewall module to monitor in order to open a pinhole for return traffic.  TFTP is a perfect candidate for a man-in-the-middle attack.

I’m not aware of any requirement for TFTP servers to act this way, but most do.  My guess about the reason for the behavior is this:  As shown here, the TFTP server merely needs to fork() itself for each client request.  The new thread opens its own socket to handle the client request, then exits when done.  Without the separate thread and socket, a single server thread would have to keep track of all clients simultaneously, and would have to demultiplex incoming client packets for each flow (because they’d all flow in the single connectionless UDP socket).

TFTP Supports Broadcast Servers

Sort of.
I expect lots of people to run into this issue as enterprises upgrade their Cisco wireless environments to 802.11N, the old gear floods onto eBay, and people attempt to load the autonomous AP code.  There’s a peculiarity with the TFTP implementation on the Cisco Aironet autonomous-capable access points.  Consider my AIR-AP1231G-A-K9 trying to download its IOS software from the TFTP server.  The AP’s console reports:

process_config_recovery: set IP address and config to default 10.0.0.1

process_config_recovery: image recovery

image_recovery: Download default IOS tar image tftp://255.255.255.255/c1200-k9w7-tar.default

examining image…

extracting info (274 bytes)

Premature end of tar file

ERROR: Image is not a valid IOS image archive.Loading «flash:/c1200-blah-blah-blah

What’s going on here?  I’m not the first to notice this problem, but I haven’t seen an explanation anywhere yet.  First, notice that the client is hitting its TFTP server at 255.255.255.255.  Cisco’s documentation of this process directs that the TFTP server be configured with an address between 10.0.0.2 and 10.0.0.30.  That’s because the AP will be running with 10.0.0.1, and it doesn’t know exactly where server will be, so it hits the all-ones address.  Why we’re not supposed to use 10.0.0.31, I don’t know.  On the wire we get this:

12:50:54.498194 IP 10.0.0.1.1024 > 255.255.255.255.tftp:  31 RRQ «c1200-k9w7-tar.default» octet

Next, the server unicasts the first chunk of the IOS image to the AP (ephemeral port to ephemeral port again):

12:50:54.547794 IP 10.0.0.5.56216 > 10.0.0.1.1024: UDP, length 516

So far, so good, but we’re getting to the point where things come off the rails.  The AP, having just received a packet from 10.0.0.5, should know the server’s address.  But it sends the TFTP acknowledgement for the first chunk of the file to the broadcast address, not directly to the server:

12:50:54.606812 IP 10.0.0.1.1024 > 255.255.255.255.56216: UDP, length 4

The TFTP server doesn’t hear these ACKs, and both ends endlessly retransmit their last packet.  I’m not clear on whether this should be reasonably expected to work, but…

  • It flies in the face of the thread-per-client model which I believe is behind the port symmetry issue
  • My antique Xyplex terminal servers use broadcast mode TFTP, and get the replies right
  • It doesn’t work

Here’s the whole exchange, with retransmissions tagged in red:


12:50:54.498194 IP 10.0.0.1.1024 > 255.255.255.255.tftp:  31 RRQ «c1200-k9w7-tar.default» octet
12:50:54.547794 IP 10.0.0.5.56216 > 10.0.0.1.1024: UDP, length 516
12:50:54.606812 IP 10.0.0.1.1024 > 255.255.255.255.56216: UDP, length 4
12:50:55.543296 IP 10.0.0.5.56216 > 10.0.0.1.1024: UDP, length 516
12:50:57.543421 IP 10.0.0.5.56216 > 10.0.0.1.1024: UDP, length 516
12:51:01.543679 IP 10.0.0.5.56216 > 10.0.0.1.1024: UDP, length 516
12:51:01.544614 IP 10.0.0.1.1024 > 255.255.255.255.56216: UDP, length 4
12:51:06.626855 IP 10.0.0.1.1024 > 255.255.255.255.56216: UDP, length 4
12:51:09.544176 IP 10.0.0.5.56216 > 10.0.0.1.1024: UDP, length 516
12:51:14.627345 IP 10.0.0.1.1024 > 255.255.255.255.56216: UDP, length 4

In 20 seconds, the first block of the file got sent 5 times, and was (poorly) acknowledged 4 times, before both ends gave up.

That’s what happends with tftp-hpa 0.49, anyway.  Philippe Jounin’s TFTPD32 v3.33 doesn’t seem to mind this sort of thing:


13:41:02.083839 IP 10.0.0.1.1024 > 255.255.255.255.tftp:  31 RRQ «c1200-k9w7-tar.default» octet
13:41:02.139137 IP 10.0.0.2.4068 > 10.0.0.1.1024: UDP, length 516
13:41:02.197885 IP 10.0.0.1.1024 > 255.255.255.255.4068: UDP, length 4
13:41:02.198033 IP 10.0.0.2.4068 > 10.0.0.1.1024: UDP, length 516
13:41:02.211902 IP 10.0.0.1.1024 > 255.255.255.255.4068: UDP, length 4
13:41:02.211987 IP 10.0.0.2.4068 > 10.0.0.1.1024: UDP, length 516
13:41:02.213473 IP 10.0.0.1.1024 > 255.255.255.255.4068: UDP, length 4

So, when installing new code on your Aironet APs, be careful which TFTP daemon you use.

I’ve not been able to find anything on this. I have a bunch of new 2960s I need to upgrade the firmware on. I downloaded the latest version from Cisco today. (I’ve tried older versions as well). The switch connects to the TFTP server and seems to successfully download the image file, then complains because it is not an archive. The procedure seems to work fine with the tar file. The switch appears to download the file from the TFTP server twice. Watching ztp show downloads live, The percentage goes to 100 twice on the same line. No updates on the serial console until it’s completed the second download.

Here’s the output on the console when using a .bin file.
`
Loading freeztp_ios_upgrade from 192.168.0.2 (via Vlan1): !
[OK — 33 bytes]
got vend id vend spec. info ret: succeed
Mar 27 21:53:18.196: AUTOINSTALL: Obtain tftp server address (opt 150) 192.168.0.2
examining image…
%Tar checksum error in tftp://192.168.0.2/c2960x-universalk9-mz.152-7.E.bin
%Error opening flash:update/info (No such file or directory)
ERROR: Image is not a valid IOS image archive.
Loading network-confg from 192.168.0.2 (via Vlan1): !
[OK — 65 bytes]

Mar 27 21:56:51.658: AUTOINSTALL: Error (1) Image is not a valid IOS image archive or not existing
`

Is there something else that must be set when using a .bin vs .tar?

Thanks,
Craig

So, it turns out that when you have an Cisco access point that starts with AIR-LAP instead of AIR-AP, it is configured to attach to a wireless controller on your network before it does anything useful. If you don’t happen to have a Cisco Wireless Controller configured and on your network to handle that, your access point is essentially a very expensive paper weight…or is it?!

It turns out that you can convert the AP from lightweight mode to standalone mode (and vice-versa actually).  I am going to list the steps I took to do this because I didn’t find any articles on the Internet to tell me how, but don’t let this fool you – I am not a Cisco guy. If I didn’t write it down here, I likely don’t have any additional answers on this topic other than “if it doesn’t work, get a bigger hammer” :)

So here we go:

PC Setup

Download TFTPD (TFTP server) and configure to point to some directory (which will be your “base” directory) and to allow it to operate through your firewall.

Download IOS software for the 1242 (I used c1240-k9w7-mx.124-25d.JA1 for this experiment)

Make a copy of the IOS file named “c1240-k9w7-tar.default” in the TFTP base directory (The AP will look for this exact file name)

Download and run Putty. Create a session to COM1 9600/8-N-1 (I turn on logging and set the scrollback buffer to 9999 lines)

Configure a PC for 10.0.0.2/255.0.0.0 and either connect to a switch dedicated for this purpose or use a crossover cable (the AP will default to 10.0.0.1)

Connect the Cisco blue console cable between COM1 on the PC and the console port on the AP

Open the Putty COM1 session to monitor the AP when it comes up

AP setup

Connect 2GHz (cone shaped) and 5GHz (flat) antennas to the appropriate connectors on the AP

Connect the access point to a switch or crossover cable

Load new IOS on AP

Press and hold the MODE button and plug in the power

When you see “Button is pressed, wait for button to be released” in your Putty session, let go of the button

The AP will startup, default to 10.0.0.1 and look for a TFTP server that has “c1240-k9w7-tar.default” ready to serve

The AP will automatically download the new IOS and delete the lightweight image (mine was “c1240-rcvk9w8-mx”)

You should see something like “Download default IOS tar image tftp://10.0.0.2/c1240-k9w7-tar.default”

Once the AP has fully started, do the following to get the Ethernet interface activated

ap>en

Password: Cisco (this is case sensitive)

ap# config t

ap(config)# interface FastEthernet 0

ap(config)# ip addr 10.0.0.1 255.0.0.0 (or perhaps what IP it will eventually have on your production network)

ap(config)# interface BVI1

ap(config)# ip addr 10.0.0.3 255.0.0.0 (same network as the Ethernet interface)

press ctrl+z to exit config

type wr to write the config

Go to your PC and open http://10.0.0.1 to get to the web interface of the AP to finish configuring the device.

The username is Cisco and the password is Cisco (both are case-sensitive)

If you changed the IP address to something other than 10.0.0.1 & 10.0.0.3 above, be sure to change your PC IP address too before trying to access the configuration webpage.

I hope this helped someone!

Понравилась статья? Поделить с друзьями:
  • Error illegalattributevalue при печати
  • Error illegal use of an object as a name
  • Error illegal start of type java
  • Error illegal start of expression java
  • Error illegal operator sequence