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.

...

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 mfcjoin command to show information about PIM multicast forwarding entriesrouting state.
Code Block
admin@Xorplus# commit admin@Xorplus# run show pim mfcjoin
Group           Source   Source          RP                    RP          Flags
-------------   -------------   -------------   ----- 
225238.0.0.1       2000.0.0.2      0         250.20.21.2       1        WC
    IncomingUpstream interface (RP):        vlan20
    Upstream OutgoingMRIB interfaces:     next vlan100
225hop (RP): 20.0.0.1       2001.2
    Upstream RPF'(*,G):        20.0.0.3       2.2.2.2       1.3
    Upstream state:            Joined
    IncomingJoin interface :      vlan60
    Outgoing interfaces:      vlan100
  • Run run show pim mrib command to show information about the Multicast Routing Information Base (MRIB) that is used by PIM.
Code Block
admin@Xorplus# run show pim mrib
DestPrefix         NextHopRouter   VifName   VifIndex   MetricPref   Metric
----------------   -------------   -------   --------   ----------   ------
1.1.1.1/32         1.1.1.1         loopback  0          0            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 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 ospf router-id 2.2.2.2
admin@XorPlus# set protocols ospf traceoptions packet all detail
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 vlan30 area 0.0.0.0

Step5      Commit the configuration.

Code Block
admin@Xorplus# commit

Step6      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  2.2.2.2    0       
vlan20       UP         Sparse   2   DR         1  20.0.0.2   1       
vlan30       UP         Sparse   2   NotDR      1  30.0.0.3   1 
  • 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.1        2   Sparse 105        84    
vlan30       1          30.0.0.3        2   Sparse 105        81 


SwitchC

Step1       Configure VLAN.

Code Block
admin@XorPlus# set vlans vlan-id 30 l3-interface vlan30
admin@XorPlus# set vlans vlan-id 60 l3-interface vlan60
admin@XorPlus# set vlans vlan-id 200 l3-interface vlan200
admin@XorPlus# set interface gigabit-ethernet ge-1/1/3 family ethernet-switching native-vlan-id 200
admin@XorPlus# set interface gigabit-ethernet ge-1/1/25 family ethernet-switching native-vlan-id 2030
admin@XorPlus# set interface gigabit-ethernet ge-1/1/5026 family ethernet-switching native-vlan-id 3060
admin@XorPlus# set l3-interface loopback lo address 23.23.23.23 prefix-length 32
admin@XorPlus# set l3-interface vlan-interface vlan20vlan30 address 2030.0.0.23 prefix-length 24
admin@XorPlus# set l3-interface vlan-interface vlan30vlan60 address 3060.0.0.23 prefix-length 24

...


admin@XorPlus# set l3-interface vlan-interface vlan200 address 200.0.0.1 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 vlan30
admin@XorPlus# set protocols pim interface vlan20vlan60
admin@XorPlus# set protocols pim interface vlan30vlan200

Step4       Configure OSPF routes to other switches.

Code Block
admin@XorPlus# set protocols ospf4ospf router-id 23.23.23.23
admin@XorPlus# set protocols ospf4ospf traceoptionstraceoption flagpacket all disable falsedetail
admin@XorPlus# set protocols ospf4ospf areainterface lo area 0.0.0.0 loopback address 2.2.2.2
admin@XorPlus# set protocols ospf4 area 0.0.0.0 ospf interface vlan20 vif vlan20 address 20area 0.0.0.20
admin@XorPlus# set protocols ospf4ospf interface vlan60 area 0.0.0.0
admin@XorPlus# interfaceset protocols vlan30ospf vifinterface vlan30vlan100 addressarea 300.0.0.20

Step5      Commit the configuration.

Code Block
admin@Xorplus# commit

Step6      Step6     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# admin@Xorplus# run show pim interface
InterfaceInterface       State   State   Mode   Mode     V   PIMstate PIMstate   Priority DRaddr DRaddr    Neighbors
----------   --------   ------   -   --------   --------   ---------------   ---------
loopback    vlan30       UP        UP    Sparse   2   DR         1     230.20.20.2   3          0       1       
vlan20      vlan60       UP    UP        Sparse  Sparse   2   DR         1     2060.0.0.2  3          1       
vlan30      vlan200      UP        UP    Sparse   2   NotDR     DR         1     30200.0.0.3  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   Mode   Holdtime   Timeout
----------   ---------- -------------   -   ----   --------   -------
vlan20      vlan30       1          2030.0.0.1       2        2   Sparse 105        84    87    
vlan30      vlan60       1          3060.0.0.3       1        2   Sparse 105        81 93
  • Run run show pim mfcjoin command to show information about PIM multicast forwarding entriesrouting state.
Code Block
admin@Xorplus# run show pim mfcjoin
Group           Source          RP              RP            Flags
-------------   -------------   ------------- 
225   -----
238.0.0.1       200.0.0.2       2.2.2.2        
    Incoming interface :      vlan30
    Outgoing interfaces:      vlan20
225.0.0.1       200.0.0.3       2.2.2.2       
    Incoming interface :      register_vif
Outgoing interfaces:      None
  • Run run show pim mrib command to show information about the Multicast Routing Information Base (MRIB) that is used by PIM.
Code Block
admin@Xorplus# run show pim mrib
DestPrefix         NextHopRouter   VifName   VifIndex   MetricPref   Metric
----------------   -------------   -------   --------   ----------   ------
1.1.1.1/32         20.0.0.1        vlan20    1          110          1    
2.2.2.2/32         2.2.2.2         loopback  0          0            0    
3.3.3.3/32         30.0.0.3        vlan30    2          110          1    
20.0.0.0/24        20.0.0.2        vlan20    1          0            0    
30.0.0.0/24        30.0.0.2        vlan30    2          0            0    
60.0.0.0/24        20.0.0.1        vlan20    1          110          2    
100.0.0.0/24       20.0.0.1        vlan20    1          110          2    
150.0.0.0/24       20.0.0.3        vlan20    1          1            1    
200.0.0.0/24       30.0.0.3        vlan30    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        91
    

admin@Xorplus# run show pim rps mapping
RP         Type      Pri   Holdtime  Timeout  ActiveGroups  GroupPrefix      
------------   -------   ---   --------   -------   ------------   ---------------- 
2.2.2.2         bootstrap 192   150        145       1         225.0.0.0/8      
2.2.2.2         bootstrap 192   150        145       0         239.0.0.0/8

SwitchC

Step1       Configure VLAN.

Code Block
admin@XorPlus# set vlans vlan-id 30 l3-interface vlan30
admin@XorPlus# set vlans vlan-id 60 l3-interface vlan60
admin@XorPlus# set vlans vlan-id 200 l3-interface vlan200
admin@XorPlus# set interface gigabit-ethernet ge-1/1/3 family ethernet-switching native-vlan-id 200
admin@XorPlus# set interface gigabit-ethernet ge-1/1/25 family ethernet-switching native-vlan-id 30
admin@XorPlus# set interface gigabit-ethernet ge-1/1/26 family ethernet-switching native-vlan-id 60
admin@XorPlus# set l3-interface loopback lo address 3.3.3.3 prefix-length 32
admin@XorPlus# set l3-interface vlan-interface vlan30 address 30.0.0.3 prefix-length 24
admin@XorPlus# set l3-interface vlan-interface vlan60 address 60.0.0.3 prefix-length 24
admin@XorPlus# set l3-interface vlan-interface vlan200 address 200.0.0.1 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 vlan30
admin@XorPlus# set protocols pim interface vlan60
admin@XorPlus# set protocols pim interface vlan200

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

Step5      Commit the configuration.

Code Block
admin@Xorplus# commit

Step6     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
----------   --------   ------   -   --------   --------   ---------------   ---------
vlan30       UP    Sparse   2   DR         1     30.0.0.3          1       
vlan60       UP    Sparse   2   DR         1     60.0.0.3          1       
vlan200      UP    Sparse   2   DR         1     200.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
----------   ---------- -------------   -   ----   --------   -------
vlan30       1          30.0.0.2        2   Sparse 105        87    
vlan60       1          60.0.0.1        2   Sparse 105        93
  • Run run show pim mfc command to show information about PIM multicast forwarding entries.      
Code Block
admin@Xorplus# run show pim mfc
Group           Source          RP            
-------------   -------------   ------------- 
225.0.0.1       200.0.0.2       2.2.2.2       
    Incoming interface :      vlan200
    Outgoing interfaces:      vlan30
225.0.0.1       200.0.0.3       2.2.2.2       
    Incoming interface :      vlan200
Outgoing interfaces:      vlan60
  • Run run show pim mrib command to show information about the Multicast Routing Information Base (MRIB) that is used by PIM.
Code Block
admin@Xorplus#  run show pim mrib
DestPrefix         NextHopRouter   VifName   VifIndex   MetricPref   Metric
----------------   -------------   -------   --------   ----------   ------
1.1.1.1/32         60.0.0.1        vlan60    2          110          1    
2.2.2.2/32         30.0.0.2        vlan30    1          110          1    
3.3.3.3/32         3.3.3.3         loopback  0          0            0    
20.0.0.0/24        60.0.0.1        vlan60    2          110          2    
30.0.0.0/24        30.0.0.3        vlan30    1          0            0    
60.0.0.0/24        60.0.0.3        vlan60    2          0            0    
100.0.0.0/24       60.0.0.1        vlan60    2          110          2    
150.0.0.0/24       0.0.0.0         vlan200   3          1            1    
200.0.0.0/24       200.0.0.1       vlan200   3          0            0 
  • 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        102      
225.0.0.1       2.2.2.2         bootstrap 192   150        102 
 

admin@Xorplus# run show pim rps mapping
RP         Type    Pri   Holdtime   Timeout   ActiveGroups   GroupPrefix      
-------------   -------   ---   --------   -------   ------------   ---------------- 
2.2.2.2      bootstrap 192   150        98        0              225.0.0.0/8      
2.2.2.2      bootstrap 192   150        98        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):   vlan40
    Upstream MRIB next hop (RP): 40.0.1.2
    Upstream RPF'(*,G):        40.0.1.2
    Upstream state:            Joined
    Join timer:                16
    Local receiver include WC: vlan20
    Joins RP:                  None
    Joins WC:                  vlan20
    Join state:                vlan20
    Prune state:               None
    Prune pending state:       None
    I am assert winner state:  vlan20
    I am assert loser state:   None
    Assert winner WC:          vlan20
    Assert lost WC:            None
    Assert tracking WC:        vlan20,vlan40
    Could assert WC:           vlan20
    I am DR:                   vlan20,register_vif
    Immediate olist RP:        None
    Immediate olist WC:        vlan20
    Inherited olist SG:        vlan20
    Inherited olist SG_RPT:    vlan20
PIM include WC:            vlan20
  • Run run show pim traffic command to show the traffic statistic information about the multicast group.
Code Block
admin@Xorplus# run show pim traffic
PIM Traffic Counters
                          Received                Sent
Hello                          172                 118
Join-Prune                      27                  30
Graft                            0                   0
Graft Ack.                       0                   0
Data Register                    0                   0
Register Stop                    0                   0
Assert                           2                  10
BSR Message                      0                   0
Candidate-RP Adv.                0                   0
 

Errors:
Malformed Packets                                    0
Bad Checksums                                        0
Packets received on PIM-disabled Interface           0
Packets received with Unknown PIM Version            0
Packets received with Unknown PIM Type               0
Packets received from Unknown PIM Neighbor           1.0.0         50.0.1.1        WC
    Upstream interface (RP):   vlan40
    Upstream MRIB next hop (RP): 40.0.1.2
    Upstream RPF'(*,G):        40.0.1.2
    Upstream state:            Joined
    Join timer:                16
    Local receiver include WC: vlan20
    Joins RP:                  None
    Joins WC:                  vlan20
    Join state:                vlan20
    Prune state:               None
    Prune pending state:       None
    I am assert winner state:  vlan20
    I am assert loser state:   None
    Assert winner WC:          vlan20
    Assert lost WC:            None
    Assert tracking WC:        vlan20,vlan40
    Could assert WC:           vlan20
    I am DR:                   vlan20,register_vif
    Immediate olist RP:        None
    Immediate olist WC:        vlan20
    Inherited olist SG:        vlan20
    Inherited olist SG_RPT:    vlan20
PIM include WC:            vlan20