Prerequisites: CCNP level skills.
Topology
Pic. 1 - Topology Diagram.
Note!
Routers and switches are already configured as per the topology diagram.
Task 1
On the multicast segment (VLAN 25), there is only one client wishing to receive multicast traffic. Configure R2 and R5 in such a way that they would stop sending multicast traffic immediately upon receiving IGMP Leave message from this client (default 2.5 seconds).Routers and switches are already configured as per the topology diagram.
Task 1
Task 2
Configure the backup querier on VLAN 25 to assume the querier role if it did not hear the query message in 60 seconds (default time is two times the query interval: 120 seconds). Membership query packets should be sent every 15 seconds (default: 60 seconds) by both R2 and R5.
Task 3
R2 and R5 should force their multicast clients to respond to group query with the group report in maximum 5 seconds (default 10 seconds).
Solution
Task 1
On the multicast segment (VLAN 25), there is only one client wishing to receive multicast traffic. Configure R2 and R5 in such a way that they would stop sending multicast traffic immediately upon receiving IGMP Leave message from this client (default 2.5 seconds).
R2 configuration:
!
ip access-list standard ALL_MULTICAST_GROUPS
permit 224.0.0.0 15.255.255.255
!
permit 224.0.0.0 15.255.255.255
!
interface FastEthernet0/0
ip address 10.1.25.2 255.255.255.0
ip pim sparse-mode
ip igmp immediate-leave group-list ALL_MULTICAST_GROUPS
speed 100
full-duplex
ip address 10.1.25.2 255.255.255.0
ip pim sparse-mode
ip igmp immediate-leave group-list ALL_MULTICAST_GROUPS
speed 100
full-duplex
!
R5 Configuration:
!
ip access-list standard ALL_MULTICAST_GROUPS
permit 224.0.0.0 15.255.255.255
!
permit 224.0.0.0 15.255.255.255
!
interface FastEthernet0/0
ip address 10.1.25.5 255.255.255.0
ip pim sparse-mode
ip igmp immediate-leave group-list ALL_MULTICAST_GROUPS
speed 100
full-duplex
!
ip address 10.1.25.5 255.255.255.0
ip pim sparse-mode
ip igmp immediate-leave group-list ALL_MULTICAST_GROUPS
speed 100
full-duplex
!
Task 2
Configure the backup querier on VLAN 25 to assume the querier role if it did not hear the query message in 60 seconds (default time is two times the query interval: 120 seconds). Membership query packets should be sent every 15 seconds (default: 60 seconds) by both R2 and R5.
Note!
The querier for multicast is elected based on the lowest IP address on the link (here it has to be R2).
Pic. 2 - DR (designated querier).
!
interface FastEthernet0/0
ip address 10.1.25.2 255.255.255.0
ip pim sparse-mode
ip igmp immediate-leave group-list ALL_MULTICAST_GROUPS
ip igmp query-interval 15
speed 100
full-duplex
!
ip address 10.1.25.2 255.255.255.0
ip pim sparse-mode
ip igmp immediate-leave group-list ALL_MULTICAST_GROUPS
ip igmp query-interval 15
speed 100
full-duplex
!
R5 Configuration:
!
interface FastEthernet0/0
ip address 10.1.25.5 255.255.255.0
ip pim sparse-mode
ip igmp query-interval 15
ip igmp querier-timeout 60
speed 100
full-duplex
ip address 10.1.25.5 255.255.255.0
ip pim sparse-mode
ip igmp query-interval 15
ip igmp querier-timeout 60
speed 100
full-duplex
!
Task 3
R2 and R5 should force their multicast clients to respond to group query with the group report in maximum 5 seconds (default 10 seconds).
R2 configuration:
!
interface FastEthernet0/0
ip address 10.1.25.2 255.255.255.0
ip pim sparse-mode
ip igmp query-max-response-time 5
ip igmp immediate-leave group-list ALL_MULTICAST_GROUPS
ip igmp query-interval 15
speed 100
full-duplex
ip address 10.1.25.2 255.255.255.0
ip pim sparse-mode
ip igmp query-max-response-time 5
ip igmp immediate-leave group-list ALL_MULTICAST_GROUPS
ip igmp query-interval 15
speed 100
full-duplex
!
R5 Configuration:
!
interface FastEthernet0/0
ip address 10.1.25.5 255.255.255.0
ip pim sparse-mode
ip igmp query-max-response-time 5
ip igmp query-interval 15
ip igmp querier-timeout 60
speed 100
full-duplex
ip address 10.1.25.5 255.255.255.0
ip pim sparse-mode
ip igmp query-max-response-time 5
ip igmp query-interval 15
ip igmp querier-timeout 60
speed 100
full-duplex
!
IGMP Commands