278
Disabling a port from becoming a dynamic router port
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 router
port becomes a dynamic router port. Before its timer expires, this dynamic router port receives all
multicast packets within the VLAN where the port belongs, and forwards them to the host, affecting
normal multicast reception of the host.
• In addition, the MLD general query and IPv6 PIM hello message that the host sends 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 router port from becoming a dynamic router port after the port
receives an MLD general query or IPv6 PIM hello message, so as to improve network security and control
over multicast users.
To disable a port from becoming a dynamic router port:
Ste
Command
Remarks
1. Enter system view.
system-view N/A
2. Enter Layer 2 Ethernet
interface view, Layer 2
aggregate interface view, or
port group view.
• Enter Layer 2 Ethernet interface
view or Layer 2 aggregate
interface view:
interface interface-type
interface-number
• Enter port group view:
port-group manual
port-group-name
Use either command.
3. Disable the port from
becoming a dynamic router
port.
mld-snooping router-port-deny
[ vlan vlan-list ]
By default, a port can become a
dynamic router port.
NOTE:
This configuration does not affect the static router port configuration.
Configuring MLD snooping querier
Before you configure MLD snooping querier, complete the following tasks:
• Enable MLD snooping in the VLAN.
• Determine the MLD general query interval.
• Determine the MLD last-member query interval.
• Determine the maximum response time for MLD general queries.
• Determine the source IPv6 address of MLD general queries.