< Home

igmp

Function

The igmp command displays the IGMP view.

The undo igmp command deletes the configurations in the IGMP view.

Format

igmp [ vpn-instance vpn-instance-name ]

undo igmp [ vpn-instance vpn-instance-name ]

Parameters

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.

Views

System view

Default Level

2: Configuration level

Usage Guidelines

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.

Example

# 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]
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >