Сообщения без ответов | Активные темы Текущее время: 28 мар 2024, 15:49



Ответить на тему  [ Сообщений: 8 ] 
Вопрос по AIR-CAP1602I 
Автор Сообщение

Зарегистрирован: 05 фев 2013, 17:02
Сообщения: 678
Добрый день.
Подскажите, данная точка использует в OPTION 43 acsii или hex???


10 сен 2018, 16:36
Профиль

Зарегистрирован: 01 янв 1970, 03:00
Сообщения: 925
я использую только ascii на всех своих точках
Почему вы решили, что эта точка не может разобрать такую опцию?


11 сен 2018, 08:37
Профиль

Зарегистрирован: 01 янв 1970, 03:00
Сообщения: 671
пальцем в небо. У меня тоже был случай, что цисковская точка не принимала option 43.
Двое суток колбасил.
Сбросил в ноль, поменял ИОС на другой - взлетело.


11 сен 2018, 08:46
Профиль
Аватара пользователя

Зарегистрирован: 03 апр 2013, 16:21
Сообщения: 1525
Вот же
Цитата:
RFC 2132 defines that DHCP servers must return vendor specific information as DHCP Option 43. The RFC allows vendors to define encapsulated vendor-specific sub-option codes between 0 and 255. The sub-options are all included in the DHCP offer as type-length-value (TLV) blocks embedded within Option 43. The definition of the sub-option codes and their related message format is left to the vendors.
When DHCP servers are programmed to offer WLAN Controller IP addresses as Option 43 for Cisco 1000 Series APs the sub-option TLV block is defined in this way:
Type - 0x66 (decimal 102).
Length: - A count of the characters of the ASCII string in the Value field. Length must include the commas if there is more than one controller specified, but not a zero-terminator.
Value: - A non-zero terminated ASCII string that is a comma-separated list of controllers. No spaces should be embedded in the list.
When DHCP servers are programmed to offer WLAN Controller IP addresses as Option 43 for other Cisco Aironet LAPs, the sub-option TLV block is defined in this way:
Type - 0xf1 (decimal 241).
Length - Number of controller IP addresses * 4.
Value - List of the WLC management interfaces, typically translated to hexadecimal values.


11 сен 2018, 09:25
Профиль

Зарегистрирован: 05 фев 2013, 17:02
Сообщения: 678
R_KING писал(а):
Добрый день.
Подскажите, данная точка использует в OPTION 43 acsii или hex???

В одном из документов на циско.ком прочитал что ascii это вроде как для точек 1010, 1020, 1030, 15ХХ. Но вот в подшефной организации стоят точки, как я написал, там в пуле ascii.


11 сен 2018, 10:48
Профиль

Зарегистрирован: 05 фев 2013, 17:02
Сообщения: 678
aliotru писал(а):
я использую только ascii на всех своих точках
Почему вы решили, что эта точка не может разобрать такую опцию?

В одном из документов на циско.ком прочитал что ascii это вроде как для точек 1010, 1020, 1030, 15ХХ. Но вот в подшефной организации стоят точки, как я написал, там в пуле ascii.


11 сен 2018, 10:48
Профиль

Зарегистрирован: 05 фев 2013, 17:02
Сообщения: 678
aliotru писал(а):
я использую только ascii на всех своих точках
Почему вы решили, что эта точка не может разобрать такую опцию?

Или точка понимает и ascii и hex?


11 сен 2018, 10:50
Профиль

Зарегистрирован: 05 фев 2013, 17:02
Сообщения: 678
Вот ссылка на документ
https://www.cisco.com/c/en/us/support/d ... html#anc12

Вот выдержка про точки

Cisco IOS DHCP Server

Cisco Aironet APs (Cisco IOS)

Complete these steps in order to configure DHCP Option 43, in the embedded Cisco IOS DHCP server, for all Cisco Aironet APs that run Cisco IOS. This includes all APs except for the VxWorks 1000 Series (see the next section) and the 600 Series OEAP which does not use Option 43.
1.
Enter configuration mode at the Cisco IOS CLI.

2.
Create the DHCP pool, which includes the necessary parameters such as the default router and server name. This is an example DHCP scope:
ip dhcp pool <pool name>
network <ip network> <netmask>
default-router <default-router IP address>
dns-server <dns server IP address>

3.
Add the Option 43 line with this syntax:
option 43 hex <hexadecimal string>

The hexadecimal string in step 3 is assembled as a sequence of the TLV values for the Option 43 suboption: Type + Length + Value. Type is always the suboption code 0xf1. Length is the number of controller management IP addresses times 4 in hex. Value is the IP address of the controller listed sequentially in hex.

For example, suppose there are two controllers with management interface IP addresses, 192.168.10.5 and 192.168.10.20. The type is 0xf1. The length is 2 * 4 = 8 = 0x08. The IP addresses translate to c0a80a05 (192.168.10.5) and c0a80a14 (192.168.10.20). When the string is assembled, it yields f108c0a80a05c0a80a14. The Cisco IOS command that is added to the DHCP scope is:
option 43 hex f108c0a80a05c0a80a14

Вот про точки 1000

Cisco Aironet 1000 Series APs (VxWorks) (1010/1020/1030/1505/1510) Series ONLY

Complete these steps in order to configure DHCP Option 43, in the embedded Cisco IOS DHCP server, for lightweight Cisco Aironet 1000 Series APs. This only applies to the 1010/1020/1030 model APs that run VxWorks, and not to APs that run IOS.
1.
Enter configuration mode at the Cisco IOS CLI.

2.
Create the DHCP pool, which includes the necessary parameters such as default router and server name. This is an example DHCP scope:
ip dhcp pool <pool name>
network <ip network> <netmask>
default-router <default-router IP address>
dns-server <dns server IP address>

3.
Add the Option 43 line with this syntax:
option 43 ascii "Comma separated IP address list"

Note: The quotation marks must be included. A sub-option value does not need to be defined in the Cisco IOS DHCP server for Cisco 1000 Series APs.

For example, if you configure Option 43 for Cisco 1000 Series APs with the controller IP Management IP addresses 192.168.10.5 and 192.168.10.20, add this line to the DHCP pool in the Cisco IOS CLI:
option 43 ascii "192.168.10.5,192.168.10.20"

Я сделал вывод что ascii это точки указанные выше, а все остальные из документа это Hex.


11 сен 2018, 11:05
Профиль
Показать сообщения за:  Поле сортировки  
Ответить на тему   [ Сообщений: 8 ] 

Кто сейчас на конференции

Сейчас этот форум просматривают: нет зарегистрированных пользователей и гости: 58


Вы не можете начинать темы
Вы не можете отвечать на сообщения
Вы не можете редактировать свои сообщения
Вы не можете удалять свои сообщения
Вы не можете добавлять вложения

Найти:
Перейти:  
cron
Создано на основе phpBB® Forum Software © phpBB Group
Designed by ST Software for PTF.
Русская поддержка phpBB