Configuring Basic Functions of IGMP 619
Configuring IGMP
Versions
Because messages vary with different IGMP versions, the same IGMP version
should be configured for all routers on the same subnet before IGMP can work
properly.
Configuring an IGMP version globally
Follow these steps to configure an IGMP version globally:
Configuring an IGMP version on an interface
Follow these steps to configure an IGMP version on an interface:
Configuring a Static
Member of a Multicast
Group
After an interface is configured as a static member of a multicast group, it will act
as a virtual member of the multicast group to receive multicast data addressed to
that multicast group for the purpose of testing multicast data forwarding.
Follow these steps to configure an interface as a statically connected member of a
multicast group:
Enable IP multicast routing multicast routing-enable Required
Disabled by default
Enter interface view interface interface-type
interface-number
-
Enable IGMP igmp enable Required
Disabled by default
To do… Use the command… Description
To do… Use the command… Description
Enter system view system-view -
Enter IGMP view igmp -
Configure an IGMP version
globally
version version-number Optional
IGMPv2 by default
To do… Use the command… Description
Enter system view system-view -
Enter interface view interface interface-type
interface-number
-
Configure an IGMP version on
the interface
igmp version
version-number
Optional
IGMPv2 by default
To do… Use the command… Description
Enter system view system-view -
Enter interface view interface interface-type
interface-number
-
Configure the interface as
a static member of a
multicast group
igmp static-group
group-address [ source
source-address ]
Required
An interface is not a static
member of any multicast group
by default.