Ip dhcp snooping information option self, Defined subscriber – PLANET XGS3-24042 User Manual

Page 463

Advertising
background image


30-102

Global Mode

Default:

ascii.

Usage Guide:

self-defined format use ip dhcp snooping information option type self-defined remote-id to create

remote-id format.

Example:

Set self-defined format of remote-id as hex for snooping option82.

Switch(config)# ip dhcp snooping information option self-defined remote-id format hex

30.22 ip dhcp snooping information option

self-defined subscriber-id

Command:

ip dhcp snooping information option self-defined subscriber-id {vlan | port | id (switch-id

(mac | hostname)| remote-mac) | string WORD}

no ip dhcp snooping information option type self-defined subscriber-id

Function:

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

themselves.

Parameters:

WORD the defined character string of circuit-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 circuit-id on port, it will create circuit-id

suboption for option82 according to self-defined method. Self-defined format of circuit-id: if

self-defined subscriber-id format is ascii, the filled format of vlan such as “Vlan2”, the format of port

such as “Ethernet1/0/1”, the format of mac and remote-mac such as “00-02-d1-2e-3a-0d”. If

self-defined format is hex, the filled format of vlan occupies 2 bytes, port occupies 4 bytes, a byte

means slot (for chassis switch, it means slot ID, for box switch, it is 1), a byte means Module (the

default is 0), two bytes means port ID beginning from 1, mac and remote-mac occupy 6 bytes. Each

option will be filled to packets according to the configured order of the commands and divide them

Advertising