mac
Commands for DHCP Option 82
338
is the circuit-id contents of option82 specified by users, which is a string no longer than
64 characters. The” no ip dhcp relay information option subscriber-id” command will
set the format of added option82 sub-option1 (Circuit ID option) as standard format.
Parameters: None
Command Mode: Interface configuration mode.
Default Settings: The system uses the standard format to set the circuit-id of option 82
by default.
User Guide: Because the option 82 information added for the switch should cooperate
with the third party DHCP server, if the standard circuit-id format of the switch cannot
satisfy the server’s request, this method will be provided for users to specify the contents
of circuit-id according to the situation of the server.
Example: Set the sub-option circuit-id of DHCP option82 as foobar.
Switch(config-if-vlan1)#ip dhcp relay information option subscriber-id foobar
28.11 ip dhcp relay information option subscriber-id
format
Command: ip dhcp relay information option subscriber-id format {hex | acsii |
vs-hp}
Function: Set subscriber-id format of Relay Agent option82.
Parameters: hex means that subscriber-id is VLAN and port information with
hexadecimal format, acsii means that subscriber-id is VLAN and port information with
ACSII format. vs-hp means that subscriber-id is compatible with the format of HP
manufacturer.
Command Mode: Global mode
Default: ascii.
User Guide: VLAN and port information with ASCII format, such as
“Vlan1+Ethernet1/11”, VLAN and port information with hexadecimal format defined as
below:
VLAN field fills in VLAN ID. For chassis switch, Slot means slot number, for box switch,
1 8 0 6 VLAN Slot Module Port
1 byte 1 byte 1 byte 1 byte 2 byte 1 byte 1 byte 2 byte
Suboption
type
Length
Circuit
ID type
Length










