Hà Nội: NTT03, Line 1, Thống Nhất Complex, 82 Nguyễn Tuân, Thanh Xuân, Hà Nội. ● HCM: Số 31B, Đường 1, Phường An Phú, Quận 2 (Thủ Đức), TP HCM. ===> Đơn Vị Hàng Đầu Trong Lĩnh Vực Cung Cấp Thiết Bị Security - Network - Wifi - CCTV - Conference - Máy chủ Server - Lưu trữ Storge.
Danh mục sản phẩm

Configure IGMP Static Adding

Network Requirement

  • The whole network runs the PIM-SM protocol.
  • Receiver is one receiver of the Device end network.
  • Run IGMPv2 between Device and the end network.
  • Device interface vlan3 adds to multicast group 225.1.1.1 statically.

Network Topology

Networking of configuring IGMP static adding

Figure 5-3 Networking of configuring IGMP static adding

Configuration Steps

Step 1: Configure the IP address of the interface. (omitted)

Step 2: Globally enable the multicast forwarding and enable the multicast protocol PIM-SM on the interface.

#Configure Device.

Globally enable the multicast forwarding and enable the multicast protocol PIM-SM on the related interfaces.

Device(config)#configure terminal
Device(config)#ip multicast-routing
Device(config)#interface vlan2
Device(config-if-vlan2)#ip pim sparse-mode
Device(config-if-vlan2)#exit
Device(config)#interface vlan3
Device(config-if-vlan3)#ip pim sparse-mode
Device(config-if-vlan3)#exit

#View the IGMP information of Device interface vlan3.

Device#show ip igmp interface vlan3
Interface vlan3 (Index 50331921) 
 IGMP Active, Querier (3.0.0.1)  
 Default version 2  
 IP router alert option in IGMP V2 msgs: EXCLUDE 
 Internet address is 3.0.0.1 
 IGMP query interval is 125 seconds 
 IGMP querier timeout is 255 seconds 
 IGMP max query response time is 10 seconds 
 Last member query response interval is 1 seconds 
 Last member query count is 2  
 Group Membership interval is 260 seconds 
 IGMP robustness variable is 2

Step 3: Device interface vlan3 adds to multicast group 225.1.1.1 statically.

#Configure Device.

Device(config)#interface vlan3
Device(config-if-vlan3)#ip igmp static-group 225.1.1.1
Device(config-if-vlan3)#exit

Step 4: Check the result.

#Source sends the multicast packet with multicast group 225.1.1.1. #View the multicast member table of Device.

Device#show ip igmp groups  
IGMP Static Group Membership
Total 1 static groups 
Group       Address     Source     Address       Interface
-------------------------------------------------------------
225.1.1.1	                       0.0.0.0       vlan3

#View the multicast route table of Device.

Device#show ip pim mroute
IP Multicast Routing Table:
PIM VRF Name: Default
Total 0 (*,*,RP) entry
Total 1 (*,G) entry 
Total 1 (S,G) entry
Total 1 (S,G,rpt) entry
Total 0 FCR entry 
Up timer/Expiry timer 
 
(*, 225.1.1.1) 
Up time: 00:08:12
RP: 0.0.0.0 
RPF nbr: 0.0.0.0
RPF idx: None
Flags: 
  JOIN DESIRED 
Upstream State: JOINED 
  Local interface list: 
    vlan3 
  Joined interface list: 
  Asserted interface list: 
  
(192.168.1.1, 225.1.1.1) 
Up time: 00:07:24
KAT time: 00:02:22
RPF nbr: 0.0.0.0
RPF idx: None 
SPT bit: TRUE Flags: 
  JOIN DESIRED 
  COULD REGISTER 
Upstream State: JOINED 
  Local interface list: 
  Joined interface list: 
    register_vif0 
  Asserted interface list: 
  Outgoing interface list: 
    register_vif0 
    vlan3 
  Packet count 8646421 
 
(192.168.1.1, 225.1.1.1, rpt) 
Up time: 00:07:24
RP: 0.0.0.0 
Flags: 
  RPT JOIN DESIRED 
  RPF SGRPT XG EQUAL 
Upstream State: NOT PRUNED 
  Local interface list: 
  Pruned interface list: 
  Outgoing interface list: vlan3

#Receiver can receive the multicast packet with multicast group 225.1.1.1 sent by Source.