The pim command displays the Protocol Independent Multicast (PIM) view.
The undo pim command clears the configuration in the PIM view.
| Parameter | Description | Value |
|---|---|---|
| vpn-instance vpn-instance-name | Specifies the name of a VPN instance. | The name is a string of 1 to 31 characters. |
Run the multicast routing-enable command to enable the multicast function before entering the PIM view.
The global parameters that are related to PIM must be configured in the PIM view of the public network instance or the PIM view of the VPN instance.
In using the undo pim command, enter Y or N to confirm the action. This command clears global IPv4 PIM configurations in the current instance. Use this command with caution.
# Enter the PIM view of the public network instance.
<sysname> system-view [sysname] multicast routing-enable [sysname] pim [sysname-pim]
# Enter the PIM view of VPN instance 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] pim vpn-instance mytest [sysname-pim-mytest]