
32-33
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
32.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>
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