Ruijie Community

Title: How to Configure MVR on an RG-CS83 Switch? [Print this page]

Author: zhangqiao@ruiji    Time: 2024-10-8 10:44
Title: How to Configure MVR on an RG-CS83 Switch?
Keywords:
MVR, SVGL
1. Device Model and Firmware

  Device Type
  
  Device Model
  
  Firmware Version
  
  Ruijie  switch
  
  RG-CS83-24GT4XS
  
   RGOS 12.6(3)B1403
  
2. Overview

3. Configuration Procedure

3.1 Configuration Requirements

In the multicast network shown in Figure 1, the router (Device A) connects to the user network through the switch (Device B). IGMP snooping is enabled on Device A,which is directly connected to the multicast source. The multicast source sends data to the multicast group 225.0.0.10. Host A, Host B, and Host C are in VLAN 101, VLAN 102, and VLAN 103, respectively, and all three hosts have joined the multicast group 225.0.0.10. As a result, Host A, Host B, and Host C can receive multicast data sent by the multicast source to this group.
3.2 Topology


3.3 Configuration Notes

3.4 Configuration Examples

1. Configure the IP addresses, VLANs, and unicast routing protocols of the network nodes to ensure reachability of the network nodes using unicast routing. Configure the IP address and unicast routing protocol on Device A.
DeviceA>enable
  DeviceA#configure terminal
  DeviceA(config)# interface GigabitEthernet 0/47
  DeviceA(config-if-GigabitEthernet 0/47)# no switchport
  DeviceA(config-if-GigabitEthernet 0/47)# ip address 10.100.12.1 255.255.255.0
  DeviceA(config-if-GigabitEthernet 0/47)# exit
  DeviceA(config)# vlan 104
  DeviceA(config)# interface vlan 104
  DeviceA(config-if-VLAN 104)# ip address 10.100.11.2 255.255.255.0
  DeviceA(config-if-VLAN 104)# exit
  DeviceA(config)# interface GigabitEthernet 0/48
  DeviceA(config-if-GigabitEthernet 0/48)# switchport mode trunk
  DeviceA(config-if-GigabitEthernet 0/48)# switchport trunk native vlan 104
  DeviceA(config-if-GigabitEthernet 0/48)# exit
  DeviceA(config)# router ospf 49
  DeviceA(config-router)# network 10.100.11.0 0.0.0.255 area 0
  DeviceA(config-router)# network 10.100.12.0 0.0.0.255 area 0
  DeviceA(config-router)# exit

  
Configure the IP address, VLAN, and unicast routing protocol on Device B.
DeviceB> enable
  DeviceB# configure terminal
  DeviceB(config)# vlan range 101-104
  DeviceB(config-vlan-range)# exit
  DeviceB(config)# interface VLAN 101
  DeviceB(config-if-VLAN 101)# ip address 10.100.101.1 255.255.255.0
  DeviceB(config-if-VLAN 101)# exitDeviceB(config)# interface VLAN 102
  DeviceB(config-if-VLAN102)# ip address 10.100.102.1 255.255.255.0
  DeviceB(config-if-VLAN 102)# exit
  DeviceB(config)# interface VLAN 103
  DeviceB(config-if-VLAN 103)#ip address 10.100.103.1 255.255.255.0
  DeviceB(config-if-VLAN 103)# exit
  DeviceB(config)# interface VLAN 104
  DeviceB(config-if-VLAN 104)# ip address 10.100.11.1 255.255.255.0
  DeviceB(config-if-VLAN 104)# exit
  DeviceB(config)# interface GigabitEthernet 0/18
  DeviceB(config-if-GigabitEthernet 0/18)# switchport mode trunk
  DeviceB(config-if-GigabitEthernet 0/18)# switchport trunk native vlan 104
  DeviceB(config-if-GigabitEthernet 0/18)# exit
  DeviceB(config)# interface GigabitEthernet 0/19
  DeviceB(config-if-GigabitEthernet 0/19)# switchport access vlan 103
  DeviceB(config-if-GigabitEthernet 0/19)# exit
  DeviceB(config)# interface GigabitEthernet 0/20
  DeviceB(config-if-GigabitEthernet 0/20)# switchport access vlan 101
  DeviceB(config-if-GigabitEthernet 0/20)# exit
  DeviceB(config)# interface GigabitEthernet 0/22
  DeviceB(config-if-GigabitEthernet 0/22)# switchport access vlan 102
  DeviceB(config-if-GigabitEthernet 0/22)# exit
  DeviceB(config)# router ospf 49
  DeviceB(config-router)# network 10.100.11.0 0.0.0.255 area 0
  DeviceB(config-router)# network 10.100.101.0 0.0.0.255 area 0
  DeviceB(config-router)# network 10.100.102.0 0.0.0.255 area 0
  DeviceB(config-router)# network 10.100.103.0 0.0.0.255 area 0
  DeviceB(config-router)# exit

  
  DeviceA(config)# ip multicast-routing
  DeviceA(config)# interface GigabitEthernet 0/47
  DeviceA(config-if-GigabitEthernet 0/47)# ip pim sparse-mode
  DeviceA(config-if-GigabitEthernet 0/47)# exit
  DeviceA(config)# interface vlan 104
  DeviceA(config-if-VLAN 104)# ip pim sparse-mode
  DeviceA(config-if-VLAN 104)# exit
  DeviceA(config)# ip pim bsr-candidate GigabitEthernet 0/47
  DeviceA(config)# ip pim rp-candidate GigabitEthernet 0/47

  
  DeviceB> enable
  DeviceB# configure terminal
  DeviceB(config)# ip igmp snooping svgl

  
  DeviceB> enable
  DeviceB# configure terminal
  DeviceB(config)# ip igmp profile 1
  DeviceB(config-profile)# permit
  DeviceB(config-profile)# range 224.1.1.1 238.1.1.1
  DeviceB(config-profile)# exit
  DeviceB(config)# ip igmp snooping svgl profile 1
  DeviceB(config)# ip igmp snooping svgl vlan 104
  DeviceB(config)# ip igmp snooping svgl subvlan 101-103

  
Send packets from the multicast source (10.100.12.2) to multicast group G(225.0.0.10). Enable Host A, Host B, and Host C to join G.
Run the show ip igmp snooping gda-table command on Device B to display the IGMP snooping forwarding entry and check whether the member port list contains GigabitEthernet 0/19, GigabitEthernet 0/20, andGigabitEthernet 0/22.
DeviceB# show ip igmp snooping gda-table
  Multicast Switching Cache Table
    D: DYNAMIC
    S: STATIC
    M: MROUTE
  (*, 225.0.0.10, 104):
   VLAN(104) 1 OPORTS:
    GigabitEthernet 0/18(M)
   VLAN(102) 1 OPORTS:
    GigabitEthernet 0/22(D)
   VLAN(103) 1 OPORTS:
    GigabitEthernet 0/19(D)
   VLAN(101) 1 OPORTS:
    GigabitEthernet 0/20(D)

  
Run the show ip igmp snooping command on Device B and check whether the IGMP snooping working mode is SVGL.
DeviceB# show ip igmp snooping
  IGMP Snooping running mode: SVGL
  IGMP Snooping L2-entry-limit: 64000
  SVGL vlan: 104
  SVGL profile number: 1
  IGMP Snooping SVGL subvlan: 101-103
  Source port check: Disable
  Source ip check: Disable
  IGMP Fast-Leave: Disable
  IGMP Report suppress: Disable
  IGMP Global Querier: Disable
  IGMP Preview: Disable
  IGMP Tunnel: Disable
  IGMP Snooping version: 2
  IGMP Preview group aging time: 60(Seconds)
  Dynamic Mroute Aging Time: 300(Seconds)
  Dynamic Host Aging Time: 260(Seconds)

  





Welcome to Ruijie Community (https://community.ruijienetworks.com/) Powered by Discuz! X3.2