< Home

ip source check user-bind check-item (VLAN view)

Function

The ip source check user-bind check-item command configures IP packet check items in a VLAN.

The undo ip source check user-bind check-item command restores the default IP packet check items in a VLAN.

By default, the check items contain the IP address, MAC address, VLAN and interface information.

Format

ip source check user-bind check-item { ip-address | mac-address | interface } *

undo ip source check user-bind check-item

Parameters

Parameter Description Value
ip-address Checks whether the IP address of an IP packet matches a binding entry. -
mac-address Checks whether the MAC address of an IP packet matches a binding entry. -
interface Checks whether interface information of an IP packet matches a binding entry. -

Views

VLAN view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

When you check an IP packet against the binding table, run the ip source check user-bind check-item (VLAN view) command to configure IP packet check items in a specified VLAN. When the device receives an IP packet, it checks the items against the binding table. Only packets that match the binding entries can be forwarded; otherwise, packets are discarded. The optional check items of an IP packet contain the source IP address, source MAC address, and interface information. VLAN information is a mandatory check item.

Prerequisites

IP packet check has been enabled using the ip source check user-bind enable command in the VLAN view.

Precautions

When a large number of binding entries exist, it may take a long time to check IP packets, reducing forwarding efficiency.

This command is valid only for dynamic binding entries. The device checks the received packets against entries in the static binding table.

Example

# Enable IP packet check in VLAN 100 and check whether the IP address in the IP packet matches the binding entry.

<HUAWEI> system-view
[HUAWEI] vlan 100
[HUAWEI-vlan100] ip source check user-bind enable
[HUAWEI-vlan100] ip source check user-bind check-item ip-address
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >