38-29
Catalyst 4500 Series Switch, Cisco IOS Software Configuration Guide - Cisco IOS XE 3.9.xE and IOS 15.2(5)Ex
Chapter 38 Configuring IP Multicast
Configuration Examples
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 38-29
•
PIM Sparse Mode Example, page 38-29
•
Bidirectional PIM Mode Example, page 38-29
•
Sparse Mode with a Single Static RP Example, page 38-30
•
Sparse Mode with Auto-RP: Example, page 38-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.
ip multicast-routing
ip pim rp-address 10.8.0.20 1
interface ethernet 1
ip pim sparse-mode
Bidirectional PIM Mode Example
By default, a bidirectional RP advertises all groups as bidirectional. Use an access list on the RP to
specify a list of groups to be advertised as bidirectional. Groups with the
deny
keyword operate in dense
mode. A different, nonbidirectional RP address is required for groups that operate in sparse mode,
because a single access list only allows either a
permit
or
deny
keyword.
The following example shows how to configure an RP for both sparse and bidirectional mode groups.
224/8 and 227/8 are bidirectional groups, 226/8 is sparse mode, and 225/8 is dense mode. The RP must
be configured to use different IP addresses for sparse and bidirectional mode operations. Two loopback
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.
Содержание Catalyst 4500 Series
Страница 2: ......
Страница 4: ......
Страница 2086: ...Index IN 46 Software Configuration Guide Release IOS XE 3 9 0E and IOS 15 2 5 E ...