Command Manual – DHCP
H3C S7500E Series Ethernet Switches Chapter 4 DHCP Snooping Configuration Commands
4-3
View
Ethernet port view
Parameters
normal: Specifies the normal padding format.
verbose: Specifies the verbose padding format.
node-identifier { mac | sysname | user-defined node-identifier }: Specifies access
node identifier. By default, the node MAC address is used as the node identifier.
z mac indicates using MAC address as the node identifier.
z sysname indicates using the device name of a node as the node identifier.
z user-defined node-identifier indicates using a specified character string as the
node identifier, in which node-identifier is a string with 1 to 50 characters.
Description
Use the dhcp-snooping information format command to specify the padding format
for Option 82.
Use the undo dhcp-snooping information format command to restore the default
padding format.
By default, the padding format for Option 82 is normal.
Note that when you use the undo dhcp-snooping information format command, if
the verbose node-identifier argument is not specified, the padding format will be
restored to normal; if the verbose node-identifier argument is specified, the padding
format will be restored to verbose with MAC address as the node identifier.
Examples
# Specify the padding format as verbose for Option 82.
<Sysname> system-view
[Sysname] interface gigabitethernet2/0/1
[Sysname-GigabitEthernet2/0/1] dhcp-snooping information enable
[Sysname-GigabitEthernet2/0/1] dhcp-snooping information strategy replace
[Sysname-GigabitEthernet2/0/1] dhcp-snooping information format verbose
4.1.4 dhcp-snooping information strategy
Syntax
dhcp-snooping information strategy { drop | keep | replace }
undo dhcp-snooping information strategy
View
Ethernet port view