ipv6 nd snooping max-learning-num

Syntax

ipv6 nd snooping max-learning-num number

undo ipv6 nd snooping max-learning-num

View

Layer 2 Ethernet port view, Layer 2 aggregate interface view

Default level

2: System level

Parameters

number: Specifies the maximum number of ND snooping entries that can be learned by the interface.

Description

Use ipv6 nd snooping max-learning-num to configure the maximum number of ND snooping entries that can be learned on the interface.

Use undo ipv6 nd snooping max-learning-num to restore the default.

By default, the number of ND snooping entries that an interface can learn is not limited.

Examples

# Set the maximum number of ND snooping entries that can be learned on Layer 2 Ethernet port Ethernet 1/0/1 to 1000.

<Sysname> system-view
[Sysname] interface Ethernet 1/0/1
[Sysname-Ethernet1/0/1] ipv6 nd snooping max-learning-num 1000

# Set the maximum number of ND snooping entries that can be learned on Layer 2 aggregate interface 1 to 1000.

<Sysname> system-view
[Sysname] interface bridge-aggregation 1
[Sysname-Bridge-Aggregation1] ipv6 nd snooping max-learning-num 1000