Disabling a port or a group of ports from changing into dynamic router ports
At present, the following problems exist in a multicast access network:
After receiving an MLD general query or IPv6 PIM Hello message from a connected host, a switch port becomes a dynamic router port. Before its timer expires, this dynamic router port will receive all multicast packets within the VLAN it belongs to and forward then to the host, thus affecting normal multicast reception of the host.
In addition, the MLD general query and IPv6 PIM Hello message sent from the host affects the multicast routing protocol state on Layer 3 devices, such as the MLD querier or DR election, and might further cause network interruption.
To solve these problems, disable that switch port from changing into a dynamic router port upon receiving an MLD general query or IPv6 PIM Hello message; thus, network security and control over multicast users are enhanced.
Follow these steps to disable a port or a group of ports from changing into dynamic router ports:
To do... | Use the command... | Remarks |
---|---|---|
Enter system view | system-view | — |
Enter Ethernet interface/Layer 2 aggregate interface view or port group view | interface interface-type interface-number | Required Use either approach |
port-group manual port-group-name | ||
Disable the port or group of ports from changing into dynamic router ports | mld-snooping router-port-deny [ vlan vlan-list ] | Required By default, the port or group of ports can change into dynamic router ports. |
![]() | NOTE: This configuration does not affect the static router port configuration. | |