Command Manual (For Soliton) – DHCP
H3C S3100 Series Ethernet Switches
Chapter 1 DHCP Snooping Configuration Commands
1-7
[Sysname-Ethernet1/0/1] dhcp-snooping information circuit-id string abc
1.1.8 dhcp-snooping information vlan remote-id
Syntax
dhcp-snooping information
[
vlan
vlan-id
]
remote-id string
string
undo dhcp-snooping information
{ [
vlan
vlan-id
]
remote-id
|
remote-id all
}
View
Ethernet port view
Parameters
vlan
vlan-id
: Specifies the VLAN ID of the remote ID to be customized.
string
: Customized content of the remote ID sub-option, a string of 3 to 63 ASCII
characters.
Description
Use the
dhcp-snooping information vlan remote-id
command to configure the
content of the remote ID in Option 82
Use the
undo
dhcp-snooping information remote-id
command to restore the default
remote ID in Option 82.
With
vlan
vlan-id
specified
,
the customized remote ID sub-option applies only to the
DHCP packets from the specified VLAN. Without
vlan
vlan-id
specified, the customized
remote ID sub-option applies to all DHCP packets that pass through the current port.
Use the
undo dhcp-snooping information
vlan
vlan-id
remote-id
command to
restore the default remote ID in DHCP packets from the specified VLAN.
Use the
undo dhcp-snooping information
remote-id
command to restore the default
remote ID in all DHCP packets except those from the specified VLAN.
Use the
undo dhcp-snooping information
remote-id all
command to restore the
default remote ID in all DHCP packets.
By default, the remote ID sub-option in Option 82 is the MAC address of the DHCP
Snooping device that received the DHCP client’s request.
If you have configured a remote ID with the
vlan
vlan-id
argument specified, and the
other one without the argument in Ethernet port view, the former remote ID applies to
the DHCP messages from the specified VLAN, while the latter one applies to DHCP
messages from other VLANs.
Examples
# Configure the remote ID of Option 82 in DHCP packets to
abc
on the port Ethernet
1/0/1.