85
Description
Use the dhcp-snooping information strategy command to configure the handling strategy for Option 82
in requesting messages.
Use the undo dhcp-snooping information strategy command to restore the default.
By default, the handling strategy for Option 82 in requesting messages is replace.
Related commands: display dhcp-snooping information.
Examples
# Configure the handling strategy for Option 82 in requesting messages as keep.
<Sysname> system-view
[Sysname] interface GigabitEthernet1/0/1
[Sysname-GigabitEthernet1/0/1] dhcp-snooping information enable
[Sysname-GigabitEthernet1/0/1] dhcp-snooping information strategy keep
dhcp-snooping rate-limit
Syntax
dhcp-snooping rate-limit rate
undo dhcp-snooping rate-limit
View
Layer 2 Ethernet interface view, Layer 2 aggregate interface view
Default level
2: System level
Parameters
rate: Specifies the maximum rate of incoming DHCP packets, in the range 64 to 512 Kbps.
Description
Use the dhcp-snooping rate-limit command to configure the maximum rate of incoming DHCP packets.
Use the undo dhcp-snooping rate-limit command to restore the default.
By default, DHCP packet rate limit is disabled.
Examples
# Set the maximum rate of incoming DHCP packets on Layer 2 Ethernet interface GigabitEthernet 1/0/1
to 64 Kbps.
<Sysname> system-view
[Sysname] interface GigabitEthernet 1/0/1
[Sysname-GigabitEthernet1/0/1] dhcp-snooping rate-limit 64
dhcp-snooping trust
Syntax
dhcp-snooping trust [ no-user-binding ]
undo dhcp-snooping trust