Qtech QSW-8200-28T-AC — настройка DHCP: команды для опций 60 и 43 [78/79]

Превью страниц Страница 78 / 79
Qtech QSW-8200-28T-AC [78/79] Option 43 hex word
User Manual
Chapter 6. Commands for DHCP option 60 and option 43 78
www.qtech.ru
switch(config)#ip dhcp pool a
switch (dhcp-a-config)#option 43 ascii AP 1000
6.2 option 43 hex WORD
Command: option 43 hex WORD
no option 43
Function: Configure option 43 character string with hex format in ip dhcp pool mode.
The no command deletes the configured option 43.
Parameter: WORD: The configured option 43 character string with hex format, such as
a1241b.
Default: No option 43 is configured.
Command Mode: ip dhcp pool mode
Usage Guide: When using hex method to configure option 43, the string needs to be
written according to TLV (Type-Length-Value) format. For example, issue ip address of
10.1.1.1 through option 43, then the hex string here should be 01040A010101;
Type=0x01, it means IP address; Length=0x04, it means the length of IP address is 4
Bytes; Value=0x0A010101, it means the hexadecimal format of 10.1.1.1.
Example: Configure option 43 with hex format to be "01040a010101".
switch(config)#ip dhcp pool a
switch (dhcp-a-config)#option 43 hex 01040a010101
6.3 option 43 ip A.B.C.D
Command: option 43 ip A.B.C.D
no option 43
Function: Configure option 43 character string with IP format in ip dhcp pool mode. The
no command deletes the configured option 43.
Parameter: A.B.C.D: The configured option 43 with IP format, such as 192.168.1.1.
Default: No option 43 is configured.
Command Mode: ip dhcp pool mode
Usage Guide: Using this command to configure option 43, such as "192.168.1.1", then
option 43 filled in packets is "C0A80101".
Example: Configure option 43 with IP format to be "192.168.1.1".
switch(config)#ip dhcp pool a
switch (dhcp-a-config)#option 43 ip 192.168.1.1
6.4 option 60 ascii LINE
Command: option 60 ascii LINE
no option 60

Содержание

Изучите команды для настройки DHCP опций 60 и 43. Узнайте, как использовать форматы ASCII и HEX для конфигурации. Подробные примеры и рекомендации.

Скачать