OcNOS-SP : Multicast Guide : Multicast Configuration Guide : PIM Sparse Mode Configuration : Enable PIM-SM on an Interface
Enable PIM-SM on an Interface
Enable PIM-SM on all participating interfaces within each of routers inside the PIM domain on which you want to run PIM. In the following sample configuration, both eth1 and eth2 are enabled for PIM-SM on the router.
 
#configure terminal
Enter configure mode.
(config)#interface eth1
Specify the interface (eth1) to be configured and Enter interface mode.
(config-if)#ip address 10.10.12.11/24
Configure the IP address for eth1.
(config-if)#ip pim sparse-mode
Enable PIM sparse mode on the interface.
(config-if)#exit
Exit interface mode.
(config)#interface eth2
Specify the interface (eth2) to be configured and Enter interface mode.
(config-if)#ip address 10.10.13.11/24
Configure the IP address for eth2.
(config-if)#ip pim sparse-mode
Enable PIM sparse mode on the interface.
(config-if)#commit
Commit the transaction.
(config)#end
End the session
#configure terminal
Enter configure mode.
(config)#interface eth1
Specify the interface (eth1) to be configured and Enter interface mode.
(config-if)#ipv6 address 2001::1/64
Configure the IPv6 address for eth1.
(config-if)#ipv6 pim sparse-mode
Enable ipv6 PIM-s, on the interface.
(config-if)#exit
Exit interface mode.
(config)#interface eth2
Specify the interface (eth2) to be configured and Enter interface mode.
(config-if)#ipv6 address 2001::2/64
Configure the IPv6 address for eth2.
(config-if)#ip pim sparse-mode
Enable ipv6 PIM-SM on the interface.
(config-if)#commit
Commit the transaction.
(config-if)#end
End the session
Last modified date: 10/20/2023