pim hello-option holdtime

Use pim hello-option holdtime to set the PIM neighbor lifetime on an interface.

Use undo pim hello-option holdtime to restore the default.

Syntax

pim hello-option holdtime time

undo pim hello-option holdtime

Default

The PIM neighbor lifetime is 105 seconds.

Views

Interface view

Predefined user roles

network-admin

Parameters

time: Specifies a PIM neighbor lifetime in the range of 1 to 65535 seconds. If you set the value to 65535 seconds, the PIM neighbor is always reachable.

Usage guidelines

You can set the PIM neighbor lifetime for an interface in interface view or globally for all interfaces in PIM view. For an interface, the interface-specific configuration takes priority over the global configuration.

Examples

# Set the PIM neighbor lifetime to 120 seconds on VLAN-interface 100.

<Sysname> system-view
[Sysname] interface vlan-interface 100
[Sysname-Vlan-interface100] pim hello-option holdtime 120

Related commands

hello-option holdtime (PIM view)