source-lifetime (PIM view)

Use source-lifetime to set the multicast source lifetime.

Use undo source-lifetime to restore the default.

Syntax

source-lifetime time

undo source-lifetime

Default

The multicast source lifetime is 210 seconds.

Views

PIM view

Predefined user roles

network-admin

Parameters

time: Specifies a multicast source lifetime in the range of 0 to 31536000 seconds. If you set the value to 0 seconds, multicast sources never age out.

Examples

# Set the multicast source lifetime to 200 seconds on the public network.

<Sysname> system-view
[Sysname] pim
[Sysname-pim] source-lifetime 200