Configuring Membership Fast-Update
Context
The switch can be configured to rapidly update memberships when a multicast group member joins or leaves the multicast group. This improves the efficiency and user experience of multicast services.
- Setting the Aging Time of Group Member Ports
- Setting the Aging Time of Dynamic Router Ports
- Configuring Fast Leave for Member Ports
- Configuring Host-based Fast Leave
- Sending IGMP Query Messages upon Topology Changes
- Enabling Fast Multicast Forwarding Path Switching upon STP Topology Changes
- Deleting IGMP Snooping Entries of DHCP Snooping Users Immediately After Users Go Offline
- Verifying the Membership Fast-Update Configuration
Setting the Aging Time of Group Member Ports
Context
When the member port receives a Report message from a downstream host, the switch sets the aging time to: Robustness variable x General Query interval + Maximum response time for General Query messages.
When the member port receives a Leave message from a downstream host, the switch sets the aging time to: Last member query interval x Robustness variable.
When deploying a Layer 2 multicast network, ensure that all Layer 2 multicast devices use the same parameter values to calculate the aging time of dynamic group member ports, especially the IGMP snooping general query interval. Otherwise, errors will occur in Layer 2 multicast forwarding.
Procedure
- Run system-view
The system view is displayed.
- Run vlan vlan-id
The VLAN view is displayed.
- Run igmp-snooping query-interval query-interval
The IGMP snooping general query interval is set.
By default, the IGMP snooping general query interval is 125 seconds.
The default general query interval defined in RFC documents is 125 seconds, but some vendors define their own default general query intervals. It is recommended that all devices on a multicast network use the same general query intervals (including IGMP and IGMP snooping general query intervals).
- Run igmp-snooping robust-count robust-count
The IGMP snooping robustness variable is set.
By default, the IGMP snooping robustness variable is 2.
- Run igmp-snooping max-response-time max-response-time
The IGMP snooping maximum response time is set.
By default, the IGMP snooping maximum response time is 10 seconds.
- Run igmp-snooping lastmember-queryinterval lastmember-queryinterval
The IGMP snooping last member query interval is set.
By default, the IGMP snooping last member query interval is 1 second.
Setting the Aging Time of Dynamic Router Ports
Context
A router port sends IGMP Report/Leave messages to an upstream Layer 3 device and receives multicast packets from the upstream device. When IGMP snooping is enabled on a device, the device can learn entries of the dynamic router port to monitor the sending of multicast data. When network congestion or flapping occurs, the dynamic router port does not receive General IGMP Query or Protocol Independent Multicast (PIM) Hello messages before it times out. The switch deletes the interface from the router port list, which will cause service interruption. To avoid service interruption, set a longer aging time.
Procedure
- Run system-view
The system view is displayed.
- Run vlan vlan-id
The VLAN view is displayed.
- Run igmp-snooping router-aging-time router-aging-time
The aging time is set for dynamic router ports.
By default, the aging time of router ports that the switch learns from General IGMP Query messages is 180 seconds, and the aging time of router ports that the switch learns from PIM Hello messages is the Holdtime value in PIM Hello messages.
Configuring Fast Leave for Member Ports
Context
When the switch receives IGMP Leave messages from a group member port, fast leave allows the switch to immediately delete forwarding entries of the member port but does not reset the aging timer.
Enable fast leave in a VLAN only when each interface in the VLAN is connected to one receiver host.
Fast leave takes effect for member ports in a VLAN only when the switch can process IGMPv2 messages.
Procedure
- Run system-view
The system view is displayed.
- Run vlan vlan-id
The VLAN view is displayed.
- Run igmp-snooping prompt-leave [ group-policy acl-number ]
Fast leave is configured for group member ports in the VLAN.
By default, no member port is allowed to fast leave a multicast group.
If you do not specify group-policy when configuring fast leave, this function takes effect for all groups. For details on how to configure an ACL, see ACL Configuration in the S600-E V200R019C10 Configuration Guide - Security.
Configuring Host-based Fast Leave
Context
The host-based fast leave function enables a switch to delete a host from the host list of a group immediately after receiving an IGMP Leave message from the host. If the deleted host is the last receiver host connected to the group member port, the switch deletes the forwarding entry of the group from the port, without waiting the aging timer of the port to expire. This conserves bandwidth and system resources.
Host-based fast leave takes effect in a VLAN only when the switch can process IGMPv2 messages in the VLAN.
Sending IGMP Query Messages upon Topology Changes
Context
When a Layer 2 network topology changes, the forwarding path of multicast packets may change. When a fault occurs on a link, the switch sends IGMP Query messages and the multicast members reply with IGMP Report messages. The switch then updates information about multicast member ports based on the IGMP Report messages. In this way, multicast packets can be switched to new forwarding paths quickly.
Procedure
- Run system-view
The system view is displayed.
- Run igmp-snooping send-query enable
The switch is configured to send IGMP Query messages upon topology changes.
By default, the switch does not send IGMP Query messages upon topology changes.
This command enables the switch to send IGMP Query messages (the source IP address is 192.168.0.1 by default) upon topology changes, and update information about multicast member ports quickly, shortening the interruption of multicast packet forwarding to the downstream members.
- (Optional) Run igmp-snooping send-query source-address ip-address
The source IP address of IGMP Query messages is configured.
By default, the source IP address of IGMP Query messages sent upon topology changes is 192.168.0.1. If this IP address is used by another device on the network, use this command to set a different IP address.
Enabling Fast Multicast Forwarding Path Switching upon STP Topology Changes
Context
When a Layer 2 network topology changes, multicast forwarding paths may change. Sending IGMP Query Messages upon Topology Changes enables multicast data flows to be switched to new forwarding paths within a relatively short time. However, the downstream device may not receive Query messages immediately after convergence of the Layer 2 network, because Query messaged are sent after a certain interval (60 seconds by default). As a result, multicast traffic cannot be rapidly switched to the new forwarding paths.
If the Layer 2 network is running the Spanning Tree Protocol (STP), you can enable fast multicast forwarding path switching upon STP topology changes. When the STP topology changes, this function quickly changes the ports in Forwarding state into router ports to direct multicast data flows to new forwarding paths.
- This function takes effect only when STP is used as the loop prevention protocol on a Layer 2 network and the STP operation mode is Multiple Spanning Tree Protocol (MSTP), Rapid Spanning Tree Protocol (RSTP), or STP.
- With this function configured, the switch sets all ports in Forwarding state as router ports when the STP topology changes. Multicast data flows are forwarded to all the router ports before the router ports are aged out. This will cause increase in multicast traffic.
Deleting IGMP Snooping Entries of DHCP Snooping Users Immediately After Users Go Offline
Context
When IGMP snooping is enabled for Dynamic Host Control Protocol (DHCP) snooping users, the switch does not delete the IGMP snooping entry of a user immediately after the user goes offline. The multicast flow requested by the user is still transmitted until the IGMP snooping entry of the user is aged out.
You can configure the switch to delete the IGMP snooping entry of a DHCP snooping user immediately after the user goes offline, so that the multicast flow requested by the user is immediately terminated.
For details about DHCP snooping, see DHCP Snooping Configuration in the S600-E V200R019C10 Configuration Guide - Security.
Procedure
- Run system-view
The system view is displayed.
- Run dhcp-snooping user-offline remove igmp-snooping
The switch is configured to delete IGMP snooping entries of DHCP snooping users immediately after the users go offline.
By default, the switch does not delete IGMP snooping entries of DHCP snooping users immediately after the users go offline.
Verifying the Membership Fast-Update Configuration
Prerequisites
After configuring membership fast-update, you can run the following commands in any view to check the IGMP snooping configuration and forwarding entries.
Procedure
- Run the display igmp-snooping [ vlan [ vlan-id ] ] configuration command to check the IGMP snooping configuration.
- Run the display l2-multicast forwarding-table vlan [ vlan-id ] [ [ source-address source-address ] group-address { group-address | router-group } ] command to check the multicast forwarding table in a VLAN.
- Setting the Aging Time of Group Member Ports
- Setting the Aging Time of Dynamic Router Ports
- Configuring Fast Leave for Member Ports
- Configuring Host-based Fast Leave
- Sending IGMP Query Messages upon Topology Changes
- Enabling Fast Multicast Forwarding Path Switching upon STP Topology Changes
- Deleting IGMP Snooping Entries of DHCP Snooping Users Immediately After Users Go Offline
- Verifying the Membership Fast-Update Configuration