...
Table of Contents |
---|
Networking Requirements
...
Code Block |
---|
admin@XorPlus# set vlans vlan-id 2 l3-interface vlan-2 admin@XorPlus# set vlans vlan-id 3 l3-interface vlan-3 admin@XorPlus# set interface gigabit-ethernet ge-1/1/1 family ethernet-switching native-vlan-id 2 admin@XorPlus# set interface gigabit-ethernet ge-1/1/2 family ethernet-switching native-vlan-id 3 admin@XorPlus# set vlanl3-interface interface vlan-2 vifinterface vlan-2 address 10.10.1.1 prefix-length 24 admin@XorPlus# set vlanl3-interface interface vlan-3 vifinterface vlan-3 address 10.10.3.1 prefix-length 24 |
...
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 vlan-2 vif vlan-2 disable false
admin@XorPlus# set multicast-interface interface vlan-3 vif vlan-3 disable false |
Step4 Enable IGMP on the L3 VLAN interfaces of the PIM router connected to the receiver.
Code Block |
---|
admin@XorPlus# set protocols igmp interface vlan-3 vif vlan-3 |
Step5 Step4 Enable PIM-SM on the L3 VLAN interfaces.
Code Block |
---|
admin@XorPlus# set protocols pimsm4pim interface vlan-2 vif vlan-2 disable false admin@XorPlus# set protocols pimsm4pim interface vlan-3 vif vlan-3 disable false admin@XorPlus# set protocols pimsm4 interface loopback vif loopback disable false |
...
Step5 Configure static routes to other switches.
Code Block |
---|
admin@XorPlus#set protocols static route 10.10.2.0/24 next-hop 10.10.1.2 admin@XorPlus#set protocols static route 10.10.4.0/24 next-hop 10.10.1.2 |
Step7 Step6 Commit the configurationconfigurations.
Code Block |
---|
admin@Xorplus# commit |
Step8 Step7 Verify the configuration.
...
Code Block |
---|
admin@XorPlus# set vlans vlan-id 2 l3-interface vlan-2 admin@XorPlus# set vlans vlan-id 3 l3-interface vlan-3 admin@XorPlus# set interface gigabit-ethernet ge-1/1/1 family ethernet-switching native-vlan-id 2 admin@XorPlus# set interface gigabit-ethernet ge-1/1/2 family ethernet-switching native-vlan-id 3 admin@XorPlus# set vlanl3-interface interface vlan-2 vifinterface vlan-2 address 10.10.1.2 prefix-length 24 admin@XorPlus# set vlanl3-interface interface vlan-3 vifinterface vlan-3 address 10.10.2.2 prefix-length 24 admin@XorPlus# set vlanl3-interface loopback lo address 7.6.5.3 prefix-length 32 |
...
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 vlan-2 vif vlan-2 disable false
admin@XorPlus# set multicast-interface interface vlan-3 vif vlan-3 disable false |
Step4 Enable PIM-SM on the L3 VLAN interfaces.
Code Block |
---|
admin@XorPlus# set protocols pimsm4pim interface vlan-2 vif vlan-2 disable false admin@XorPlus# set protocols pimsm4pim interface vlan-3 vif vlan-3 disable false admin@XorPlus# set protocols pimsm4 interface loopback vif loopback disable false |
Step5 Configure C-BSR and C-RP.
Code Block |
---|
admin@XorPlus# set protocols pimsm4 bootstrap cand-bsr scope-zone 224.0.0.0/4 cand-bsr-by-vif-name loopback
admin@XorPlus# set protocols pimsm4 bootstrap cand-rp group-prefix 238.0.0.0/8 cand-rp-by-vif-name loopback |
Step6 Configure static routes to other switches.
Code Block |
---|
admin@XorPlus# set protocols pimsm4 bootstrap cand-bsr scope-zone 224.0.0.0/4 cand-bsr-by-vif-name loopback
admin@XorPlus# set protocols pimsm4 bootstrap cand-rp group-prefix 238.0.0.0/8 cand-rp-by-vif-name loopback |
...
Step4 Commit the configuration.
Code Block |
---|
admin@Xorplus# commit |
Step8 Verify the configuration.
- Run run show pim bootstrap command to show information about PIM bootstrap routers.
Code Block |
---|
admin@XorPlus# run show pim bootstrap
Active zones:
BSR Pri LocalAddress Pri State Timeout SZTimeout
------------- ------- -------- ------- ------------ ----------------
10.10.2.2 1 10.10.2.2 1 Elected 19 -1
Expiring zones:
BSR Pri LocalAddress Pri State Timeout SZTimeout
------------- ------- -------- ------- ------------ ---------------- |
- Run run show pim rps command to show information about the RP.
Code Block |
---|
admin@XorPlus# run show pim rps
RP Type Pri Holdtime Timeout ActiveGroups GroupPrefix
------------- ------- -------- ------- ------------ ----------------
10.10.1.2 bootstrap 192 150 -1 0 238.0.0.0/8 |
Switch C
Step1 Configure VLAN.
Code Block |
---|
admin@XorPlus# set vlans vlan-id 2 l3-interface vlan-2 admin@XorPlus# set vlans vlan-id 3 l3-interface vlan-3 admin@XorPlus# set interface gigabit-ethernet ge-1/1/1 family ethernet-switching native-vlan-id 2 admin@XorPlus# set interface gigabit-ethernet ge-1/1/2 family ethernet-switching native-vlan-id 3 admin@XorPlus# set vlanl3-interface interface vlan-2 vifinterface vlan-2 address 10.10.2.1 prefix-length 24 admin@XorPlus# set vlanl3-interface interface vlan-3 vifinterface vlan-3 address 10.10.4.1 prefix-length 24 |
...
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 vlan-2 vif vlan-2 disable false
admin@XorPlus# set multicast-interface interface vlan-3 vif vlan-3 disable false |
Step4 Enable PIM-SM on the L3 VLAN interfaces.
Code Block |
---|
admin@XorPlus# set protocols pimsm4pim interface vlan-2 vif vlan-2 disable false admin@XorPlus# set protocols pimsm4pim interface vlan-3 vif vlan-3 disable false admin@XorPlus# set protocols pimsm4 interface loopback vif loopback disable false |
...
Step4 Configure static routes to other switches.
Code Block |
---|
admin@XorPlus#set protocols static route 10.10.1.0/24 next-hop 10.10.2.2 admin@XorPlus#set protocols static route 10.10.3.0/24 next-hop 10.10.2.2 |
Step6 Step5 Commit the configuration.
Code Block |
---|
admin@Xorplus# commit |
Step7 Step6 Verify the configuration.
...