Programmable Internetworking & Communication Operating System Docs ... Click Spaces -> Space Directory to see docs for all releases ...
Page tree
Skip to end of metadata
Go to start of metadata

Networking Requirements

Figure 1 User Configuration Topology of MLAG with IGMP Snooping

As shown in Figure 1, a Host connects to a multicast source through the MLAG topology and a Layer 3 Router to receive multicast data from the Source device. Switch3 and Switch4 have dual access to the network through the MLAG peer devices Switch1 and Switch2.

Perform the following procedures on Switch1, Switch2, Switch3 and Switch4 to implement MLAG with IGMP snooping:

  • Deploy basic MLAG configurations on Switch1 and Switch2 to form an MLAG topology.
  • Enable global and VLAN-based IGMP snooping function on all the switches.

Configuration Notes:

  • IGMP snooping configuration should be identical on both MLAG peer devices
  • Only the dynamic Layer 2 multicast forwarding entries are synchronized between the MLAG peers, static entries are not synchronized.
  • Generally, it is not necessary to configure mrouter port on the peer link.

Procedure

Switch1

Step1         Configure the VLANs.

                   admin@Switch1# set vlans vlan-id 10

                   admin@Switch1# set vlans vlan-id 4088 l3-interface vlan4088

                   admin@Switch1# set interface aggregate-ethernet ae48 family ethernet-switching native-vlan-id 4088

                   admin@Switch1# set interface aggregate-ethernet ae48 family ethernet-switching port-mode trunk

                   admin@Switch1# set interface aggregate-ethernet ae48 family ethernet-switching vlan members 10

                   admin@Switch1# set interface aggregate-ethernet ae71 family ethernet-switching port-mode trunk

                   admin@Switch1# set interface aggregate-ethernet ae71 family ethernet-switching vlan members 10

                   admin@Switch1# set interface aggregate-ethernet ae72 family ethernet-switching port-mode trunk

                   admin@Switch1# set interface aggregate-ethernet ae72 family ethernet-switching vlan members 10

Step2         Configure aggregation interfaces with LACP mode.

   admin@Switch1# set interface aggregate-ethernet ae71 aggregated-ether-options lacp enable true

   admin@Switch1# set interface aggregate-ethernet ae72 aggregated-ether-options lacp enable true

Step3         Add member interfaces to a LAG.

                   admin@Switch1# set interface gigabit-ethernet te-1/1/1 ether-options 802.3ad ae48

                   admin@Switch1# set interface gigabit-ethernet te-1/1/2 ether-options 802.3ad ae48

                   admin@Switch1# set interface gigabit-ethernet te-1/1/41 ether-options 802.3ad ae71

                   admin@Switch1# set interface gigabit-ethernet te-1/1/42 ether-options 802.3ad ae72

Step4        Configure an MLAG domain ID.

   admin@Switch1# set protocols mlag domain 10

   NOTE: Currently, only one MLAG domain is allowed to be configured on one MLAG device.

Step5         Specify Switch1 as MLAG Node 0.

   admin@Switch1# set protocols mlag domain 10 node 0

Step6         Configure the peer IP address and peer link port.

   admin@Switch1# set protocols mlag domain 10 peer-ip 1.1.1.201 peer-link ae48

   NOTE: Peer-link port should be configured as a LAG port.

Step7         Configure the L3 interface IP address for peer link port on local MLAG peer device.

                   admin@Switch1# set vlan-interface interface vlan4088 vif 4088 address 1.1.1.166 prefix-length 24

Step8         Configure link ID for the MLAG member port.

                   admin@Switch1# set protocols mlag domain 10 interface ae71 link 11

                   admin@Switch1# set protocols mlag domain 10 interface ae72 link 12

    NOTE: The paired MLAG member ports must be bound to the same MLAG link ID.

Step9         Configure MLAG peer VLAN.

   admin@Switch1# set protocols mlag domain 10 peer-ip 1.1.1.201 peer-vlan 4088

Step10        Enable IGMP snooping function.

     admin@Switch1# set protocols igmp-snooping enable true

     admin@Switch1# set protocols igmp-snooping vlan-id 10 enable true

Step11        Commit the configuration.

             admin@Switch1# commit

Switch2

Step1         Configure the VLANs.

                   admin@Switch2# set vlans vlan-id 10

                   admin@Switch2# set vlans vlan-id 4088 l3-interface vlan4088

                   admin@Switch2# set interface aggregate-ethernet ae48 family ethernet-switching native-vlan-id 4088

                   admin@Switch2# set interface aggregate-ethernet ae48 family ethernet-switching port-mode trunk

                   admin@Switch2# set interface aggregate-ethernet ae48 family ethernet-switching vlan members 10

                   admin@Switch2# set interface aggregate-ethernet ae71 family ethernet-switching port-mode trunk

                   admin@Switch2# set interface aggregate-ethernet ae71 family ethernet-switching vlan members 10

                   admin@Switch2# set interface aggregate-ethernet ae72 family ethernet-switching port-mode trunk

                   admin@Switch2# set interface aggregate-ethernet ae72 family ethernet-switching vlan members 10

Step2         Configure aggregation interfaces with LACP mode.

   admin@Switch2# set interface aggregate-ethernet ae71 aggregated-ether-options lacp enable true

   admin@Switch2# set interface aggregate-ethernet ae72 aggregated-ether-options lacp enable true

Step3         Add member interfaces to a LAG.

                   admin@Switch2# set interface gigabit-ethernet te-1/1/1 ether-options 802.3ad ae48

                   admin@Switch2# set interface gigabit-ethernet te-1/1/2 ether-options 802.3ad ae48

                   admin@Switch2# set interface gigabit-ethernet te-1/1/41 ether-options 802.3ad ae71

                   admin@Switch2# set interface gigabit-ethernet te-1/1/42 ether-options 802.3ad ae72

Step4         Configure an MLAG domain ID.

   admin@Switch2# set protocols mlag domain 10

   NOTE: Currently, only one MLAG domain is allowed to be configured on one MLAG device.

Step5         Specify Switch2 as MLAG Node 1.

   admin@Switch2# set protocols mlag domain 10 node 1

Step6         Configure the peer IP address and peer link port.

   admin@Switch2# set protocols mlag domain 10 peer-ip 1.1.1.166 peer-link ae48

   NOTE: Peer-link port should be configured as a LAG port.

Step7         Configure the L3 VLAN interface IP address for peer link port on local MLAG peer device.

                   admin@Switch2# set vlan-interface interface vlan4088 vif 4088 address 1.1.1.201 prefix-length 24

Step8         Configure link ID for the MLAG member port.

                   admin@Switch2# set protocols mlag domain 10 interface ae71 link 11

                   admin@Switch2# set protocols mlag domain 10 interface ae72 link 12

   NOTE: The paired MLAG member ports must be bound to the same MLAG link ID.

Step9         Configure MLAG peer VLAN.

   admin@Switch2# set protocols mlag domain 10 peer-ip 1.1.1.166 peer-vlan 4088

Step10        Enable IGMP snooping function.

     admin@Switch2# set protocols igmp-snooping enable true

     admin@Switch2# set protocols igmp-snooping vlan-id 10 enable true

Step11        Commit the configuration.

             admin@Switch2# commit

Switch3

Step1         Configure the VLANs.

                   admin@Switch3# set vlans vlan-id 10

                   admin@Switch3# set interface aggregate-ethernet ae1 family ethernet-switching port-mode trunk

                   admin@Switch3# set interface aggregate-ethernet ae1 family ethernet-switching vlan members 10

   admin@Switch3# set interface gigabit-ethernet ge-1/1/3 family ethernet-switching native-vlan-id 10

           admin@Switch3# set interface gigabit-ethernet ge-1/1/3 description "to-host"

Step2         Configure aggregation interfaces with LACP mode.

   admin@Switch3# set interface gigabit-ethernet ge-1/1/1 ether-options 802.3ad ae1

   admin@Switch3# set interface gigabit-ethernet ge-1/1/2 ether-options 802.3ad ae1

   admin@Switch3# set interface aggregate-ethernet ae1 aggregated-ether-options lacp enable true

Step3         Enable IGMP snooping function.

   admin@Switch3# set protocols igmp-snooping enable true

   admin@Switch3# set protocols igmp-snooping vlan-id 10 enable true

Step4         Commit the configuration.

           admin@Switch3# commit

Switch4

Step1         Configure the VLANs.

                   admin@Switch4# set vlans vlan-id 10

                   admin@Switch4# set interface aggregate-ethernet ae2 family ethernet-switching port-mode trunk

                   admin@Switch4# set interface aggregate-ethernet ae2 family ethernet-switching vlan members 10

   admin@Switch4# set interface gigabit-ethernet ge-1/1/3 family ethernet-switching native-vlan-id 10

           admin@Switch4# set interface gigabit-ethernet ge-1/1/3 description "to-server"

Step2         Configure aggregation interfaces with LACP mode.

   admin@Switch4# set interface gigabit-ethernet ge-1/1/1 ether-options 802.3ad ae2

   admin@Switch4# set interface gigabit-ethernet ge-1/1/2 ether-options 802.3ad ae2

   admin@Switch4# set interface aggregate-ethernet ae2 aggregated-ether-options lacp enable true

Step3         Enable IGMP snooping function.

   admin@Switch4# set protocols igmp-snooping enable true

   admin@Switch4# set protocols igmp-snooping vlan-id 10 enable true

Step4         Commit the configuration.

           admin@Switch4# commit

Verify the Configuration

  • You can use the run show mlag link command to display MLAG link information.
admin@Switch1# run show mlag link summary
# of Links: 2
Link   Local LAG   Link Status   Local Status   Peer Status   Config Matched   Flood
----   ---------   -----------   ------------   -----------   --------------   -----
11      ae71         FULL         UP             UP     	     Yes             No
12      ae72         FULL         UP             UP      	  Yes             No

admin@Switch2# run show mlag link summary
# of Links: 2
------------------------------------------------------------------------------
Link  Local LAG  Link Status  Local Status  Peer Status  Config Matched  Flood
----  ---------  -----------  ------------  -----------  --------------  -----
11    ae71        FULL         UP            UP           Yes              No  
12    ae72        FULL         UP            UP           Yes              No
  • You can use the run show igmp-snooping groups command to show the multicast group information.
admin@Switch1# run show igmp-snooping groups
Total group count: 1
Vlan      Group               Port List          Type
--------  ------------------  -----------------  ---------------------- 
10        234.0.0.8            ae71               Dynamic           
                               ae72               Mrouter 

admin@Switch2# run show igmp-snooping groups
Total group count: 1
Vlan      Group               Port List          Type
--------  ------------------  -----------------  ---------------------- 
10        234.0.0.8            ae71               Dynamic           
                               ae72               Mrouter 

admin@Switch3# run show igmp-snooping groups  
Total group count: 1
Vlan      Group               Port List          Type
--------  ------------------  -----------------  ---------------------- 
10        234.0.0.8           ge-1/1/3           Dynamic            
                              ae1                Mrouter                                                                                                   
admin@Switch4# run show igmp-snooping groups   
Total group count: 1
Vlan      Group               Port List          Type
--------  ------------------  -----------------  ---------------------- 
10        234.0.0.8           ae2                Dynamic             
                              ge-1/1/3           Mrouter 
  • You can use the run show igmp-snooping mrouter command to show the information about IGMP snooping router port.
admin@Switch1# run show igmp-snooping mrouter
Vlan      Ports          Type
--------  -------------  ---------
10         ae2            Dynamic  

admin@Switch2# run show igmp-snooping mrouter 
Vlan      Ports          Type
--------  -------------  ---------
10        ae2            Dynamic      

admin@Switch3# run show igmp-snooping mrouter 
Vlan      Ports          Type
--------  -------------  ---------
10        ae1            Dynamic

admin@Switch4# run show igmp-snooping mrouter 
Vlan      Ports          Type
--------  -------------  ---------
10        ge-1/1/3       Dynamic
  • No labels