Chapter 28
Configuring IPv4 Multicast Layer 3 Switching
To enable IP PIM on a Layer 3 interface, perform this task:
Command
Step 1
Router(config)# interface {{vlan vlan_ID } |
1
{ type
slot/port }}
Step 2
Router(config-if)# ip pim {dense-mode |
sparse-mode | sparse-dense-mode}
Router(config-if)# no ip pim [dense-mode |
sparse-mode | sparse-dense-mode]
1.
type = ethernet, fastethernet, gigabitethernet, or tengigabitethernet
This example shows how to enable PIM on an interface using the default mode (sparse-dense-mode):
Router(config-if)# ip pim
Router(config-if)#
This example shows how to enable PIM sparse mode on an interface:
Router(config-if)# ip pim sparse-mode
Router(config-if)#
Enabling IP Multicast Layer 3 Switching Globally
To enable hardware switching of multicast routes globally on your system, perform this task:
Command
Step 1
Router(config)# mls ip multicast
Step 2
Router# show mls ip multicast
This example shows how to globally enable hardware switching of multicast routes:
Router(config)# mls ip multicast
Router(config)#
Enabling IP Multicast Layer 3 Switching on Layer 3 Interfaces
IP multicast Layer 3 switching is enabled by default on the Layer 3 interface when you enable PIM on
the interface. Perform this task only if you disabled IP multicast Layer 3 switching on the interface and
you want to reenable it.
PIM can be enabled on any Layer 3 interface, including VLAN interfaces.
Note
You must enable PIM on all participating Layer 3 interfaces before IP multicast Layer 3 switching will
function. For information on configuring PIM on Layer 3 interfaces, see the
Layer 3 Interfaces" section on page
OL-4266-08
Purpose
Selects an interface to configure.
Enables IP PIM on a Layer 3 interface.
Disables IP PIM on a Layer 3 interface.
Purpose
Globally enables hardware switching of multicast routes.
Displays MLS IP multicast configuration.
28-10.
Cisco 7600 Series Router Cisco IOS Software Configuration Guide, Release 12.2SX
Configuring IPv4 Multicast Layer 3 Switching
"Enabling IPv4 PIM on
28-11