< Home

pim

Function

The pim command displays the Protocol Independent Multicast (PIM) view.

The undo pim command clears the configuration in the PIM view.

Format

pim [ vpn-instance vpn-instance-name ]

undo pim [ vpn-instance vpn-instance-name ]

Parameters

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.

Views

System view

Default Level

2: Configuration level

Usage Guidelines

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.

Example

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