hello-option holdtime (PIM view)

Use hello-option holdtime to set the PIM neighbor lifetime globally.

Use undo hello-option holdtime to restore the default.

Syntax

hello-option holdtime time

undo hello-option holdtime

Default

The PIM neighbor lifetime is 105 seconds.

Views

PIM 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, PIM neighbors are always reachable.

Usage guidelines

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

Examples

# Set the global PIM neighbor lifetime to 120 seconds on the public network.

<Sysname> system-view
[Sysname] pim
[Sysname-pim] hello-option holdtime 120

Related commands

pim hello-option holdtime