DGS-6604
ip pim
CLI Reference Guide
297
ip pim
Enable PIM on the interface for either sparse mode or dense mode operation.
Use the no form of the command to disable the PIM function on the interface.
ip pim {sparse-mode | dense-mode}
no ip pim {sparse-mode | dense-mode}
Default
IP multicast routing is disabled on all interfaces.
Command Mode
Interface configuration.
Usage Guideline
This command is only valid for the VLAN interface.
Use this command to specify the PIM operating mode for an interface. The
interface can be either operated in the sparse mode or the dense mode.
To switch the PIM operating mode please use no ip pim {sparse-mode | dense-
mode} to disable PIM at first then set the new mode required. PIM needs to be
disabled first since only one multicast routing protocol can be enabled on one
interface. When the command
ip pim dense-mode
is issued, PIM dense mode
will be configured on the interface. Therefore when the command
ip pim sparse-
mode
is issued, attempting to execute sparse mode on the interface, the system
will reply with an error message because PIM dense mode is already configured
on that interface.
Enabling PIM on an interface also enables Internet Group Management Protocol
(IGMP) operation on that interface.
Before the PIM function is enabled on an interface, enable IP multicast routing by
issuing the command
ip multicast-routing
in global configuration mode.
Example
This example shows how to enable PIM-SM protocol on a specified interface.
Verify the settings by entering the
show ip pim interface
command.
Syntax Description
sparse-mode
Enables sparse mode of operation.
dense-mode
Enables dense mode of operation.
Switch(config)# interface vlan1
Switch(config-if)# ip pim sparse-mode
Summary of Contents for DGS-6600 Series
Page 1: ...0 9 3 ...