Setup
Addresses used in lab:
All addresses within a lab are within one /16 block>
172.16.X.x = first lab, G = 1, X = 16
172.17.X.x = first lab, G = 2, X = 17
...
R = Router number: 1 for R1, 2 for R2, ...
dce = Set interface clock rate on this interface
Full names of routers: gGrR, eg: g1r1 ... g1r5
To other labs access routers
Multicast IX +--------+ 128.22.229.100
|gateway |----->
^ ... ^ ^ ... ^ +--------+
| | | | e1 .1 | To outside
--+-+-----+-+- -+-+-----+-------------------+-+- world
| | | 172.30.1.x |
enable . . | |
either . . | | e0 .252
R1 or R5 | .10G e1 | | e0 .10G +---------+
| (RP)+--------+ loopback0 172.X.254.R/32 | Terminal|
| | R1 | (on all routers) | Server |
| +--------+ +---------+
| e2 | .2 \ s0 .2 dce | ... |
| | \ | |
| -+-----+- \ 172.X.5.x/24 <--+ |
| | 172.X.1.x/24 \ |
fa0/3/3 | | fa0/3/0 .1 \ s0 .1 <--------+
(RP)+--------+ +--------+ Router Consoles
|JNPR R5 | | R2 |
+--------+ +--------+
fa0/3/1 .2 | | fe0/3/2 .2 | s1 dce .1
| | |
| -+--------------+- |
-+-+- 172.X.3.x/24 | | 172.X.6.x/24
172.X.2.x/24 | | |
| | |
e0 .1 | e0 .1 | | s0 .1
+--------+ +--------+
| R4 | | R3 |
+--------+ +--------+
e1 | .2 e1 | .2
| 172.X.4.x/24 | 172.X.7.x/24
---+--+--- ---+-+----
| |
| |
Multicast Source ( Multicast Receiver )
Thanks to Toerless Eckert for the ascii art!
Group1Router1
sh conf
Using 1382 out of 30712 bytes
!
version 12.1
no service single-slot-reload-enable
service timestamps debug uptime
service timestamps log uptime
no service password-encryption
!
hostname g1r1
!
enable password poclab
!
!
!
!
!
ip subnet-zero
ip cef
no ip domain-lookup
ip host g1r1 172.16.253.1
!
ip multicast-routing
!
!
!
interface Loopback0
description unicast loopback
ip address 172.16.254.1 255.255.255.255
!
interface Ethernet0/0
description interdomain unicast connectivity
ip address 172.30.1.101 255.255.255.0
!
interface Serial0/0
ip address 172.16.5.2 255.255.255.0
ip pim sparse-mode
ip ospf cost 10
no ip mroute-cache
keepalive 1
no fair-queue
clockrate 4000000
!
interface Ethernet0/1
description multicast interdomain keep shut down until told
ip address 172.30.2.101 255.255.255.0
shutdown
interface Ethernet1/0
description connection to R5
ip address 172.16.1.2 255.255.255.0
ip pim sparse-mode
!
interface Ethernet1/1
no ip address
shutdown
!
router ospf 1
log-adjacency-changes
redistribute connected metric 100 subnets
passive-interface Ethernet0/0
passive-interface Ethernet0/1
network 172.16.0.0 0.0.255.255 area 0.0.0.0
!
router bgp 2
bgp log-neighbor-changes
!
ip classless
ip route 128.107.241.167 255.255.255.255 172.30.1.1
no ip http server
ip pim rp-address 172.16.253.1
ip pim spt-threshold infinity
!
!
line con 0
line aux 0
line vty 0 4
no login
!
end
Group1Router2
g1r2>en
Password:
g1r2#writ term
Building configuration...
Current configuration : 1077 bytes
!
version 12.1
no service single-slot-reload-enable
service timestamps debug uptime
service timestamps log uptime
no service password-encryption
!
hostname g1r2
!
enable password poclab
!
!
!
!
!
ip subnet-zero
ip cef
no ip domain-lookup
ip host g1r1 172.16.253.1
ip host g1r2 172.16.5.1
!
ip multicast-routing
!
!
!
interface Loopback0
description unicast loopback
ip address 172.16.254.2 255.255.255.255
!
interface Ethernet0/0
no ip address
ip pim sparse-mode
shutdown
!
interface Serial0/0
description connection to R2
ip address 172.16.5.1 255.255.255.0
ip pim sparse-mode
ip ospf cost 10
keepalive 1
!
interface Ethernet0/1
no ip address
ip pim sparse-mode
shutdown
!
interface Serial0/1
description connection to R3
ip address 172.16.6.2 255.255.255.0
ip pim sparse-mode
ip ospf cost 10
keepalive 1
clockrate 4000000
!
router ospf 1
log-adjacency-changes
network 172.16.0.0 0.0.255.255 area 0.0.0.0
!
ip classless
no ip http server
ip pim rp-address 172.16.253.1
ip pim spt-threshold infinity
!
!
line con 0
line aux 0
line vty 0 4
no login
!
end
g1r2#
Group1Router3
g1r3#sh conf
Using 1020 out of 29688 bytes
!
version 12.1
no service single-slot-reload-enable
service timestamps debug uptime
service timestamps log uptime
no service password-encryption
!
hostname g1r3
!
enable password poclab
!
!
!
!
!
ip subnet-zero
ip cef
!
!
!
!
interface Loopback0
description unicast loopback
ip address 172.16.254.3 255.255.255.255
!
interface Ethernet0/0
description connection to R5
ip address 172.16.3.1 255.255.255.0
!
interface Serial0/0
description connection to R2
ip address 172.16.6.1 255.255.255.0
ip ospf cost 10
keepalive 1
!
interface Ethernet0/1
description connection to multicast receiver
ip address 172.16.7.2 255.255.255.0
no keepalive
!
interface Serial1/0
no ip address
no keepalive
shutdown
!
interface Serial1/1
no ip address
shutdown
!
interface Serial1/2
no ip address
shutdown
!
interface Serial1/3
no ip address
shutdown
!
router ospf 1
log-adjacency-changes
network 172.16.0.0 0.0.255.255 area 0.0.0.0
!
ip classless
ip http server
!
!
line con 0
line aux 0
line vty 0 4
no login
!
end
Group1Router3
g1r3#show conf
Using 1020 out of 29688 bytes
!
version 12.1
no service single-slot-reload-enable
service timestamps debug uptime
service timestamps log uptime
no service password-encryption
!
hostname g1r3
!
enable password poclab
!
!
!
!
!
ip subnet-zero
ip cef
!
!
!
!
interface Loopback0
description unicast loopback
ip address 172.16.254.3 255.255.255.255
!
interface Ethernet0/0
description connection to R5
ip address 172.16.3.1 255.255.255.0
!
interface Serial0/0
description connection to R2
ip address 172.16.6.1 255.255.255.0
ip ospf cost 10
keepalive 1
!
interface Ethernet0/1
description connection to multicast receiver
ip address 172.16.7.2 255.255.255.0
no keepalive
!
interface Serial1/0
no ip address
no keepalive
shutdown
!
interface Serial1/1
no ip address
shutdown
!
interface Serial1/2
no ip address
shutdown
!
interface Serial1/3
no ip address
shutdown
!
router ospf 1
log-adjacency-changes
network 172.16.0.0 0.0.255.255 area 0.0.0.0
!
ip classless
ip http server
!
!
line con 0
line aux 0
line vty 0 4
no login
!
end
g1r3#
g1r4#writ term
Building configuration...
Current configuration : 895 bytes
!
version 12.1
no service single-slot-reload-enable
service timestamps debug uptime
service timestamps log uptime
no service password-encryption
!
hostname g1r4
!
enable password poclab
!
!
!
!
!
ip subnet-zero
ip cef
no ip domain-lookup
!
ip multicast-routing
!
!
!
interface Loopback0
description unicast loopback
ip address 172.16.254.4 255.255.255.255
ip pim sparse-mode
!
interface Ethernet0/0
description connection to R5
ip address 172.16.2.1 255.255.255.0
ip pim sparse-mode
!
interface Ethernet0/1
description cnnection to traffic source
ip address 172.16.4.2 255.255.255.0
ip pim sparse-mode
no keepalive
!
router ospf 1
log-adjacency-changes
network 172.16.0.0 0.0.255.255 area 0.0.0.0
!
ip classless
ip route 0.0.0.0 0.0.0.0 172.16.2.2
no ip http server
ip pim rp-address 172.16.253.1
ip pim spt-threshold infinity
!
!
line con 0
line aux 0
line vty 0 4
no login
!
end
g1r4#
Group1Router5
lab @ g1r5> show configuration
version 5.3R2.4;
system {
host-name g1r5;
time-zone America/Los_Angeles;
root-authentication {
encrypted-password "$1$jPCwqT.h$Ike4yMVdnFPUNt02SA/ib1"; # SECRET-
DATA
}
login {
user lab {
uid 2000;
class super-user;
authentication {
encrypted-password "$1$YUD7RLTA$z35CF3CvT.bDT58hx/qbx/"; #
SECRET-DATA
}
}
user remote {
uid 2001;
class superuser;
}
}
services {
ftp;
ssh;
telnet;
}
}
interfaces {
fe-0/3/0 {
unit 0 {
family inet {
address 172.16.1.1/24;
}
}
}
fe-0/3/1 {
unit 0 {
family inet {
address 172.16.2.2/24;
}
}
}
fe-0/3/2 {
unit 0 {
family inet {
address 172.16.3.2/24;
}
}
}
fe-0/3/3 {
unit 0 {
family inet {
address 172.30.2.101/24;
}
}
}
lo0 {
unit 0 {
family inet {
address 172.16.254.5/32;
address 172.16.253.1/32;
}
}
}
}
routing-options {
interface-routes {
rib-group inet if-rib;
}
rib inet.0 {
static {
route 172.16.0.0/16 discard;
route 0.0.0.0/0 discard;
}
}
rib inet.2 {
static {
route 172.16.0.0/16 discard;
route 0.0.0.0/0 discard;
}
}
rib-groups {
if-rib {
import-rib [ inet.0 inet.2 ];
}
mcast-rib {
export-rib inet.2;
import-rib inet.2;
}
ospf-rib {
export-rib inet.0;
import-rib [ inet.0 inet.2 ];
}
}
router-id 172.16.254.5;
autonomous-system 1;
}
protocols {
igmp {
interface all {
version 2;
}
}
bgp {
group to-customer {
type external;
local-address 172.30.2.101;
family inet {
any;
}
neighbor 172.30.2.102 {
export whale-group;
peer-as 2;
}
neighbor 172.30.2.103 {
export whale-group;
peer-as 3;
}
neighbor 172.30.2.104 {
export whale-group;
peer-as 4;
}
neighbor 172.30.2.105 {
export whale-group;
peer-as 5;
}
neighbor 172.30.2.106 {
export whale-group;
peer-as 6;
}
}
}
msdp {
rib-group inet mcast-rib;
peer 172.30.2.102 {
local-address 172.30.2.101;
}
peer 172.30.2.103 {
local-address 172.30.2.101;
}
peer 172.30.2.104 {
local-address 172.30.2.101;
}
peer 172.30.2.105 {
local-address 172.30.2.101;
}
peer 172.30.2.106 {
local-address 172.30.2.101;
}
}
ospf {
rib-group ospf-rib;
export local+default;
area 0.0.0.0 {
interface all;
interface fe-0/3/0.0 {
metric 10;
}
interface fe-0/3/1.0 {
metric 10;
}
interface fe-0/3/2.0 {
metric 10;
}
interface fe-0/3/3.0 {
passive;
}
}
}
pim {
rib-group inet mcast-rib;
rp {
local {
address 172.16.253.1;
}
}
interface all {
mode sparse;
version 2;
}
}
}
policy-options {
policy-statement whale-group {
term match-prefix {
from {
protocol static;
route-filter 172.16.0.0/16 exact;
}
then accept;
}
term reject {
then reject;
}
}
policy-statement local+default {
from {
route-filter 176.16.0.0/16 orlonger;
route-filter 0.0.0.0/0 exact;
}
then accept;
}
}
Group2Router1
g2r1#sh running-config
Building configuration...
Current configuration : 3834 bytes
!
version 12.1
no service single-slot-reload-enable
service timestamps debug uptime
service timestamps log uptime
no service password-encryption
!
hostname g2r1
!
enable password poclab
!
!
!
!
!
ip subnet-zero
ip cef
no ip domain-lookup
!
ip multicast-routing
ip multicast cache-headers rtp
!
!
!
interface Loopback0
description unicast loopback
ip address 172.17.254.1 255.255.255.255
ip pim sparse-mode
!
interface Loopback1
ip address 172.17.253.1 255.255.255.0
ip pim sparse-mode
!
interface Ethernet0/0
description unicast interdomain
ip address 172.30.1.102 255.255.255.0
ip pim sparse-mode
!
interface Serial0/0
description connection to R2
ip address 172.17.5.2 255.255.255.0
ip pim sparse-mode
ip ospf cost 10
no ip mroute-cache
keepalive 1
clockrate 4000000
!
interface Ethernet0/1
description interdomain multicast keep shut down until told
ip address 172.30.2.102 255.255.255.0
ip pim sparse-mode
!
interface Serial0/1
no ip address
ip pim sparse-mode
shutdown
!
interface Ethernet1/0
description connection to R5
ip address 172.17.1.2 255.255.255.0
ip pim sparse-mode
!
interface Serial1/0
no ip address
shutdown
!
interface Ethernet1/1
no ip address
shutdown
!
interface Serial1/1
no ip address
shutdown
!
router ospf 1
log-adjacency-changes
redistribute connected metric 100 subnets
passive-interface Ethernet0/1
network 172.17.0.0 0.0.255.255 area 0.0.0.0
default-information originate always
!
router bgp 2
no bgp default ipv4-unicast
bgp log-neighbor-changes
network 172.17.0.0
neighbor 172.30.2.101 remote-as 1
neighbor 172.30.2.101 activate
neighbor 172.30.2.101 soft-reconfiguration inbound
neighbor 172.30.2.101 prefix-list local-routes out
neighbor 172.30.2.103 remote-as 3
neighbor 172.30.2.103 activate
neighbor 172.30.2.103 soft-reconfiguration inbound
neighbor 172.30.2.103 prefix-list local-routes out
neighbor 172.30.2.104 remote-as 4
neighbor 172.30.2.104 activate
neighbor 172.30.2.104 soft-reconfiguration inbound
neighbor 172.30.2.104 prefix-list local-routes out
neighbor 172.30.2.105 remote-as 5
neighbor 172.30.2.105 activate
neighbor 172.30.2.105 soft-reconfiguration inbound
neighbor 172.30.2.105 prefix-list local-routes out
neighbor 172.30.2.106 remote-as 6
neighbor 172.30.2.106 activate
neighbor 172.30.2.106 soft-reconfiguration inbound
neighbor 172.30.2.106 prefix-list local-routes out
!
address-family ipv4 multicast
neighbor 172.30.2.101 activate
neighbor 172.30.2.101 soft-reconfiguration inbound
neighbor 172.30.2.101 prefix-list local-routes out
neighbor 172.30.2.103 activate
neighbor 172.30.2.103 soft-reconfiguration inbound
neighbor 172.30.2.103 prefix-list local-routes out
neighbor 172.30.2.104 activate
neighbor 172.30.2.104 soft-reconfiguration inbound
neighbor 172.30.2.104 prefix-list local-routes out
neighbor 172.30.2.105 activate
neighbor 172.30.2.105 soft-reconfiguration inbound
neighbor 172.30.2.105 prefix-list local-routes out
neighbor 172.30.2.106 activate
neighbor 172.30.2.106 soft-reconfiguration inbound
neighbor 172.30.2.106 prefix-list local-routes out
network 172.17.0.0
exit-address-family
!
ip classless
ip route 172.17.0.0 255.255.0.0 Null0
no ip http server
ip pim rp-address 172.17.253.1
ip pim spt-threshold infinity
ip msdp peer 172.30.2.101 connect-source Ethernet0/1 remote-as 1
ip msdp peer 172.30.2.103 connect-source Ethernet0/1 remote-as 3
ip msdp peer 172.30.2.104 connect-source Ethernet0/1 remote-as 4
ip msdp peer 172.30.2.105 connect-source Ethernet0/1 remote-as 5
ip msdp peer 172.30.2.106 connect-source Ethernet0/1 remote-as 6
ip msdp cache-sa-state
!
!
ip prefix-list local-routes seq 5 permit 172.17.0.0/16
ip prefix-list local-routes seq 10 deny 0.0.0.0/0 le 32
tftp-server flash:c3620-i-mz.121-15.bin
!
line con 0
line aux 0
line vty 0 4
no login
!
end
g2r1#
Group2Router2
g2r2#sh running-config
Building configuration...
Current configuration : 1314 bytes
!
version 12.1
no service single-slot-reload-enable
service timestamps debug uptime
service timestamps log uptime
no service password-encryption
!
hostname g2r2
!
enable password poclab
!
!
!
!
!
ip subnet-zero
ip cef
no ip domain-lookup
!
ip multicast-routing
!
!
!
interface Loopback0
description unicast loopback
ip address 172.17.254.2 255.255.255.255
ip pim sparse-mode
!
interface Ethernet0/0
no ip address
shutdown
!
interface Serial0/0
ip address 172.17.5.1 255.255.255.0
ip pim sparse-mode
ip ospf cost 10
no ip mroute-cache
keepalive 1
no fair-queue
!
interface Ethernet0/1
no ip address
shutdown
!
interface Serial0/1
description connection to R3
ip address 172.17.6.2 255.255.255.0
ip pim sparse-mode
ip ospf cost 10
keepalive 1
clockrate 4000000
!
interface Serial1/0
no ip address
shutdown
serial restart-delay 0
!
interface Serial1/1
no ip address
shutdown
serial restart-delay 0
!
interface Serial1/2
no ip address
shutdown
serial restart-delay 0
!
interface Serial1/3
no ip address
shutdown
serial restart-delay 0
!
router ospf 1
[retina ~/mcohort/conf-routers]$ cat g2r2
g2r2#sh running-config
Building configuration...
Current configuration : 1314 bytes
!
version 12.1
no service single-slot-reload-enable
service timestamps debug uptime
service timestamps log uptime
no service password-encryption
!
hostname g2r2
!
enable password poclab
!
!
!
!
!
ip subnet-zero
ip cef
no ip domain-lookup
!
ip multicast-routing
!
!
!
interface Loopback0
description unicast loopback
ip address 172.17.254.2 255.255.255.255
ip pim sparse-mode
!
interface Ethernet0/0
no ip address
shutdown
!
interface Serial0/0
ip address 172.17.5.1 255.255.255.0
ip pim sparse-mode
ip ospf cost 10
no ip mroute-cache
keepalive 1
no fair-queue
!
interface Ethernet0/1
no ip address
shutdown
!
interface Serial0/1
description connection to R3
ip address 172.17.6.2 255.255.255.0
ip pim sparse-mode
ip ospf cost 10
keepalive 1
clockrate 4000000
!
interface Serial1/0
no ip address
shutdown
serial restart-delay 0
!
interface Serial1/1
no ip address
shutdown
serial restart-delay 0
!
interface Serial1/2
no ip address
shutdown
serial restart-delay 0
!
interface Serial1/3
no ip address
shutdown
serial restart-delay 0
!
router ospf 1
log-adjacency-changes
network 172.17.0.0 0.0.255.255 area 0.0.0.0
!
ip classless
no ip http server
ip pim rp-address 172.17.253.1
ip pim spt-threshold infinity
!
!
line con 0
exec-timeout 0 0
line aux 0
line vty 0 4
no login
!
end
g2r2#
Group2Router3
Using 1030 out of 29688 bytes
!
version 12.1
no service single-slot-reload-enable
service timestamps debug uptime
service timestamps log uptime
no service password-encryption
!
hostname g2r3
!
enable password poclab
!
!
!
!
!
ip subnet-zero
ip cef
no ip domain-lookup
!
ip multicast-routing
!
!
!
interface Loopback0
description unicast loopback
ip address 172.17.254.3 255.255.255.255
ip pim sparse-mode
!
interface Ethernet0/0
description connection to R5
ip address 172.17.3.1 255.255.255.0
ip pim sparse-mode
!
interface Serial0/0
description connection t R2
ip address 172.17.6.1 255.255.255.0
ip pim sparse-mode
ip ospf cost 10
no ip mroute-cache
keepalive 1
no fair-queue
!
interface Ethernet0/1
description connection to multicast receiver
ip address 172.17.7.2 255.255.255.0
ip pim sparse-mode
no keepalive
!
router ospf 1
log-adjacency-changes
network 172.17.0.0 0.0.255.255 area 0.0.0.0
!
ip classless
no ip http server
ip pim rp-address 172.17.253.1
ip pim spt-threshold 0
!
!
line con 0
line aux 0
line vty 0 4
no login
!
end
Group2Router4
!
version 12.1
no service single-slot-reload-enable
service timestamps debug uptime
service timestamps log uptime
no service password-encryption
!
hostname g2r4
!
enable password poclab
!
!
!
!
!
ip subnet-zero
no ip domain-lookup
!
ip multicast-routing
!
!
!
interface Loopback0
description unicast loopback
ip address 172.17.254.4 255.255.255.255
ip pim sparse-mode
!
interface Ethernet0/0
description connection to R5
ip address 172.17.2.1 255.255.255.0
ip pim sparse-mode
!
interface Serial0/0
no ip address
no ip mroute-cache
shutdown
!
interface Ethernet0/1
description connection to multicast source
ip address 172.17.4.2 255.255.255.0
ip pim sparse-mode
no keepalive
!
router ospf 1
log-adjacency-changes
network 172.17.0.0 0.0.255.255 area 0.0.0.0
!
ip default-gateway 128.223.229.1
ip classless
ip route 0.0.0.0 0.0.0.0 128.223.229.1
no ip http server
ip pim rp-address 172.17.253.1
ip pim spt-threshold infinity
!
!
line con 0
line aux 0
line vty 0 4
no login
!
Group2Router5
workshop-gateway>g2r5
Translating "g2r5"
Trying g2r5 (172.17.254.5)... Open
g2r5 (ttyp1)
login: lab
Password:
Last login: Fri Jun 21 08:58:06 from 172.30.1.1
--- JUNOS 5.3R2.4 built 2002-06-03 18:59:57 UTC
lab @ g2r5> edit
Entering configuration mode
Users currently editing the configuration:
lab terminal p0 (pid 3333) on since 2002-06-21 08:58:12 PDT
[edit]
[edit]
lab @ g2r5# show
version 5.3R2.4;
system {
host-name g2r5;
domain-name poc.juniper.net;
domain-search [ poc.juniper.net juniper.net jnpr.net ];
time-zone America/Los_Angeles;
root-authentication {
encrypted-password "$1$fT/8Ao0S$b1ecrkVwDNvpPlY/roAei1"; # SECRET-DATA
}
login {
user lab {
uid 2001;
class super-user;
authentication {
encrypted-password "$1$ychY7JgX$gNwpyVWp50Sy/d6F23uRV."; # SECRET-DATA
}
}
user remote {
uid 2000;
class superuser;
}
}
services {
ftp;
ssh;
telnet;
}
syslog {
user * {
any emergency;
}
file messages {
any notice;
authorization info;
}
}
}
interfaces {
fe-0/3/0 {
unit 0 {
family inet {
address 172.17.1.1/24;
}
}
}
fe-0/3/1 {
unit 0 {
family inet {
address 172.17.2.2/24;
}
}
}
fe-0/3/2 {
unit 0 {
family inet {
address 172.17.3.2/24;
}
}
}
lo0 {
unit 0 {
family inet {
address 172.17.254.5/32;
}
}
}
}
routing-options {
router-id 172.17.254.5;
}
protocols {
igmp {
interface all {
version 2;
}
}
ospf {
traffic-engineering;
area 0.0.0.0 {
interface all;
interface fe-0/3/0.0 {
metric 10;
}
interface fe-0/3/1.0 {
metric 10;
}
interface fe-0/3/2.0 {
metric 10;
}
}
}
pim {
rp {
static {
address 172.17.253.1 {
version 2;
}
}
}
interface all {
mode sparse;
version 2;
}
}
}
[edit]
lab @ g2r5#
sh run
Building configuration...
Current configuration : 4194 bytes
!
version 12.1
no service single-slot-reload-enable
service timestamps debug uptime
service timestamps log uptime
no service password-encryption
!
hostname g3r1
!
logging buffered 4096 debugging
enable password poclab
!
!
!
!
!
memory-size iomem 10
ip subnet-zero
ip cef
no ip domain-lookup
!
ip multicast-routing
!
!
!
interface Loopback0
description unicast loopback
ip address 172.18.254.1 255.255.255.255
ip pim sparse-mode
!
interface Loopback1
description PIM loopback
ip address 172.18.253.1 255.255.255.255
ip pim sparse-mode
!
interface Ethernet0/0
description unicast interdomain
ip address 172.30.1.103 255.255.255.0
!
interface Ethernet0/1
description interdomain multicast keep shut down until told
ip address 172.30.2.103 255.255.255.0
ip pim sparse-mode
!interface Ethernet0/2
description connection to R5
ip address 172.18.1.2 255.255.255.0
ip pim sparse-mode
!
interface Ethernet0/3
no ip address
shutdown
!
interface Serial1/0
description connection to R2
ip address 172.18.5.2 255.255.255.0
ip pim sparse-mode
ip ospf cost 10
keepalive 1
serial restart-delay 0
clockrate 4032000
!
interface Serial1/1
no ip address
shutdown
serial restart-delay 0
!
interface Serial1/2
no ip address
shutdown
serial restart-delay 0
!
interface Serial1/3
no ip address
shutdown
serial restart-delay 0
!
router ospf 1
log-adjacency-changes
redistribute connected metric 100 subnets
passive-interface Ethernet0/0
passive-interface Ethernet0/1
network 172.18.0.0 0.0.255.255 area 0.0.0.0
default-information originate
!
router bgp 3
no bgp default ipv4-unicast
bgp log-neighbor-changes
network 172.18.0.0
neighbor 170.30.2.103 remote-as 3
neighbor 172.18.1.1 remote-as 3
neighbor 172.18.1.1 activate
neighbor 172.30.2.101 remote-as 1
neighbor 172.30.2.101 activate
neighbor 172.30.2.101 soft-reconfiguration inbound
neighbor 172.30.2.101 prefix-list routes-out out
neighbor 172.30.2.102 remote-as 2
neighbor 172.30.2.102 activate
neighbor 172.30.2.102 soft-reconfiguration inbound
neighbor 172.30.2.102 prefix-list routes-out out
neighbor 172.30.2.104 remote-as 4
neighbor 172.30.2.104 update-source Ethernet0/1
neighbor 172.30.2.104 activate
neighbor 172.30.2.104 prefix-list routes-out out
neighbor 172.30.2.105 remote-as 5
neighbor 172.30.2.105 activate
neighbor 172.30.2.105 soft-reconfiguration inbound
neighbor 172.30.2.105 prefix-list routes-out out
neighbor 172.30.2.106 remote-as 6
neighbor 172.30.2.106 activate
neighbor 172.30.2.106 soft-reconfiguration inbound
neighbor 172.30.2.106 prefix-list routes-out out
no auto-summary
!
address-family ipv4 multicast
neighbor 172.18.1.1 activate
neighbor 172.30.2.101 activate
neighbor 172.30.2.101 soft-reconfiguration inbound
neighbor 172.30.2.101 prefix-list routes-out out
neighbor 172.30.2.102 activate
neighbor 172.30.2.102 soft-reconfiguration inbound
neighbor 172.30.2.102 prefix-list routes-out out
neighbor 172.30.2.104 activate
neighbor 172.30.2.104 soft-reconfiguration inbound
neighbor 172.30.2.104 prefix-list routes-out out
neighbor 172.30.2.105 activate
neighbor 172.30.2.105 soft-reconfiguration inbound
neighbor 172.30.2.105 prefix-list routes-out out
neighbor 172.30.2.106 activate
neighbor 172.30.2.106 soft-reconfiguration inbound
neighbor 172.30.2.106 prefix-list routes-out out
network 172.18.0.0
exit-address-family
!
ip classless
ip route 0.0.0.0 0.0.0.0 Null0 130
ip route 172.18.0.0 255.255.0.0 Null0 250
ip http server
ip pim rp-address 172.18.253.1
ip pim spt-threshold 0
ip msdp peer 172.30.2.104 connect-source Ethernet0/1 remote-as 4
ip msdp peer 172.30.2.101 connect-source Ethernet0/1 remote-as 1
ip msdp peer 172.30.2.102 connect-source Ethernet0/1 remote-as 2
ip msdp peer 172.30.2.105 connect-source Ethernet0/1 remote-as 5
ip msdp peer 172.30.2.106 connect-source Ethernet0/1 remote-as 6
ip msdp cache-sa-state
!
!
ip prefix-list routes-out seq 10 permit 172.18.0.0/16
!
ip access-list extended bgpfilterlist
permit ip 172.18.0.0 0.0.255.255 any
deny ip any any
tftp-server flash:c3620-i-mz.121-15.bin
tftp-server flash:c2600-i-mz.121-15.bin
!
line con 0
line aux 0
line vty 0 4
exec-timeout 60 0
no login
!
end
Group3Router1
sh run
Building configuration...
Current configuration : 4194 bytes
!
version 12.1
no service single-slot-reload-enable
service timestamps debug uptime
service timestamps log uptime
no service password-encryption
!
hostname g3r1
!
logging buffered 4096 debugging
enable password poclab
!
!
!
!
!
memory-size iomem 10
ip subnet-zero
ip cef
no ip domain-lookup
!
ip multicast-routing
!
!
!
interface Loopback0
description unicast loopback
ip address 172.18.254.1 255.255.255.255
ip pim sparse-mode
!
interface Loopback1
description PIM loopback
ip address 172.18.253.1 255.255.255.255
ip pim sparse-mode
!
interface Ethernet0/0
description unicast interdomain
ip address 172.30.1.103 255.255.255.0
!
interface Ethernet0/1
description interdomain multicast keep shut down until told
ip address 172.30.2.103 255.255.255.0
ip pim sparse-mode
!interface Ethernet0/2
description connection to R5
ip address 172.18.1.2 255.255.255.0
ip pim sparse-mode
!
interface Ethernet0/3
no ip address
shutdown
!
interface Serial1/0
description connection to R2
ip address 172.18.5.2 255.255.255.0
ip pim sparse-mode
ip ospf cost 10
keepalive 1
serial restart-delay 0
clockrate 4032000
!
interface Serial1/1
no ip address
shutdown
serial restart-delay 0
!
interface Serial1/2
no ip address
shutdown
serial restart-delay 0
!
interface Serial1/3
no ip address
shutdown
serial restart-delay 0
!
router ospf 1
log-adjacency-changes
redistribute connected metric 100 subnets
passive-interface Ethernet0/0
passive-interface Ethernet0/1
network 172.18.0.0 0.0.255.255 area 0.0.0.0
default-information originate
!
router bgp 3
no bgp default ipv4-unicast
bgp log-neighbor-changes
network 172.18.0.0
neighbor 170.30.2.103 remote-as 3
neighbor 172.18.1.1 remote-as 3
neighbor 172.18.1.1 activate
neighbor 172.30.2.101 remote-as 1
neighbor 172.30.2.101 activate
neighbor 172.30.2.101 soft-reconfiguration inbound
neighbor 172.30.2.101 prefix-list routes-out out
neighbor 172.30.2.102 remote-as 2
neighbor 172.30.2.102 activate
neighbor 172.30.2.102 soft-reconfiguration inbound
neighbor 172.30.2.102 prefix-list routes-out out
neighbor 172.30.2.104 remote-as 4
neighbor 172.30.2.104 update-source Ethernet0/1
neighbor 172.30.2.104 activate
neighbor 172.30.2.104 prefix-list routes-out out
neighbor 172.30.2.105 remote-as 5
neighbor 172.30.2.105 activate
neighbor 172.30.2.105 soft-reconfiguration inbound
neighbor 172.30.2.105 prefix-list routes-out out
neighbor 172.30.2.106 remote-as 6
neighbor 172.30.2.106 activate
neighbor 172.30.2.106 soft-reconfiguration inbound
neighbor 172.30.2.106 prefix-list routes-out out
no auto-summary
!
address-family ipv4 multicast
neighbor 172.18.1.1 activate
neighbor 172.30.2.101 activate
neighbor 172.30.2.101 soft-reconfiguration inbound
neighbor 172.30.2.101 prefix-list routes-out out
neighbor 172.30.2.102 activate
neighbor 172.30.2.102 soft-reconfiguration inbound
neighbor 172.30.2.102 prefix-list routes-out out
neighbor 172.30.2.104 activate
neighbor 172.30.2.104 soft-reconfiguration inbound
neighbor 172.30.2.104 prefix-list routes-out out
neighbor 172.30.2.105 activate
neighbor 172.30.2.105 soft-reconfiguration inbound
neighbor 172.30.2.105 prefix-list routes-out out
neighbor 172.30.2.106 activate
neighbor 172.30.2.106 soft-reconfiguration inbound
neighbor 172.30.2.106 prefix-list routes-out out
network 172.18.0.0
exit-address-family
!
ip classless
ip route 0.0.0.0 0.0.0.0 Null0 130
ip route 172.18.0.0 255.255.0.0 Null0 250
ip http server
ip pim rp-address 172.18.253.1
ip pim spt-threshold 0
ip msdp peer 172.30.2.104 connect-source Ethernet0/1 remote-as 4
ip msdp peer 172.30.2.101 connect-source Ethernet0/1 remote-as 1
ip msdp peer 172.30.2.102 connect-source Ethernet0/1 remote-as 2
ip msdp peer 172.30.2.105 connect-source Ethernet0/1 remote-as 5
ip msdp peer 172.30.2.106 connect-source Ethernet0/1 remote-as 6
ip msdp cache-sa-state
!
!
ip prefix-list routes-out seq 10 permit 172.18.0.0/16
!
ip access-list extended bgpfilterlist
permit ip 172.18.0.0 0.0.255.255 any
deny ip any any
tftp-server flash:c3620-i-mz.121-15.bin
tftp-server flash:c2600-i-mz.121-15.bin
!
line con 0
line aux 0
line vty 0 4
exec-timeout 60 0
no login
!
end
g3r1#
Group3Router2
sh run
Building configuration...
Current configuration : 1074 bytes
!
version 12.1
no service single-slot-reload-enable
service timestamps debug uptime
service timestamps log uptime
no service password-encryption
!
hostname g3r2
!
enable password poclab
!
!
!
!
!
ip subnet-zero
ip cef
no ip domain-lookup
!
ip multicast-routing
!
!
!
interface Loopback0
description unicast loopback
ip address 172.18.254.2 255.255.255.255
!
interface Ethernet0/0
no ip address
shutdown
!
interface Serial0/0
description connection to R1
ip address 172.18.5.1 255.255.255.0
ip pim sparse-mode
ip ospf cost 10
no ip mroute-cache
keepalive 1
no fair-queue
!
interface Ethernet0/1
no ip address
shutdown
!
interface Serial0/1
description connection to R3
ip address 172.18.6.2 255.255.255.0
ip pim sparse-mode
ip ospf cost 10
keepalive 1
clockrate 4000000
!
router ospf 1
log-adjacency-changes
network 172.18.0.0 0.0.255.255 area 0.0.0.0
!
ip classless
no ip http server
ip pim rp-address 172.18.253.1
ip pim spt-threshold 0
!
tftp-server flash:c2600-i-mz.121-15.bin
!
line con 0
line aux 0
line vty 0 4
exec-timeout 60 0
no login
!
end
g3r2#
Group3Router3
sh run
Building configuration...
Current configuration : 1101 bytes
!
version 12.1
no service single-slot-reload-enable
service timestamps debug uptime
service timestamps log uptime
no service password-encryption
!
hostname g3r3
!
enable password poclab
!
!
!
!
!
memory-size iomem 10
ip subnet-zero
ip cef
no ip domain-lookup
!
ip multicast-routing
!
!
!
interface Loopback0
description unicast loopback
ip address 172.18.254.3 255.255.255.255
!
interface Ethernet0/0
description connection to R5
ip address 172.18.3.1 255.255.255.0
ip pim sparse-mode
!
interface Serial0/0
description connection to R2
ip address 172.18.6.1 255.255.255.0
ip pim sparse-mode
ip ospf cost 10
no ip mroute-cache
keepalive 1
no fair-queue
!
interface Ethernet0/1
description connection to multicast receiver
ip address 172.18.7.2 255.255.255.0
ip pim sparse-mode
ip igmp static-group 224.1.1.1
no keepalive
!
router ospf 1
log-adjacency-changes
network 172.18.0.0 0.0.255.255 area 0.0.0.0
!
ip classless
no ip http server
ip pim rp-address 172.18.253.1
ip pim spt-threshold 0
!
!
line con 0
exec-timeout 0 0
line aux 0
line vty 0 4
exec-timeout 60 0
no login
!
end
g3r3#
Group3Router4
version 12.1
no service single-slot-reload-enable
service timestamps debug uptime
service timestamps log uptime
no service password-encryption
!
hostname g3r4
!
enable password poclab
!
!
!
!
!
memory-size iomem 10
ip subnet-zero
ip cef
no ip domain-lookup
!
ip multicast-routing
!
!
!
interface Loopback0
description unicast loopback
ip address 172.18.254.4 255.255.255.255
!
interface Ethernet0/0
description connection to R5
ip address 172.18.2.1 255.255.255.0
ip pim sparse-mode
!
interface Ethernet0/1
description connection to multicast source
ip address 172.18.4.2 255.255.255.0
ip pim sparse-mode
no keepalive
!
router ospf 1
log-adjacency-changes
network 172.18.0.0 0.0.255.255 area 0.0.0.0
!
ip classless
no ip http server
ip pim rp-address 172.18.253.1
ip pim spt-threshold 0
!
!
line con 0
line aux 0
line vty 0 4
exec-timeout 60 0
no login
!
end
Group3Router4
sh run
Building configuration...
Current configuration : 875 bytes
!
version 12.1
no service single-slot-reload-enable
service timestamps debug uptime
service timestamps log uptime
no service password-encryption
!
hostname g3r4
!
enable password poclab
!
!
!
!
!
memory-size iomem 10
ip subnet-zero
ip cef
no ip domain-lookup
!
ip multicast-routing
!
!
!
interface Loopback0
description unicast loopback
ip address 172.18.254.4 255.255.255.255
!
interface Ethernet0/0
description connection to R5
ip address 172.18.2.1 255.255.255.0
ip pim sparse-mode
!
interface Ethernet0/1
description connection to multicast source
ip address 172.18.4.2 255.255.255.0
ip pim sparse-mode
no keepalive
!
router ospf 1
log-adjacency-changes
network 172.18.0.0 0.0.255.255 area 0.0.0.0
!
ip classless
no ip http server
ip pim rp-address 172.18.253.1
ip pim spt-threshold 0
!
!
line con 0
line aux 0
line vty 0 4
exec-timeout 60 0
no login
!
end
g3r4#
Group3Router5
g3r4# show configuration
version 5.3R2.4;
system {
host-name g3r5;
login {
user lab {
uid 2002;
class super-user;
authentication {
encrypted-password "$1$khYvUDWb$y.mHqQHA0TM6iu7ofEG2j/"; # SECRET-DATA
}
}
}
services {
telnet;
}
}
interfaces {
fe-0/3/0 {
unit 0 {
family inet {
address 172.18.1.1/24;
}
}
}
fe-0/3/1 {
unit 0 {
family inet {
address 172.18.2.2/24;
}
}
}
fe-0/3/2 {
unit 0 {
family inet {
address 172.18.3.2/24;
}
}
}
lo0 {
unit 0 {
family inet {
address 172.18.254.5/32;
}
}
}
}
routing-options {
interface-routes {
rib-group inet if-rib;
}
rib-groups {
if-rib {
import-rib [ inet.0 inet.2 ];
}
mcast-rib {
export-rib inet.2;
import-rib inet.2;
}
ospf-rib {
export-rib inet.0;
import-rib [ inet.0 inet.2 ];
}
}
router-id 172.18.254.5;
}
protocols {
igmp {
interface all {
version 2;
}
}
bgp {
local-as 3;
group to-core-routers {
type internal;
local-address 172.18.1.1;
peer-as 3;
neighbor 172.18.1.2 {
family inet {
any;
}
}
}
}
ospf {
rib-group ospf-rib;
area 0.0.0.0 {
interface all;
interface fe-0/3/0.0 {
metric 10;
}
interface fe-0/3/1.0 {
metric 10;
}
interface fe-0/3/2.0 {
metric 10;
}
}
}
pim {
rib-group inet mcast-rib;
rp {
static {
address 172.18.253.1 {
version 2;
}
}
}
interface all {
mode sparse;
version 2;
}
}
}
lab @ g3r5>
Group4Router1
no service single-slot-reload-enable
service timestamps debug uptime
service timestamps log uptime
no service password-encryption
!
hostname g4r1
!
enable password poclab
!
!
!
!
!
ip subnet-zero
ip cef
no ip domain-lookup
!
ip multicast-routing
!
!
!
interface Loopback0
ip address 172.19.254.1 255.255.255.255
!
interface Ethernet0/0
description unicast interdomain
ip address 172.30.1.104 255.255.255.0
ip pim sparse-mode
!
interface Ethernet0/1
ip address 172.30.2.104 255.255.255.0
ip pim sparse-mode
shutdown
!
interface Ethernet0/2
ip address 172.19.1.2 255.255.255.0
ip pim sparse-mode
!
interface Ethernet0/3
no ip address
shutdown
!
interface Ethernet1/0
no ip address
shutdown
!
interface Serial1/0
ip address 172.19.5.2 255.255.255.0
ip pim sparse-mode
ip ospf cost 10
keepalive 1
clockrate 4000000
!
interface Ethernet1/1
no ip address
shutdown
!
router ospf 100
log-adjacency-changes
redistribute connected metric 100 subnets
passive-interface Ethernet0/0
passive-interface Ethernet0/1
network 172.19.0.0 0.0.255.255 area 0
!
ip classless
no ip http server
ip pim spt-threshold 0
!
tftp-server flash:c3620-i-mz.121-15.bin
!
line con 0
line aux 0
line vty 0 4
no login
!
end
Group4Router2
g4r2#show config
Using 926 out of 30712 bytes
!
version 12.1
no service single-slot-reload-enable
service timestamps debug uptime
service timestamps log uptime
no service password-encryption
!
hostname g4r2
!
enable password poclab
!
!
!
!
!
ip subnet-zero
ip cef
no ip domain-lookup
!
ip multicast-routing
!
!
!
interface Loopback0
ip address 172.19.254.2 255.255.255.255
!
interface Ethernet0/0
no ip address
shutdown
!
interface Serial0/0
ip address 172.19.5.1 255.255.255.0
ip pim sparse-mode
ip ospf cost 10
keepalive 1
!
interface Ethernet0/1
no ip address
shutdown
!
interface Serial0/1
ip address 172.19.6.2 255.255.255.0
ip pim sparse-mode
ip ospf cost 10
keepalive 1
clockrate 4000000
!
router ospf 100
log-adjacency-changes
network 172.19.0.0 0.0.255.255 area 0
!
ip classless
no ip http server
ip pim rp-address 172.19.253.1
ip pim spt-threshold 0
!
tftp-server flash:c3620-i-mz.121-15.bin
!
line con 0
line aux 0
line vty 0 4
no login
!
end
g4r2#
Group4Router3
g4r3#show running
Building configuration...
Current configuration : 868 bytes
!
version 12.1
no service single-slot-reload-enable
service timestamps debug uptime
service timestamps log uptime
no service password-encryption
!
hostname g4r3
!
enable password poclab
!
!
!
!
!
ip subnet-zero
ip cef
no ip domain-lookup
!
ip multicast-routing
!
!
!
interface Loopback0
ip address 172.19.254.3 255.255.255.255
!
interface Ethernet0/0
ip address 172.19.3.1 255.255.255.0
ip pim sparse-mode
!
interface Serial0/0
ip address 172.19.6.1 255.255.255.0
ip pim sparse-mode
ip ospf cost 10
keepalive 1
!
interface Ethernet0/1
ip address 172.19.7.2 255.255.255.0
ip pim sparse-mode
ip igmp static-group 224.1.1.1
no keepalive
!
router ospf 100
log-adjacency-changes
network 172.19.0.0 0.0.255.255 area 0
!
ip classless
no ip http server
ip pim rp-address 172.19.253.1
ip pim spt-threshold 0
!
!
line con 0
line aux 0
line vty 0 4
no login
!
end
Group4Router4
g4r4#sh run
Building configuration...
Current configuration : 869 bytes
!
version 12.1
no service single-slot-reload-enable
service timestamps debug uptime
service timestamps log uptime
no service password-encryption
!
hostname g4r4
!
enable password poclab
!
!
!
!
!
ip subnet-zero
ip cef
no ip domain-lookup
!
ip multicast-routing
!
!
!
interface Loopback0
description unicast loopback
ip address 172.19.254.4 255.255.255.255
!
interface Ethernet0/0
ip address 172.19.2.1 255.255.255.0
ip pim sparse-mode
!
interface Ethernet0/1
ip address 172.19.4.2 255.255.255.0
ip pim sparse-mode
no keepalive
!
interface Ethernet0/2
no ip address
shutdown
!
interface Ethernet0/3
ip address 128.223.229.170 255.255.255.0
!
router ospf 100
log-adjacency-changes
network 172.19.0.0 0.0.255.255 area 0
!
ip classless
ip http server
ip pim rp-address 172.19.253.1
ip pim spt-threshold 0
!
!
line con 0
line aux 0
line vty 0 4
no login
!
end
Group4Router5
lab @ g4r5> show configuration
version 5.3R2.4;
system {
host-name g4r5;
root-authentication {
encrypted-password "$1$mtybBmTd$972Bt9tHF8cHfjFobRuEO1"; # SECRET-DATA
}
login {
user lab {
uid 2001;
class super-user;
authentication {
encrypted-password "$1$spdPaLgk$bGI9oSRw4rB4F39.CZPCx0"; # SECRET-DATA
}
}
user remote {
uid 2000;
class superuser;
}
}
services {
ftp;
ssh;
telnet;
}
syslog {
host 172.19.32.171 {
any notice;
authorization info;
}
}
}
interfaces {
fe-0/3/0 {
unit 0 {
family inet {
address 172.19.1.1/24;
}
}
}
fe-0/3/1 {
unit 0 {
family inet {
address 172.19.2.2/24;
}
}
}
fe-0/3/2 {
unit 0 {
family inet {
address 172.19.3.2/24;
}
}
}
fe-0/3/3 {
unit 0 {
family inet {
address 172.30.2.104/24;
}
}
}
lo0 {
unit 0 {
family inet {
address 172.19.254.5/32 {
primary;
}
address 172.19.253.1/32;
}
}
}
}
routing-options {
interface-routes {
rib-group inet if-rib;
}
rib inet.2 {
static {
route 172.19.0.0/16 discard;
route 0.0.0.0/0 discard;
}
}
static {
route 172.19.0.0/16 discard;
route 0.0.0.0/0 discard;
}
rib-groups {
if-rib {
import-rib [ inet.0 inet.2 ];
}
mcast-rib {
export-rib inet.2;
import-rib inet.2;
}
ospf-rib {
export-rib inet.0;
import-rib [ inet.0 inet.2 ];
}
}
router-id 172.19.254.5;
autonomous-system 4;
}
protocols {
igmp {
interface all {
version 2;
}
}
bgp {
group EXTERNAL {
type external;
import IMP;
export [ EXP STATIC DENY ];
neighbor 172.30.2.103 {
family inet {
any;
}
peer-as 3;
}
neighbor 172.30.2.101 {
family inet {
any;
}
peer-as 1;
}
neighbor 172.30.2.105 {
family inet {
any;
}
peer-as 5;
}
neighbor 172.30.2.102 {
family inet {
any;
}
peer-as 2;
}
neighbor 172.30.2.106 {
family inet {
any;
}
peer-as 6;
}
}
}
msdp {
rib-group mcast-rib;
peer 172.30.2.103 {
local-address 172.30.2.104;
}
peer 172.30.2.101 {
local-address 172.30.2.104;
}
peer 172.30.2.105 {
local-address 172.30.2.104;
}
peer 172.30.2.102 {
local-address 172.30.2.104;
}
peer 172.30.2.106 {
local-address 172.30.2.104;
}
}
ospf {
export local+default;
area 0.0.0.0 {
interface all;
interface fe-0/3/0.0 {
metric 10;
}
interface fe-0/3/1.0 {
metric 10;
}
interface fe-0/3/2.0 {
metric 10;
}
interface fe-0/3/3.0 {
passive;
}
}
}
pim {
rib-group inet mcast-rib;
rp {
local {
address 172.19.253.1;
}
}
interface all {
mode sparse;
version 2;
}
}
}
policy-options {
policy-statement FILTER1 {
from {
interface fe-0/3/3.0;
route-filter 224.0.1.40/32 exact;
}
then reject;
}
policy-statement STATIC {
from {
protocol static;
route-filter 172.19.0.0/16 exact;
}
then accept;
}
policy-statement local+default {
from {
route-filter 172.19.0.0/16 orlonger;
route-filter 0.0.0.0/0 exact;
}
then accept;
}
policy-statement EXP {
from {
route-filter 172.19.0.0/16 exact;
}
then accept;
}
policy-statement DENY {
then reject;
}
policy-statement IMP {
from {
route-filter 172.19.0.0/16 exact reject;
route-filter 172.16.0.0/16 through 172.21.0.0/16;
}
}
}
Group5Router1
workshop-gateway>g5r1
Translating "g5r1"
Trying g5r1 (172.20.254.1)... Open
g5r1>en
Password:
g5r1#sho run
Building configuration...
Current configuration : 1388 bytes
!
version 12.1
no service single-slot-reload-enable
service timestamps debug uptime
service timestamps log uptime
no service password-encryption
!
hostname g5r1
!
enable password poclab
!
!
!
!
!
ip subnet-zero
ip cef
no ip domain-lookup
!
ip multicast-routing
!
!
!
interface Loopback0
ip address 172.20.254.1 255.255.255.255
!
interface Ethernet0/0
description unicast interdomain
ip address 172.30.1.105 255.255.255.0
!
interface Serial0/0
ip address 172.20.5.2 255.255.255.0
ip pim sparse-mode
ip ospf cost 10
no ip mroute-cache
keepalive 1
no fair-queue
clockrate 2000000
!
interface Ethernet0/1
description multicast interdomain keep shut down until tld
ip address 172.30.2.105 255.255.255.0
shutdown
!
interface Serial0/1
no ip address
!
interface Ethernet1/0
ip address 172.20.1.2 255.255.255.0
ip pim sparse-mode
!
interface Serial1/0
no ip address
shutdown
!
interface Ethernet1/1
ip address 172.20.8.1 255.255.255.0
ip pim sparse-mode
!
interface Serial1/1
no ip address
shutdown
!
router ospf 100
log-adjacency-changes
redistribute connected metric 100 subnets
passive-interface Ethernet0/0
passive-interface Ethernet0/1
network 172.20.0.0 0.0.255.255 area 0
!
ip classless
no ip http server
ip pim rp-address 172.20.253.1
ip pim spt-threshold infinity
!
tftp-server flash c3620-i-mz.121-15.bin
!
line con 0
line aux 0
line vty 0 4
no login
!
end
g5r1#exit
[Connection to g5r1 closed by foreign host]
Group5Router2
workshop-gateway>g5r2
Translating "g5r2"
Trying g5r2 (172.20.254.2)... Open
g5r2>en
Password:
g5r2#sho run
Building configuration...
Current configuration : 908 bytes
!
version 12.1
no service single-slot-reload-enable
service timestamps debug uptime
service timestamps log uptime
no service password-encryption
!
hostname g5r2
!
enable password poclab
!
!
!
!
!
ip subnet-zero
ip cef
no ip domain-lookup
!
ip multicast-routing
!
!
!
interface Loopback0
ip address 172.20.254.2 255.255.255.255
!
interface Ethernet0/0
no ip address
shutdown
!
interface Serial0/0
ip address 172.20.5.1 255.255.255.0
ip pim sparse-mode
ip ospf cost 10
keepalive 1
no fair-queue
!
interface Ethernet0/1
no ip address
shutdown
!
interface Serial0/1
ip address 172.20.6.2 255.255.255.0
ip pim sparse-mode
ip ospf cost 10
keepalive 1
clockrate 2000000
!
router ospf 100
log-adjacency-changes
network 172.20.0.0 0.0.255.255 area 0
!
ip classless
no ip http server
ip pim rp-address 172.20.253.1
ip pim spt-threshold infinity
!
!
line con 0
line aux 0
line vty 0 4
no login
!
end
g5r2# exit
[Connection to g5r2 closed by foreign host]
workshop-gateway>g5r3
Translating "g5r3"
Trying g5r3 (172.20.254.3)... Open
Group5Router3
g5r3>en
Password:
g5r3#sho run
Building configuration...
Current configuration : 883 bytes
!
version 12.1
no service single-slot-reload-enable
service timestamps debug uptime
service timestamps log uptime
no service password-encryption
!
hostname g5r3
!
enable password poclab
!
!
!
!
!
ip subnet-zero
ip cef
no ip domain-lookup
!
ip multicast-routing
!
!
!
interface Loopback0
ip address 172.20.254.3 255.255.255.255
!
interface Ethernet0/0
ip address 172.20.3.1 255.255.255.0
ip pim sparse-mode
!
interface Serial0/0
ip address 172.20.6.1 255.255.255.0
ip pim sparse-mode
ip ospf cost 10
keepalive 1
no fair-queue
!
interface Ethernet0/1
ip address 172.20.7.2 255.255.255.0
ip pim sparse-mode
ip igmp static-group 224.1.1.1
no keepalive
!
router ospf 100
log-adjacency-changes
network 172.20.0.0 0.0.255.255 area 0
!
ip classless
no ip http server
ip pim rp-address 172.20.253.1
ip pim spt-threshold 0
!
!
line con 0
line aux 0
line vty 0 4
no login
!
end
g5r3#exit
[Connection to g5r3 closed by foreign host]
Group5Router4
workshop-gateway>g5r4
Translating "g5r4"
Trying g5r4 (172.20.254.4)... Open
g5r4>en
Password:
g5r4#sho run
Building configuration...
Current configuration : 809 bytes
!
version 12.1
no service single-slot-reload-enable
service timestamps debug uptime
service timestamps log uptime
no service password-encryption
!
hostname g5r4
!
enable password poclab
!
!
!
!
!
ip subnet-zero
ip cef
no ip domain-lookup
!
ip multicast-routing
!
!
!
interface Loopback0
ip address 172.20.254.4 255.255.255.255
!
interface Ethernet0/0
ip address 172.20.2.1 255.255.255.0
ip pim sparse-mode
!
interface Serial0/0
no ip address
no ip mroute-cache
shutdown
no fair-queue
!
interface Ethernet0/1
ip address 172.20.4.2 255.255.255.0
ip pim sparse-mode
no keepalive
!
router ospf 100
log-adjacency-changes
network 172.20.0.0 0.0.255.255 area 0
!
ip classless
no ip http server
ip pim rp-address 172.20.253.1
ip pim spt-threshold 0
!
!
line con 0
line aux 0
line vty 0 4
no login
!
end
g5r4#exit
[Connection to g5r4 closed by foreign host]
Group5Router5
workshop-gateway>g5r5
Translating "g5r5"
Trying g5r5 (172.20.254.5)... Open
g5r5 (ttyp0)
login: lab
Password:
Last login: Thu Jun 20 23:37:26 from 172.30.1.1
--- JUNOS 5.3R2.4 built 2002-06-03 18:59:57 UTC
lab @ g5r5> edit
Entering configuration mode
[edit]
lab @ g5r5# show
version 5.3R2.4;
groups {
static {
routing-options {
rib <inet.*> {
static {
route 172.20.0.0/16 discard;
route 0.0.0.0/0 discard;
}
}
}
}
}
system {
host-name g5r5;
domain-name poc.juniper.net;
domain-search [ poc.juniper.net juniper.net ];
ports {
console {
speed 115200; # Warning: 'speed' is deprecated
type ansi;
}
auxiliary {
speed 19200; # Warning: 'speed' is deprecated
type small-xterm;
}
}
login {
user dorado {
uid 2001;
class superuser;
authentication {
encrypted-password "$1$Eklubepv$iM2BMFskd1YR48s6nZAQ9."; # SECRET-DATA
}
}
user lab {
uid 2002;
class super-user;
authentication {
encrypted-password "$1$Zkw9Thwe$evwzRpmgVzpwpQrjA6uC8."; # SECRET-DATA
}
}
user remote {
uid 2000;
class superuser;
}
}
services {
telnet;
}
syslog {
user * {
any emergency;
}
file messages {
any notice;
authorization info;
}
}
}
interfaces {
fe-0/3/0 {
unit 0 {
family inet {
address 172.20.1.1/24;
}
}
}
fe-0/3/1 {
unit 0 {
family inet {
address 172.20.2.2/24;
}
}
}
fe-0/3/2 {
unit 0 {
family inet {
address 172.20.3.2/24;
}
}
}
fe-0/3/3 {
unit 0 {
family inet {
address 172.30.2.105/24;
}
}
}
lo0 {
unit 0 {
family inet {
address 172.20.254.5/32;
address 172.20.253.1/32;
}
}
}
}
routing-options {
interface-routes {
rib-group inet if-rib;
}
rib inet.0 {
apply-groups static;
}
rib inet.2 {
apply-groups static;
}
rib-groups {
if-rib {
import-rib [ inet.0 inet.2 ];
}
mcast-rib {
export-rib inet.2;
import-rib inet.2;
}
ospf-rib {
export-rib inet.0;
import-rib [ inet.0 inet.2 ];
}
}
}
protocols {
igmp {
interface all {
version 2;
}
}
bgp {
local-address 172.30.2.105;
family inet {
any;
}
export as5-routes;
local-as 5;
group as1 {
type external;
neighbor 172.30.2.101 {
peer-as 1;
}
}
group as2 {
type external;
neighbor 172.30.2.102 {
peer-as 2;
}
}
group as3 {
type external;
neighbor 172.30.2.103 {
peer-as 3;
}
}
group as4 {
type external;
neighbor 172.30.2.104 {
peer-as 4;
}
}
group as6 {
type external;
neighbor 172.30.2.106 {
peer-as 6;
}
}
}
msdp {
rib-group mcast-rib;
local-address 172.30.2.105;
peer 172.30.2.101;
peer 172.30.2.102;
peer 172.30.2.103;
peer 172.30.2.104;
peer 172.30.2.106;
}
ospf {
rib-group ospf-rib;
export default-route;
area 0.0.0.0 {
interface all;
interface fe-0/3/0.0 {
metric 10;
}
interface fe-0/3/1.0 {
metric 10;
}
interface fe-0/3/2.0 {
metric 10;
}
interface fe-0/3/3.0 {
passive;
}
}
}
pim {
rp {
local {
address 172.20.253.1;
}
}
interface all {
mode sparse;
version 2;
}
}
}
policy-options {
policy-statement as5-routes {
term Match-Prefix {
from {
protocol static;
route-filter 172.20.0.0/16 exact;
}
then accept;
}
term Reject {
then reject;
}
}
policy-statement default-route {
term Match-Prefix {
from {
protocol static;
route-filter 0.0.0.0/0 exact;
route-filter 172.20.0.0/16 orlonger;
}
then accept;
}
term Reject {
then reject;
}
}
}
[edit]
lab @ g5r5# exit
Exiting configuration mode
lab @ g5r5> exit
[Connection to g5r5 closed by foreign host]
workshop-gateway>exit
<Your 'TELNET' connection has terminated>
Group6Router1
workshop-gateway>g6r1
Translating "g6r1"
Trying g6r1 (172.21.254.1)... Open
g6r1>ena
Password:
g6r1#wr t
Building configuration...
Current configuration : 2710 bytes
!
version 12.1
no service single-slot-reload-enable
service timestamps debug uptime
service timestamps log uptime
no service password-encryption
!
hostname g6r1
!
enable password poclab
!
!
!
!
!
ip subnet-zero
ip cef
no ip domain-lookup
!
ip multicast-routing
ip multicast cache-headers
!
!
!
interface Loopback0
ip address 172.21.254.1 255.255.255.255
!
interface Loopback1
ip address 172.21.253.1 255.255.255.255
!
interface Ethernet0/0
description unicast interdomain
ip address 172.30.1.106 255.255.255.0
ip pim sparse-mode
!
interface Serial0/0
ip address 172.21.5.2 255.255.255.0
ip pim sparse-mode
ip ospf cost 10
keepalive 1
clockrate 2000000
!
interface Ethernet0/1
description multicast interdomain keep shut until told
ip address 172.30.2.106 255.255.255.0
ip pim sparse-mode
!
interface Ethernet1/0
ip address 172.21.1.2 255.255.255.0
ip pim sparse-mode
!
interface Ethernet1/1
no ip address
shutdown
!
router ospf 1
log-adjacency-changes
redistribute connected metric 100 subnets
passive-interface Ethernet0/0
passive-interface Ethernet0/1
network 172.21.0.0 0.0.255.255 area 0
default-information originate always
!
router bgp 6
bgp log-neighbor-changes
network 172.21.0.0
neighbor 172.30.2.101 remote-as 1
neighbor 172.30.2.101 prefix-list notransit out
neighbor 172.30.2.102 remote-as 2
neighbor 172.30.2.102 prefix-list notransit out
neighbor 172.30.2.103 remote-as 3
neighbor 172.30.2.103 prefix-list notransit out
neighbor 172.30.2.104 remote-as 4
neighbor 172.30.2.104 prefix-list notransit out
neighbor 172.30.2.105 remote-as 5
neighbor 172.30.2.105 prefix-list notransit out
!
address-family ipv4 multicast
neighbor 172.30.2.101 activate
neighbor 172.30.2.101 prefix-list notransit out
neighbor 172.30.2.102 activate
neighbor 172.30.2.102 prefix-list notransit out
neighbor 172.30.2.103 activate
neighbor 172.30.2.103 prefix-list notransit out
neighbor 172.30.2.104 activate
neighbor 172.30.2.104 prefix-list notransit out
neighbor 172.30.2.105 activate
neighbor 172.30.2.105 prefix-list notransit out
network 172.21.0.0
exit-address-family
!
ip classless
ip route 172.21.0.0 255.255.0.0 Null0
no ip http server
ip pim rp-address 172.21.253.1
ip pim spt-threshold infinity
ip msdp peer 172.30.2.105 connect-source Ethernet0/1
ip msdp peer 172.30.2.101 connect-source Ethernet0/1
ip msdp peer 172.30.2.102 connect-source Ethernet0/1
ip msdp peer 172.30.2.104 connect-source Ethernet0/1
ip msdp peer 172.30.2.103 connect-source Ethernet0/1
ip msdp cache-sa-state
!
!
ip prefix-list notransit seq 10 permit 172.21.0.0/16
access-list 10 permit 172.21.0.0 0.0.255.255
!
line con 0
line aux 0
line vty 0 4
logging synchronous
no login
!
end
g6r1#ex
[Connection to g6r1 closed by foreign host]
Group6Router2
workshop-gateway>g6r2
Translating "g6r2"
Trying g6r2 (172.21.254.2)... Open
g6r2>ena
Password:
g6r2#term len 0
g6r2#wr t
Building configuration...
Current configuration : 926 bytes
!
version 12.1
no service single-slot-reload-enable
service timestamps debug uptime
service timestamps log uptime
no service password-encryption
!
hostname g6r2
!
enable password poclab
!
!
!
!
!
ip subnet-zero
ip cef
no ip domain-lookup
!
ip multicast-routing
!
!
!
interface Loopback0
ip address 172.21.254.2 255.255.255.255
!
interface Ethernet0/0
no ip address
shutdown
!
interface Serial0/0
ip address 172.21.5.1 255.255.255.0
ip pim sparse-mode
ip ospf cost 10
no ip mroute-cache
keepalive 1
no fair-queue
!
interface Ethernet0/1
no ip address
shutdown
!
interface Serial0/1
ip address 172.21.6.2 255.255.255.0
ip pim sparse-mode
ip ospf cost 10
keepalive 1
clockrate 2000000
!
router ospf 1
log-adjacency-changes
network 172.21.0.0 0.0.255.255 area 0
!
ip classless
no ip http server
ip pim rp-address 172.21.253.1
ip pim spt-threshold infinity
!
!
line con 0
line aux 0
line vty 0 4
no login
!
end
g6r2#ex
[Connection to g6r2 closed by foreign host]
Group6Router3
workshop-gateway>g6r3
Translating "g6r3"
Trying g6r3 (172.21.254.3)... Open
g6r3>ena
Password:
g6r3#term len 0
g6r3#wr t
Building configuration...
Current configuration : 922 bytes
!
version 12.1
no service single-slot-reload-enable
service timestamps debug uptime
service timestamps log uptime
no service password-encryption
!
hostname g6r3
!
enable password poclab
!
!
!
!
!
memory-size iomem 10
ip subnet-zero
ip cef
no ip domain-lookup
!
ip multicast-routing
!
!
!
interface Loopback0
ip address 172.21.254.3 255.255.255.255
!
interface Ethernet0/0
ip address 172.21.3.1 255.255.255.0
ip pim sparse-mode
!
interface Serial0/0
ip address 172.21.6.1 255.255.255.0
ip pim sparse-mode
ip ospf cost 10
keepalive 1
no fair-queue
!
interface Ethernet0/1
ip address 172.21.7.2 255.255.255.0
ip pim sparse-mode
ip igmp static-group 224.1.1.1
no keepalive
!
router ospf 1
log-adjacency-changes
network 172.21.0.0 0.0.255.255 area 0
!
ip classless
no ip http server
ip pim rp-address 172.21.253.1
ip pim spt-threshold 0
!
tftp-server flash:y
!
line con 0
line aux 0
line vty 0 4
no login
!
end
g6r3#ex
[Connection to g6r3 closed by foreign host]
Group6Router4
workshop-gateway>g6r4
Translating "g6r4"
Trying g6r4 (172.21.254.4)... Open
g6r4>ena
Password:
g6r4#term len 0
g6r4#wr t
Building configuration...
Current configuration : 839 bytes
!
version 12.1
no service single-slot-reload-enable
service timestamps debug uptime
service timestamps log uptime
no service password-encryption
!
hostname g6r4
!
enable password poclab
!
!
!
!
!
ip subnet-zero
no ip domain-lookup
!
ip multicast-routing
!
!
!
interface Loopback0
ip address 172.21.254.4 255.255.255.255
!
interface Ethernet0/0
ip address 172.21.2.1 255.255.255.0
ip pim sparse-mode
!
interface Serial0/0
no ip address
no ip mroute-cache
shutdown
!
interface Ethernet0/1
ip address 172.21.4.2 255.255.255.0
ip pim sparse-mode
no keepalive
!
interface Serial0/1
no ip address
shutdown
!
router ospf 1
log-adjacency-changes
network 172.21.0.0 0.0.255.255 area 0
!
ip classless
no ip http server
ip pim rp-address 172.21.253.1
ip pim spt-threshold infinity
!
!
line con 0
line aux 0
line vty 0 4
no login
!
end
g6r4#ex
[Connection to g6r4 closed by foreign host]
Group6Router5
workshop-gateway>g6r5
Translating "g6r5"
Trying g6r5 (172.21.254.5)... Open
g6r5 (ttyp0)
login: lab
Password:
--- JUNOS 5.3R2.4 built 2002-06-03 18:59:57 UTC
lab @ g6r5> show configuration
version 5.3R2.4;
system {
host-name g6r5;
login {
user lab {
uid 2001;
class super-user;
authentication {
encrypted-password "$1$O5ASlBmj$vhIav6DggqP02TPxB.LDO/"; # SECRE
T-DATA
}
}
}
services {
telnet;
}
}
interfaces {
fe-0/3/0 {
unit 0 {
family inet {
address 172.21.1.1/24;
}
}
}
fe-0/3/1 {
unit 0 {
family inet {
address 172.21.2.2/24;
}
}
}
fe-0/3/2 {
unit 0 {
family inet {
address 172.21.3.2/24;
}
}
}
lo0 {
unit 0 {
family inet {
address 172.21.254.5/32;
}
}
}
}
routing-options {
router-id 172.21.254.5;
}
protocols {
igmp {
interface all {
version 2;
}
}
ospf {
area 0.0.0.0 {
interface all;
interface fe-0/3/0.0 {
metric 10;
}
interface fe-0/3/1.0 {
metric 10;
}
interface fe-0/3/2.0 {
metric 10;
}
}
}
pim {
rp {
static {
address 172.21.253.1 {
version 2;
}
}
}
interface all {
mode sparse;
version 2;
}
}
}
lab @ g6r5> quit
[Connection to g6r5 closed by foreign host]