mac

Commands for DHCP Option 82
337
interface, it will create circuit-id suboption for option82 according to self-defined method.
Self-defined format of circuit-id: if self-defined format is ascii, the filled format of vlan
such as Vlan2, the format of port such as Ethernet1/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
with delimiter (delimiter is ip dhcp relay information option delimiter configuration).
Example: Set self-defined method of circuit-id suboption as port, mac for option82.
Switch(config)# ip dhcp relay information option self-defined subscriber-id port id
switch-id mac
28.9 ip dhcp relay information option self-defined
subscriber-id format
Command: ip dhcp relay information option self-defined subscriber-id format
[ascii | hex]
Function: Set self-defined format of circuit-id for relay option82.
Parameters: None.
Command Mode: Global Mode
Default: ascii.
Usage Guide: self-defined format use ip dhcp relay information option type self-defined
subscriber-id to create circuit-id format.
Example: Set self-defined format of circuit-id as hex for relay option82.
Switch(config)# ip dhcp relay information option self-defined subscriber-id format hex
28.10 ip dhcp relay information option subscriber-id
Command: ip dhcp relay information option subscriber-id {standard | <circuit-id>}
no ip dhcp relay information option subscriber-id
Function: This command is used to set the format of option82 sub-option1(Circuit ID
option) added to the DHCP request messages from interface, standard means the
standard vlan name and physical port name format, like”Vlan2+Ethernet1/12”,<circuit-id>