< Home

dhcp snooping check dhcpv6-rate enable

Function

The dhcp snooping check dhcpv6-rate enable command enables the device to check the rate of sending DHCPv6 messages to the processing unit.

The undo dhcp snooping check dhcpv6-rate enable command disables the device from checking the rate of sending DHCPv6 messages to the processing unit.

By default, the device does not check the rate of DHCPv6 messages sent to the processing unit.

Format

dhcp snooping check dhcpv6-rate enable

undo dhcp snooping check dhcpv6-rate enable

Parameters

None

Views

System view, VLAN view, Ethernet interface view, GE interface view, XGE interface view, 25GE interface view, MultiGE interface view, 40GE interface view, Eth-Trunk interface view, port group view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

After DHCP snooping is enabled, the device sends all the received DHCPv6 messages to the processing unit. If the rate of sending DHCPv6 messages is high, processing efficiency of the processing unit is affected. After the device is enabled to check the rate of sending DHCPv6 messages to the processing unit, DHCPv6 messages that exceed the specified rate are discarded.

After the device is enabled to check the rate of sending DHCPv6 messages to the processing unit, the default maximum rate of sending DHCPv6 messages is set to 100 pps. To set the maximum rate, run the dhcp snooping check dhcpv6-rate command.

Prerequisites

DHCP snooping has been enabled on the device using the dhcp snooping enable command.

Precautions

If you run the dhcp snooping check dhcpv6-rate enable command in the system view, the configuration takes effect for all the interfaces on the device. If you run this command in the interface view, the configuration takes effect only for the specified interface. If you run this command in the VLAN view, the configuration takes effect for all the interfaces in this VLAN.

Example

# In the system view, enable the device to check the rate of DHCPv6 messages sent to the processing unit.

<HUAWEI> system-view
[HUAWEI] dhcp enable
[HUAWEI] dhcp snooping enable
[HUAWEI] dhcp snooping check dhcpv6-rate enable
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >