HP VPN Firewall Appliances Network Management Command Reference

190
dhcp relay information strategy
Use dhcp relay information strategy to configure DHCP relay agent handling strategy for messages
containing Option 82.
Use undo dhcp relay information strategy to restore the default handling strategy.
Syntax
dhcp relay information strategy { drop | keep | replace }
undo dhcp relay information strategy
Default
The handling strategy for messages containing Option 82 is replace.
Views
Interface view
Default command level
2: System level
Parameters
drop: Specifies the dropping of messages containing Option 82.
keep: Specifies the forwarding of messages containing Option 82 without any change.
replace: Specifies the forwarding of messages containing Option 82 after replacing the original Option
82 with the Option 82 padded in the specified padding format.
Examples
# Configure the DHCP relay agent handling strategy for messages containing Option 82 as keep.
<Sysname> system-view
[Sysname] interface gigabitethernet 0/1
[Sysname-GigabitEthernet0/1] dhcp relay information enable
[Sysname-GigabitEthernet0/1] dhcp relay information strategy keep
Related commands
display dhcp relay information
dhcp relay release ip
Use dhcp relay release ip to request the DHCP server to release a specific client IP address.
Syntax
dhcp relay release ip client-ip
Views
System view
Default command level
2: System level
Parameters
client-ip: DHCP client IP address.