Professional Documents
Culture Documents
PIM-SM Troubleshooting
IMPORTANT! THIS GUIDE ASSUMES THAT THE AOS-CX OVA HAS BEEN INSTALLED AND WORKS IN GNS3 OR EVE-NG. PLEASE
REFER TO GNS3/EVE-NG INITIAL SETUP LABS IF REQUIRED.
https://www.eve-ng.net/index.php/documentation/howtos/howto-add-aruba-cx-switch/
TABLE OF CONTENTS
Lab Objective .............................................................................................................................................. 1
Lab Overview .............................................................................................................................................. 1
Lab Network Layout .................................................................................................................................... 2
Lab Tasks ................................................................................................................................................... 2
Task 1 – Lab setup ..................................................................................................................................... 2
Task 2 – Configure Multicast Source .......................................................................................................... 3
Task 3 – Check PIM on LHR....................................................................................................................... 4
Task 4 – Check BSR/RP............................................................................................................................. 4
Task 5 – Check PIM on LHR again ............................................................................................................. 6
Task 6 – Check mroutes on LHR and FHR ................................................................................................. 6
Task 7 – Check PIM on FHR ...................................................................................................................... 6
Task 8 – Check Unicast Routing on FHR/LHR ............................................................................................ 7
Task 9 – Verify mroutes on all switches ...................................................................................................... 9
Appendix – Complete Configurations ........................................................................................................ 10
Lab Objective
This lab will enable the reader to gain hands on experience with PIM-SM troubleshooting. This lab as shown in Figure 1 is
preconfigured with 2 problems, you will use the troubleshooting flowchart to perform verification steps to identify and fix the
problems.
Lab Overview
This lab as shown in Figure 1 will allow you to send multicast traffic from the multicast source connected to First Hop Router
(FHR) towards multicast receiver connected to Last Hop Router (LHR) after the 2 problems are identified and fixed.
/24 subnets are used as source/receiver subnets, /32 loopbacks are used on switches and /31 subnets are used between the
switches.
1
Lab Guide
PIM-SM Troubleshooting
Notes:
- Importing EVE-NG lab will not import the configs, you will need to copy and paste the configs from the appendix into your
switches before attempting this lab.
- Simulating a multicast receiver using VPCS is also not supported as it doesn't send IGMP joins, a static IGMP join is used on
LHR instead
Lab Tasks
Task 1 – Lab setup
For this lab refer to Figure 1 for topology and IP address details.
2
Lab Guide
PIM-SM Troubleshooting
• Open each switch console and log in with user “admin” and hit enter, so that no password is applied
• Configs are not transferred in the .unl/.zip files, copy and paste in configs for all devices from the appendix section
Always troubleshoot from receivers towards the source as shown in Figure 1.
Here are some recommended checks and suggested next steps from the bottom up approach shown in Figure 1.
• RP known, check multicast routing for “Incoming Interface”, “Outgoing Interface List”
Check BSR/RP
Check FHR
Always remember multicast routing depends on unicast routing, if receivers are unable to connect to source via unicast, multicast
will not work.
3
Lab Guide
PIM-SM Troubleshooting
PIM Neighbor
VRF : default
Total number of neighbors : 1
IP Address : 192.168.4.4
Interface : 1/1/2
Up Time (HH:MM:SS) : 00:00:58
Expire Time (HH:MM:SS) : 00:01:23
DR Priority : 1
Hold Time (HH:MM:SS) : 00:01:45
• Above looks good, check RP/BSR info next
LHR# sh ip pim bsr
Status and Counters- PIM-SM Bootstrap Router Information
VRF : default
E-BSR Address :
E-BSR Priority : 0
E-BSR Hash Mask Length : 0
E-BSR Up Time : 0 secs
Next Bootstrap Message : 0 secs
• It doesn’t looks good, both RP/BSR are not learnt, you will need to check the RP/BSR next
VRF : default
E-BSR Address :
E-BSR Priority : 0
E-BSR Hash Mask Length : 0
E-BSR Up Time : 0 secs
Next Bootstrap Message : 0 secs
4
Lab Guide
PIM-SM Troubleshooting
VRF : default
E-BSR Address : 192.168.2.2
E-BSR Priority : 0
E-BSR Hash Mask Length : 30
E-BSR Up Time : 1 mins 11 secs
Next Bootstrap Message : 49 secs
VRF: default
5
Lab Guide
PIM-SM Troubleshooting
VRF : default
E-BSR Address : 192.168.2.2
E-BSR Priority : 0
E-BSR Hash Mask Length : 30
E-BSR Up Time : 1 mins 26 secs
Next Bootstrap Message : 1 mins 44 secs
VRF: default
FHR# sh ip mroute
• It doesn’t look good as nothing is seen
VRF : default
E-BSR Address : 192.168.2.2
E-BSR Priority : 0
E-BSR Hash Mask Length : 30
E-BSR Up Time : 11 mins 25 secs
Next Bootstrap Message : 1 mins 45 secs
6
Lab Guide
PIM-SM Troubleshooting
VRF: default
PIM Interfaces
VRF: default
Total Number of interfaces : 2
Interface : 1/1/2
Neighbor count : 1
IP Address : 192.168.4.0/31
Mode : sparse
Designated Router : 192.168.4.1
Proxy DR : false
Hello Interval (sec) : 30
Hello Delay (sec) : 5
Override Interval (msec) : 2500 Lan Prune Delay : Yes
Propagation Delay (msec) : 500 Configured DR Priority : 1
Operational DR Priority : 1
Neighbor Timeout : 103
Interface : vlan110
Neighbor count : 0
IP Address : 10.0.110.254/24
Mode : sparse
Designated Router : 10.0.110.254
Proxy DR : false
Hello Interval (sec) : 30
Hello Delay (sec) : 5
Override Interval (msec) : 2500 Lan Prune Delay : Yes
Propagation Delay (msec) : 500 Configured DR Priority : 1
Operational DR Priority : 1
Neighbor Timeout : 0
7
Lab Guide
PIM-SM Troubleshooting
VRF: default
VRF: default
• Looks bad, FHR does not have the 10.0.110.0/24 route, it does not have connectivity to the source subnet (that is the
problem)
• Checking FHR source subnet, you will see that OSPF is not enabled
interface vlan 110
ip address 10.0.110.254/24
ip pim-sparse enable
8
Lab Guide
PIM-SM Troubleshooting
VRF : default
Total number of entries : 1
• On BSR/RP
RP-BSR(config)# sh ip mr
IP Multicast Route Entries
VRF : default
Total number of entries : 2
• On LHR
LHR# sh ip mr
IP Multicast Route Entries
VRF : default
Total number of entries : 1
• Congratulations, you have validated multicast forwarding works as expected across the switches
9
Lab Guide
PIM-SM Troubleshooting
FHR
!Version ArubaOS-CX Virtual.10.07.0010
hostname FHR
led locator on
ntp server pool.ntp.org minpoll 4 maxpoll 4 iburst
ntp enable
!
!
!
!
!
!
ssh server vrf mgmt
vlan 1,110
interface mgmt
no shutdown
ip dhcp
interface 1/1/1
no shutdown
no routing
vlan access 110
interface 1/1/2
no shutdown
ip address 192.168.4.0/31
ip ospf 1 area 0.0.0.0
ip pim-sparse enable
interface 1/1/3
no shutdown
interface 1/1/4
no shutdown
interface 1/1/5
no shutdown
interface 1/1/6
no shutdown
interface loopback 0
ip address 192.168.2.1/32
ip ospf 1 area 0.0.0.0
interface vlan 110
ip address 10.0.110.254/24
ip pim-sparse enable
router ospf 1
area 0.0.0.0
router pim
enable
https-server vrf mgmt
RP-BSR
!Version ArubaOS-CX Virtual.10.07.0010
hostname RP-BSR
led locator on
ntp server pool.ntp.org minpoll 4 maxpoll 4 iburst
ntp enable
!
!
!
!
10
Lab Guide
PIM-SM Troubleshooting
!
!
ssh server vrf mgmt
vlan 1
interface mgmt
no shutdown
ip dhcp
interface 1/1/1
no shutdown
ip address 192.168.4.1/31
ip ospf 1 area 0.0.0.0
ip pim-sparse enable
interface 1/1/2
no shutdown
ip address 192.168.4.4/31
ip ospf 1 area 0.0.0.0
ip pim-sparse enable
interface 1/1/3
no shutdown
interface 1/1/4
no shutdown
interface 1/1/5
no shutdown
interface 1/1/6
no shutdown
interface loopback 0
ip address 192.168.2.2/32
ip ospf 1 area 0.0.0.0
ip pim-sparse enable
!
!
!
!
!
router ospf 1
area 0.0.0.0
router pim
enable
rp-candidate source-ip-interface loopback0 group-prefix 224.0.0.0/4
https-server vrf mgmt
LHR
!Version ArubaOS-CX Virtual.10.07.0010
hostname LHR
led locator on
ntp server pool.ntp.org minpoll 4 maxpoll 4 iburst
ntp enable
!
!
!
!
!
!
ssh server vrf mgmt
vlan 1,111
interface mgmt
no shutdown
ip dhcp
interface 1/1/1
no shutdown
no routing
vlan access 111
interface 1/1/2
11
Lab Guide
PIM-SM Troubleshooting
no shutdown
ip address 192.168.4.5/31
ip ospf 1 area 0.0.0.0
ip pim-sparse enable
interface 1/1/3
no shutdown
interface 1/1/4
no shutdown
interface 1/1/5
no shutdown
interface 1/1/6
no shutdown
interface loopback 0
ip address 192.168.2.4/32
ip ospf 1 area 0.0.0.0
interface vlan 111
ip address 10.0.111.254/24
ip ospf 1 area 0.0.0.0
ip igmp enable
ip igmp static-group 239.10.10.10
ip pim-sparse enable
!
!
!
!
!
router ospf 1
area 0.0.0.0
router pim
enable
https-server vrf mgmt
12
www.arubanetworks.com
3333 Scott Blvd. Santa Clara, CA 95054
1.844.472.2782 | T: 1.408.227.4500 | FAX: 1.408.227.4550 | info@arubanetworks.com
13