ip pim-sparse {enable|disable}

Syntax

ip pim-sparse {enable|disable}

Description

Enables or disables PIM-SM in the current interface. PIM-SM is disabled by default on an interface. IP address must be configured on the interface to enable PIM-SM.

Command context

config-if

config-if-vlan

config-lag-if

Parameters

enable

Specifies PIM SM on the interface. IP address must be configured on the interface to enable PIM-SM (use the ip address <A.B.C.D/M> command).

disable

Disables PIM SM on the interface.

Authority

Administrators

Examples

Enabling and disabling PIM-SM in an interface:

switch(config)# interface vlan40
switch(config-if-vlan)# ip address 40.0.0.4/24
switch(config-if-vlan)# ip pim-sparse enable
switch(config-if-vlan)# 
switch(config-if-vlan)# ip pim-sparse disable