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

Table Of Contents
90
forwards it to the DHCP server. If they are not consistent, DHCP snooping considers the message a
forged lease renewal request and discards it.
If no match is found, DHCP snooping forwards the message to the DHCP server.
Examples
# Enable DHCP-REQUEST message check for DHCP snooping.
<Sysname> system-view
[Sysname] interface gigabitethernet 3/1/1
[Sysname-GigabitEthernet3/1/1] dhcp-snooping check request-message
dhcp-snooping information circuit-id format-type
Use dhcp-snooping information circuit-id format-type to configure the code type for the non-user-defined
circuit ID sub-option.
Use undo dhcp-snooping information circuit-id format-type to restore the default.
Syntax
dhcp-snooping information circuit-id format-type { ascii | hex }
undo dhcp-snooping information circuit-id format-type
Default
The code type for the circuit ID sub-option depends on the padding format of Option 82. Each field has
its own code type.
Views
Layer 2 Ethernet interface view, Layer 2 aggregate interface view
Default command level
2: System level
Parameters
ascii: Specifies the code type for the circuit ID sub-option as ascii.
hex: Specifies the code type for the circuit ID sub-option as hex.
Usage guidelines
This command configures the code type for only the non-user-defined circuit ID sub-option. After you
configure the padding content for the circuit ID sub-option by using the dhcp-snooping information
circuit-id string command, ASCII is adopted as the code type. The private padding format supports only
the hex code type.
Examples
# Configure the padding format for the non-user-defined circuit ID sub-option as ascii.
<Sysname> system-view
[Sysname] interface gigabitethernet 3/1/1
[Sysname-GigabitEthernet3/1/1] dhcp-snooping information circuit-id format-type ascii
Related commands
display dhcp-snooping information
dhcp-snooping information format