Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. Configure an IP address for each interface and a unicast routing protocol.
  2. Enable all the VLAN interfaces as multicast interface, enable PIM-SM on all interfaces and enable IGMP on the interface that connects to the Receiver.
  3. Configure C-BSR and C-RPs on loopback interface.
  4. Configure the SPT switching condition to the multicast packets reached 120000 bytes in 10s.

Procedure

SwitchA

Step1       Configure VLAN.

...

Code Block
admin@Xorplus# set ip routing enable true

Step3       Enable IGMP on the L3 VLAN interfaces as multicast interfaceof the PIM router connected to the receiver.

Code Block
admin@XorPlus# set protocols igmp multicast-interface interface vlan20 vif vlan20 disable falsevlan100

Step4       Enable PIM-SM on the L3 VLAN interfaces.

Code Block
admin@XorPlus# set protocols pim interface vlan20
admin@XorPlus# set multicast-interfaceprotocols pim interface vlan60 vif vlan60
disable false
admin@XorPlus# set multicast-interfaceprotocols pim interface vlan100 vif vlan100 disable false

...

Step5       Configure OSPF routes to other switches.

Code Block
admin@XorPlus# set protocols igmpospf interface vlan100 vif vlan100

Step5       Enable PIM-SM on the L3 VLAN interfaces.

Code Block
router-id 1.1.1.1
admin@XorPlus# set protocols pimsm4ospf interfacetraceoption vlan20packet vif vlan20 disable false
all
admin@XorPlus# set protocols pimsm4ospf interface vlan60lo vif vlan60 disable falsearea 0.0.0.0 
admin@XorPlus# set protocols pimsm4ospf interface vlan100vlan20 vif vlan100 disable false
area 0.0.0.0
admin@XorPlus# set protocols pimsm4ospf interface loopbackvlan60 vif loopback disable false

Step6       Configure OSPF routes to other switches.

Code Block
area 0.0.0.0
admin@XorPlus# set protocols ospf interface router-id 1.1.1.1
admin@XorPlus# set protocols ospf traceoption packet all
admin@XorPlus# set protocols ospf interface lo area 0.0.0.0 
admin@XorPlus# set protocols ospf interface vlan20 area 0.0.0.0
admin@XorPlus# set protocols ospf interface vlan60 area 0.0.0.0
admin@XorPlus# set protocols ospf interface vlan100 area 0.0.0.0

Step7       Configure C-BSR on loopback interface for scope zone 224.0.0.0/4.

Code Block
admin@XorPlus# set protocols pimsm4 bootstrap cand-bsr scope-zone 224.0.0.0/4 cand-bsr-by-vif-name loopback

Step8      Configure the SPT switching condition to the multicast packets reached 120000 bytes in 10s.

Code Block
admin@Xorplus# set protocols pimsm4 switch-to-spt-threshold interval 10
admin@Xorplus# set protocols pimsm4 switch-to-spt-threshold bytes 120000

Step9      Commit the configuration.

Code Block
admin@Xorplus# commit

Step10      Verify the configuration.

  • Run run show pim interface command to show information about all interfaces on which PIM-SM is enabled.
Code Block
vlan100 area 0.0.0.0

Step6      Commit the configuration.

Code Block
admin@Xorplus# commit

Step7      Verify the configuration.

  • Run run show pim interface command to show information about all interfaces on which PIM-SM is enabled.
Code Block
admin@Xorplus# run show pim interface
Interface    State      Mode     V  PIMstate  Priority  DRaddr    Neighbors
----------   --------   ------   -   --------  --------   ---------------   ---------
loopback     UP         Sparse   2   DR         1   1.1.1.1      0    
vlan20       UP         Sparse   2   NotDR      1   20.0.0.2          1       
vlan60       UP         Sparse   2   NotDR      1   60.0.0.3          1       
vlan100      UP         Sparse   2   DR         1   100.0.0.1         0 
  • Run run show pim neighbors command to show information about about PIM neighbors.
Code Block
admin@Xorplus# run show pim neighbors
Interface    DRpriority NeighborAddr    V   Mode   Holdtime   Timeout
----------   ---------- -------------   -   ----   --------   -------
vlan20       1          20.0.0.2        2   Sparse 105        84  
vlan60       1          60.0.0.3        2   Sparse 105        83 
  • Run run show pim mfc command to show information about PIM multicast forwarding entries.
Code Block
admin@Xorplus# commit
admin@Xorplus# run show pim interfacemfc
Interface   Group           State      Mode     V  PIMstate  Priority  DRaddr    Neighbors
Source          RP          
----------   --------   ------   -   --------  --------   ---------------   ---------
loopback     UP         Sparse   2   DR         1   1.1.1.1      0    
vlan20       UP         Sparse   2   NotDR      1   20 
225.0.0.1       200.0.0.2       2.2.2.2       
    Incoming interface :      vlan20
    Outgoing interfaces:      vlan100
225.0.0.2          1       
vlan60       UP         Sparse   2   NotDR      1   601       200.0.0.3          1       
vlan100      UP         Sparse   2   DR         1   100.0.0.1         0 .3       2.2.2.2       
    Incoming interface :      vlan60
    Outgoing interfaces:      vlan100
  • Run run show pim neighborsmrib command to show information about about PIM neighborsthe Multicast Routing Information Base (MRIB) that is used by PIM.
Code Block
admin@Xorplus# run show pim neighborsmrib
Interface   DestPrefix         DRpriorityNextHopRouter   NeighborAddr   VifName  V   VifIndex   Mode  MetricPref   Holdtime   Timeout
Metric
----------------   ---------- ---   -------   ---   -   ----   ----------   -------
vlan20       1          20.0.0.2        2   Sparse 105        84  
vlan60       1          60
1.1.1.1/32         1.1.1.1         loopback  0          0            0    
2.2.2.2/32         20.0.0.3  2             2  vlan20    Sparse1          105        83 
  • Run run show pim mfc command to show information about PIM multicast forwarding entries.
Code Block
admin@Xorplus# commit
admin@Xorplus# run show pim mfc
Group           Source          RP          
-------------   -------------   ------------- 
225.0.0.1       200.0.0.2       2.2.2.2       
    Incoming interface :      vlan20
    Outgoing interfaces:      vlan100
225110          1     
3.3.3.3/32         60.0.0.3        vlan60    2          110          1    
20.0.0.0/24        20.0.0.1        vlan20    1          0            0    
30.0.0.0/24        60.0.0.3        vlan60    2          110          2    
60.0.0.0/24        60.0.0.1        vlan60    2          0            0    
100.0.0.0/24       100.0.0.1       vlan100   3          0            0    
200.0.0.3      0/24       260.20.20.2       3           vlan60    Incoming2          interface :      vlan60
    Outgoing interfaces:      vlan100110          2 
  • Run run show pim mrib command rps and run show pim rps mapping commands to show information about the Multicast Routing Information Base (MRIB) that is used by PIMRPs and the group-to-RP mapping.
Code Block
admin@Xorplus# run show pim mribrps
DestPrefix        Group           NextHopRouter  RP              VifName Type       VifIndex  Pri   MetricPref  Holdtime   MetricTimeout 
----------------   -------------   -------   --------   ----------   ------
1225.10.10.1/32        1       12.12.12.1        2         loopback bootstrap 0         192   0           150        0    
2.2.2.2/32         20.0.0.2        vlan20    1          110          1     
3.3.3.3/32         60.0.0.3        vlan60    2          110          1    
20.0.0.0/24        20.0.0.1        vlan20    1          0            0    
30.0.0.0/24        60.0.0.3        vlan60    2          110          2    
60.0.0.0/24        60.0.0.1        vlan60    2          0            0    
100.0.0.0/24       100.0.0.1       vlan100   3          0            0    
200.0.0.0/24       60.0.0.3        vlan60    2          110          2 
  • Run run show pim rps and run show pim rps mapping commands to show information about the RPs and the group-to-RP mapping.
Code Block
admin@Xorplus# run show pim rps
Group           RP              Type      Pri   Holdtime   Timeout 
-------------   -------------   -------   ---   --------   ------- 
225.0.0.1       2.2.2.2         bootstrap 192   150        90      

admin@Xorplus# run show pim rps mapping
RP              Type    Pri  Holdtime Timeout ActiveGroups   GroupPrefix      
-------------   -------   ---   --------   -------   ------------   ---------------- 
2.2.2.2         bootstrap 192   150        136       1        225.0.0.0/8      
2.2.2.2         bootstrap 192   150        136       0        239.0.0.0/8
  • Run run show pim join command to show information about PIM multicast routing state.
Code Block
admin@Xorplus# run show pim join
Group           Source          RP              Flags
------------   -------------   -------------   -----
238.0.0.1       0.0.0.0         50.0.1.1        WC
    Upstream interface (RP):   vlan20
    Upstream MRIB next hop (RP): 20.0.1.2
    Upstream RPF'(*,G):        20.0.1.3
    Upstream state:            Joined
    Join timer:                18
    Local receiver include WC: vlan10
    Joins RP:                  None
    Joins WC:                  None
    Join state:                None
    Prune state:               None
    Prune pending state:       None
    I am assert winner state:  None
    I am assert loser state:   vlan20
    Assert winner WC:          None
    Assert lost WC:            None
    Assert tracking WC:        vlan10,vlan20
    Could assert WC:           vlan10
    I am DR:                   vlan10,register_vif
    Immediate olist RP:        None
    Immediate olist WC:        vlan10
    Inherited olist SG:        vlan10
    Inherited olist SG_RPT:    vlan10
    PIM include WC:            vlan10

SwitchB

Step1       Configure VLAN.

Code Block
admin@XorPlus# set vlans vlan-id 20 l3-interface vlan20
admin@XorPlus# set vlans vlan-id 30 l3-interface vlan30
admin@XorPlus# set interface gigabit-ethernet ge-1/1/49 family ethernet-switching native-vlan-id 20
admin@XorPlus# set interface gigabit-ethernet ge-1/1/50 family ethernet-switching native-vlan-id 30
admin@XorPlus# set l3-interface loopback lo address 2.2.2.2 prefix-length 32
admin@XorPlus# set l3-interface vlan-interface vlan20 address 20.0.0.2 prefix-length 24
admin@XorPlus# set l3-interface vlan-interface vlan30 address 30.0.0.2 prefix-length 24

Step2       Enable IP routing.

Code Block
admin@Xorplus# set ip routing enable true

Step3       Enable the VLAN interfaces as multicast interface.

Code Block
admin@XorPlus# set multicast-interface interface vlan20 vif vlan20 disable false
admin@XorPlus# set multicast-interface interface vlan30 vif vlan30 disable false

Step4       Enable PIM-SM on the L3 VLAN interfaces.

Code Block
admin@XorPlus# set protocols pimsm4 interface vlan20 vif vlan20 disable false
admin@XorPlus# set protocols pimsm4 interface vlan30 vif vlan30 disable false
admin@XorPlus# set protocols pimsm4 interface loopback vif loopback disable false

Step5       Configure OSPF routes to other switches.

Code Block
admin@XorPlus# set protocols ospf4 router-id 2.2.2.2
admin@XorPlus# set protocols ospf4 traceoptions flag all disable false
admin@XorPlus# set protocols ospf4 area 0.0.0.0 loopback address 2.2.2.2
admin@XorPlus# set protocols ospf4 area 0.0.0.0 interface vlan20 vif vlan20 address 20.0.090      

admin@Xorplus# run show pim rps mapping
RP              Type    Pri  Holdtime Timeout ActiveGroups   GroupPrefix      
-------------   -------   ---   --------   -------   ------------   ---------------- 
2.2.2.2         bootstrap 192   150        136       1        225.0.0.0/8      
2.2.2.2         bootstrap 192   150        136       0        239.0.0.0/8
  • Run run show pim join command to show information about PIM multicast routing state.
Code Block
admin@Xorplus# run show pim join
Group           Source          RP              Flags
------------   -------------   -------------   -----
238.0.0.1       0.0.0.0         50.0.1.1        WC
    Upstream interface (RP):   vlan20
    Upstream MRIB next hop (RP): 20.0.1.2
    Upstream RPF'(*,G):        20.0.1.3
    Upstream state:            Joined
    Join timer:                18
    Local receiver include WC: vlan10
    Joins RP:                  None
    Joins WC:                  None
    Join state:                None
    Prune state:               None
    Prune pending state:       None
    I am assert winner state:  None
    I am assert loser state:   vlan20
    Assert winner WC:          None
    Assert lost WC:            None
    Assert tracking WC:        vlan10,vlan20
    Could assert WC:           vlan10
    I am DR:                   vlan10,register_vif
    Immediate olist RP:        None
    Immediate olist WC:        vlan10
    Inherited olist SG:        vlan10
    Inherited olist SG_RPT:    vlan10
    PIM include WC:            vlan10


SwitchB

Step1       Configure VLAN.

Code Block
admin@XorPlus# set vlans vlan-id 20 l3-interface vlan20
admin@XorPlus# set vlans vlan-id 30 l3-interface vlan30
admin@XorPlus# set interface gigabit-ethernet ge-1/1/49 family ethernet-switching native-vlan-id 20
admin@XorPlus# set interface gigabit-ethernet ge-1/1/50 family ethernet-switching native-vlan-id 30
admin@XorPlus# set l3-interface loopback lo address 2.2.2.2 prefix-length 32
admin@XorPlus# set l3-interface vlan-interface vlan20 address 20.0.0.2 prefix-length 24
admin@XorPlus# set l3-interface vlan-interface vlan30 address 30.0.0.2 prefix-length 24

Step2       Enable IP routing.

Code Block
admin@Xorplus# set ip routing enable true

Step3       Enable PIM-SM on the L3 VLAN interfaces.

Code Block
admin@XorPlus# set protocols pim interface vlan20
admin@XorPlus# set protocols pim interface vlan30

Step4       Configure OSPF routes to other switches.

Code Block
admin@XorPlus# set protocols ospf4 router-id 2.2.2.2
admin@XorPlus# set protocols ospf4 area 0.0.0.0 interface vlan30 vif vlan30 address 30.0.0.2

Step6       Configure C-BSR on loopback interface for scope zone 224.0.0.0/4.

Code Block
traceoptions flag all disable false
admin@XorPlus# set protocols pimsm4ospf4 bootstrap cand-bsr scope-zone 224area 0.0.0.0/4 cand-bsr-by-vif-name loopback            loopback address 2.2.2.2
admin@XorPlus# set protocols pimsm4ospf4 bootstrap cand-rp group-prefix 225area 0.0.0.0/8 cand-rp-by-vif-name loopback interface vlan20 vif vlan20 address 20.0.0.2
admin@XorPlus# set protocols pimsm4ospf4 bootstrap cand-rp group-prefix 239area 0.0.0.0/8 cand-rp-by-vif-name loopback

...

 interface vlan30 vif vlan30 address 30.0.0.2

Step5      Commit the configuration.

Code Block
admin@Xorplus# commit

Step8      Step6      Verify the configuration.

...

Step2       Enable IP routing.

Code Block
admin@Xorplus# set ip routing enable true

Step3       Enable the VLAN interfaces as multicast interface.

Code Block
admin@XorPlus# set multicast-interface interface vlan30 vif vlan30 disable false
admin@XorPlus# set multicast-interface interface vlan60 vif vlan60 disable false
admin@XorPlus# set multicast-interface interface vlan200 vif vlan200 disable false

...

admin@Xorplus# set ip routing enable true

Step3       Enable PIM-SM on the L3 VLAN interfaces.

Code Block
admin@XorPlus# set protocols pimsm4pim interface vlan30 vif vlan30 disable
false
admin@XorPlus# set protocols pimsm4pim interface vlan60
vif vlan60 disable false
admin@XorPlus# set protocols pimsm4pim interface vlan200 vif vlan200 disable false
admin@XorPlus# set protocols pimsm4 interface loopback vif loopback disable false

...

Step4       Configure OSPF routes to other switches.

Code Block
admin@XorPlus# set protocols ospf4 router-id 3.3.3.3
admin@XorPlus# set protocols ospf4 traceoptions flag all disable false
admin@XorPlus# set protocols ospf4 area 0.0.0.0 loopback address 3.3.3.3
admin@XorPlus# set protocols ospf4 area 0.0.0.0 interface vlan20 vif vlan20 address 30.0.0.3
admin@XorPlus# set protocols ospf4 area 0.0.0.0 interface vlan60 vif vlan60 address 60.0.0.3
admin@XorPlus# set protocols ospf4 area 0.0.0.0 interface vlan100 vif vlan100 address 200.0.0.1

Step6      Step5      Commit the configuration.

Code Block
admin@Xorplus# commit

Step7  Step6     Verify the configuration.

...