R211x-HP Flexfabric 11900 Layer 3 - IP Services Command Reference

94
ascii: Specifies the ASCII code type.
hex: Specifies the hex code type.
Usage guidelines
If you use this command multiple times, the most recent configuration takes effect.
The padding format for the user-defined string, the normal mode, or the verbose modes varies with the
command configuration. Table 17 sho
ws how the padding format is determined for different modes.
Table 17 Padding format for different modes
Keyword (mode)
If no padding format
is s
p
ecified
If the padding
format is ascii
The padding format is hex
string circuit-id
You cannot specify a
padding format, and the
padding format is
always ASCII.
N/A N/A
normal Hex. ASCII. Hex.
verbose
Hex for the VLAN ID.
ASCII for the node
identifier, Ethernet type,
chassis number, slot
number, sub-slot
number, and interface
number.
ASCII.
ASCII for the node identifier and
Ethernet type.
Hex for the chassis number, slot
number, sub-slot number, interface
number, and VLAN ID.
If replace is configured as the handling strategy for DHCP requests that contain Option 82, you must
specify the padding content and code type for the circuit ID sub-option. If the handling strategy is keep
or drop, you do not need to specify the padding content and code type for the circuit ID sub-option.
Examples
# Configure verbose as the padding format, device name as the node identifier, and ASCII as the code
type for the circuit ID sub-option.
<Sysname> system-view
[Sysname] interface Ten-GigabitEthernet 1/0/1
[Sysname-Ten-GigabitEthernet1/0/1] dhcp snooping information enable
[Sysname-Ten-GigabitEthernet1/0/1] dhcp snooping information strategy replace
[Sysname-Ten-GigabitEthernet1/0/1] dhcp snooping information circuit-id verbose
node-identifier sysname format ascii
Related commands
dhcp snooping information enable
dhcp snooping information strategy
display dhcp snooping information
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.