20
Configuring IGMP snooping port functions
Before you configure IGMP snooping port functions, complete the following tasks:
•
Enable IGMP snooping in the VLAN.
•
Configure the corresponding port groups.
•
Determine the aging time of dynamic router ports.
•
Determine the aging time of dynamic member ports.
•
Determine the multicast group and multicast source addresses.
Setting aging timers for dynamic ports
If a switch receives no IGMP general queries or PIM hello messages on a dynamic router port when the
aging timer of the port expires, the switch removes the port from the router port list.
If the switch receives no IGMP reports for a multicast group on a dynamic member port when the aging
timer of the port expires, the switch removes the port from the multicast forwarding entry for that multicast
group.
If the memberships of multicast groups change frequently, you can set a relatively small value for the
aging timer of the dynamic member ports. If the memberships of multicast groups change rarely, you can
set a relatively large value.
Configuring 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.
router-aging-time
interval
105 seconds by default
4.
Set the aging timer for
dynamic member ports.
host-aging-time
interval
260 seconds by default
Configuring aging timers for dynamic ports in a VLAN
Step Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Enter VLAN view.
vlan
vlan-id
N/A
3.
Set the aging timer for
dynamic router ports.
igmp-snooping router-aging-time
interval
105 seconds by default
4.
Set the aging timer for
dynamic member ports.
igmp-snooping host-aging-time
interval
260 seconds by default