![]() |
Table Of Contents
Restrictions for PIM RPF Vector
Information About PIM RPF Vector
How to Configure PIM RPF Vector
Enabling the Multicast PIM RPF Vector
Verifying the Multicast PIM RPF Vector
Feature Information for PIM RPF Vector
PIM RPF Vector
First Published: November 8, 2004Last Updated: November 6, 2006The PIM RPF Vector feature was introduced to allow Protocol Independent Multicast (PIM) to work properly in an environment where core routers do not maintain external routing information. When this feature is configured, the address of the exit router is used as the Reverse Path Forwarding (RPF) vector and is inserted in the PIM join message. The core routers can then perform a RPF check on an IP address of the exit router instead of on the source router. This feature enables routers in an Multiprotocol Label Switching (MPLS) provider core to build multicast distribution trees without the need for the Border Gateway Protocol (BGP).
Finding Feature Information in This Module
Your Cisco IOS software release may not support all of the features documented in this module. To reach links to specific feature documentation in this module and to see a list of the releases in which each feature is supported, use the "Feature Information for PIM RPF Vector" section on page 11.
Finding Support Information for Platforms and Cisco IOS and Catalyst OS Software Images
Use Cisco Feature Navigator to find information about platform support and Cisco IOS and Catalyst OS software image support. To access Cisco Feature Navigator, go to http://www.cisco.com/go/cfn. An account on Cisco.com is not required.
Contents
•
Restrictions for PIM RPF Vector
•
Information About PIM RPF Vector
•
How to Configure PIM RPF Vector
•
Feature Information for PIM RPF Vector, page 11
Restrictions for PIM RPF Vector
•
All upstream routers on the interface must support the PIM RPF vector.
•
The PIM RPF Vector can not be used in conjuction with Bootstrap Router (BSR).
Information About PIM RPF Vector
To configure the PIM VPF Vector feature, you should understand the following concepts:
Overview of PIM RPF Vector
In an MPLS-enabled network, any unicast packet that needs to travel outside the network can be tunneled using MPLS from one provider edge (PE) router to another. Consider, for example, the case where the network is an AS and the PE routers are deployed as exterior BGP (eBGP) speakers. In this network environment, the provider (P) routers constitute what is referred to as BGP-free core because the PE routers must distribute BGP routes to each other, but not to the P routers. To handle a unicast packet which must travel outside the network, a PE router needs to know which of the other edge routers is the best exit point from the network for that packet's destination IP address. The P routers, however, do not need to have any knowledge of routes which lead outside the network; as they handle only tunneled packets, they only need to know how to reach the other PE routers and P routers in the provider core. However, when multicast packets are considered, the strategy of keeping the core routers free of external routes is more problematic. When using PIM sparse mode (PIM-SM), Source Specific Multicast (SSM), or bidirectional PIM (bidir-PIM) to build a multicast distribution tree for a particular multicast group, the P routers need to fully participate in the PIM protocol to ensure efficient multicast in the provider core. The P routers, thus, must be able to correctly process PIM Join messages for the group, which in turn means that the P routers must be able to send the Join messages towards the root of the distribution tree. If the root of the tree lies outside the network's borders (for example, in a different AS) and the P routers do not maintain external routing information, then the PIM Join messages cannot be processed, and the multicast distribution tree cannot be created.
The PIM RPF Vector feature was introduced to allow PIM to work properly in an environment where the core routers do not maintain external routing information. When the PIM RPF Vector feature is configured and a PE router sends a PIM join message into the core, it must include in that message a vector, which specifies the IP address of the next edge router along the path to the root of the multicast distribution tree. The core routers can then process the Join message by sending it towards the next hop. In effect, the vector serves as an attribute, within a particular network, for the root of the tree.
Note
The PIM RPF Vector feature can also be used in the construction of a multicast distribution tree towards a Rendezvous Point (RP).
Note
The PIM RPF vector feature cannot be used in conjunction with BSR (in scenarios where BSR messages cannot be forwarded
PIM Join Format
A new PIM join format with a new PIM encoding type has been introduced because there is no space in the default PIM join type to include an extra IP address as vector. A new PIM hello option is introduced to determine if the upstream router is capable of parsing the new encoding. Other routers on the LAN may need to override a prune or cancel sending a join, creating the need to be able to parse the PIM join.
How to Configure PIM RPF Vector
This section contains the following procedures:
•
Enabling the Multicast PIM RPF Vector
•
Verifying the Multicast PIM RPF Vector
Enabling the Multicast PIM RPF Vector
Perform this task to enable the multicast PIM RPF vector.
SUMMARY STEPS
1.
enable
2.
configure terminal
3.
ip multicast rpf proxy vector
4.
end
DETAILED STEPS
Verifying the Multicast PIM RPF Vector
Perform this optional task to verify the configuration of the multicast PIM RPF vector.
SUMMARY STEPS
1.
show ip mroute proxy
2.
show ip pim neighbor
DETAILED STEPS
Step 1
show ip mr proxy
Use this command to display information about RPF vector proxies received on a multicast router. This information can be used to determine if an RPF vector proxy is received on a core router.
The following is sample output from the show ip mroute proxy command:
Router# show ip mroute proxyProxy TableProxy Assigner Origin Uptime/Expire10.0.0.1 10.0.2.2 PIM 00:02:16/00:02:14Step 2
show ip pim neighbor
Use this command display information about PIM neighbors.
The following is sample output from the show ip pim neighbor command:
Router# show ip pim neighborPIM Neighbor TableNeighbor Interface Uptime/Expires Ver DRAddress Priority/Mode126.1.33.11 GigabitEthernet2/1 1d11h/00:00:02 v2 N / DR126.1.34.12 GigabitEthernet2/1 1d11h/00:00:02 v2 N / DR126.104.20.56 Serial4/1/0/1:0.104 1d11h/00:00:02 v2 1 / S126.105.20.58 Serial4/1/0/2:0.105 1d00h/00:01:31 v2 1 / S10.0.1.4 Ethernet0/0 4d21h/00:01:39 v2 1 / PAdditional References
The following sections provide references related to the PIM RPF Vector feature.
Related Documents
Related Topic Document TitleMulticast commands: complete command syntax, command mode, command history, defaults, usage guidelines, and examples
Cisco IOS IP Multicast Command Reference, Release 12.2SB
Configuration tasks for MVPN
Cisco IOS IP Multicast Configuration Guide, Release 12.4
Standards
Standards TitleNo new or modified standards are supported by this feature, and support for existing standards has not been modified by this feature.
—
MIBs
RFCs
Technical Assistance
Command Reference
This section documents new and modified commands only.
•
ip multicast rpf proxy vector
ip multicast rpf proxy vector
To enable a router to perform a Reverse Path Forwarding (RPF) check on an IP address of the exit router in the global table or a specified VPN, use the ip multicast rpf proxy vector command in global configuration mode. To disable the RPF check, use the no form of this command.
ip multicast [vrf vrf-name] rpf proxy [rd] vector
no ip multicast [vrf vrf-name] rpf proxy [rd] vector
Syntax Description
vrf
(Optional) VPN routing and forwarding (VRF) instance.
vrf-name
(Optional) Name assigned to the VRF.
rd
(Optional) Enables the route distinguisher (RD) vector.
Defaults
RPF proxy vectors are disabled.
Command Modes
Global configuration
Command History
Usage Guidelines
This command can be used with or without VPNs. Edge routers configured with this command will include the BGP next-hop of a prefix into the PIM join message. This included IP address is used in the core routers to select the RPF path to the next-hop router, which is the exit point in the network for this prefix.
Use the rd keyword to enable a route distinguisher (RD) vector.
All upstream routers on the interface must support the RPF proxy vector.
Use the show ip pim neighbor command to see if a router supports this mode. The proxy encoding will be represented by the letter P.
Examples
The following example shows how to enable an RPF proxy vector:
ip multicast rpf proxy vectorRelated Commands
Command Descriptionshow ip mr proxy
Displays information about RPF proxy vectors.
show ip pim neighbor
Displays information about PIM neighbors.
show ip mroute
To display the contents of the multicast routing (mroute) table, use the show ip mroute command in user EXEC or privileged EXEC mode.
show ip mroute [vrf vrf-name] [[active [kpbs] [interface type number] | bidirectional | count [terse] | dense | interface type number | proxy | pruned | sparse | ssm | static | summary] | [group-address [source-address]] [count [terse] | interface type number | proxy | pruned | summary] | [source-address group-address] [count [terse] | interface type number | proxy | pruned | summary] | [group-address] active [kpbs] [interface type number]]
Syntax Description
Command Default
If you omit all optional arguments and keywords, the show ip mroute command displays all entries in the mroute table.
Command Modes
User EXEC
Privileged EXECCommand History
Usage Guidelines
Use the show ip mroute command to display information about mroute entries in the mroute table. The Cisco IOS software populates the multicast routing table by creating (S, G) entries from (*, G) entries. The asterisk (*) refers to all source addresses, the "S" refers to a single source address, and the "G" is the destination multicast group address. In creating (S, G) entries, the software uses the best path to that destination group found in the unicast routing table (that is, through Reverse Path Forwarding [RPF]).
Use the clear ip mroute command to delete entries from the mroute table.
Examples
The following is sample output from the show ip mroute command for a router operating in sparse mode:
Router# show ip mrouteIP Multicast Routing Table
Flags: D - Dense, S - Sparse, B - Bidir Group, s - SSM Group, C - Connected,
L - Local, P - Pruned, R - RP-bit set, F - Register flag,
T - SPT-bit set, J - Join SPT, M - MSDP created entry,
X - Proxy Join Timer Running, A - Candidate for MSDP Advertisement,
U - URD, I - Received Source Specific Host Report, Z - Multicast Tunnel,
Y - Joined MDT-data group, y - Sending to MDT-data group
Timers: Uptime/Expires
Interface state: Interface, Next-Hop, State/Mode
(*, 224.0.255.3), uptime 5:29:15, RP is 192.168.37.2, flags: SC
Incoming interface: Tunnel0, RPF neighbor 10.3.35.1, Dvmrp
Outgoing interface list:
Ethernet0, Forward/Sparse, 5:29:15/0:02:57
(192.168.46.0/24, 224.0.255.3), uptime 5:29:15, expires 0:02:59, flags: C
Incoming interface: Tunnel0, RPF neighbor 10.3.35.1
Outgoing interface list:
Ethernet0, Forward/Sparse, 5:29:15/0:02:57
The following is sample output from the show ip mroute command with the IP multicast group address 232.6.6.6 specified:
Router# show ip mroute 232.6.6.6IP Multicast Routing Table
Flags: D - Dense, S - Sparse, B - Bidir Group, s - SSM Group, C - Connected,
L - Local, P - Pruned, R - RP-bit set, F - Register flag,
T - SPT-bit set, J - Join SPT, M - MSDP created entry,
X - Proxy Join Timer Running, A - Candidate for MSDP Advertisement,
U - URD, I - Received Source Specific Host Report, Z - Multicast Tunnel,
Y - Joined MDT-data group, y - Sending to MDT-data group
Outgoing interface flags:H - Hardware switched
Timers:Uptime/Expires
Interface state:Interface, Next-Hop or VCD, State/Mode
(*, 232.6.6.6), 00:01:20/00:02:59, RP 224.0.0.0, flags:sSJP
Incoming interface:Null, RPF nbr 224.0.0.0
Outgoing interface list:Null
(10.2.2.2, 232.6.6.6), 00:01:20/00:02:59, flags:CTI
Incoming interface:Ethernet3/3, RPF nbr 224.0.0.0
Outgoing interface list:
Ethernet3/1, Forward/Sparse-Dense, 00:00:36/00:02:35
The following is sample output from the show ip mroute command for a router operating in dense mode. This output displays the contents of the IP multicast routing table for the multicast group named cbone-audio.
Router# show ip mroute cbone-audioIP Multicast Routing Table
Flags: D - Dense, S - Sparse, B - Bidir Group, s - SSM Group, C - Connected,
L - Local, P - Pruned, R - RP-bit set, F - Register flag,
T - SPT-bit set, J - Join SPT, M - MSDP created entry,
X - Proxy Join Timer Running, A - Candidate for MSDP Advertisement,
U - URD, I - Received Source Specific Host Report, Z - Multicast Tunnel,
Y - Joined MDT-data group, y - Sending to MDT-data group
Timers: Uptime/Expires
Interface state: Interface, Next-Hop, State/Mode
(*, 224.0.255.1), uptime 0:57:31, expires 0:02:59, RP is 224.0.0.0, flags: DC
Incoming interface: Null, RPF neighbor 224.0.0.0, Dvmrp
Outgoing interface list:
Ethernet0, Forward/Dense, 0:57:31/0:02:52
Tunnel0, Forward/Dense, 0:56:55/0:01:28
(192.168.37.100/32, 224.0.255.1), uptime 20:20:00, expires 0:02:55, flags: C
Incoming interface: Tunnel0, RPF neighbor 10.20.37.33, Dvmrp
Outgoing interface list:
Ethernet0, Forward/Dense, 20:20:00/0:02:52
The following is sample output from the show ip mroute command that shows the virtual circuit descriptor (VCD) value, because an ATM interface with Protocol Independent Multicast (PIM) multipoint signaling is enabled:
Router# show ip mroute 224.1.1.1IP Multicast Routing Table
Flags: D - Dense, S - Sparse, B - Bidir Group, s - SSM Group, C - Connected,
L - Local, P - Pruned, R - RP-bit set, F - Register flag,
T - SPT-bit set, J - Join SPT, M - MSDP created entry,
X - Proxy Join Timer Running, A - Candidate for MSDP Advertisement,
U - URD, I - Received Source Specific Host Report, Z - Multicast Tunnel,
Y - Joined MDT-data group, y - Sending to MDT-data group
Timers: Uptime/Expires
Interface state: Interface, Next-Hop or VCD, State/Mode
(*, 224.1.1.1), 00:03:57/00:02:54, RP 172.16.0.0, flags: SJ
Incoming interface: Null, RPF nbr 224.0.0.0224.0.0.0
Outgoing interface list:
ATM0/0, VCD 14, Forward/Sparse, 00:03:57/00:02:53
The following is sample output from the show ip mroute command with the summary keyword:
Router# show ip mroute summaryIP Multicast Routing Table
Flags: D - Dense, S - Sparse, B - Bidir Group, s - SSM Group, C - Connected,
L - Local, P - Pruned, R - RP-bit set, F - Register flag,
T - SPT-bit set, J - Join SPT, M - MSDP created entry,
X - Proxy Join Timer Running, A - Candidate for MSDP Advertisement,
U - URD, I - Received Source Specific Host Report, Z - Multicast Tunnel,
Y - Joined MDT-data group, y - Sending to MDT-data group
Timers: Uptime/Expires
Interface state: Interface, Next-Hop, State/Mode
(*, 224.255.255.255), 2d16h/00:02:30, RP 172.16.10.13, flags: SJPC
(*, 224.2.127.253), 00:58:18/00:02:00, RP 172.16.10.13, flags: SJC
(*, 224.1.127.255), 00:58:21/00:02:03, RP 172.16.10.13, flags: SJC
(*, 224.2.127.254), 2d16h/00:00:00, RP 172.16.10.13, flags: SJCL
(172.16.160.67/32, 224.2.127.254), 00:02:46/00:00:12, flags: CLJT
(172.16.244.217/32, 224.2.127.254), 00:02:15/00:00:40, flags: CLJT
(172.16.8.33/32, 224.2.127.254), 00:00:25/00:02:32, flags: CLJT
(172.16.2.62/32, 224.2.127.254), 00:00:51/00:02:03, flags: CLJT
(172.16.8.3/32, 224.2.127.254), 00:00:26/00:02:33, flags: CLJT
(172.16.60.189/32, 224.2.127.254), 00:03:47/00:00:46, flags: CLJT
The following is sample output from the show ip mroute command with the active keyword:
Router# show ip mroute active 4Active IP Multicast Sources - sending >= 4 kbps
Group: 224.2.127.254, (sdr.cisco.com)
Source: 192.168.28.69 (mbone.ipd.anl.gov)
Rate: 1 pps/4 kbps(1sec), 4 kbps(last 1 secs), 4 kbps(life avg)
Group: 224.2.201.241, ACM 97
Source: 192.168.52.160 (webcast3-e1.acm97.interop.net)
Rate: 9 pps/93 kbps(1sec), 145 kbps(last 20 secs), 85 kbps(life avg)
Group: 224.2.207.215, ACM 97
Source: 192.168.52.160 (webcast3-e1.acm97.interop.net)
Rate: 3 pps/31 kbps(1sec), 63 kbps(last 19 secs), 65 kbps(life avg)
Table 1 describes the significant fields shown in the display.
The following is sample output from the show ip mroute command with the count keyword:
Router# show ip mroute countIP Multicast Statistics4045 routes using 2280688 bytes of memory41 groups, 97.65 average sources per groupForwarding Counts:Pkt Count/Pkts per second/Avg Pkt Size/Kilobits per secondOther counts:Total/RPF failed/Other drops(OIF-null, rate-limit etc)Group:239.0.18.1, Source count:200, Packets forwarded:348232, Packets received:348551RP-tree:Forwarding:12/0/218/0, Other:12/0/0Source:10.1.1.1/32, Forwarding:1763/1/776/9, Other:1764/0/1Source:10.1.1.2/32, Forwarding:1763/1/777/9, Other:1764/0/1Source:10.1.1.3/32, Forwarding:1763/1/783/10, Other:1764/0/1Source:10.1.1.4/32, Forwarding:1762/1/789/10, Other:1763/0/1Source:10.1.1.5/32, Forwarding:1762/1/768/10, Other:1763/0/1Source:10.1.1.6/32, Forwarding:1793/1/778/10, Other:1794/0/1Source:10.1.1.7/32, Forwarding:1793/1/763/10, Other:1794/0/1Source:10.1.1.8/32, Forwarding:1793/1/785/10, Other:1794/0/1Source:10.1.1.9/32, Forwarding:1793/1/764/9, Other:1794/0/1Source:10.1.1.10/32, Forwarding:1791/1/774/10, Other:1792/0/1Source:10.1.2.1/32, Forwarding:1689/1/780/10, Other:1691/0/2Source:10.1.2.2/32, Forwarding:1689/1/782/10, Other:1691/0/2Source:10.1.2.3/32, Forwarding:1689/1/776/9, Other:1691/0/2...Group:239.0.18.132, Source count:0, Packets forwarded:8810, Packets received:8810RP-tree:Forwarding:8810/7/780/49, Other:8810/0/0Group:239.0.17.132, Source count:0, Packets forwarded:704491, Packets received:704491RP-tree:Forwarding:704491/639/782/4009, Other:704491/0/0Group:239.0.17.133, Source count:0, Packets forwarded:704441, Packets received:704441RP-tree:Forwarding:704441/639/782/3988, Other:704441/0/0Group:239.0.18.133, Source count:0, Packets forwarded:8810, Packets received:8810RP-tree:Forwarding:8810/8/786/49, Other:8810/0/0Group:239.0.18.193, Source count:0, Packets forwarded:0, Packets received:0Group:239.0.17.193, Source count:0, Packets forwarded:0, Packets received:0Group:239.0.18.134, Source count:0, Packets forwarded:8803, Packets received:8803RP-tree:Forwarding:8803/8/774/49, Other:8803/0/0
Note
The RP-tree field is displayed only for nonSSM groups that have a (*, G) entry and a positive packet received count.
The following is sample output from the show ip mroute command with the count and terse keywords.
Table 2 describes the significant fields shown in the display.
Related Commands
show ip pim neighbor
To list the Protocol Independent Multicast (PIM) neighbors discovered by the Cisco IOS software, use the show ip pim neighbor command in user EXEC or privileged EXEC mode.
show ip pim [vrf vrf-name] neighbor [interface-type interface-number]
Syntax Description
Command Modes
User EXEC
Privileged EXECCommand History
Usage Guidelines
Use this command to determine which routers on the LAN are configured for PIM.
Examples
The following is sample output from the show ip pim neighbor command:
Router# show ip pim neighborPIM Neighbor TableNeighbor Interface Uptime/Expires Ver DRAddress Priority/Mode126.1.33.11 GigabitEthernet2/1 1d11h/00:00:02 v2 N / DR126.1.34.12 GigabitEthernet2/1 1d11h/00:00:02 v2 N / DR126.104.20.56 Serial4/1/0/1:0.104 1d11h/00:00:02 v2 1 / S126.105.20.58 Serial4/1/0/2:0.105 1d00h/00:01:31 v2 1 / S10.0.1.4 Ethernet0/0 4d21h/00:01:39 v2 1 / PTable 3 describes the significant fields shown in the display.
Table 3 show ip pim neighbor Field Descriptions
Field DescriptionNeighbor Address
IP address of the PIM neighbor.
Interface
Interface type and number on which the neighbor is reachable.
Uptime/Expires
Uptime shows how long (in hours:minutes:seconds) the entry has been in the PIM neighbor table.
Expires shows how long (in hours:minutes:seconds or in milliseconds) until the entry will be removed from the IP multicast routing table.
Ver
PIM protocol version.
DR Prio/Mode
Priority and mode of the designated router (DR).
Possible modes are S (sparse mode) or B (bidirectional mode) N (neighbor does not include the DR-Priority Option in its Hello messages), and P (RPF vector proxy is received). 1
1 The "P" flag, introduced by the PIM RPF Vector Feature in Cisco IOS Release 12.0(30)S, indicates that the neighbor has announced (via a PIM Hello option) its capability to handle RPF and RD RPF Vector proxies in PIM join messages. All Cisco IOS versions implementing the PIM RPF Vector feature always announce this PIM Hello option. All PIM neighbors on a LAN must support the RPF/RD-RPF Vector proxy or else this router will not include the RPF/RD-RPF Vector proxy into its joins. To ensure correct operations of the PIM RPF Vector feature, you must ensure that neighbors run software that also supports this feature.
Related Commands
Feature Information for PIM RPF Vector
Table 4 lists the release history for this feature.
Not all commands may be available in your Cisco IOS software release. For release information about a specific command, see the command reference documentation.
Use Cisco Feature Navigator to find information about platform support and software image support. Cisco Feature Navigator enables you to determine which Cisco IOS and Catalyst OS software images support a specific software release, feature set, or platform. To access Cisco Feature Navigator, go to http://www.cisco.com/go/cfn. An account on Cisco.com is not required.
Note
Table 4 lists only the Cisco IOS software release that introduced support for a given feature in a given Cisco IOS software release train. Unless noted otherwise, subsequent releases of that Cisco IOS software release train also support that feature.
Any Internet Protocol (IP) addresses used in this document are not intended to be actual addresses. Any examples, command display output, and figures included in the document are shown for illustrative purposes only. Any use of actual IP addresses in illustrative content is unintentional and coincidental.
© 2004,2006 Cisco Systems, Inc. All rights reserved.