R0106-HP MSR Router Series IP Multicast Command Reference(V7)

74
Examples
# Enter IGMP view for the public network.
<Sysname> system-view
[Sysname] igmp
[Sysname-igmp]
# Enter IGMP view for VPN instance mvpn.
<Sysname> system-view
[Sysname] igmp vpn-instance mvpn
[Sysname-igmp-mvpn]
igmp enable
Use igmp enable to enable IGMP on an interface.
Use undo igmp enable to disable IGMP on an interface.
Syntax
igmp enable
undo igmp enable
Default
IGMP is disabled on all interfaces.
Views
Interface view
Predefined user roles
network-admin
Usage guidelines
You must enable IP multicast routing before executing this command on the public network or VPN
instance.
You must enable IGMP on an interface to make the IGMP configurations on this interface take effect.
Examples
# Enable IP multicast routing, and enable IGMP on GigabitEthernet 2/1/1 on the public network.
<Sysname> system-view
[Sysname] multicast routing
[Sysname-mrib] quit
[Sysname] interface gigabitethernet 2/1/1
[Sysname-GigabitEthernet2/1/1] igmp enable
Related commands
multicast routing
igmp fast-leave
Use igmp fast-leave to enable fast-leave processing on an interface.
Use undo igmp fast-leave to disable fast-leave processing on an interface.