69
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:
Step 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.
•
Determine the source IPv6 address of MLD multicast-address-specific queries.
Enabling MLD snooping querier
In an IPv6 multicast network that runs MLD, a multicast router or Layer 3 multicast switch sends MLD
queries, so that all Layer 3 multicast devices can establish and maintain multicast forwarding entries, in
order to forward multicast traffic correctly at the network layer. This router or Layer 3 switch is called the
"MLD querier."
However, a Layer 2 multicast switch does not support MLD. Therefore, it cannot send MLD general
queries by default. When you enable MLD snooping querier on a Layer 2 switch in a VLAN where
multicast traffic is switched only at Layer 2 and no Layer 3 multicast devices are present, the Layer 2