Published 6月 04, 2018 by with 0 comment

JNCIS-SP Lab: Configuring Static RP


In this lab, I use Juniper M7i Router(JUNOS 12.3R6.6) to finish this Multicast protocols lab (Static 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 rp static address 172.27.255.1
set logical-systems Rec1 protocols pim interface all mode sparse
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 rp static address 172.27.255.1
set logical-systems Rec2 protocols pim interface all mode sparse
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 rp static address 172.27.255.1
set logical-systems Rec3 protocols pim interface all mode sparse
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 rp static address 172.27.255.1
set logical-systems Rec4 protocols pim interface all mode sparse
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 rp static address 172.27.255.1
set logical-systems S1 protocols pim interface all mode sparse
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#

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 static RP, we will need to setup sparse 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

R2:
set logical-systems R2 protocols pim interface all mode sparse

R3:
set logical-systems R3 protocols pim interface all mode sparse

R4:
set logical-systems R4 protocols pim interface all mode sparse

R5:
set logical-systems R5 protocols pim interface all mode sparse

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 rp local address 172.27.255.1


4. For all non-RP routers (R2-5) setting.
R2:
set logical-systems R2 protocols pim rp static address 172.27.255.1

R3:
set logical-systems R3 protocols pim rp static address 172.27.255.1

R4:
set logical-systems R4 protocols pim rp static address 172.27.255.1

R5:
set logical-systems R5 protocols pim rp static address 172.27.255.1


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    static      sparse      150    None      4 224.0.0.0/4

address-family INET6

[edit]
JNCIE@M7i:R1#


JNCIE@M7i:R1# run show pim join extensive
Instance: PIM.master Family: INET
R = Rendezvous Point Tree, S = Sparse, W = Wildcard

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:30:48
    Downstream neighbors:
        Interface: fe-0/0/0.13           
            172.27.0.13 State: Join Flags: SRW Timeout: 164
            Uptime: 00:47:27 Time since last Join: 00:00:45
    Downstream neighbors:
        Interface: fe-0/0/0.14           
            172.27.0.9 State: Join Flags: SRW Timeout: 165
            Uptime: 01:30:45 Time since last Join: 00:00:45
    Number of downstream interfaces: 2

Group: 224.1.1.1
    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: 340
    Uptime: 00:01:25
    Downstream neighbors:
        Interface: fe-0/0/0.13           
            172.27.0.13 State: Join Flags: S Timeout: 164
            Uptime: 00:01:25 Time since last Join: 00:00:45
    Downstream neighbors:
        Interface: fe-0/0/0.14 (pruned)
            172.27.0.9 State: Prune Flags: SR Timeout: 165
            Uptime: 00:01:18 Time since last Prune: 00:00:45
    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:30:45
    Downstream neighbors:
        Interface: fe-0/0/0.14           
            172.27.0.9 State: Join Flags: SRW Timeout: 165
            Uptime: 01:30:45 Time since last Join: 00:00:45
    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: 340
    Uptime: 00:00:59
    Downstream neighbors:
        Interface: fe-0/0/0.13           
            172.27.0.13 State: Join Flags: S Timeout: 164
            Uptime: 00:00:59 Time since last Join: 00:00:45
    Downstream neighbors:
        Interface: fe-0/0/0.14 (pruned)
            172.27.0.9 State: Prune Flags: SR Timeout: 165
            Uptime: 00:00:58 Time since last Prune: 00:00:45
    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:30:48
    Downstream neighbors:
        Interface: fe-0/0/0.13           
            172.27.0.13 State: Join Flags: SRW Timeout: 164
            Uptime: 00:47:27 Time since last Join: 00:00:45
    Downstream neighbors:
        Interface: fe-0/0/0.14           
            172.27.0.9 State: Join Flags: SRW Timeout: 165
            Uptime: 01:30:45 Time since last Join: 00:00:45
    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:30:45
    Downstream neighbors:
        Interface: fe-0/0/0.14           
            172.27.0.9 State: Join Flags: SRW Timeout: 165
            Uptime: 01:30:45 Time since last Join: 00:00:45
    Number of downstream interfaces: 1

Group: 224.3.3.3
    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: 340
    Uptime: 00:00:47
    Downstream neighbors:
        Interface: fe-0/0/0.13           
            172.27.0.13 State: Join Flags: S Timeout: 164
            Uptime: 00:00:47 Time since last Join: 00:00:45
    Downstream neighbors:
        Interface: fe-0/0/0.14 (pruned)
            172.27.0.9 State: Prune Flags: SR Timeout: 165
            Uptime: 00:00:46 Time since last Prune: 00:00:45
    Number of downstream interfaces: 2

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=1.872 ms
64 bytes from 172.27.1.4: icmp_seq=0 ttl=61 time=2.215 ms (DUP!)
64 bytes from 172.27.0.58: icmp_seq=1 ttl=62 time=1.858 ms
64 bytes from 172.27.1.4: icmp_seq=1 ttl=61 time=2.042 ms (DUP!)
64 bytes from 172.27.0.58: icmp_seq=2 ttl=62 time=1.895 ms
64 bytes from 172.27.1.4: icmp_seq=2 ttl=61 time=2.080 ms (DUP!)
^C
--- 224.1.1.1 ping statistics ---
3 packets transmitted, 3 packets received, +3 duplicates, 0% packet loss
round-trip min/avg/max/stddev = 1.858/1.994/2.215/0.130 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=108.394 ms
64 bytes from 172.27.1.2: icmp_seq=1 ttl=61 time=2.007 ms
64 bytes from 172.27.1.2: icmp_seq=2 ttl=61 time=1.676 ms
64 bytes from 172.27.1.2: icmp_seq=3 ttl=61 time=1.641 ms
^C
--- 224.2.2.2 ping statistics ---
4 packets transmitted, 4 packets received, 0% packet loss
round-trip min/avg/max/stddev = 1.641/28.430/108.394/46.168 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=109.199 ms
64 bytes from 172.27.1.3: icmp_seq=1 ttl=61 time=2.297 ms
64 bytes from 172.27.1.3: icmp_seq=2 ttl=61 time=1.647 ms
64 bytes from 172.27.1.3: icmp_seq=3 ttl=61 time=1.649 ms
^C
--- 224.3.3.3 ping statistics ---
4 packets transmitted, 4 packets received, 0% packet loss
round-trip min/avg/max/stddev = 1.647/28.698/109.199/46.478 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 rp local address 172.27.255.1
set logical-systems R1 protocols pim interface all mode sparse
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 rp static address 172.27.255.1
set logical-systems R2 protocols pim interface all mode sparse
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 rp static address 172.27.255.1
set logical-systems R3 protocols pim interface all mode sparse
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 rp static address 172.27.255.1
set logical-systems R4 protocols pim interface all mode sparse
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 rp static address 172.27.255.1
set logical-systems R5 protocols pim interface all mode sparse
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 rp static address 172.27.255.1
set logical-systems Rec1 protocols pim interface all mode sparse
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 rp static address 172.27.255.1
set logical-systems Rec2 protocols pim interface all mode sparse
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 rp static address 172.27.255.1
set logical-systems Rec3 protocols pim interface all mode sparse
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 rp static address 172.27.255.1
set logical-systems Rec4 protocols pim interface all mode sparse
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 rp static address 172.27.255.1
set logical-systems S1 protocols pim interface all mode sparse
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:
1. Configuring Static RP
http://www.juniper.net/techpubs/en_US/junos12.1/topics/topic-map/mcast-static-rp.html

2. Commit check failing with the error: Cannot parse routing-option max-interface-supported in Junos 11.1 and 11.2
http://kb.juniper.net/InfoCenter/index?page=content&id=KB20977


最初發表 / 最後更新: 2014.08.02 / 2018.06.04

0 comments:

張貼留言