In this lab, I use Juniper M7i Router(JUNOS 12.3R6.6) to finish this Multicast protocols lab (Auto-RP).
Before we start lab, we need to load pre-configuration for this Lab.
Note: Olive do not support Multicast now.
1. Before we start lab, we need to load pre-configuration for this Lab.
Note: Runing OSPF area 0 in all R1 - R5 routers. Other Routers are runing default route.
JNCIE@M7i# show | display set
set version 12.3R6.6
set system host-name M7i
set system time-zone Asia/Taipei
set system root-authentication encrypted-password "$1$xHrLYWb1$t7zaprV7gI28TCVhVXknd0"
set system name-server 168.95.1.1
set system name-server 8.8.8.8
set system login user JNCIE uid 2001
set system login user JNCIE class super-user
set system login user JNCIE authentication encrypted-password "$1$CFRZNtzp$xpn4xLgXQrBom0tstx93H/"
set system services telnet
set system ntp boot-server 211.22.103.158
set system ntp server 211.22.103.158 prefer
set system ntp server 140.112.2.189
#
set logical-systems R1 interfaces fe-0/0/0 unit 12 description To_R2-Fe-0/0/1.12
set logical-systems R1 interfaces fe-0/0/0 unit 12 vlan-id 12
set logical-systems R1 interfaces fe-0/0/0 unit 12 family inet address 172.27.0.1/30
set logical-systems R1 interfaces fe-0/0/0 unit 13 description To_R3-Fe-0/0/1.13
set logical-systems R1 interfaces fe-0/0/0 unit 13 vlan-id 13
set logical-systems R1 interfaces fe-0/0/0 unit 13 family inet address 172.27.0.14/30
set logical-systems R1 interfaces fe-0/0/0 unit 14 description To_R4-Fe-0/0/1.14
set logical-systems R1 interfaces fe-0/0/0 unit 14 vlan-id 14
set logical-systems R1 interfaces fe-0/0/0 unit 14 family inet address 172.27.0.10/30
set logical-systems R1 interfaces fe-0/0/0 unit 30 description To_S1-Fe-0/0/1.30
set logical-systems R1 interfaces fe-0/0/0 unit 30 vlan-id 30
set logical-systems R1 interfaces fe-0/0/0 unit 30 family inet address 172.27.0.29/30
set logical-systems R1 interfaces lo0 unit 1 family inet address 172.27.255.1/32
set logical-systems R1 protocols ospf area 0.0.0.0 interface all
#
set logical-systems R2 interfaces fe-0/0/0 unit 24 description To_R4-Fe-0/0/1.24
set logical-systems R2 interfaces fe-0/0/0 unit 24 vlan-id 24
set logical-systems R2 interfaces fe-0/0/0 unit 24 family inet address 172.27.0.5/30
set logical-systems R2 interfaces fe-0/0/1 unit 12 description To_R1-Fe-0/0/0.12
set logical-systems R2 interfaces fe-0/0/1 unit 12 vlan-id 12
set logical-systems R2 interfaces fe-0/0/1 unit 12 family inet address 172.27.0.2/30
set logical-systems R2 interfaces lo0 unit 2 family inet address 172.27.255.2/32
set logical-systems R2 protocols ospf area 0.0.0.0 interface all
#
set logical-systems R3 interfaces fe-0/0/0 unit 34 description To_R4-Fe-0/0/1.34
set logical-systems R3 interfaces fe-0/0/0 unit 34 vlan-id 34
set logical-systems R3 interfaces fe-0/0/0 unit 34 family inet address 172.27.0.17/30
set logical-systems R3 interfaces fe-0/0/0 unit 35 description To_R5-Fe-0/0/1.35
set logical-systems R3 interfaces fe-0/0/0 unit 35 vlan-id 35
set logical-systems R3 interfaces fe-0/0/0 unit 35 family inet address 172.27.0.26/30
set logical-systems R3 interfaces fe-0/0/0 unit 40 description To_Rec1-Fe-0/0/1.40
set logical-systems R3 interfaces fe-0/0/0 unit 40 vlan-id 40
set logical-systems R3 interfaces fe-0/0/0 unit 40 family inet address 172.27.0.57/28
set logical-systems R3 interfaces fe-0/0/1 unit 13 description To_R1-Fe-0/0/0.13
set logical-systems R3 interfaces fe-0/0/1 unit 13 vlan-id 13
set logical-systems R3 interfaces fe-0/0/1 unit 13 family inet address 172.27.0.13/30
set logical-systems R3 interfaces lo0 unit 3 family inet address 172.27.255.3/32
set logical-systems R3 protocols ospf area 0.0.0.0 interface all
#
set logical-systems R4 interfaces fe-0/0/0 unit 45 description To_R5-Fe-0/0/1.45
set logical-systems R4 interfaces fe-0/0/0 unit 45 vlan-id 45
set logical-systems R4 interfaces fe-0/0/0 unit 45 family inet address 172.27.0.21/30
set logical-systems R4 interfaces fe-0/0/1 unit 14 description To_R1-Fe-0/0/0.14
set logical-systems R4 interfaces fe-0/0/1 unit 14 vlan-id 14
set logical-systems R4 interfaces fe-0/0/1 unit 14 family inet address 172.27.0.9/30
set logical-systems R4 interfaces fe-0/0/1 unit 24 description To_R2-Fe-0/0/0.24
set logical-systems R4 interfaces fe-0/0/1 unit 24 vlan-id 24
set logical-systems R4 interfaces fe-0/0/1 unit 24 family inet address 172.27.0.6/30
set logical-systems R4 interfaces fe-0/0/1 unit 34 description To_R3-Fe-0/0/0.34
set logical-systems R4 interfaces fe-0/0/1 unit 34 vlan-id 34
set logical-systems R4 interfaces fe-0/0/1 unit 34 family inet address 172.27.0.18/30
set logical-systems R4 interfaces lo0 unit 4 family inet address 172.27.255.4/32
set logical-systems R4 protocols ospf area 0.0.0.0 interface all
#
set logical-systems R5 interfaces fe-0/0/0 unit 10 description To_Rec2-4
set logical-systems R5 interfaces fe-0/0/0 unit 10 vlan-id 10
set logical-systems R5 interfaces fe-0/0/0 unit 10 family inet address 172.27.1.1/24
set logical-systems R5 interfaces fe-0/0/1 unit 35 description To_R3-Fe-0/0/0.35
set logical-systems R5 interfaces fe-0/0/1 unit 35 vlan-id 35
set logical-systems R5 interfaces fe-0/0/1 unit 35 family inet address 172.27.0.25/30
set logical-systems R5 interfaces fe-0/0/1 unit 45 description To_R4-Fe-0/0/0.45
set logical-systems R5 interfaces fe-0/0/1 unit 45 vlan-id 45
set logical-systems R5 interfaces fe-0/0/1 unit 45 family inet address 172.27.0.22/30
set logical-systems R5 interfaces lo0 unit 5 family inet address 172.27.255.5/32
set logical-systems R5 protocols ospf area 0.0.0.0 interface all
#
set logical-systems Rec1 interfaces fe-0/0/1 unit 40 description To_R3-Fe-0/0/0.40
set logical-systems Rec1 interfaces fe-0/0/1 unit 40 vlan-id 40
set logical-systems Rec1 interfaces fe-0/0/1 unit 40 family inet address 172.27.0.58/28
set logical-systems Rec1 protocols igmp interface fe-0/0/1.40 static group 224.1.1.1
set logical-systems Rec1 protocols sap listen 224.1.1.1
set logical-systems Rec1 protocols pim dense-groups 224.0.1.39/32
set logical-systems Rec1 protocols pim dense-groups 224.0.1.40/32
set logical-systems Rec1 protocols pim rp auto-rp discovery
set logical-systems Rec1 protocols pim interface all mode sparse-dense
set logical-systems Rec1 routing-options static route 0.0.0.0/0 next-hop 172.27.0.57
#
set logical-systems Rec2 interfaces fe-0/0/1 unit 10 description To_R5-Fe-0/0/0.10
set logical-systems Rec2 interfaces fe-0/0/1 unit 10 vlan-id 10
set logical-systems Rec2 interfaces fe-0/0/1 unit 10 family inet address 172.27.1.2/24
set logical-systems Rec2 protocols igmp interface fe-0/0/1.10 static group 224.2.2.2
set logical-systems Rec2 protocols sap listen 224.2.2.2
set logical-systems Rec2 protocols pim dense-groups 224.0.1.39/32
set logical-systems Rec2 protocols pim dense-groups 224.0.1.40/32
set logical-systems Rec2 protocols pim rp auto-rp discovery
set logical-systems Rec2 protocols pim interface all mode sparse-dense
#
set logical-systems Rec2 routing-options static route 0.0.0.0/0 next-hop 172.27.1.1
set logical-systems Rec3 interfaces fe-0/0/2 unit 10 description To_R5-Fe-0/0/0.10
set logical-systems Rec3 interfaces fe-0/0/2 unit 10 vlan-id 10
set logical-systems Rec3 interfaces fe-0/0/2 unit 10 family inet address 172.27.1.3/24
set logical-systems Rec3 protocols igmp interface fe-0/0/2.10 static group 224.3.3.3
set logical-systems Rec3 protocols sap listen 224.3.3.3
set logical-systems Rec3 protocols pim dense-groups 224.0.1.39/32
set logical-systems Rec3 protocols pim dense-groups 224.0.1.40/32
set logical-systems Rec3 protocols pim rp auto-rp discovery
set logical-systems Rec3 protocols pim interface all mode sparse-dense
set logical-systems Rec3 routing-options static route 0.0.0.0/0 next-hop 172.27.1.1
#
set logical-systems Rec4 interfaces fe-0/0/3 unit 10 description To_R5-Fe-0/0/0.10
set logical-systems Rec4 interfaces fe-0/0/3 unit 10 vlan-id 10
set logical-systems Rec4 interfaces fe-0/0/3 unit 10 family inet address 172.27.1.4/24
set logical-systems Rec4 protocols igmp interface fe-0/0/3.10 static group 224.1.1.1
set logical-systems Rec4 protocols sap listen 224.1.1.1
set logical-systems Rec4 protocols pim dense-groups 224.0.1.39/32
set logical-systems Rec4 protocols pim dense-groups 224.0.1.40/32
set logical-systems Rec4 protocols pim rp auto-rp discovery
set logical-systems Rec4 protocols pim interface all mode sparse-dense
set logical-systems Rec4 routing-options static route 0.0.0.0/0 next-hop 172.27.1.1
#
set logical-systems S1 interfaces fe-0/0/1 unit 30 description To_R1-Fe-0/0/0.30
set logical-systems S1 interfaces fe-0/0/1 unit 30 vlan-id 30
set logical-systems S1 interfaces fe-0/0/1 unit 30 family inet address 172.27.0.30/30
set logical-systems S1 protocols pim dense-groups 224.0.1.39/32
set logical-systems S1 protocols pim dense-groups 224.0.1.40/32
set logical-systems S1 protocols pim rp auto-rp discovery
set logical-systems S1 protocols pim interface all mode sparse-dense
#
set interfaces fe-0/0/0 vlan-tagging
set interfaces fe-0/0/1 vlan-tagging
set interfaces fe-0/0/2 vlan-tagging
set interfaces fe-0/0/3 vlan-tagging
set interfaces fxp0 description To_SW1_Fa1/0/23
set interfaces fxp0 unit 0 family inet address 192.168.100.221/26
set routing-options static route 0.0.0.0/0 next-hop 192.168.100.200
[edit]
JNCIE@M7i#
Verification:
JNCIE@M7i:R1-5# run ping 172.27.255.1-5
JNCIE@M7i# run ping 172.27.255.5 logical-system S1
2. For setting Auto-RP, we will need to setup sparse-dense mode on all routes interfaces.
Note: Static RP runs sparse mode, Auto RP runs sparse-dense mode, BSR runs sparse mode.
R1:
set logical-systems R1 protocols pim interface all mode sparse-dense
R2:
set logical-systems R2 protocols pim interface all mode sparse-dense
R3:
set logical-systems R3 protocols pim interface all mode sparse-dense
R4:
set logical-systems R4 protocols pim interface all mode sparse-dense
R5:
set logical-systems R5 protocols pim interface all mode sparse-dense
Verification:
JNCIE@M7i:R1# run show pim interfaces
JNCIE@M7i:R1# run show pim neighbors
3. R1 is a RP. The following command is for RP router (R1) setting.
R1:
set logical-systems R1 protocols pim dense-groups 224.0.1.39/32
set logical-systems R1 protocols pim dense-groups 224.0.1.40/32
set logical-systems R1 protocols pim rp local address 172.27.255.1
set logical-systems R1 protocols pim rp auto-rp mapping
4. For all non-RP routers (R2-5) setting.
R2:
set logical-systems R2 protocols pim dense-groups 224.0.1.39/32
set logical-systems R2 protocols pim dense-groups 224.0.1.40/32
set logical-systems R2 protocols pim rp auto-rp discovery
R3:
set logical-systems R3 protocols pim dense-groups 224.0.1.39/32
set logical-systems R3 protocols pim dense-groups 224.0.1.40/32
set logical-systems R3 protocols pim rp auto-rp discovery
R4:
set logical-systems R4 protocols pim dense-groups 224.0.1.39/32
set logical-systems R4 protocols pim dense-groups 224.0.1.40/32
set logical-systems R4 protocols pim rp auto-rp discovery
R5:
set logical-systems R5 protocols pim dense-groups 224.0.1.39/32
set logical-systems R5 protocols pim dense-groups 224.0.1.40/32
set logical-systems R5 protocols pim rp auto-rp discovery
5. Fro testing multicast traffic, we need create IGMP static group membership to test multicast forwarding packets.
Note: Just like the Cisco IOS command : ip igmp join-group
Rec1:
set logical-systems Rec1 protocols igmp interface fe-0/0/1.40 static group 224.1.1.1
set logical-systems Rec1 protocols sap listen 224.1.1.1
Rec2:
set logical-systems Rec2 protocols igmp interface fe-0/0/1.10 static group 224.2.2.2
set logical-systems Rec2 protocols sap listen 224.2.2.2
Rec3:
set logical-systems Rec3 protocols igmp interface fe-0/0/2.10 static group 224.3.3.3
set logical-systems Rec3 protocols sap listen 224.3.3.3
Rec4:
set logical-systems Rec4 protocols igmp interface fe-0/0/3.10 static group 224.1.1.1
set logical-systems Rec4 protocols sap listen 224.1.1.1
Verification:
JNCIE@M7i:R1# run show pim rps
Instance: PIM.master
address-family INET
RP address Type Mode Holdtime Timeout Groups Group prefixes
172.27.255.1 auto-rp sparse 150 101 4 224.0.0.0/4
172.27.255.1 static sparse 150 None 4 224.0.0.0/4
address-family INET6
[edit]
JNCIE@M7i:R1#
JNCIE@M7i:R2# run show pim rps extensive
Instance: PIM.master
address-family INET
RP: 172.27.255.1
Learned from 172.27.255.1 via: auto-rp
Mode: Sparse
Time Active: 01:05:51
Holdtime: 150 with 116 remaining
Device Index: 134
Subunit: 49153
Interface: pe-1/2/0.49153
Group Ranges:
224.0.0.0/4, 116s remaining
address-family INET6
[edit]
JNCIE@M7i:R2#
JNCIE@M7i:R1# run show pim join extensive
Instance: PIM.master Family: INET
R = Rendezvous Point Tree, S = Sparse, W = Wildcard
Group: 224.0.1.39
Source: 172.27.255.1
Flags: dense
Upstream interface: Local
Upstream neighbor: unknown
Uptime: 01:14:31
Downstream interfaces:
Local
lo0.1
fe-0/0/0.12
fe-0/0/0.13
fe-0/0/0.14
fe-0/0/0.30
Number of downstream interfaces: 6
Group: 224.0.1.40
Source: 172.27.255.1
Flags: dense
Upstream interface: Local
Upstream neighbor: unknown
Uptime: 01:12:39
Downstream interfaces:
Local
lo0.1
fe-0/0/0.12
fe-0/0/0.13
fe-0/0/0.14
fe-0/0/0.30
Number of downstream interfaces: 6
Group: 224.1.1.1
Source: *
RP: 172.27.255.1
Flags: sparse,rptree,wildcard
Upstream interface: Local
Upstream neighbor: Local
Upstream state: Local RP
Uptime: 01:11:28
Downstream neighbors:
Interface: fe-0/0/0.13
172.27.0.13 State: Join Flags: SRW Timeout: 204
Uptime: 00:48:05 Time since last Join: 00:00:05
Downstream neighbors:
Interface: fe-0/0/0.14
172.27.0.9 State: Join Flags: SRW Timeout: 181
Uptime: 00:14:12 Time since last Join: 00:00:29
Number of downstream interfaces: 2
Group: 224.2.2.2
Source: *
RP: 172.27.255.1
Flags: sparse,rptree,wildcard
Upstream interface: Local
Upstream neighbor: Local
Upstream state: Local RP
Uptime: 01:11:29
Downstream neighbors:
Interface: fe-0/0/0.14
172.27.0.9 State: Join Flags: SRW Timeout: 181
Uptime: 01:11:29 Time since last Join: 00:00:29
Number of downstream interfaces: 1
Group: 224.2.2.2
Source: 172.27.0.30
Flags: sparse,spt
Upstream interface: fe-0/0/0.30
Upstream neighbor: Direct
Upstream state: Local Source, Local RP, No Prune to RP
Keepalive timeout: 146
Uptime: 00:04:55
Downstream neighbors:
Interface: fe-0/0/0.13
172.27.0.13 State: Join Flags: S Timeout: 204
Uptime: 00:04:10 Time since last Join: 00:00:05
Downstream neighbors:
Interface: fe-0/0/0.14 (pruned)
172.27.0.9 State: Prune Flags: SR Timeout: 181
Uptime: 00:04:05 Time since last Prune: 00:00:29
Number of downstream interfaces: 2
Group: 224.2.127.254
Source: *
RP: 172.27.255.1
Flags: sparse,rptree,wildcard
Upstream interface: Local
Upstream neighbor: Local
Upstream state: Local RP
Uptime: 01:11:29
Downstream neighbors:
Interface: fe-0/0/0.13
172.27.0.13 State: Join Flags: SRW Timeout: 204
Uptime: 00:48:05 Time since last Join: 00:00:05
Downstream neighbors:
Interface: fe-0/0/0.14
172.27.0.9 State: Join Flags: SRW Timeout: 181
Uptime: 01:11:29 Time since last Join: 00:00:29
Number of downstream interfaces: 2
Group: 224.3.3.3
Source: *
RP: 172.27.255.1
Flags: sparse,rptree,wildcard
Upstream interface: Local
Upstream neighbor: Local
Upstream state: Local RP
Uptime: 01:11:29
Downstream neighbors:
Interface: fe-0/0/0.14
172.27.0.9 State: Join Flags: SRW Timeout: 181
Uptime: 01:11:29 Time since last Join: 00:00:29
Number of downstream interfaces: 1
Instance: PIM.master Family: INET6
R = Rendezvous Point Tree, S = Sparse, W = Wildcard
[edit]
JNCIE@M7i:R1#
Note: Rec1 and Rec2 both have the same multicast group address (224.1.1.1).
JNCIE@M7i# run ping 224.1.1.1 ttl 10 bypass-routing logical-system S1
PING 224.1.1.1 (224.1.1.1): 56 data bytes
64 bytes from 172.27.0.58: icmp_seq=0 ttl=62 time=77.242 ms
64 bytes from 172.27.1.4: icmp_seq=0 ttl=61 time=106.364 ms (DUP!)
64 bytes from 172.27.0.58: icmp_seq=1 ttl=62 time=1.965 ms
64 bytes from 172.27.1.4: icmp_seq=1 ttl=61 time=2.131 ms (DUP!)
64 bytes from 172.27.0.58: icmp_seq=2 ttl=62 time=1.872 ms
64 bytes from 172.27.1.4: icmp_seq=2 ttl=61 time=2.086 ms (DUP!)
64 bytes from 172.27.0.58: icmp_seq=3 ttl=62 time=1.901 ms
64 bytes from 172.27.1.4: icmp_seq=3 ttl=61 time=2.105 ms (DUP!)
^C
--- 224.1.1.1 ping statistics ---
4 packets transmitted, 4 packets received, +4 duplicates, 0% packet loss
round-trip min/avg/max/stddev = 1.872/24.458/106.364/39.557 ms
[edit]
JNCIE@M7i#
[edit]
JNCIE@M7i# run ping 224.2.2.2 ttl 10 bypass-routing logical-system S1
PING 224.2.2.2 (224.2.2.2): 56 data bytes
64 bytes from 172.27.1.2: icmp_seq=0 ttl=61 time=1.673 ms
64 bytes from 172.27.1.2: icmp_seq=1 ttl=61 time=1.675 ms
64 bytes from 172.27.1.2: icmp_seq=2 ttl=61 time=1.680 ms
^C
--- 224.2.2.2 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max/stddev = 1.673/1.676/1.680/0.003 ms
[edit]
JNCIE@M7i#
[edit]
JNCIE@M7i# run ping 224.3.3.3 ttl 10 bypass-routing logical-system S1
PING 224.3.3.3 (224.3.3.3): 56 data bytes
64 bytes from 172.27.1.3: icmp_seq=0 ttl=61 time=102.373 ms
64 bytes from 172.27.1.3: icmp_seq=1 ttl=61 time=1.788 ms
64 bytes from 172.27.1.3: icmp_seq=2 ttl=61 time=1.680 ms
^C
--- 224.3.3.3 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max/stddev = 1.680/35.280/102.373/47.442 ms
[edit]
JNCIE@M7i#
Final configuration:
JNCIE@M7i# show | display set
set version 12.3R6.6
set system host-name M7i
set system time-zone Asia/Taipei
set system root-authentication encrypted-password "$1$xHrLYWb1$t7zaprV7gI28TCVhVXknd0"
set system name-server 168.95.1.1
set system name-server 8.8.8.8
set system login user JNCIE uid 2001
set system login user JNCIE class super-user
set system login user JNCIE authentication encrypted-password "$1$CFRZNtzp$xpn4xLgXQrBom0tstx93H/"
set system services telnet
set system ntp boot-server 211.22.103.158
set system ntp server 211.22.103.158 prefer
set system ntp server 140.112.2.189
set logical-systems R1 interfaces fe-0/0/0 unit 12 description To_R2-Fe-0/0/1.12
set logical-systems R1 interfaces fe-0/0/0 unit 12 vlan-id 12
set logical-systems R1 interfaces fe-0/0/0 unit 12 family inet address 172.27.0.1/30
set logical-systems R1 interfaces fe-0/0/0 unit 13 description To_R3-Fe-0/0/1.13
set logical-systems R1 interfaces fe-0/0/0 unit 13 vlan-id 13
set logical-systems R1 interfaces fe-0/0/0 unit 13 family inet address 172.27.0.14/30
set logical-systems R1 interfaces fe-0/0/0 unit 14 description To_R4-Fe-0/0/1.14
set logical-systems R1 interfaces fe-0/0/0 unit 14 vlan-id 14
set logical-systems R1 interfaces fe-0/0/0 unit 14 family inet address 172.27.0.10/30
set logical-systems R1 interfaces fe-0/0/0 unit 30 description To_S1-Fe-0/0/1.30
set logical-systems R1 interfaces fe-0/0/0 unit 30 vlan-id 30
set logical-systems R1 interfaces fe-0/0/0 unit 30 family inet address 172.27.0.29/30
set logical-systems R1 interfaces lo0 unit 1 family inet address 172.27.255.1/32
set logical-systems R1 protocols ospf area 0.0.0.0 interface all
set logical-systems R1 protocols pim dense-groups 224.0.1.39/32
set logical-systems R1 protocols pim dense-groups 224.0.1.40/32
set logical-systems R1 protocols pim rp local address 172.27.255.1
set logical-systems R1 protocols pim rp auto-rp mapping
set logical-systems R1 protocols pim interface all mode sparse-dense
set logical-systems R2 interfaces fe-0/0/0 unit 20 description To_S2-Fe-0/0/1.20
set logical-systems R2 interfaces fe-0/0/0 unit 20 vlan-id 20
set logical-systems R2 interfaces fe-0/0/0 unit 20 family inet address 172.27.0.37/30
set logical-systems R2 interfaces fe-0/0/0 unit 24 description To_R4-Fe-0/0/1.24
set logical-systems R2 interfaces fe-0/0/0 unit 24 vlan-id 24
set logical-systems R2 interfaces fe-0/0/0 unit 24 family inet address 172.27.0.5/30
set logical-systems R2 interfaces fe-0/0/1 unit 12 description To_R1-Fe-0/0/0.12
set logical-systems R2 interfaces fe-0/0/1 unit 12 vlan-id 12
set logical-systems R2 interfaces fe-0/0/1 unit 12 family inet address 172.27.0.2/30
set logical-systems R2 interfaces lo0 unit 2 family inet address 172.27.255.2/32
set logical-systems R2 protocols ospf area 0.0.0.0 interface all
set logical-systems R2 protocols pim dense-groups 224.0.1.39/32
set logical-systems R2 protocols pim dense-groups 224.0.1.40/32
set logical-systems R2 protocols pim rp auto-rp discovery
set logical-systems R2 protocols pim interface all mode sparse-dense
set logical-systems R3 interfaces fe-0/0/0 unit 34 description To_R4-Fe-0/0/1.34
set logical-systems R3 interfaces fe-0/0/0 unit 34 vlan-id 34
set logical-systems R3 interfaces fe-0/0/0 unit 34 family inet address 172.27.0.17/30
set logical-systems R3 interfaces fe-0/0/0 unit 35 description To_R5-Fe-0/0/1.35
set logical-systems R3 interfaces fe-0/0/0 unit 35 vlan-id 35
set logical-systems R3 interfaces fe-0/0/0 unit 35 family inet address 172.27.0.26/30
set logical-systems R3 interfaces fe-0/0/0 unit 40 description To_Rec1-Fe-0/0/1.40
set logical-systems R3 interfaces fe-0/0/0 unit 40 vlan-id 40
set logical-systems R3 interfaces fe-0/0/0 unit 40 family inet address 172.27.0.57/28
set logical-systems R3 interfaces fe-0/0/1 unit 13 description To_R1-Fe-0/0/0.13
set logical-systems R3 interfaces fe-0/0/1 unit 13 vlan-id 13
set logical-systems R3 interfaces fe-0/0/1 unit 13 family inet address 172.27.0.13/30
set logical-systems R3 interfaces lo0 unit 3 family inet address 172.27.255.3/32
set logical-systems R3 protocols ospf area 0.0.0.0 interface all
set logical-systems R3 protocols pim dense-groups 224.0.1.39/32
set logical-systems R3 protocols pim dense-groups 224.0.1.40/32
set logical-systems R3 protocols pim rp auto-rp discovery
set logical-systems R3 protocols pim interface all mode sparse-dense
set logical-systems R4 interfaces fe-0/0/0 unit 45 description To_R5-Fe-0/0/1.45
set logical-systems R4 interfaces fe-0/0/0 unit 45 vlan-id 45
set logical-systems R4 interfaces fe-0/0/0 unit 45 family inet address 172.27.0.21/30
set logical-systems R4 interfaces fe-0/0/1 unit 14 description To_R1-Fe-0/0/0.14
set logical-systems R4 interfaces fe-0/0/1 unit 14 vlan-id 14
set logical-systems R4 interfaces fe-0/0/1 unit 14 family inet address 172.27.0.9/30
set logical-systems R4 interfaces fe-0/0/1 unit 24 description To_R2-Fe-0/0/0.24
set logical-systems R4 interfaces fe-0/0/1 unit 24 vlan-id 24
set logical-systems R4 interfaces fe-0/0/1 unit 24 family inet address 172.27.0.6/30
set logical-systems R4 interfaces fe-0/0/1 unit 34 description To_R3-Fe-0/0/0.34
set logical-systems R4 interfaces fe-0/0/1 unit 34 vlan-id 34
set logical-systems R4 interfaces fe-0/0/1 unit 34 family inet address 172.27.0.18/30
set logical-systems R4 interfaces lo0 unit 4 family inet address 172.27.255.4/32
set logical-systems R4 protocols ospf area 0.0.0.0 interface all
set logical-systems R4 protocols pim dense-groups 224.0.1.39/32
set logical-systems R4 protocols pim dense-groups 224.0.1.40/32
set logical-systems R4 protocols pim rp auto-rp discovery
set logical-systems R4 protocols pim interface all mode sparse-dense
set logical-systems R5 interfaces fe-0/0/0 unit 10 description To_Rec2-4
set logical-systems R5 interfaces fe-0/0/0 unit 10 vlan-id 10
set logical-systems R5 interfaces fe-0/0/0 unit 10 family inet address 172.27.1.1/24
set logical-systems R5 interfaces fe-0/0/1 unit 35 description To_R3-Fe-0/0/0.35
set logical-systems R5 interfaces fe-0/0/1 unit 35 vlan-id 35
set logical-systems R5 interfaces fe-0/0/1 unit 35 family inet address 172.27.0.25/30
set logical-systems R5 interfaces fe-0/0/1 unit 45 description To_R4-Fe-0/0/0.45
set logical-systems R5 interfaces fe-0/0/1 unit 45 vlan-id 45
set logical-systems R5 interfaces fe-0/0/1 unit 45 family inet address 172.27.0.22/30
set logical-systems R5 interfaces lo0 unit 5 family inet address 172.27.255.5/32
set logical-systems R5 protocols ospf area 0.0.0.0 interface all
set logical-systems R5 protocols pim dense-groups 224.0.1.39/32
set logical-systems R5 protocols pim dense-groups 224.0.1.40/32
set logical-systems R5 protocols pim rp auto-rp discovery
set logical-systems R5 protocols pim interface all mode sparse-dense
set logical-systems Rec1 interfaces fe-0/0/1 unit 40 description To_R3-Fe-0/0/0.40
set logical-systems Rec1 interfaces fe-0/0/1 unit 40 vlan-id 40
set logical-systems Rec1 interfaces fe-0/0/1 unit 40 family inet address 172.27.0.58/28
set logical-systems Rec1 protocols igmp interface fe-0/0/1.40 static group 224.1.1.1
set logical-systems Rec1 protocols sap listen 224.1.1.1
set logical-systems Rec1 protocols pim dense-groups 224.0.1.39/32
set logical-systems Rec1 protocols pim dense-groups 224.0.1.40/32
set logical-systems Rec1 protocols pim rp auto-rp discovery
set logical-systems Rec1 protocols pim interface all mode sparse-dense
set logical-systems Rec1 routing-options static route 0.0.0.0/0 next-hop 172.27.0.57
set logical-systems Rec2 interfaces fe-0/0/1 unit 10 description To_R5-Fe-0/0/0.10
set logical-systems Rec2 interfaces fe-0/0/1 unit 10 vlan-id 10
set logical-systems Rec2 interfaces fe-0/0/1 unit 10 family inet address 172.27.1.2/24
set logical-systems Rec2 protocols igmp interface fe-0/0/1.10 static group 224.2.2.2
set logical-systems Rec2 protocols sap listen 224.2.2.2
set logical-systems Rec2 protocols pim dense-groups 224.0.1.39/32
set logical-systems Rec2 protocols pim dense-groups 224.0.1.40/32
set logical-systems Rec2 protocols pim rp auto-rp discovery
set logical-systems Rec2 protocols pim interface all mode sparse-dense
set logical-systems Rec2 routing-options static route 0.0.0.0/0 next-hop 172.27.1.1
set logical-systems Rec3 interfaces fe-0/0/2 unit 10 description To_R5-Fe-0/0/0.10
set logical-systems Rec3 interfaces fe-0/0/2 unit 10 vlan-id 10
set logical-systems Rec3 interfaces fe-0/0/2 unit 10 family inet address 172.27.1.3/24
set logical-systems Rec3 protocols igmp interface fe-0/0/2.10 static group 224.3.3.3
set logical-systems Rec3 protocols sap listen 224.3.3.3
set logical-systems Rec3 protocols pim dense-groups 224.0.1.39/32
set logical-systems Rec3 protocols pim dense-groups 224.0.1.40/32
set logical-systems Rec3 protocols pim rp auto-rp discovery
set logical-systems Rec3 protocols pim interface all mode sparse-dense
set logical-systems Rec3 routing-options static route 0.0.0.0/0 next-hop 172.27.1.1
set logical-systems Rec4 interfaces fe-0/0/3 unit 10 description To_R5-Fe-0/0/0.10
set logical-systems Rec4 interfaces fe-0/0/3 unit 10 vlan-id 10
set logical-systems Rec4 interfaces fe-0/0/3 unit 10 family inet address 172.27.1.4/24
set logical-systems Rec4 protocols igmp interface fe-0/0/3.10 static group 224.1.1.1
set logical-systems Rec4 protocols sap listen 224.1.1.1
set logical-systems Rec4 protocols pim dense-groups 224.0.1.39/32
set logical-systems Rec4 protocols pim dense-groups 224.0.1.40/32
set logical-systems Rec4 protocols pim rp auto-rp discovery
set logical-systems Rec4 protocols pim interface all mode sparse-dense
set logical-systems Rec4 routing-options static route 0.0.0.0/0 next-hop 172.27.1.1
set logical-systems S1 interfaces fe-0/0/1 unit 30 description To_R1-Fe-0/0/0.30
set logical-systems S1 interfaces fe-0/0/1 unit 30 vlan-id 30
set logical-systems S1 interfaces fe-0/0/1 unit 30 family inet address 172.27.0.30/30
set logical-systems S1 protocols pim dense-groups 224.0.1.39/32
set logical-systems S1 protocols pim dense-groups 224.0.1.40/32
set logical-systems S1 protocols pim rp auto-rp discovery
set logical-systems S1 protocols pim interface all mode sparse-dense
set logical-systems S1 routing-options static route 0.0.0.0/0 next-hop 172.27.0.29
set interfaces fe-0/0/0 vlan-tagging
set interfaces fe-0/0/1 vlan-tagging
set interfaces fe-0/0/2 vlan-tagging
set interfaces fe-0/0/3 vlan-tagging
set interfaces fxp0 description To_SW1_Fa1/0/23
set interfaces fxp0 unit 0 family inet address 192.168.100.221/26
set routing-options static route 0.0.0.0/0 next-hop 192.168.100.200
[edit]
JNCIE@M7i#
Reference:
Multicast Protocols Configuration Guide
http://www.juniper.net/techpubs/en_US/junos12.3/information-products/pathway-pages/config-guide-multicast/config-guide-multicast.html
最初發表 / 最後更新: 2015.03.19 / 2018.06.04
0 comments:
張貼留言