dhcpv6 snooping alarm threshold

Function

The dhcpv6 snooping alarm threshold command sets the alarm threshold for discarded DHCPv6 packets.

The undo dhcpv6 snooping alarm threshold command restores the default configuration.

By default, DHCPv6 Snooping global alarm threshold is 100.

Format

dhcpv6 snooping alarm threshold threshold-value

undo dhcpv6 snooping alarm threshold [ threshold-value ]

Parameters

Parameter Description Value
threshold threshold-value

Specifies the global alarm threshold.

The value is an integer ranging from 1 to 1000, in packets. The default value is 100.

Views

System view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
dhcp write

Usage Guidelines

Usage Scenario

After DHCPv6 snooping packet check is configured, the device checks received DHCPv6 snooping packets and discards invalid DHCPv6 snooping packets. In this case, you can enable the trap function on a DHCPv6 snooping interface and configure the trap threshold. When the number of discarded DHCPv6 packets exceeds the trap threshold, the system generates an alarm and notifies the NMS.

Prerequisites

DHCPv6 snooping has been enabled globally using the dhcpv6 snooping enable command.

Precautions

After the trap function is enabled for discarded packets on an interface, if the interface threshold is not configured, the global threshold is used. If the interface threshold is configured, the interface threshold is preferentially used.

Example

# Set the alarm threshold for discarded DHCPv6 packets to 200.
<HUAWEI> system-view
[~HUAWEI] dhcpv6 snooping enable
[*HUAWEI] dhcpv6 snooping alarm threshold 200
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >