21
Configuring static ports
If all hosts attached to a port are interested in the multicast data addressed to a particular multicast group
or the multicast data that a particular multicast source sends to a particular group, you can configure the
port as a static member port for the specified multicast group or the specified multicast source and group.
You can also configure a port as a static router port, through which the switch can forward all the
multicast traffic that it received.
Configuration guidelines
•
A static member port does not respond to queries from the IGMP querier; when you configure a port
as a static member port or cancel this configuration on the port, the port does not send an
unsolicited IGMP report or an IGMP leave message.
•
Static member ports and static router ports never age out. To remove such a port, use the
corresponding
undo
command.
Configuration procedure
To configure static ports:
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.
Configure the port as a static
member port.
igmp-snooping static-group
group-address
[
source-ip
source-address
]
vlan
vlan-id
No static member ports exist by
default.
4.
Configure the port as a static
router port.
igmp-snooping static-router-port
vlan
vlan-id
No static router ports exist by
default.
Configuring a port as a simulated member host
Generally, a host that runs IGMP can respond to IGMP queries that the IGMP querier sends. If a host fails
to respond, the multicast router might deem that no member of this multicast group exists on the network
segment, and removes the corresponding forwarding path.
To avoid this situation, you can configure the port as a simulated member host for a multicast group. A
simulated host is equivalent to an independent host. For example, when a simulated member host
receives an IGMP query, it gives a response separately. Therefore, the switch can continue receiving
multicast data.
A simulated host acts like a real host in the following ways:
•
When a port is configured as a simulated member host, the switch sends an unsolicited IGMP
report through the port, and can respond to IGMP general queries with IGMP reports through the
port.