A router port is the port that a Layer 2 device uses to receive multicast protocol packets from the upstream Layer 3 multicast router or Layer 3 switch. The router port forwards packets received from the upstream device to group member ports. After MLD snooping is enabled in a VLAN, all interfaces in the VLAN learn multicast protocols packets by default. When an interface receives an MLD Query or PIM hello message, it becomes a dynamic router port. A dynamic router port has an aging timer.
To enable hosts to always receive multicast packets from an interface, configure the interface as a static router port. Static router ports will never age. You can use the undo command to delete static router ports.
The system view is displayed.
The interface view is displayed.
Dynamic learning of router ports is disabled.
By default, dynamic learning of router ports is enabled.
An interface is configured as a static router port.