Sending Query Messages Upon Network Topology Change
Context
When Layer 2 network topology changes, the forwarding path of multicast packets may change. After the router is configured to send Multicast Listener Discovery (MLD Query messages when the link fails, the device updates information about multicast member ports according to the MLD Report messages replied by multicast members. In this way, multicast traffic can be quickly switched to new forwarding paths.
Procedure
- Run system-view
The system view is displayed.
- Run mld-snooping send-query enable
The device is configured to send MLD General Query messages when network topology changes.
By default, the device does not send MLD General Query messages when network topology changes.
After this command is executed, the device can detect the Layer 2 network topology change and send MLD General Query messages. This ensures that the device can promptly update the interface information and the multicast data received by multicast group members is not interrupted.
- (Optional) Run mld-snooping send-query source-address ipv6-address
The source IPv6 address of the MLD General Query message is configured.
By default, the source IPv6 address of the MLD General Query message is a link local address, that is, an IPv6 address starting with FE80::. If this address has been used by other devices on the network, run this command to change the source IP address of an MLD General Query message.