/
set protocols pimsm4 interface vif disable

set protocols pimsm4 interface vif disable


The set protocols pimsm4 interface vif disable command is used to enable or disable PIM-SM function on a specific L3 VLAN interface.


Command Syntax

set protocols pimsm4 interface <interface-name> vif <vif-name> disable <true | false>


Parameter

Parameter

Description

interface <interface-name>

Specifies a L3 VLAN interface. The value is a string.

vif <vif-name>

Specifies a vif interface. The value is a string.

disable <true | false>

Enables or disables PIM-SM function on a specific L3 VLAN interface. The value could be true or false.

  •   true: disables PIM-SM function on a specific L3 VLAN interface.
  •   false: enables PIM-SM function on a specific L3 VLAN interface.

The default is false.


Usage Guidelines

Users can use commands to enable or disable PIM function (including global and interface-level configurations).

  • set protocols pimsm4 disable <true | false> command is a global setting that globally controls the PIM function of the switch on all interfaces. Enable the global PIM function before use.
  • set protocols pimsm4 interface <interface-name> vif <vif-name> disable <true | false> command is an interface-based setting. When the global PIM function is enabled, the interface-based command controls PIM function of the interface.


Example

  • Disable PIM-SM function on the L3 VLAN interface vlan-2.
admin@Xorplus# set protocols pimsm4 interface vlan-2 vif vlan-2 disable true
admin@Xorplus# commit
  • Enable PIM-SM function on the L3 VLAN interface vlan-2.
admin@Xorplus# set protocols pimsm4 interface vlan-2 vif vlan-2 disable false
admin@Xorplus# commit


Copyright © 2025 Pica8 Inc. All Rights Reserved.