701
Configuring IP Multicast Routing
Configuring IP Multicast Routing
To remove the PIM device configured as the candidate RP, use the
no ip pim send-rp-announce
interface-id
global
configuration command. To remove the switch as the RP-mapping agent, use the
no ip pim send-rp-discovery
global
configuration command.
EXAMPLE
This example shows how to send RP announcements out all PIM-enabled interfaces for a maximum of 31 hops. The IP
address of port 1 is the RP. Access list 5 describes the group for which this switch serves as RP:
Switch(config)#
ip pim send-rp-announce gigabitethernet0/1 scope 31 group-list 5
Switch(config)#
access-list 5 permit 224.0.0.0 15.255.255.255
Preventing Join Messages to False RPs
Find whether the
ip pim accept-rp
command was previously configured throughout the network by using the
show
running-config
privileged EXEC command. If the
ip pim accept-rp
command is not configured on any device, this
problem can be addressed later. In those routers or multilayer switches already configured with the
ip pim accept-rp
command, you must enter the command again to accept the newly advertised RP.
To accept all RPs advertised with Auto-RP and reject all other RPs by default, use the
ip pim accept-rp auto-rp
global
configuration command. This procedure is optional.
If all interfaces are in sparse mode, use a default-configured RP to support the two well-known groups 224.0.1.39 and
224.0.1.40. Auto-RP uses these two well-known groups to collect and distribute RP-mapping information. When this is
the case and the
ip pim accept-rp auto-rp
command is configured, another
ip pim accept-rp
command accepting the
RP must be configured as follows:
Switch(config)#
ip pim accept-rp 172.10.20.1 1
Switch(config)#
access-list 1 permit 224.0.1.39
Switch(config)#
access-list 1 permit 224.0.1.40
Filtering Incoming RP Announcement Messages
You can add configuration commands to the mapping agents to prevent a maliciously configured router from
masquerading as a candidate RP and causing problems. This procedure is optional.
5.
ip pim send-rp-discovery scope
ttl
Find a switch whose connectivity is not likely to be interrupted,
and assign it the role of RP-mapping agent.
For
scope
ttl
, specify the time-to-live value in hops to limit the
RP discovery packets. All devices within the hop count from the
source device receive the Auto-RP discovery messages. These
messages tell other devices which group-to-RP mapping to use
to avoid conflicts (such as overlapping group-to-RP ranges).
There is no default setting. The range is 1 to 255.
6.
end
Return to privileged EXEC mode.
7.
show running-config
show ip pim rp mapping
show ip pim rp
Verify your entries.
Display active RPs that are cached with associated multicast
routing entries.
Display the information cached in the routing table.
8.
copy running-config
startup-config
(Optional) Save your entries in the configuration file.
Command
Purpose
Содержание IE 4000
Страница 12: ...8 Configuration Overview Default Settings After Initial Switch Configuration ...
Страница 52: ...48 Configuring Interfaces Monitoring and Maintaining the Interfaces ...
Страница 108: ...104 Configuring Switch Clusters Additional References ...
Страница 128: ...124 Performing Switch Administration Additional References ...
Страница 130: ...126 Configuring PTP ...
Страница 140: ...136 Configuring CIP Additional References ...
Страница 146: ...142 Configuring SDM Templates Configuration Examples for Configuring SDM Templates ...
Страница 192: ...188 Configuring Switch Based Authentication Additional References ...
Страница 244: ...240 Configuring IEEE 802 1x Port Based Authentication Additional References ...
Страница 274: ...270 Configuring SGT Exchange Protocol over TCP SXP and Layer 3 Transport Configuring Cisco TrustSec Caching ...
Страница 298: ...294 Configuring VLANs Additional References ...
Страница 336: ...332 Configuring STP Additional References ...
Страница 408: ...404 Configuring DHCP Additional References ...
Страница 450: ...446 Configuring IGMP Snooping and MVR Additional References ...
Страница 490: ...486 Configuring SPAN and RSPAN Additional References ...
Страница 502: ...498 Configuring Layer 2 NAT ...
Страница 559: ...555 Configuring Network Security with ACLs How to Configure Network Security with ACLs Creating a Numbered Extended ACL ...
Страница 770: ...766 Configuring IPv6 MLD Snooping Related Documents ...
Страница 930: ...926 Configuring IP Unicast Routing Related Documents ...
Страница 956: ...952 Configuring IPv6 Unicast Routing Configuring IPv6 network 2010 AB8 2 48 network 2010 AB8 3 48 exit address family ...
Страница 976: ...972 Configuring Cisco IOS IP SLAs Operations Additional References ...
Страница 978: ...974 Dying Gasp ...
Страница 990: ...986 Configuring Enhanced Object Tracking Monitoring Enhanced Object Tracking ...
Страница 994: ...990 Configuring MODBUS TCP Displaying MODBUS TCP Information ...
Страница 996: ...992 Ethernet CFM ...
Страница 1030: ...1026 Working with the Cisco IOS File System Configuration Files and Software Images Working with Software Images ...
Страница 1066: ...1062 Using an SD Card SD Card Alarms ...