...
Code Block |
---|
admin@Xorplus# set vlans vlan-id 2 l3-interface vlan2 admin@Xorplus# set vlanl3-interface vlan-interface interface vlan2 vif vlan2 address 10.10.60.10 prefix-length 24 admin@Xorplus# set interface gigabit-ethernet ge-1/1/2 family ethernet-switching native-vlan-id 2 admin@Xorplus# set interface gigabit-ethernet ge-1/1/2 family ethernet-switching port-mode trunk admin@Xorplus# set interface gigabit-ethernet ge-1/1/2 family ethernet-switching vlan members 3 admin@Xorplus# set vlans vlan-id 3 l3-interface vlan3 admin@Xorplus# set vlanl3-interface vlan-interface interface vlan3 vif vlan3 address 10.10.61.10 prefix-length 24 admin@Xorplus# set interface gigabit-ethernet ge-1/1/3 family ethernet-switching native-vlan-id 3 admin@Xorplus# set interface gigabit-ethernet ge-1/1/3 family ethernet-switching port-mode trunk admin@Xorplus# set interface gigabit-ethernet ge-1/1/3 family ethernet-switching vlan members 2 |
...
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 vlan2 vif vlan2
admin@Xorplus# set multicast-interface interface vlan3 vif vlan3 |
...
Enable IGMP on the L3 VLAN interfaces.
Code Block |
---|
admin@Xorplus# set protocols igmp interface vlan2 vif vlan2 disable false admin@Xorplus# set protocols igmp interface vlan3 vif vlan3 disable false |
...
Step4 Enable PIM on the L3 VLAN interfaces and assign the group ID.
Code Block |
---|
admin@Xorplus# set protocols pimsm4pim interface vlan2 vif vlan2 admin@Xorplus# set protocols pimsm4pim interface vlan3 vif vlan3 admin@Xorplus# set protocols pimsm4pim static-rps rp 10.10.60.10 group-prefix 226.0.0.0/8 admin@Xorplus# setadmin@Xorplus# set protocols pimsm4pim static-rps rp 10.10.61.10 group-prefix 226.0.0.0/8 |
Step6 Step5 Configure the log level.
Code Block |
---|
admin@Xorplus# set protocols pimsm4pim traceoptions flag all disable false traceoption trace admin@Xorplus# set protocols igmp traceoptionstraceoption flag all disable false trace admin@Xorplus# set system log-level trace |
Step6 Commit the configurations.
Code Block |
---|
admin@Xorplus# commit |
Verify the Configuration
• Run the run show igmp interface command to check the IGMP interface configuration.
...
Code Block |
---|
admin@Xorplus# run show pim interface Interface State Mode V PIMstate Priority DRaddr Neighbors ---------- -------- ------ - -------- -------- --------------- --------- vlan2 UP Sparse 2 DR 1 10.10.60.10 0 vlan3 UP Sparse 2 DR 1 10.10.61.10 0 |
• • Run the run show multicast interface command to check the multicast interface configuration.
Code Block |
---|
admin@XorPlus# run show multicast interface
Interface State Vif/PifIndex Addr Flags
--------- ------- ------ ---------- --------
vlan2 UP 1/16 10.10.60.10 MULTICAST BROADCAST KERN_UP
vlan3 UP 2/17 10.10.61.10 MULTICAST BROADCAST KERN_UP |
• Run the run showvlan-l3-interface brief command to check the VLAN interface configuration.
Code Block |
---|
admin@XorPlus# run show vlanl3-interface brief Interface Vlan ID Status Addr --------- ------- ------ ------------------ loopback 4095 UP fe80::4a6e:73ff:102:49a/64 vlan2 2 UP 10.10.60.10/24 fe80::4a6e:73ff:202:49a/64 vlan3 3 UP 10.10.61.10/24 fe80::4a6e:73ff:302:49a/64 |
...
Code Block |
---|
admin@XorPlus# run show igmp groupgroups Interface Group Source LastReported Timeout V State ------------ --------------- --------------- ------------ ------- - ------- vlan2 224.0.0.2 0.0.0.0 10.10.60.10 167 2 Exclude vlan2 224.0.0.13 0.0.0.0 10.10.60.10 167 2 Exclude vlan2 224.0.0.22 0.0.0.0 10.10.60.10 165 2 Exclude vlan2 226.94.1.1 0.0.0.0 10.10.60.11 258 2 Exclude vlan3 224.0.0.2 0.0.0.0 10.10.61.10 166 2 Exclude vlan3 224.0.0.13 0.0.0.0 10.10.61.10 162 2 Exclude vlan3 224.0.0.22 0.0.0.0 10.10.61.10 162 2 Exclude admin@XorPlus# run show igmp groupgroups Interface Group Source LastReported Timeout V State ------------ --------------- --------------- ------------ ------- - ------- vlan2 224.0.0.2 0.0.0.0 10.10.60.10 152 2 Exclude vlan2 224.0.0.13 0.0.0.0 10.10.60.10 152 2 Exclude vlan2 224.0.0.22 0.0.0.0 10.10.60.10 150 2 Exclude vlan3 224.0.0.2 0.0.0.0 10.10.61.10 151 2 Exclude vlan3 224.0.0.13 0.0.0.0 10.10.61.10 147 2 Exclude vlan3 224.0.0.22 0.0.0.0 10.10.61.10 147 2 Exclude vlan3 226.94.1.1 0.0.0.0 10.10.61.11 251 2 Exclude |
...