< Home

ip source check user-bind alarm enable

Function

The ip source check user-bind alarm enable command enables the alarm function of IP packet check.

The undo ip source check user-bind alarm enable command disables the alarm function of IP packet check.

By default, the alarm function of IP packet check is disabled.

Format

ip source check user-bind alarm enable

undo ip source check user-bind alarm enable

Parameters

None

Views

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

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

The ip source check user-bind alarm enable command enables the log and alarm function for IP packet check. If the number of discarded packets reaches the threshold, the device sends an alarm to the NMS device.

Prerequisites

IP packet check has been enabled using the ip source check user-bind enable command on the interface.

Follow-up Procedure

Run the ip source check user-bind alarm threshold command to set the alarm threshold.

Precautions

If the alarm function of IP packet check is enabled both in the VLAN view and in the view of the interface added to the VLAN, it takes effect in the view where it was first enabled. To change the order in which the function takes effect, disable it in the view where it has taken effect, and then enable it in the desired view.

Example

# Enable the alarm function for IP packet check on GE0/0/1.

<HUAWEI> system-view
[HUAWEI] interface gigabitethernet 0/0/1
[HUAWEI-GigabitEthernet0/0/1] ip source check user-bind enable
[HUAWEI-GigabitEthernet0/0/1] ip source check user-bind alarm enable
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >