AOS-CX Simulator Lab - Multicast PIM Dense Mode Lab Guide
AOS-CX Simulator Lab - Multicast PIM Dense Mode Lab Guide
Multicast PIM
Dense Mode
IMPORTANT! THIS GUIDE ASSUMES THAT THE AOS-CX OVA HAS BEEN INSTALLED AND WORKS IN GNS3 OR EVE-NG. PLEASE
REFER TO GNS3/EVE-NG INITIAL SETUP LABS IF REQUIRED.
https://www.eve-ng.net/index.php/documentation/howtos/howto-add-aruba-cx-switch/
TABLE OF CONTENTS
Lab Objective .............................................................................................................................................. 1
Lab Overview .............................................................................................................................................. 1
Lab Network Layout .................................................................................................................................... 2
Lab Tasks ................................................................................................................................................... 2
Task 1 – Lab setup ..................................................................................................................................... 2
Task 2 – Configure FHR, SW1, SW2, LHR Interfaces................................................................................. 3
Task 3 – Configure FHR, SW1, SW2, LHR with Unicast Routing ................................................................ 4
Task 4 – Configure FHR, SW1, SW2, LHR with PIM Dense Mode.............................................................. 6
Task 5 – Configure Multicast Source .......................................................................................................... 7
Task 6 – Final Validation ............................................................................................................................. 7
Appendix – Complete Configurations ........................................................................................................ 10
Lab Objective
This guide will enable the reader to gain hands on experience with multicast Protocol Independent Multicast (PIM) dense mode
(DM). It implicitly builds shortest-path trees by flooding multicast traffic domain wide, and then pruning back branches of the tree
where no receivers are present.
Lab Overview
This lab as shown in Figure 1 will allow you to generate multicast traffic from a multicast source over a L3 routed PIM DM
multicast network. FHR refers to First Hop Router and LHR refers to Last Hop Router.
Simulating a multicast source on a AOS-CX VM doesn’t work at this time, that’s why a source VPCS (Virtual PC Simulator) is
used.
In addition, no configuration is required on the receiver VPCS, you just need to power it up to simulate a receiver on LHR.
1
Lab Guide
Multicast PIM Dense Mode
Lab Tasks
Task 1 – Lab setup
For this lab refer to Figure 1 for topology and IP address details.
2
Lab Guide
Multicast PIM Dense Mode
FHR
FHR(config)# show lldp neighbor-info
FHR
FHR(config)# int 1/1/2
FHR(config-if)# ip add 192.168.4.0/31
FHR(config-if)# int 1/1/3
FHR(config-if)# ip add 192.168.4.2/31
FHR(config-if)# int lo 0
FHR(config-loopback-if)# ip add 192.168.2.1/32
FHR(config-loopback-if)# vlan 110
FHR(config-vlan-110)# int vlan 110
FHR(config-if-vlan)# ip add 10.0.110.254/24
FHR(config-if-vlan)# int 1/1/1
FHR(config-if)# no routing
FHR(config-if)# vlan access 110
SW1
SW1(config)# int 1/1/1
SW1(config-if)# ip add 192.168.4.1/31
SW1(config-if)# int 1/1/2
SW1(config-if)# ip add 192.168.4.4/31
SW1(config-if)# int lo 0
SW1(config-loopback-if)# ip add 192.168.2.2/32
SW2
SW2(config)# int 1/1/1
SW2(config-if)# ip add 192.168.4.3/31
SW2(config-if)# int 1/1/2
SW2(config-if)# ip add 192.168.4.6/31
SW2(config-if)# int lo 0
SW2(config-loopback-if)# ip add 192.168.2.3/32
3
Lab Guide
Multicast PIM Dense Mode
LHR
LHR(config)# int 1/1/2
LHR(config-if)# ip add 192.168.4.5/31
LHR(config-if)# int 1/1/3
LHR(config-if)# ip add 192.168.4.7/31
LHR(config-if)# int lo 0
LHR(config-loopback-if)# ip add 192.168.2.4/32
LHR(config-loopback-if)# vlan 111
LHR(config-vlan-111)# int vlan 111
LHR(config-if-vlan)# ip add 10.0.111.254/24
LHR(config-loopback-if)# int 1/1/1
LHR(config-if)# no routing
LHR(config-if)# vlan access 111
SW1
SW1(config-loopback-if)# int lo 0
SW1(config-loopback-if)# ip ospf 1 area 0
OSPF process does not exist.
Do you want to create (y/n)? y
OSPF Area is not configured.
Do you want to create (y/n)? y
4
Lab Guide
Multicast PIM Dense Mode
SW2
SW2(config-loopback-if)# int lo 0
SW2(config-loopback-if)# ip ospf 1 area 0
OSPF process does not exist.
Do you want to create (y/n)? y
OSPF Area is not configured.
Do you want to create (y/n)? y
LHR
LHR(config-if)# int lo 0
LHR(config-loopback-if)# ip ospf 1 area 0
OSPF process does not exist.
Do you want to create (y/n)? y
OSPF Area is not configured.
Do you want to create (y/n)? y
• Verify OSPF neighbors appear as expected between the switches, check all switches
FHR# sh ip ospf nei
OSPF Process ID 1 VRF default
==============================
• Verify OSPF routes are learnt as expected on LHR/FHR, you should see routes for C-RP/BSR Lo0/Lo1, and source/receiver
subnets, check your configs if routes are missing
• Equal Cost Multi Pathing (ECMP) does not currently work in AOS-CX VMs, it may show up in the routing table but does not
forward across equal paths
5
Lab Guide
Multicast PIM Dense Mode
FHR# sh ip ro ospf
Task 4 – Configure FHR, SW1, SW2, LHR with PIM Dense Mode
• Configure PIM-DM and IGMP on the SVIs (VLAN 110 exists on FHR, VLAN 111 exists on LHR).
FHR
FHR(config)# router pim
FHR(config-pim)# enable
FHR(config-pim)# int 1/1/2
FHR(config-if)# ip pim-dense enable
FHR(config-if)# int 1/1/3
FHR(config-if)# ip pim-dense enable
FHR(config-if)# int vlan 110
FHR(config-if-vlan)# ip pim-dense enable
FHR(config-if-vlan)# ip igmp enable
SW1
SW1(config-loopback-if)# int 1/1/1
SW1(config-if)# ip pim-dense enable
SW1(config-if)# int 1/1/2
SW1(config-if)# ip pim-dense enable
SW1(config-if)# router pim
SW1(config-pim)# enable
SW2
SW2(config-loopback-if)# int 1/1/1
SW2(config-if)# ip pim-dense enable
SW2(config-if)# int 1/1/2
SW2(config-if)# ip pim-dense enable
SW2(config-if)# router pim
SW2(config-pim)# enable
6
Lab Guide
Multicast PIM Dense Mode
LHR
LHR(config)# router pim
LHR(config-pim)# enable
LHR(config-pim)# int 1/1/2
LHR(config-if)# ip pim-dense enable
LHR(config-if)# int 1/1/3
LHR(config-if)# ip pim-dense enable
LHR(config-if)# int vlan 111
LHR(config-if-vlan)# ip pim-dense enable
LHR(config-if-vlan)# ip igmp enable
7
Lab Guide
Multicast PIM Dense Mode
• Take note, the receiver VPCS is not actually receiving multicast traffic, but you will be able to view the incoming interface
and outgoing interface list of the multicast tree on the AOS-CX switches
• Since the receiver is not able to send a multicast join, you will need to force a static IGMP join from the LHR SVI
LHR(config)#interface vlan111
LHR(config-if-vlan)# ip igmp static-group 239.10.10.10
VRF : default
Total number of entries : 1
VRF : default
Total number of entries : 1
• Validate mroute on SW2, this is expected as multicast traffic is flooded from FHR 1/1/2 towards SW1 1/1/1
SW2# sh ip mroute
SW2#
VRF : default
Total number of entries : 1
8
Lab Guide
Multicast PIM Dense Mode
Neighbor : 192.168.4.4
Incoming interface : 1/1/2
Outgoing Interface List :
Interface State
----------- ----------
vlan111 forwarding
• If you shut the uplink on SW1, you will notice that multicast traffic now fails over to the redundant RP-BSR.
SW1(config)# int 1/1/1
SW1(config-if)# shut
SW2# sh ip mroute
IP Multicast Route Entries
VRF : default
Total number of entries : 1
VRF : default
Total number of entries : 1
9
Lab Guide
Multicast PIM Dense Mode
• If configs are the same, try powering off/powering on the switches to reboot them
Source
VPCS> show ip
NAME : VPCS[1]
IP/MASK : 10.0.110.1/24
GATEWAY : 10.0.110.254
DNS :
MAC : 00:50:79:66:68:07
LPORT : 20000
RHOST:PORT : 127.0.0.1:30000
MTU : 1500
FHR
FHR# sh run
Current configuration:
!
!Version ArubaOS-CX Virtual.10.05.0001
!export-password: default
hostname FHR
user admin group administrators password ciphertext
AQBapQCihf6iT4vThV+NzijflZt54Sz+q6RXr9YVfsEwiTWaYgAAAJsRozmZt1w1gK3xVOeEzcyzUS6Oj3QltiMKU+6Yj+V
C7oaU4v
jbd33BwEP5jNvtQbrWaB/UCSqPcet0SXWVkze8emagoz9b5OeVylFVWHVvQCHlCKuktnRn/HVR64ZO6OkT
led locator on
!
!
!
!
ssh server vrf mgmt
vlan 1,110
interface mgmt
no shutdown
ip dhcp
interface 1/1/1
no shutdown
no routing
vlan access 110
interface 1/1/2
no shutdown
ip address 192.168.4.0/31
ip ospf 1 area 0.0.0.0
ip ospf network point-to-point
ip pim-dense enable
interface 1/1/3
no shutdown
ip address 192.168.4.2/31
ip ospf 1 area 0.0.0.0
ip ospf network point-to-point
ip pim-dense enable
interface 1/1/4
no shutdown
interface 1/1/5
no shutdown
interface 1/1/6
no shutdown
10
Lab Guide
Multicast PIM Dense Mode
interface loopback 0
ip address 192.168.2.1/32
ip ospf 1 area 0.0.0.0
interface vlan 110
ip address 10.0.110.254/24
ip ospf 1 area 0.0.0.0
ip igmp enable
ip pim-dense enable
!
!
!
!
!
router ospf 1
router-id 192.168.2.1
area 0.0.0.0
router pim
enable
https-server vrf mgmt
SW1
SW1# sh run
Current configuration:
!
!Version ArubaOS-CX Virtual.10.05.0001
!export-password: default
hostname SW1
user admin group administrators password ciphertext
AQBapav/XJ3HbHUCxaIIpFcvAPN6c/hgdm3/jcYPsN5/rgzdYgAAAJk+6KaHENcQgPnjxq+ZDokxMFeacYh3+rrpcktMKnJ
JM84WCe
cmgASpYGSkWzJaR2/uDjLvn4t44QXN0dhO/jAVPXakvQekaXFll7pwpghCXNG3kQFfXkLdITG30GESr4un
led locator on
!
!
!
!
ssh server vrf mgmt
vlan 1
interface mgmt
no shutdown
ip dhcp
interface 1/1/1
ip address 192.168.4.1/31
ip ospf 1 area 0.0.0.0
ip ospf network point-to-point
ip pim-dense enable
interface 1/1/2
no shutdown
ip address 192.168.4.4/31
ip ospf 1 area 0.0.0.0
ip ospf network point-to-point
ip pim-dense enable
interface 1/1/3
no shutdown
interface 1/1/4
no shutdown
interface 1/1/5
no shutdown
interface 1/1/6
no shutdown
interface loopback 0
ip address 192.168.2.2/32
ip ospf 1 area 0.0.0.0
!
11
Lab Guide
Multicast PIM Dense Mode
!
!
!
!
router ospf 1
router-id 192.168.2.2
area 0.0.0.0
router pim
enable
https-server vrf mgmt
SW2
SW2# sh run
Current configuration:
!
!Version ArubaOS-CX Virtual.10.05.0001
!export-password: default
hostname SW2
user admin group administrators password ciphertext
AQBapS7Fd3NQkQjPvMqPKrX6D9uA8n2sWl0ChTu4m3qMjjyxYgAAAIbgl524OJ0fCqIodMxCrHrq8uGWxePbE+Z+OV70e2w
lhMzdVC
GMrrP4rCSI84x+vRKSe3+FkUOkEektSu01Z9NVLF484xz083An/dcTOK0SXbw6daELPJWtMLrkhlBm6WC1
led locator on
!
!
!
!
ssh server vrf mgmt
vlan 1
interface mgmt
no shutdown
ip dhcp
interface 1/1/1
no shutdown
ip address 192.168.4.3/31
ip ospf 1 area 0.0.0.0
ip ospf network point-to-point
ip pim-dense enable
interface 1/1/2
no shutdown
ip address 192.168.4.6/31
ip ospf 1 area 0.0.0.0
ip ospf network point-to-point
ip pim-dense enable
interface 1/1/3
no shutdown
interface 1/1/4
no shutdown
interface 1/1/5
no shutdown
interface 1/1/6
no shutdown
interface loopback 0
ip address 192.168.2.3/32
ip ospf 1 area 0.0.0.0
!
!
!
!
!
router ospf 1
router-id 192.168.2.3
area 0.0.0.0
router pim
12
Lab Guide
Multicast PIM Dense Mode
enable
https-server vrf mgmt
SW2#
LHR
LHR# sh run
Current configuration:
!
!Version ArubaOS-CX Virtual.10.05.0001
!export-password: default
hostname LHR
led locator on
!
!
!
!
ssh server vrf mgmt
vlan 1,111
interface mgmt
no shutdown
ip dhcp
interface 1/1/1
no shutdown
no routing
vlan access 111
interface 1/1/2
no shutdown
ip address 192.168.4.5/31
ip ospf 1 area 0.0.0.0
ip ospf network point-to-point
ip pim-dense enable
interface 1/1/3
no shutdown
ip address 192.168.4.7/31
ip ospf 1 area 0.0.0.0
ip ospf network point-to-point
ip pim-dense enable
interface 1/1/4
no shutdown
interface 1/1/5
no shutdown
interface 1/1/6
no shutdown
interface loopback 0
ip address 192.168.2.4/32
ip ospf 1 area 0.0.0.0
interface vlan 111
ip address 10.0.111.254/24
ip ospf 1 area 0.0.0.0
ip igmp enable
ip igmp static-group 239.10.10.10
ip pim-dense enable
!
!
!
!
!
router ospf 1
router-id 192.168.2.4
area 0.0.0.0
router pim
enable
13
Lab Guide
Multicast PIM Dense Mode
14
www.arubanetworks.com
3333 Scott Blvd. Santa Clara, CA 95054
1.844.472.2782 | T: 1.408.227.4500 | FAX: 1.408.227.4550 | info@arubanetworks.com
15