R0106-HP MSR Router Series Layer 3 - IP Services Command Reference(V7)

90
dhcp snooping information enable
Use dhcp snooping information enable to enable DHCP snooping to support Option 82.
Use undo dhcp snooping information enable to disable this function.
Syntax
dhcp snooping information enable
undo dhcp snooping information enable
Default
DHCP snooping does not support Option 82.
Views
Layer 2 Ethernet interface view
Predefined user roles
network-admin
Usage guidelines
This command enables DHCP snooping to add Option 82 into DHCP request packets that do not contain
Option 82 before forwarding the requests to the DHCP server. The content of Option 82 is determined
by the dhcp snooping information circuit-id and dhcp snooping information remote-id commands. If the
received DHCP request packets contain Option 82, DHCP snooping handles the packets according to
the strategy configured with the dhcp snooping information strategy command.
If this feature is disabled, DHCP snooping forwards requests that contain or do not contain Option 82 to
the DHCP server.
Examples
# Enable DHCP snooping to support Option 82.
<Sysname> system-view
[Sysname] interface gigabitethernet2/1/1
[Sysname-GigabitEthernet2/1/1] dhcp snooping information enable
Related commands
dhcp snooping information circuit-id
dhcp snooping information remote-id
dhcp snooping information strategy
dhcp snooping information remote-id
Use dhcp snooping information remote-id to configure the padding content and code type for the
Remote ID sub-option.
Use undo dhcp snooping information remote-id to restore the default.
Syntax
dhcp snooping information remote-id { normal [ format { ascii | hex } ] | [ vlan vlan-id ] { string
remote-id | sysname } }
undo dhcp snooping information remote-id [ vlan vlan-id ]