
23
Disabling a port or a group of ports from changing into
dynamic router ports
The following problems exist in a multicast access network:
•
Upon receiving an IGMP general query or a 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 them to the host,
affecting normal multicast reception of the host.
•
In addition, the IGMP general query or PIM Hello message sent from the host affects the
multicast routing protocol state on Layer 3 devices, such as the IGMP 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 IGMP general query or a PIM Hello message, so that 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
igmp-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.
Configuring IGMP snooping querier
Configuration prerequisites
Before you configure IGMP snooping querier, complete the following tasks:
•
Enable IGMP snooping in the VLAN
•
Determine the IGMP general query interval
•
Determine the IGMP last-member query interval
•
Determine the maximum response time to IGMP general queries
•
Determine the source address of IGMP general queries
•
Determine the source address of IGMP group-specific queries