l2-multicast source-lifetime (Bridge domain view)

Function

The l2-multicast source-lifetime command sets the aging time for an (S, G) or (*, G) entry triggered by multicast traffic.

The undo l2-multicast source-lifetime command restores the default configuration.

By default, the aging time of an (S, G) or (*, G) entry triggered by multicast traffic 210s.

Format

l2-multicast source-lifetime lifetime

undo l2-multicast source-lifetime

Parameters

Parameter Description Value
lifetime

Specifies the aging time of an (S, G) or (*, G) entry triggered by multicast traffic.

The value is an integer that ranges from 60 to 1000, in seconds.

Views

Bridge domain view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
l2mc write

Usage Guidelines

Usage Scenario

When a multicast source no longer sends multicast data traffic, the source needs to be deleted. This requires constant probes on whether the source sends multicast data flows. To address this problem, the l2-multicast source-lifetime command can be used to set the aging time for entries triggered by multicast traffic based on system performance.

Example

# Set the timer for deleting multicast forwarding entries triggered by multicast traffic to 100 seconds in BD 10.
<HUAWEI> system-view
[~HUAWEI] igmp-snooping enable
[*HUAWEI] bridge-domain 10
[*HUAWEI-bd10] igmp-snooping version 3
[*HUAWEI-bd10] l2-multicast source-lifetime 100
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >