IGMP snooping allows switches to listen to IGMP report and leave messages to determine what hosts if any are interested in receiving multicast traffic on a given vlan. With this information selective prune can be done by the switch to limit unnecessary flooding of multicast traffic to switch ports that do not have hosts interested in receiving multicast traffic.
MVR or Multicast Vlan Registration allows multicast traffic to be dedicated to a specific VLAN across a multicast domain so that recievers in other VLANs can join the sources in the dedicated VLAN and received multicast traffic.
Concepts tested
- Configure IGMP snooping
- Configure IGMP snooping immediate leave
- Multicast Vlan Registration
- Verify configuration
Lab Tasks
- Configure fa 0/19 on switch 1 as an access ports for VLAN 10 and configure the other end connected to switch 3 as an L3 interface with IP address 120.0.10.3/24
- Configure fa 0/21 on switch 1 as an access for VLAN 100 and the opposite side connected to switch 4 as an L3 interface with IP address 120.0.100.4/24
- Have both L3 interfaces join the group 239.1.1.1
- On switch 1 configure VLAN 100 as a dedicate source MVR source VLAN using group 224.0.128.100
- Ensure any sources can send traffic on the dedicated multicast VLAN
Solution
SW1(config)#no ip multicast-routing distributed
SW1(config)#mvr
SW1(config)#mvr vlan 100
SW1(config)#mvr group 239.1.1.1
SW1(config)#mvr mode dynamic
SW1(config)#int fa 0/19
SW1(config-if)#switchport mode access
SW1(config-if)#switchport access vlan 10
SW1(config-if)#mvr type receiver
SW1(config-if)#exit
SW1(config)#int fa 0/21
SW1(config-if)#switchport mode access
SW1(config-if)#switchport access vlan 100
SW1(config-if)#mvr type source
SW1(config-if)#exit
SW3(config)#int fa 0/19
SW3(config-if)#no switchport
SW3(config-if)#ip address 120.0.10.3 255.255.255.0
SW3(config-if)#ip pim dense-mode
SW3(config-if)#exit
SW4(config)#int fa 0/21
SW4(config-if)#no switchport
SW4(config-if)#ip add 120.0.100.4 255.255.255.0
SW4(config-if)#ip pim dense-mode
SW4(config-if)#exit
Verification
SW3(config)#int fa 0/19
SW3(config-if)#ip igmp join-group 239.1.1.1
SW3(config-if)#end
SW4(config-if)#ip igmp join-group 239.1.1.1
SW4(config-if)#end
SW1#sh mvr
SW1#sh mvr
MVR Running: TRUE
MVR multicast VLAN: 100
MVR Max Multicast Groups: 256
MVR Current multicast groups: 1
MVR Global query response time: 5 (tenths of sec)
MVR Mode: dynamic
SW1#sh mvr inter
SW1#sh mvr interface
Port Type Status Immediate Leave
---- ---- ------ ---------------
Fa0/19 RECEIVER ACTIVE/UP DISABLED
Fa0/21 SOURCE ACTIVE/UP DISABLED
SW3#sh ip igmp groups
IGMP Connected Group Membership
Group Address Interface Uptime Expires Last Reporter Group Accounted
239.1.1.1 FastEthernet0/19 00:02:22 00:02:57 120.0.10.3
224.0.1.40 FastEthernet0/19 00:07:17 00:02:44 120.0.10.3
SW4#sh ip igmp groups
IGMP Connected Group Membership
Group Address Interface Uptime Expires Last Reporter Group Accounted
239.1.1.1 FastEthernet0/21 00:04:37 00:02:33 120.0.100.4
224.0.1.40 FastEthernet0/21 00:08:35 00:02:31 120.0.100.4
You can also create an access-list on the reciever port to confirm traffic is being recieved on that interface.
SW3(config)#access-list 100 permit ip host 120.0.100.4 host 239.1.1.1 log-in
SW3(config)#access-list 100 permit ip any any
SW3(config)#exit
SW3(config)#int fa 0/19
SW3(config-if)#ip access-group 100 in
*Mar 1 01:25:04.811: %SEC-6-IPACCESSLOGDP: list 100 permitted icmp 120.0.100.4 (FastEthernet0/19 001e.79be.df00) -> 239.1.1.1 (0/0), 1 packet
Extended IP access list 100
10 permit ip host 120.0.100.4 host 239.1.1.1 log-input (8 matches)
20 permit ip any any (1 match)
No comments:
Post a Comment