(Optional) Configuring the Router-Alert Option
Context
By default, the router does not check whether IGMP messages contain the Router-Alert option and sends all the IGMP messages to the upper-layer routing protocol. To improve device performance, reduce transmission cost, and enhance protocol security, configure the router to discard IGMP messages without the Router-Alert option.
By default, the router sends IGMP messages with the Router-Alert option.
For details about the Router-Alert option, see RFC 2113.
Procedure
- Run system-view
The system view is displayed.
- Run vlan vlan-id
The VLAN view is displayed.
- Run igmp-snooping require-router-alert
The device is configured to check whether IGMP messages contain the Router-Alert option.
- Run igmp-snooping send-router-alert
The device is configured to send only IGMP messages with the Router-Alert option.