PIM Configuration Examples
XSR User’s Guide 7-13
PIM Configuration Examples
The following is a simple PIM configuration using the virtual Loopback interface 0 and physical
interface FastEthernet 1. Configuring a Loopback interface is a safer way to ensure PIM routers
discover each other since specifying a physical IP address could result in a router being ignored if
the network connection through that interface is down. On the other hand, configuring a physical
interface is beneficial if you want a particular network path verified as connected. Only the
following commands are required if you do not wish to change PIM default values.
XSR(config)#interface FastEthernet1
XSR(config-if<F1>)#ip address 192.168.49.2 255.255.255.0
XSR(config-if<F1>)#ip pim sparse-mode
XSR(config-if<F1>)#no shutdown
XSR(config)#interface Loopback0
XSR(config-if<L0>)#ip address 1.1.1.57 255.255.255.255
XSR(config-if<L0>)#ip pim sparse-mode
XSR(config-if<L0>)#no shutdown
XSR(config)#ip multicast-routing
XSR(config)#ip pim bsr-candidate Loopback0 30 57
XSR(config)#ip pim rp-candidate Loopback0 priority 57