R3303-HP HSR6800 Routers Layer 3 - IP Services Command Reference

Table Of Contents
95
[Sysname] interface gigabitethernet 3/1/1
[Sysname-GigabitEthernet3/1/1] dhcp-snooping information remote-id string device001
Related commands
dhcp-snooping information format
display dhcp-snooping information
dhcp-snooping information strategy
Use dhcp-snooping information strategy to configure the handling strategy for Option 82 in requesting
messages.
Use undo dhcp-snooping information strategy to restore the default.
Syntax
dhcp-snooping information strategy { append| drop | keep | replace }
undo dhcp-snooping information strategy
Default
The handling strategy for Option 82 in requesting messages is replace.
Views
Layer 2 Ethernet interface view, Layer 2 aggregate interface view
Default command level
2: System level
Parameters
append: Forwards the message containing Option 82 after adding content to sub-option 9 of Option 82.
The append strategy is supported only when the private padding format and sub-option 9 are configured.
In other cases, the device forwards the message without changing Option 82.
drop: Drops the requesting message containing Option 82.
keep: Forwards the requesting message containing Option 82 without changing Option 82.
replace: Forwards the requesting message containing Option 82 after replacing the original Option 82
with the one padded in specified format.
Examples
# Configure the handling strategy for Option 82 in requesting messages as keep.
<Sysname> system-view
[Sysname] interface gigabitethernet 3/1/1
[Sysname-GigabitEthernet3/1/1] dhcp-snooping information enable
[Sysname-GigabitEthernet3/1/1] dhcp-snooping information strategy keep
Related commands
display dhcp-snooping information
dhcp-snooping information format
dhcp-snooping information sub-option