OcNOS-SP : Multicast Guide : Multicast Configuration Guide : PIM Sparse Mode Configuration : Configure Static RP
Configure Static RP
#configure terminal
Enter configure mode.
(config)#ip pim rp-address 10.10.10.1
Statically configure an RP address for multicast groups.
(config)#commit
Commit the transaction.
#configure terminal
Enter configure mode.
(config)#ipv6 pim rp-address 1001::1
Statically configure an RP address for multicast groups.
(config)#commit
Commit the transaction.
 
Embedded RP, with IPv6 multicast, is a very cool trick. It simply embeds the RP IPv6 address as part of the multicast group address. This way, when a multicast router sees the group address, it can extract the RP and begin to use it for the shared tree
#
configure terminal
Enter configure mode.
(config)#ip pim rp embedded enable
configure an RP embeded for multicast groups.
(config)#commit
Commit the transaction.
#configure terminal
Enter configure mode.
(config)#ipv6 pim rp embedded enable
configure an RP embeded for multicast groups.
(config)#commit
Commit the transaction.
Here is the sample configuration for Router_ D:
hostname Router_ D
!
interface eth0
!
interface eth1
ip pim sparse-mode
!
interface eth2
ip pim sparse-mode
!
interface lo
!
!
Ip multicat-routing
!
ip pim rp-address 10.10.10.1
ip pim rp embedded enable
- - !
FOR IPV6
hostname Router_ D
!
interface eth0
!
interface eth1
ipv6 pim sparse-mode
!
interface eth2
ipv6 pim sparse-mode
!
interface lo
!
!
Ipv6 multicat-routing
!
Ipv6 pim rp-address 1001::1
Ipv6 pim rp embedded enable
- !
 
#FOR IPV6
show ipv6 pim sparse-mode rp mapping
PIM Group-to-RP Mappings
Override RP cnt: 0
 
 
Group(s): ff00::/8, Static
RP: 3001::1
Uptime: 08:29:50
Embedded RP Groups:
Last modified date: 10/20/2023