pim-snooping graceful-restart neighbor-aging-time

Use pim-snooping graceful-restart neighbor-aging-time to set the aging time for global neighbor ports on the new active MPU after an active/standby switchover.

Use undo pim-snooping graceful-restart neighbor-aging-time to restore the default.

Syntax

pim-snooping graceful-restart neighbor-aging-time seconds

undo pim-snooping graceful-restart neighbor-aging-time

Default

The default setting is 105 seconds.

Views

VLAN view

VSI view

Predefined user roles

network-admin

Parameters

seconds: Specifies an aging time in the range of 105 to 18000 seconds.

Usage guidelines

You must enable PIM snooping in a VLAN or VSI before you execute this command.

Global ports include Layer 2 aggregate interfaces, AC interfaces, N-PW interfaces, and U-PW interfaces. A global neighbor port is a global port that acts as a neighbor port.

Examples

# In VLAN 2, set the aging time to 300 seconds for global neighbor ports on the new active MPU after an active/standby switchover.

<Sysname> system-view
[Sysname] igmp-snooping
[Sysname-igmp-snooping] quit
[Sysname] vlan 2
[Sysname-vlan2] igmp-snooping enable
[Sysname-vlan2] pim-snooping enable
[Sysname-vlan2] pim-snooping graceful-restart neighbor-aging-time 300

# In VSI aaa, set the aging time to 300 seconds for global neighbor ports on the new active MPU after an active/standby switchover.

<Sysname> system-view
[Sysname] igmp-snooping
[Sysname-igmp-snooping] quit
[Sysname] vsi aaa
[Sysname-vsi-aaa] igmp-snooping enable
[Sysname-vsi-aaa] pim-snooping enable
[Sysname-vsi-aaa] pim-snooping graceful-restart neighbor-aging-time 300

Related commands

pim-snooping enable