Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
34 changes: 34 additions & 0 deletions snapshots/junos_ospf_topology_metric/batfish/layer1_topology.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
{
"edges": [
{
"node1": {
"hostname": "dut",
"interfaceName": "ge-0/0/0"
},
"node2": {
"hostname": "peer",
"interfaceName": "Ethernet1"
}
},
{
"node1": {
"hostname": "dut",
"interfaceName": "ge-0/0/1"
},
"node2": {
"hostname": "peer",
"interfaceName": "Ethernet2"
}
},
{
"node1": {
"hostname": "dut",
"interfaceName": "ge-0/0/2"
},
"node2": {
"hostname": "peer",
"interfaceName": "Ethernet3"
}
}
]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
set version 25.4R1.12
set system host-name dut
set system root-authentication encrypted-password "$6$tD0oVvQo$40aKmCYwQDt6j6ebBI5JUJ5uq3b8./6idvCtccz19RbpMfXfvC9RETKGV.P1AjgLTl4qQPQ1JNZV40ZY0sH.m."
set system login user admin uid 2000
set system login user admin class super-user
set system login user admin authentication encrypted-password "$6$SZrQ1/zI$sqWdBw1lnQUTdfn97Is4r/Ys9.QJxPITc2uU.KoeB7YMH1kWRs8EWZv.NFj.ujkv/KGMDizbBGCXc5D3EquXC0"
set system services netconf ssh
set system services ssh root-login allow
set system management-instance
set chassis fpc 0 pic 0 number-of-ports 12
set interfaces ge-0/0/0 unit 0 family inet address 10.0.1.0/31
set interfaces ge-0/0/0 unit 0 family inet6 address 2001:db8:1::1/64
set interfaces ge-0/0/1 unit 0 family inet address 10.0.2.0/31
set interfaces ge-0/0/1 unit 0 family inet6 address 2001:db8:2::1/64
set interfaces ge-0/0/2 unit 0 family inet address 10.0.3.0/31
set interfaces ge-0/0/2 unit 0 family inet6 address 2001:db8:3::1/64
set interfaces fxp0 unit 0 family inet address 10.0.0.15/24
set interfaces fxp0 unit 0 family inet6 address 2001:db8::2/64
set interfaces lo0 unit 0 family inet address 10.255.0.1/32
set interfaces lo0 unit 0 family inet6 address 2001:db8:ff::1/128
set interfaces lo0 unit 1 family inet address 10.255.1.1/32
set interfaces lo0 unit 1 family inet6 address 2001:db8:ff:1::1/128
set routing-instances VR instance-type virtual-router
set routing-instances VR routing-options router-id 10.255.1.1
set routing-instances VR protocols ospf topology default
set routing-instances VR protocols ospf area 0.0.0.0 interface ge-0/0/2.0 interface-type p2p
set routing-instances VR protocols ospf area 0.0.0.0 interface ge-0/0/2.0 topology default metric 100
set routing-instances VR protocols ospf area 0.0.0.0 interface lo0.1 passive
set routing-instances VR protocols ospf3 area 0.0.0.0 interface ge-0/0/2.0 interface-type p2p
set routing-instances VR protocols ospf3 area 0.0.0.0 interface ge-0/0/2.0 metric 100
set routing-instances VR protocols ospf3 area 0.0.0.0 interface lo0.1 passive
set routing-instances VR interface ge-0/0/2.0
set routing-instances VR interface lo0.1
set routing-instances mgmt_junos routing-options rib mgmt_junos.inet6.0 static route ::/0 next-hop 2001:db8::1
set routing-instances mgmt_junos routing-options static route 0.0.0.0/0 next-hop 10.0.0.2
set routing-options router-id 10.255.0.1
set protocols ospf topology default
set protocols ospf area 0.0.0.0 interface ge-0/0/0.0 interface-type p2p
set protocols ospf area 0.0.0.0 interface ge-0/0/0.0 topology default metric 100
set protocols ospf area 0.0.0.0 interface ge-0/0/1.0 interface-type p2p
set protocols ospf area 0.0.0.0 interface lo0.0 passive
set protocols ospf3 area 0.0.0.0 interface ge-0/0/0.0 interface-type p2p
set protocols ospf3 area 0.0.0.0 interface ge-0/0/0.0 metric 100
set protocols ospf3 area 0.0.0.0 interface ge-0/0/1.0 interface-type p2p
set protocols ospf3 area 0.0.0.0 interface lo0.0 passive
Original file line number Diff line number Diff line change
@@ -0,0 +1,89 @@
! Command: show running-config
! device: peer (cEOSLab, EOS-4.36.0.1F-47401373.43601F (engineering build))
!
no aaa root
!
username admin privilege 15 role network-admin secret sha512 $6$EjdLEh9m3YD3p0RY$EQdynirAKR6.WVxOM/ediQQqx5v.begZXdSiZb8eGKnt68k.nFxMYocVKuk46PkOpjNc0eZtSCiiWTHgvvKHt.
!
no service interface inactive port-id allocation disabled
!
service routing protocols model multi-agent
!
hostname peer
!
spanning-tree mode mstp
!
system l1
unsupported speed action error
unsupported error-correction action error
!
vrf instance VR
!
aaa authorization exec default local
!
interface Ethernet1
no switchport
ip address 10.0.1.1/31
ipv6 address 2001:db8:1::2/64
ip ospf network point-to-point
ipv6 ospf network point-to-point
ipv6 ospf 1 area 0.0.0.0
!
interface Ethernet2
no switchport
ip address 10.0.2.1/31
ipv6 address 2001:db8:2::2/64
ip ospf network point-to-point
ipv6 ospf network point-to-point
ipv6 ospf 1 area 0.0.0.0
!
interface Ethernet3
no switchport
vrf VR
ip address 10.0.3.1/31
ipv6 address 2001:db8:3::2/64
ip ospf network point-to-point
ipv6 ospf network point-to-point
ipv6 ospf 2 area 0.0.0.0
!
interface Loopback0
ip address 10.255.0.2/32
ipv6 address 2001:db8:ff::2/128
ipv6 ospf 1 area 0.0.0.0
!
interface Loopback1
vrf VR
ip address 10.255.1.2/32
ipv6 address 2001:db8:ff:1::2/128
ipv6 ospf 2 area 0.0.0.0
!
interface Management0
ip address 172.20.20.3/24
ipv6 address 3fff:172:20:20::3/64
!
ip routing
ip routing vrf VR
!
ipv6 unicast-routing
ipv6 unicast-routing vrf VR
!
router ospf 1
router-id 10.255.0.2
network 10.0.1.0/31 area 0.0.0.0
network 10.0.2.0/31 area 0.0.0.0
network 10.255.0.2/32 area 0.0.0.0
max-lsa 12000
!
router ospf 2 vrf VR
router-id 10.255.1.2
network 10.0.3.0/31 area 0.0.0.0
network 10.255.1.2/32 area 0.0.0.0
max-lsa 12000
!
ipv6 router ospf 1
router-id 10.255.0.2
!
ipv6 router ospf 2 vrf VR
router-id 10.255.1.2
!
end
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"output" : [
{
"data" : "BGP is not running"
}
]
}
Loading
Loading