Ip dhcp relay information option self, Defined remote, Id format – PLANET WGSW-52040 User Manual

Page 490

Advertising
background image

30-30

Switch(config)#ip dhcp relay information option remote-id format vs-hp

30.6 ip dhcp relay information option self-defined remote-id

Command:

ip dhcp relay information option self-defined remote-id {hostname | mac | string WORD}

no ip dhcp relay information option self-defined remote-id

Function:

Set creation method for option82, users can define the parameters of remote-id suboption by themselves.

Parameters:

WORD the defined character string of remote-id by themselves, the maximum length is 64.

Command Mode:

Global Mode

Default:

Using standard method.

Usage Guide:

After configure this command, if users do not configure remote-id on interface, it will create remote-id suboption for

option82 according to self-defined method. For mac, use the format such as 00-02-d1-2e-3a-0d if it is filled to

packets with ascii format, but hex format occupies 6 bytes. Each option will be filled to packets according to the

configured order of the commands and divide them with delimiter (delimiter is ip dhcp relay information option

delimiter configuration).

Example:

Set self-defined method and character string of remote-id suboption are hostname and abc respectively for option82.

Switch(config)#ip dhcp relay information option self-defined remote-id hostname string abc

30.7 ip dhcp relay information option self-defined remote-id
format

Command:

ip dhcp relay information option self-defined remote-id format [ascii | hex]

Advertising