ipv6 nd snooping lifetime

Use ipv6 nd snooping lifetime to set timeout timers for ND snooping entries.

Use undo ipv6 nd snooping lifetime to restore the default.

Syntax

ipv6 nd snooping lifetime { invalid invalid-lifetime | valid valid-lifetime }

undo ipv6 nd snooping lifetime { invalid | valid }

Default

The timeout timer for ND snooping entries in INVALID status (TENTATIVE, TESTING_TPLT, or TESTING_VP) is 500 milliseconds.

The timeout timer for ND snooping entries in VALID status is 300 seconds.

Views

System view

Predefined user roles

network-admin

mdc-admin

Parameters

invalid invalid-lifetime: Sets a timeout timer for ND snooping entries in INVALID status (TENTATIVE, TESTING_TPLT, or TESTING_VP). The value range is 250 to 1000 milliseconds.

valid valid-lifetime: Sets a timeout timer for ND snooping entries in VALID status. The value range is 60 to 900 seconds.

Examples

# Set the timeout timer to 250 seconds for ND snooping entries in VALID status.

<Sysname> system-view
[Sysname] ipv6 nd snooping lifetime valid 250