Chapter 18
Configuring IP Multicast Layer 3 Switching
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 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.
You must enable PIM on all participating Layer 3 interfaces before IP multicast Layer 3 switching will
Note
function. For information on configuring PIM on Layer 3 interfaces, see the
Layer 3 Interfaces" section on page
To enable IP multicast Layer 3 switching 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)# mls ip multicast
Step 3
Router(config-if)# no mls ip multicast
1.
type = ethernet, fastethernet, gigabitethernet, or tengigabitethernet
This example shows how to enable IP multicast Layer 3 switching on a Layer 3 interface:
Router(config-if)# mls ip multicast
Router(config-if)#
Configuring the Layer 3 Switching Global Threshold
You can configure a global multicast rate threshold, specified in packets per second, below which all
multicast traffic is routed by the MSFC, which prevents creation of switching cache entries for low-rate
Layer 3 flows.
This command does not affect flows that are already being routed. To apply the threshold to existing
Note
routes, clear the route and let it reestablish.
To configure the Layer 3 switching threshold, perform this task:
Command
Router(config)# mls ip multicast threshold ppsec
Router(config)# no mls ip multicast threshold
78-14064-04
18-10.
Purpose
Selects an interface to configure.
Enables IP multicast Layer 3 switching on a Layer 3
interface.
Disables IP multicast Layer 3 switching on a Layer 3
interface.
Purpose
Configures the IP MMLS threshold.
Reverts to the default IP MMLS threshold.
Cisco 7600 Series Router Cisco IOS Software Configuration Guide—12.1E
Configuring IP Multicast Layer 3 Switching
"Enabling IP PIM on
18-11