mac

293
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-idcommand 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
17.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: