05-07-2021 11:24 AM - edited 05-07-2021 12:55 PM
Hi,
I have a problem with multicast pruning.
There are 4 switches in total.
Switch 1 and 2 are layer 3 Catalyst 3650 and installed at one location, trunked together.
Switch 3 and 4 are layer 2 Catalyst 2960 and installed at another place, also trunked together.
Server 1 is connected to both switch 1 and 2, server 2 is connected to both switch 3 and 4 (bonding on both servers).
Server 1 is distributing multicast on several groups to server 2.
Server 1 is also receiving multicast on several groups from server 2.
Server 2 also distributes to and receives from server 1.
I have a problem where all multicast is pruned on switch 1 GE 1/0/22 when switch 2 goes down. It takes about 60 seconds before multicast is being received/distributed through this interface again.
Before this happens, switch 1 is already the PIM designated router. When switch 1 is PIM DR, and I shut down switch 1, the multicast is not pruned, switch 2 takes over just fine.
I tested with ping from server 1 to server 2 while shutting down switch 2, and I can successfully ping (only about 1 second downtime when I turn switch 2 off).
Server 1:
IP address: 192.168.208.21/24
Manually added route: 192.168.209.0/24 via 192.168.208.180
Server 2:
IP address: 192.168.209.33/24
Manually added route: 192.168.208.0/24 via 192.168.209.180
Any advice on troubleshooting, or obvious errors I have made, is appreciated!
See attached schematic on how the switches/servers are connected.
Here are the switch configurations:
Switch-1 config
ip routing ! ip multicast-routing
!
no ip igmp snooping
spanning-tree mode rapid-pvst
spanning-tree portfast default
spanning-tree extend system-id
spanning-tree vlan 2 priority 24576
spanning-tree vlan 2 forward-time 4
spanning-tree vlan 2 max-age 6
!
!
track 10 interface GigabitEthernet1/0/22 line-protocol
!
track 20 interface Vlan2 line-protocol
!
!
!
interface GigabitEthernet1/0/1
switchport access vlan 2
switchport mode access
!
interface GigabitEthernet1/0/22
description HELLENIKON LINK
no switchport
ip address 192.168.209.181 255.255.255.0
ip pim dr-priority 8
ip pim sparse-dense-mode
ip access-group HELLENIKON_OUT out
standby 10 ip 192.168.209.180
standby 10 timers msec 250 msec 800
standby 10 priority 110
standby 10 preempt delay minimum 20
standby 10 track 20 decrement 10
!
interface GigabitEthernet1/0/23
switchport mode trunk
spanning-tree portfast disable
!
interface GigabitEthernet1/0/24
switchport mode trunk
spanning-tree portfast disable
!
interface Vlan2
description INNOVA
ip address 192.168.208.181 255.255.255.0
ip pim dr-priority 10
ip pim sparse-dense-mode
standby 20 ip 192.168.208.180
standby 20 timers msec 250 msec 800
standby 20 priority 110
standby 20 preempt delay minimum 20
standby 20 track 10 decrement 10
!
!
!
ip access-list extended HELLENIKON_OUT
deny udp any host 239.192.32.100 eq 53105
permit ip any any
!
!
!
end
Switch 2 config
ip routing ! ip multicast-routing ! no ip igmp snooping spanning-tree mode rapid-pvst spanning-tree portfast default spanning-tree extend system-id spanning-tree vlan 2 priority 28672 spanning-tree vlan 2 forward-time 4 spanning-tree vlan 2 max-age 6 ! ! track 10 interface GigabitEthernet1/0/22 line-protocol ! track 20 interface Vlan2 line-protocol ! ! ! interface GigabitEthernet1/0/1 switchport access vlan 2 switchport mode access ! interface GigabitEthernet1/0/22 description HELLENIKON LINK no switchport ip address 192.168.209.182 255.255.255.0 ip pim dr-priority 7 ip pim sparse-dense-mode ip access-group HELLENIKON_OUT out standby 10 ip 192.168.209.180 standby 10 timers msec 250 msec 800 standby 10 priority 105 standby 10 preempt delay minimum 20 standby 10 track 20 decrement 10 ! interface GigabitEthernet1/0/23 switchport mode trunk spanning-tree portfast disable ! interface GigabitEthernet1/0/24 switchport mode trunk spanning-tree portfast disable ! interface Vlan2 description INNOVA ip address 192.168.208.182 255.255.255.0 ip pim dr-priority 9 ip pim sparse-dense-mode standby 20 ip 192.168.208.180 standby 20 timers msec 250 msec 800 standby 20 priority 105 standby 20 preempt delay minimum 20 standby 20 track 10 decrement 10 ! ! ! ip access-list extended HELLENIKON_OUT deny udp any host 239.192.32.100 eq 53105 permit ip any any ! ! ! end
Switch 3 config
ip routing no ip igmp snooping ! ! spanning-tree mode rapid-pvst spanning-tree portfast default spanning-tree extend system-id spanning-tree vlan 2 forward-time 4 spanning-tree vlan 2 max-age 6 ! ! interface GigabitEthernet1/0/1 switchport access vlan 2 switchport mode access ! interface GigabitEthernet1/0/22 description HELLENIKON LINK switchport access vlan 2 switchport mode access ! interface GigabitEthernet1/0/23 switchport mode trunk spanning-tree portfast disable ! interface GigabitEthernet1/0/24 switchport mode trunk spanning-tree portfast disable ! interface Vlan2 description INNOVA ip address 192.168.209.183 255.255.255.0 ! ! ! end
Switch 4 config
ip routing no ip igmp snooping ! ! spanning-tree mode rapid-pvst spanning-tree portfast default spanning-tree extend system-id spanning-tree vlan 2 forward-time 4 spanning-tree vlan 2 max-age 6 ! ! interface GigabitEthernet1/0/1 switchport access vlan 2 switchport mode access ! interface GigabitEthernet1/0/22 description HELLENIKON LINK switchport access vlan 2 switchport mode access ! interface GigabitEthernet1/0/23 switchport mode trunk spanning-tree portfast disable ! interface GigabitEthernet1/0/24 switchport mode trunk spanning-tree portfast disable ! interface Vlan2 description INNOVA ip address 192.168.209.184 255.255.255.0 ! ! ! end
05-07-2021 01:09 PM
Not sure how SW2 going down will affect the SW1<-->SW3 multicast control plane what is sending the prune message SW4? Have you debug ip pim on the 3 switches when SW2 is down.
What do the normal joins look like on all switches (show ip mroute) are their pim joins for this group for example from Server 2 as i could imagine there should be Server2 --IGMP--> Switch 3 ---- join ---> SW1---->Server1
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide