33-28
Software Configuration Guide—Release 15.0(2)SG
OL-23818-01
Chapter 33 Configuring IP Multicast
Configuration Examples
Switch# show ip pim interface count
States: FS - Fast Switched, H - Hardware Switched
Address Interface FS Mpackets In/Out
192.1.10.2 Vlan10 * H 40886/0
192.1.11.2 Vlan11 * H 0/40554
192.1.12.2 Vlan12 * H 0/40554
192.1.23.2 Vlan23 * 0/0
192.1.24.2 Vlan24 * 0/0

Clearing Tables and Databases

You can remove all contents of a particular cache, table, or database. Clearing a cache, table, or database
might be necessary when the contents of the particular structure have become, or are suspected to be,
invalid.
To clear IP multicast caches, tables, and databases, enter one of these commands:
Note IP multicast routes can be regenerated in response to protocol events and as data packets arrive.
Configuration Examples
The following sections provide IP multicast routing configuration examples:
PIM Dense Mode Example, page 33-28
PIM Sparse Mode Example, page 33-28
Bidirectional PIM Mode Example, page 33-29
Sparse Mode with a Single Static RP Example, page 33-29
Sparse Mode with Auto-RP: Example, page 33-30

PIM Dense Mode Example

This example is a configuration of dense-mode PIM on an Ethernet interface:
ip multicast-routing
interface ethernet 0
ip pim dense-mode

PIM Sparse Mode Example

This example is a configuration of sparse-mode PIM. The RP router is the router with the address
10.8.0.20.
Command Purpose
Switch# clear ip mroute Deletes entries from the IP routing table.
Switch# clear ip mfib counters Deletes all per-route and global MFIB counters.