An IPv6 network device sends received messages whose destination IPv6 addresses are local interface addresses to the routing protocol module. If the destination address of a message is not the local interface address, the message cannot be sent to the correct module. For example, the destination address of a Multicast Listener Discovery (MLD) message is a multicast address, the message cannot be sent to the MLD module and membership cannot be maintained. The Router-Alert option is introduced to solve this problem. If a message contains the Router-Alert option in the IPv6 header, devices that receive the message send the message to the corresponding protocol module without checking the destination IPv6 address of the message.
By default, the switch sends received MLD messages to the MLD module for processing regardless of whether the messages have the Router-Alert option in their IPv6 headers. This ensures compatibility between the switch and other devices. To improve device performance, reduce transmission cost, and enhance protocol security, configure the switch to discard MLD messages without the Router-Alert option.
You can also configure the switch to send MLD messages with or without the Router-Alert option. By default, the switch sends MLD messages with the Router-Alert option. If the switch needs to communicate with a device that does not support the Router-Alert option, configure the switch to send MLD messages without the Router-Alert option.
The Router-Alert option can be configured in the MLD view or interface view.