
20
Configuring IGMP snooping port functions
Configuration prerequisites
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
Configuring aging timers for dynamic ports
If the switch receives no IGMP general queries or PIM hello messages on a dynamic router port, the
switch removes the port from the router port list when the aging timer of the port expires.
If the switch receives no IGMP reports for a multicast group on a dynamic member port, the switch
removes the port from the outgoing port list of the entry in the forwarding table for that multicast
group when the aging timer of the port for that group expires.
If multicast group memberships change frequently, set a relatively small value for the dynamic
member port aging timer, and vice versa.
Configuring aging timers for dynamic ports globally
Follow these steps to configure aging timers for dynamic ports globally:
To do...
Use the command...
Remarks
Enter system view
system-view
—
Enter IGMP snooping view
igmp-snooping
—
Configure dynamic router port
aging time
router-aging-time
interval
Optional
105 seconds by default
Configure dynamic member port
aging time
host-aging-time
interval
Optional
260 seconds by default
Configuring aging timers for dynamic ports in a VLAN
Follow these steps to configure aging timers for dynamic ports in a VLAN:
To do...
Use the command...
Remarks
Enter system view
system-view
—
Enter VLAN view
vlan
vlan-id
—
Configure dynamic router port
aging time
igmp-snooping
router-aging-time
interval
Optional
105 seconds by default
Configure dynamic member port
aging time
igmp-snooping
host-aging-time
interval
Optional
260 seconds by default