AP3602I: различия между версиями

Материал из noname.com.ua
Перейти к навигацииПерейти к поиску
 
(не показано 11 промежуточных версий этого же участника)
Строка 1: Строка 1:
 
[[Категория:Cisco]]
 
[[Категория:Cisco]]
 
[[Категория:Wireless]]
 
[[Категория:Wireless]]
  +
[[Категория:AccessPoint]]
  +
[[Категория:AP3602I]]
  +
[[Категория:rommon]]
 
=Как отлисчить IOS=
 
=Как отлисчить IOS=
 
<code>ap3g2-k9w8-mx.153-3.JF10</code> vs <code>ap3g2-k9w7-mx.153-3.JD3</code>
 
<code>ap3g2-k9w8-mx.153-3.JF10</code> vs <code>ap3g2-k9w7-mx.153-3.JD3</code>
   
Именвание <code>platform</code>-<code>featureset</code>-tar.<code>version</code>.tar</code>
+
Именование <code>platform</code>-<code>featureset</code>'''-tar.'''<code>version</code'''>.tar'''</code>
  +
<P> Пример
* ap3g2-k9w8-mx.153-3.JF10
 
  +
* <code>ap3g2-k9w7-tar.153-3.JD3.tar</code>
   
   
   
  +
==Платформы==
platform- the access point hardware model or family supported by the image.
 
  +
* <code>ap1g1 </code> - 700 series (702w beginning with 15.2(4)JB5)
Note: on an AireOS controller, the command show ap bundle shows the supported AP models and the corresponding platform names. On the 9800, use show ap image file summary.
 
  +
* <code>ap1g2 </code> - 1600 series
ap1g1 - 700 series (702w beginning with 15.2(4)JB5)
 
  +
* <code>ap1g3 </code> - 1530 series, AP803 embedded in IR829 router
ap1g2 - 1600 series
 
  +
* <code>ap1g4 </code> - 1850/1830/1810 series (AP-COS)
  +
* <code>ap1g5 </code> - 1800/1815/1840/1540 series; AP1100AC embedded in C1000 series ISR (AP-COS)
  +
* <code>ap1g6 </code> - C9117 (AP-COS)
  +
* <code>ap1g6a </code> - C9124, C9130, C9136, IW9167, CW9164, CW9166 (AP-COS)
  +
* <code>ap1g6b </code> - CW9162I
  +
* <code>ap1g7 </code> - C9115/9120 (AP-COS)
  +
* <code>ap1g8 </code> - C9105 (AP-COS)
  +
* <code>ap3g1 </code> - 3500/1260 series
  +
* <code>ap3g2 </code> - 3700/3600/2700/2600/1700 series (aIOS, and lightweight up through 8.4/15.3(3)JE branch)
  +
* <code>ap3g3 </code> - 2800/3800/4800/1560/IW6300/ESW6300 series (AP-COS)
  +
* <code>ap801 </code> - AP embedded in 861W, CISCO88xW, CISCO891W, 1911W routers
  +
* <code>ap802 </code> - AP embedded in 819, 812, 886VA-W/887VA-W, and C88x/C89x routers
  +
* <code>apw5100 </code> - Rockwell Stratix 5100 WAPAK9, WAPCK9, WAPEK9, WAPZK9
  +
* <code>c3700 </code> - 1700/2700/3700 series APs (lightweight, 8.5/15.3(3)JF and above)
  +
* <code>c1570 </code> - 1570 series outdoor APs
  +
* <code>c1550 </code> - 1550 (128MB model) series outdoor APs
  +
* <code>c1520 </code> - 1520 and 1550 (64MB model) series mesh APs
  +
* <code>c1410 </code> - BR1410
  +
* <code>c1310 </code> - BR1310
  +
* <code>c1250 </code> - 1250 series APs
  +
* <code>c1240 </code> - 1240 series APs
  +
* <code>c1200 </code> - 1200 series (1200/1210/1220/1230)
  +
* <code>c1140 </code> - 1140 and 1040 series APs
  +
* <code>c1130 </code> - 1130 series APs
  +
* <code>c1100 </code> - 1100 series APs (i.e. the AP1121)
  +
* <code>c520 </code> - 521 AP
  +
* <code>c350 </code> - 350 series APs
   
  +
==featureset==
ap1g3 - 1530 series, AP803 embedded in IR829 router
 
   
  +
* <code>k9w7</code> - autonomous (если нет контроллера, а у меня его нет, то это '''единственный доступный вариант''')
ap1g4 - 1850/1830/1810 series (AP-COS)
 
  +
* <code>k9w8</code> - full lightweight IOS/AP-COS (this is what is bundled in the WLC .aes image, and is factory installed on "mesh" APs)
 
  +
* <code>rcvk9w8</code> - lightweight recovery image - this is factory installed on lightweight APs, unless a "mesh" image is specified; it lacks radio firmware (not available with COS)
ap1g5 - 1800/1815/1840/1540 series; AP1100AC embedded in C1000 series ISR (AP-COS)
 
  +
* <code>boot</code> - bootloader image (not IOS) - normally installed by manufacturing and not updated in the field
ap1g6 - C9117 (AP-COS)
 
ap1g6a - C9124, C9130, C9136, IW9167, CW9164, CW9166 (AP-COS)
 
ap1g6b - CW9162I
 
ap1g7 - C9115/9120 (AP-COS)
 
ap1g8 - C9105 (AP-COS)
 
ap3g1 - 3500/1260 series
 
ap3g2 - 3700/3600/2700/2600/1700 series (aIOS, and lightweight up through 8.4/15.3(3)JE branch)
 
 
ap3g3 - 2800/3800/4800/1560/IW6300/ESW6300 series (AP-COS)
 
ap801 - AP embedded in 861W, CISCO88xW, CISCO891W, 1911W routers
 
ap802 - AP embedded in 819, 812, 886VA-W/887VA-W, and C88x/C89x routers
 
apw5100 - Rockwell Stratix 5100 WAPAK9, WAPCK9, WAPEK9, WAPZK9
 
c3700 - 1700/2700/3700 series APs (lightweight, 8.5/15.3(3)JF and above)
 
c1570 - 1570 series outdoor APs
 
c1550 - 1550 (128MB model) series outdoor APs
 
c1520 - 1520 and 1550 (64MB model) series mesh APs
 
c1410 - BR1410
 
c1310 - BR1310
 
c1250 - 1250 series APs
 
c1240 - 1240 series APs
 
c1200 - 1200 series (1200/1210/1220/1230)
 
c1140 - 1140 and 1040 series APs
 
c1130 - 1130 series APs
 
c1100 - 1100 series APs (i.e. the AP1121)
 
c520 - 521 AP
 
c350 - 350 series APs
 
featureset- the set of software features supported by the image - one of:
 
k9w7 - autonomous (or "site survey") IOS (not available with AP-COS)
 
k9w8 - full lightweight IOS/AP-COS (this is what is bundled in the WLC .aes image, and is factory installed on "mesh" APs)
 
rcvk9w8 - lightweight recovery image - this is factory installed on lightweight APs, unless a "mesh" image is specified; it lacks radio firmware (not available with COS)
 
boot - bootloader image (not IOS) - normally installed by manufacturing and not updated in the field
 
version- the IOS version
 
There is a 1:1 mapping between the lightweight OS software version (such as 12.4(23c)JA) and the CUWN version (such as 7.0.98.0)
 
see the Wireless Solutions Software Compatibility Matrix on CCO
 
Example:
 
c1240-k9w7-tar.124-25d.JA1.tar
 
 
Platform: c1240: 1240 series AP
 
Featureset: k9w7: autonomous IOS
 
Version: 124-25d.JA1: 12.4(25d)JA1
 
   
  +
==Особенности==
 
As AP IOS is always distributed as a tar file, the AP cannot directly execute such a file (thus, if you were to copy c1240-k9w7-tar.124-25d.JA1.tar directly onto AP flash, and then try to boot it, this could not work.) The tar file contains, in addition to the IOS image proper, the radio firmware files, the HTML GUI files (if present), and various other files.
 
As AP IOS is always distributed as a tar file, the AP cannot directly execute such a file (thus, if you were to copy c1240-k9w7-tar.124-25d.JA1.tar directly onto AP flash, and then try to boot it, this could not work.) The tar file contains, in addition to the IOS image proper, the radio firmware files, the HTML GUI files (if present), and various other files.
  +
<P>
 
 
The AP IOS tar file must be unbundled into AP flash using the archive exec command (this is done in an automated fashion when a lightweight AP is upgraded after joining a WLC.)
 
The AP IOS tar file must be unbundled into AP flash using the archive exec command (this is done in an automated fashion when a lightweight AP is upgraded after joining a WLC.)
  +
<>
 
 
Example:
 
Example:
  +
<code>
 
AP1260#archive download-sw /overwrite tftp://10.95.42.136/ap3g1-k9w7-tar.124-25d.JA1
 
AP1260#archive download-sw /overwrite tftp://10.95.42.136/ap3g1-k9w7-tar.124-25d.JA1
  +
</code>
 
  +
<P>
 
 
After unbundling, the IOS image itself be in a file called flash:/platform-featureset-mx.version/platform-featureset-mx.version - for example, flash:/c1240-k9w7-mx.124-25d.JA1/c1240-k9w7-mx.124-25d.JA1. The AP is configured to boot this image if the bootloader BOOT environmental variable is set accordingly.
 
After unbundling, the IOS image itself be in a file called flash:/platform-featureset-mx.version/platform-featureset-mx.version - for example, flash:/c1240-k9w7-mx.124-25d.JA1/c1240-k9w7-mx.124-25d.JA1. The AP is configured to boot this image if the bootloader BOOT environmental variable is set accordingly.
   
Строка 73: Строка 67:
   
 
Example:
 
Example:
  +
<PRE>
 
AP3502i#more flash:/env_vars | include BOOT
 
AP3502i#more flash:/env_vars | include BOOT
   
 
BOOT=flash:/ap3g1-k9w8-mx.152-2.JA/ap3g1-k9w8-mx.152-2.JA
 
BOOT=flash:/ap3g1-k9w8-mx.152-2.JA/ap3g1-k9w8-mx.152-2.JA
  +
</PRE>
 
 
 
   
 
To change the BOOT variable, use the IOS config mode boot system command.
 
To change the BOOT variable, use the IOS config mode boot system command.
 
 
   
 
Example:
 
Example:
  +
<PRE>
 
  +
AP3502i(config)#boot system flash:/ap3g1-k9w8-mx.124-25e.JA2/ap3g1-k9w8-mx.124-25e.JA2
  +
</PRE>
  +
  +
<P>
  +
В целом, никто не мешает распаковать руками tar и залить только IOS и он будет грузиться и работать, но при этом не будет работать радиочасть так как не будет нужных firmware, при сильном желании их можно тоже распаковать и подложить руками, выкинув таким образом HTML из прошивки.
   
AP3502i(config)#boot system flash:/ap3g1-k9w8-mx.124-25e.JA2/ap3g1-k9w8-mx.124-25e.JA2
 
 
=Как отконвертить точку для работы в stand-alone режиме без контроллера=
 
=Как отконвертить точку для работы в stand-alone режиме без контроллера=
  +
==Если удалось зайти на точку (известен лоин/пароль)==
 
 
* отключить питание
 
* отключить питание
 
* зажать mode
 
* зажать mode
* держать пока точка на консоль ненапишет что увидела нажатие
+
* держать пока точка на консоль не напишет что увидела нажатие:
  +
<PRE>
* <code>enable</code>
 
  +
flashfs[0]: flashfs fsck took 19 seconds.
  +
Reading cookie from SEEPROM
  +
Base Ethernet MAC address: b0:aa:77:eb:99:ba
  +
Ethernet speed is 1000 Mb - FULL Duplex
  +
Mode button pressed.
  +
Mode button held for at least 1 seconds.
  +
process_config_recovery: set IP address and config to default 10.0.0.1
  +
</PRE>
  +
* <code>enable</code> (пароль Cisco)
 
* <code>debug capwap console cli</code>
 
* <code>debug capwap console cli</code>
 
* <code>debug capwap client no-reload</code>
 
* <code>debug capwap client no-reload</code>
 
* <code>capwap ap ip address 10.0.0.2 255.255.255.0</code>
 
* <code>capwap ap ip address 10.0.0.2 255.255.255.0</code>
 
* <code>capwap ap ip default-gateway 10.0.0.1</code>
 
* <code>capwap ap ip default-gateway 10.0.0.1</code>
* <code>archive download-sw /force /overwrite tftp://10.0.0.1/filename.tar</code>
+
* <code>archive download-sw /force /overwrite tftp://10.0.0.1/filename.tar</code> В моем случае команда была такая: <code>archive download-sw /force /overwrite tftp://10.0.0.3/ap3g2-k9w7-tar.153-3.JD3.tar</code>
 
* Ждать - точка сама распакует все что нужно (если не хватило места - удалить что-то ненужное)
 
* Ждать - точка сама распакует все что нужно (если не хватило места - удалить что-то ненужное)
 
* После распаковки - сама перезагрузеится, адрес останется тот что был (в примере 10.0.0.2)
 
* После распаковки - сама перезагрузеится, адрес останется тот что был (в примере 10.0.0.2)
   
  +
==RomMON==
 
то же самое из <code>rommon</code> (Не могу сказать как мне удалось загнать точку в такой режим, но удалось)
 
то же самое из <code>rommon</code> (Не могу сказать как мне удалось загнать точку в такой режим, но удалось)
 
<PRE>
 
<PRE>

Текущая версия на 19:29, 21 января 2024

Как отлисчить IOS

ap3g2-k9w8-mx.153-3.JF10 vs ap3g2-k9w7-mx.153-3.JD3

Именование platform-featureset-tar.version</code>.tar

Пример

  • ap3g2-k9w7-tar.153-3.JD3.tar

Платформы

  • ap1g1 - 700 series (702w beginning with 15.2(4)JB5)
  • ap1g2 - 1600 series
  • ap1g3 - 1530 series, AP803 embedded in IR829 router
  • ap1g4 - 1850/1830/1810 series (AP-COS)
  • ap1g5 - 1800/1815/1840/1540 series; AP1100AC embedded in C1000 series ISR (AP-COS)
  • ap1g6 - C9117 (AP-COS)
  • ap1g6a - C9124, C9130, C9136, IW9167, CW9164, CW9166 (AP-COS)
  • ap1g6b - CW9162I
  • ap1g7 - C9115/9120 (AP-COS)
  • ap1g8 - C9105 (AP-COS)
  • ap3g1 - 3500/1260 series
  • ap3g2 - 3700/3600/2700/2600/1700 series (aIOS, and lightweight up through 8.4/15.3(3)JE branch)
  • ap3g3 - 2800/3800/4800/1560/IW6300/ESW6300 series (AP-COS)
  • ap801 - AP embedded in 861W, CISCO88xW, CISCO891W, 1911W routers
  • ap802 - AP embedded in 819, 812, 886VA-W/887VA-W, and C88x/C89x routers
  • apw5100 - Rockwell Stratix 5100 WAPAK9, WAPCK9, WAPEK9, WAPZK9
  • c3700 - 1700/2700/3700 series APs (lightweight, 8.5/15.3(3)JF and above)
  • c1570 - 1570 series outdoor APs
  • c1550 - 1550 (128MB model) series outdoor APs
  • c1520 - 1520 and 1550 (64MB model) series mesh APs
  • c1410 - BR1410
  • c1310 - BR1310
  • c1250 - 1250 series APs
  • c1240 - 1240 series APs
  • c1200 - 1200 series (1200/1210/1220/1230)
  • c1140 - 1140 and 1040 series APs
  • c1130 - 1130 series APs
  • c1100 - 1100 series APs (i.e. the AP1121)
  • c520 - 521 AP
  • c350 - 350 series APs

featureset

  • k9w7 - autonomous (если нет контроллера, а у меня его нет, то это единственный доступный вариант)
  • k9w8 - full lightweight IOS/AP-COS (this is what is bundled in the WLC .aes image, and is factory installed on "mesh" APs)
  • rcvk9w8 - lightweight recovery image - this is factory installed on lightweight APs, unless a "mesh" image is specified; it lacks radio firmware (not available with COS)
  • boot - bootloader image (not IOS) - normally installed by manufacturing and not updated in the field

Особенности

As AP IOS is always distributed as a tar file, the AP cannot directly execute such a file (thus, if you were to copy c1240-k9w7-tar.124-25d.JA1.tar directly onto AP flash, and then try to boot it, this could not work.) The tar file contains, in addition to the IOS image proper, the radio firmware files, the HTML GUI files (if present), and various other files.

The AP IOS tar file must be unbundled into AP flash using the archive exec command (this is done in an automated fashion when a lightweight AP is upgraded after joining a WLC.) <> Example: AP1260#archive download-sw /overwrite tftp://10.95.42.136/ap3g1-k9w7-tar.124-25d.JA1

After unbundling, the IOS image itself be in a file called flash:/platform-featureset-mx.version/platform-featureset-mx.version - for example, flash:/c1240-k9w7-mx.124-25d.JA1/c1240-k9w7-mx.124-25d.JA1. The AP is configured to boot this image if the bootloader BOOT environmental variable is set accordingly. To see what IOS image the AP is configured to boot, examine the BOOT variable. Example:

AP3502i#more flash:/env_vars | include BOOT

BOOT=flash:/ap3g1-k9w8-mx.152-2.JA/ap3g1-k9w8-mx.152-2.JA


To change the BOOT variable, use the IOS config mode boot system command.

Example:

AP3502i(config)#boot system flash:/ap3g1-k9w8-mx.124-25e.JA2/ap3g1-k9w8-mx.124-25e.JA2

В целом, никто не мешает распаковать руками tar и залить только IOS и он будет грузиться и работать, но при этом не будет работать радиочасть так как не будет нужных firmware, при сильном желании их можно тоже распаковать и подложить руками, выкинув таким образом HTML из прошивки.

Как отконвертить точку для работы в stand-alone режиме без контроллера

Если удалось зайти на точку (известен лоин/пароль)

  • отключить питание
  • зажать mode
  • держать пока точка на консоль не напишет что увидела нажатие:
flashfs[0]: flashfs fsck took 19 seconds.
Reading cookie from SEEPROM
Base Ethernet MAC address: b0:aa:77:eb:99:ba
Ethernet speed is 1000 Mb - FULL Duplex
Mode button pressed.
Mode button held for at least 1 seconds.
process_config_recovery: set IP address and config to default 10.0.0.1
  • enable (пароль Cisco)
  • debug capwap console cli
  • debug capwap client no-reload
  • capwap ap ip address 10.0.0.2 255.255.255.0
  • capwap ap ip default-gateway 10.0.0.1
  • archive download-sw /force /overwrite tftp://10.0.0.1/filename.tar В моем случае команда была такая: archive download-sw /force /overwrite tftp://10.0.0.3/ap3g2-k9w7-tar.153-3.JD3.tar
  • Ждать - точка сама распакует все что нужно (если не хватило места - удалить что-то ненужное)
  • После распаковки - сама перезагрузеится, адрес останется тот что был (в примере 10.0.0.2)

RomMON

то же самое из rommon (Не могу сказать как мне удалось загнать точку в такой режим, но удалось)

Requirements:
1.TFTPd64 Server
2.Cisco IOS Software AP3G2-K9W7-M for (C3600 Series AP)
3.The Cisco AP and the Laptop with TFTP server must be in same network.

According to my network setup
Lightweight AP BVI1 IP address is 192.168.1.4
Laptop's IP address where TFTP server is installed 192.168.1.7 [Default Router IP]

First disconnect the ethernet cable from the AP then Press the Mode button and Put back the ethernet cable to the AP and hold the Mode button Untill flash light turns to umber and Once the Lightweight AP goes to online then apply the following commands to convert it to Autonomous version:

set IP_ADDR 192.168.1.4 [According to my network setup]
set NETMASK 255.255.255.0 [According to my network setup]
set DEFAULT_ROUTER 192.168.1.7 [According to my network setup]
tftp_init
ether_init
flash_init
tar -xtract tftp://192.168.1.7/ap3g2-k9w7-tar.153-3.JH.tar flash:
dir flash
set boot flash:/ap3g2-k9w7-mx.153-3.JH/ap3g2-k9w7-mx.153-3.JH
set
boot