< Home

nd snooping max-user-number

Function

The nd snooping max-user-number command sets the maximum number of ND snooping dynamic binding entries to be learned by an interface.

The undo nd snooping max-user-number command restores the default maximum number of ND snooping dynamic binding entries to be learned by an interface.

By default, the maximum number of ND snooping binding entries that can be learned on an interface is 512 for S2720-EI, 2048 for S5720-LI, S5735-L, S5735S-L, S5735S-L-M, S5720S-LI, S5720-SI, S5735-S, S5735S-S, S5735-S-I, S5720I-SI, S5720S-SI, S5730-SI, S5730S-EI, S6720-LI, S6720S-LI, S6720-SI and S6720S-SI, and 8192 for other models.

Format

nd snooping max-user-number max-user-number

undo nd snooping max-user-number

Parameters

Parameter

Description

Value

max-user-number

Specifies the maximum number of ND snooping dynamic binding entries to be learned by an interface.

The value is an integer that ranges from 1 to 512 for S2720-EI, from 1 to 2048 for S5720-LI, S5735-L, S5735S-L, S5735S-L-M, S5720S-LI, S5720-SI, S5735-S, S5735S-S, S5735-S-I, S5720I-SI, S5720S-SI, S5730-SI, S5730S-EI, S6720-LI, S6720S-LI, S6720-SI and S6720S-SI, and from 1 to 8192 for other models.

Views

System 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

If a lot of users go online through an interface, the device consumes many ND snooping dynamic binding entries to process the NS packets. To prevent this problem, you can set the maximum number of ND snooping dynamic binding entries to be learned by an interface. If the number of the ND snooping dynamic binding entries learned by an interface reaches the maximum number, no entry can be added.

You can set the maximum number ND snooping entries in the system view or interface view. The configuration in the system view is valid for all interfaces. The settings in the interface view only take effect on the specified interface. If the settings are performed in both the interface view and system view, the smaller value is adopted.

Prerequisites

Before setting the maximum number of ND snooping dynamic binding entries to be learned by an interface, ensure that ND snooping has been enabled in the system view using the nd snooping enable command.

Example

# Set the maximum number of ND snooping binding entries to 200 on GE0/0/1.

<HUAWEI> system-view
[HUAWEI] interface gigabitethernet 0/0/1
[HUAWEI-GigabitEthernet0/0/1] nd snooping max-user-number 200
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >