Setting aging timers for dynamic ports
When you set aging timers for dynamic ports, follow these restrictions and guidelines:
If the memberships of multicast groups frequently change, you can set a relatively small value for the aging timer of the dynamic member ports. If the memberships of multicast groups rarely change, you can set a relatively large value.
If a dynamic router port receives a PIMv2 hello message, the aging timer for the port is specified by the hello message. In this case, the router-aging-time or igmp-snooping router-aging-time command does not take effect on the port.
IGMP group-specific queries originated by the Layer 2 device trigger the adjustment of aging timers for dynamic member ports. If a dynamic member port receives such a query, its aging timer is set to twice the IGMP last member query interval. For more information about setting the IGMP last member query interval on the Layer 2 device, see "Setting the IGMP last member query interval."
You can set the timers globally for all VLANs and VSIs in IGMP-snooping view, for a VSI in VSI view, or for a VLAN in VLAN view. For a VLAN, the VLAN-specific configuration takes priority over the global configuration. For a VSI, the VSI-specific configuration takes priority over the global configuration.
Setting the aging timers for dynamic ports globally
Step | Command | Remarks |
---|---|---|
1. Enter system view. | system-view | N/A |
2. Enter IGMP-snooping view. | igmp-snooping | N/A |
3. Set the aging timer for dynamic router ports globally. | router-aging-time seconds | The default setting is 260 seconds. |
4. Set the global aging timer for dynamic member ports globally. | host-aging-time seconds | The default setting is 260 seconds. |
Setting the aging timers for dynamic ports in a VLAN or VSI
Step | Command | Remarks |
---|---|---|
1. Enter system view. | system-view | N/A |
2. Enter VLAN view or VSI view. |
| N/A |
3. Set the aging timer for dynamic router ports in the VLAN or VSI. | igmp-snooping router-aging-time seconds | The default setting is 260 seconds. |
4. Set the aging timer for dynamic member ports in the VLAN or VSI. | igmp-snooping host-aging-time seconds | The default setting is 260 seconds. |