H3C S7500 Series Ethernet Switches Command Manual

Table Of Contents
Command Manual – DHCP
H3C S7500 Series Ethernet Switches Chapter 2 DHCP Relay Agent Configuration Commands
2-4
System View: return to User View with Ctrl+Z.
[H3C] dhcp relay information enable
2.1.5 dhcp relay information strategy
Syntax
dhcp relay information strategy { drop | keep | replace }
undo dhcp relay information strategy
View
System view
Parameters
drop: Specifies to discard the DHCP request packets that carry option 82.
keep: Specifies to remain the DHCP request packets that carry option 82 unchanged.
replace: Specifies to replace option 82 carried by a DHCP request packet with that of
the DHCP relay agent.
Description
Use the dhcp relay information strategy command to instruct a DHCP relay agent to
perform specified operations to DHCP request packets that carry option 82.
Use the undo dhcp relay information strategy command to instruct a DHCP relay
agent to perform the default operations to DHCP request packets that carry option 82.
By default, the DHCP relay agent replaces the option 82 carried by a DHCP request
packet with its own option 82.
Related commands: dhcp relay information enable
Examples
# Instruct the DHCP relay agent to drop the DHCP request packets that carry option 82.
<H3C> system-view
System View: return to User View with Ctrl+Z.
[H3C] dhcp relay information strategy drop
2.1.6 dhcp-security static
Syntax
dhcp-security static ip-address mac-address
undo dhcp-security { ip-address | all | dynamic | static }