< Home

dhcpv6 packet-rate drop-alarm enable

Function

The dhcpv6 packet-rate drop-alarm enable command enables the alarm function for discarding DHCPv6 messages when the rate of DHCPv6 messages exceeds the limit.

The undo dhcpv6 packet-rate drop-alarm enable command disables the alarm function for discarding DHCPv6 messages when the rate of DHCPv6 messages exceeds the limit.

By default, the alarm function for discarding DHCPv6 messages is disabled when the rate of DHCPv6 messages exceeds the limit.

Format

dhcpv6 packet-rate drop-alarm enable

undo dhcpv6 packet-rate drop-alarm enable

Parameters

None

Views

System view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

After the alarm function of DHCPv6 messages discarded is enabled using the dhcpv6 packet-rate drop-alarm enable command, the device records alarm information when the number of DHCPv6 packets that are discarded exceeds the alarm threshold. The alarm threshold can be set using the dhcpv6 packet-rate drop-alarm threshold command.

Prerequisites

  1. DHCP functions have been enabled globally using the dhcp enable command.

  2. The DHCPv6 packet rate limit has been enabled using the dhcpv6 packet-rate command.

Example

# Enable the alarm function for discarding DHCPv6 messages when the rate of DHCPv6 messages exceeds rate limit.

<HUAWEI> system-view
[HUAWEI] dhcp enable
[HUAWEI] dhcpv6 packet-rate 200
[HUAWEI] dhcpv6 packet-rate drop-alarm enable
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >