beautypg.com

3 option 43 ip a.b.c.d, Option, A.b.c.d -39 – PLANET WGSW-52040 User Manual

Page 499

background image

31-39

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

31.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.