Displaying and Maintaining IGMP Snooping 207
c
Caution:
■ Before configuring a simulated host, enable IGMP Snooping in VLAN view first.
■ The port to be configured must belong to the specified VLAN; otherwise the
configuration does not take effect.
■ You can use the source-ip source-address command to specify a multicast
source address that the port will join as a simulated host. This configuration
takes effect when IGMPv3 Snooping is enabled in the VLAN.
Configuring a VLAN Tag
for Query Messages
By configuring the VLAN in which IGMP general and group-specific queries
forwarded and sent by IGMP Snooping switches are transmitted and by
configuring the VLAN mapping function, you can enable multicast packet
forwarding between different VLANs In a Layer-2 multicast network environment.
For description about VLAN mapping, see "VLAN-VPN"
n
It is not recommended to configure this function while the multicast VLAN
function is in effect.
Displaying and
Maintaining IGMP
Snooping
After the configuration above, you can execute the following display commands in
any view to verify the configuration by checking the displayed information.
You can execute the reset command in user view to clear the statistics information
about IGMP Snooping.
Configure the current port as a
simulated multicast group
member
igmp host-join
group-address [source-ip
source-address ] vlan
vlan-id
Optional
Simulated joining is disabled
by default.
Table 158 Configure a port as a simulated group member
Operation Command Remarks
Tab le 159 Configure VLAN Tag for query message
Operation Command Remarks
Enter system view system-view -
Enable IGMP Snooping igmp-snooping enable Required
By default, IGMP Snooping is disabled
Configure a VLAN tag
for query messages
igmp-snooping
vlan-mapping vlan
vlan-id
Required
Tab le 160 Display and maintain IGMP Snooping
Operation Command Remarks
Display the current IGMP
Snooping configuration
display igmp-snooping
configuration
You can execute the display
commands in any view.
Display IGMP Snooping
message statistics
display igmp-snooping
statistics
Display the information about
IP and MAC multicast groups
in one or all VLANs
display igmp-snooping
group [ vlan vlanid ]