Command Manual (For Soliton) – DHCP
H3C S3100 Series Ethernet Switches
Chapter 1 DHCP Snooping Configuration Commands
1-6
1.1.7 dhcp-snooping information vlan circuit-id
Syntax
dhcp-snooping information
[
vlan
vlan-id
]
circuit-id string
string
undo dhcp-snooping information
{ [
vlan
vlan-id
]
circuit-id
|
circuit-id all
}
View
Ethernet port view
Parameters
vlan
vlan-id
: Specifies a VLAN. DHCP packets from the VLAN are padded with the
circuit ID sub-option.
string
: Content of the circuit ID sub-option, a string of 3 to 63 ASCII characters.
Description
Use the
dhcp-snooping information vlan circuit-id
command to configure the
content of the circuit ID field in Option 82.
Use the
undo
dhcp-snooping information circuit-id
command to restore the default.
With
vlan
vlan-id
specified, the customized circuit ID sub-option applies only to the
DHCP packets from the specified VLAN. With no
vlan
vlan-id
specified, the customized
circuit ID sub-option applies to all DHCP packets that pass through the current port.
Use the
undo dhcp-snooping information
vlan
vlan-id
circuit-id
command to
restore the default circuit ID in DHCP packets from the specified VLAN.
Use the
undo dhcp-snooping information
circuit-id
command to restore the default
circuit ID for all DHCP packets except those from the specified VLAN.
Use the
undo dhcp-snooping information
circuit-id all
command to restore the
default circuit ID for all DHCP packets.
By default, the circuit ID field in Option 82 contains the VLAN ID and index of the port
that received the client’s request.
If you have configured a circuit ID with the
vlan
vlan-id
argument specified, and the
other one without the argument in Ethernet port view, the former circuit ID applies to the
DHCP messages from the specified VLAN, while the latter one applies to DHCP
messages from other VLANs.
Examples
# Set the circuit ID field in Option 82 of the DHCP messages sent through Ethernet
1/0/1 to
abc
.
<Sysname> system-view
System View: return to User View with Ctrl+Z.
[Sysname] interface Ethernet1/0/1