The igmp command displays the IGMP view.
The undo igmp command deletes the configurations in the IGMP view.
| Parameter | Description | Value |
|---|---|---|
| vpn-instance vpn-instance-name | Indicates a VPN instance. vpn-instance-name specifies the name of the VPN instance. | The name is a string of 1 to 31 characters. If the parameter is not specified, the public network instance is used. |
You must run the multicast routing-enable command to enable the multicast function before entering the IGMP view.
The global IGMP parameters must be configured in the IGMP view.
When using the undo igmp command, you need to enter Y or N to confirm the action. This command will clear global IGMP configurations in the current instance. Use this command with caution.
# Enter the IGMP view of the public network instance.
<sysname> system-view [sysname] multicast routing-enable [sysname] igmp [sysname-igmp]
# Enter the IGMP view of the VPN instance named mytest.
<sysname> system-view [sysname] ip vpn-instance mytest [sysname-vpn-instance-mytest] ipv4-family [sysname-vpn-instance-mytest-af-ipv4] route-distinguisher 100:1 [sysname-vpn-instance-mytest-af-ipv4] multicast routing-enable [sysname-vpn-instance-mytest-af-ipv4] quit [sysname-vpn-instance-mytest] quit [sysname] igmp vpn-instance mytest [sysname-igmp-mytest]