hostname cube
password klfzebra3
enable password klfzebra3
log stdout
agentx
!log file /var/log/ospfd.log
!log record-priority
!service advanced-vty
!
interface lo
!
interface dummy0
 description router ip
 ip ospf cost 10

interface vlan51
 description LAN
 ip ospf cost 10
 ip ospf priority 1
 ip ospf authentication message-digest
 ip ospf message-digest-key 1 md5 test

interface vlan201
 description peer Rohlicek
 ip ospf cost 10
 ip ospf priority 1
 ip ospf authentication message-digest
 ip ospf message-digest-key 1 md5 test

interface vlan202
 description sektor rohlik5
 ip ospf cost 100
 ip ospf priority 1
 ip ospf authentication message-digest
 ip ospf message-digest-key 1 md5 test

interface vlan203
 description peer_doksy4
 ip ospf cost 100
 ip ospf priority 1
 ip ospf authentication message-digest
 ip ospf message-digest-key 1 md5 test

interface vlan204
 description peer square
 ip ospf cost 100
 ip ospf priority 1
 ip ospf authentication message-digest
 ip ospf message-digest-key 1 md5 test

interface vlan214
 description peer Druzec5
 ip ospf cost 100
 ip ospf priority 1
 ip ospf authentication message-digest
 ip ospf message-digest-key 1 md5 test

interface enp1s0
 description peer Element(deda)
 ip ospf cost 10
 ip ospf priority 1
 ip ospf authentication message-digest
 ip ospf message-digest-key 1 md5 test

interface vlan290
 description peer orange
 ip ospf cost 10
 ip ospf priority 1
 ip ospf authentication message-digest
 ip ospf message-digest-key 1 md5 test
 
interface vlan291
 description lan orange
 ip ospf cost 10
 ip ospf priority 1
 ip ospf authentication message-digest
 ip ospf message-digest-key 1 md5 test
 
interface vlan292
 description sektor orange
 ip ospf cost 10
 ip ospf priority 1
 ip ospf authentication message-digest
 ip ospf message-digest-key 1 md5 test
 
interface vlan293
 description sektor orange5N
 ip ospf cost 10
 ip ospf priority 1
 ip ospf authentication message-digest
 ip ospf message-digest-key 1 md5 test

interface vlan294
 description sektor orange5S
 ip ospf cost 10
 ip ospf priority 1
 ip ospf authentication message-digest
 ip ospf message-digest-key 1 md5 test

interface vlan280
 description peer obrazek
 ip ospf cost 10
 ip ospf priority 1
 ip ospf authentication message-digest
 ip ospf message-digest-key 1 md5 test
 
interface vlan281
 description lan obrazek
 ip ospf cost 10
 ip ospf priority 1
 ip ospf authentication message-digest
 ip ospf message-digest-key 1 md5 test
 
interface vlan282
 description sektor obrazek
 ip ospf cost 10
 ip ospf priority 1
 ip ospf authentication message-digest
 ip ospf message-digest-key 1 md5 test

interface vlan100
 description peer square
 ip ospf cost 70
 ip ospf priority 1
 ip ospf authentication message-digest
 ip ospf message-digest-key 1 md5 test
!
router ospf
  ospf router-id 10.102.172.97
!
! redistribute kernel metric 100 metric-type 1
 redistribute static metric 100 metric-type 1
!
passive-interface vlan51
passive-interface vlan52
passive-interface vlan201
passive-interface vlan218
passive-interface vlan234
passive-interface vlan235
passive-interface vlan240
passive-interface vlan241
passive-interface vlan242
passive-interface vlan243
passive-interface vlan244
passive-interface vlan251
passive-interface vlan252
passive-interface vlan253
passive-interface vlan254
passive-interface vlan503
passive-interface vlan504
passive-interface vlan510
passive-interface vlan511
passive-interface vlan512
passive-interface vlan513

!vlan51 LAN
  network 10.102.172.32/28 area 9
!vlan202 peer Sky
  network 10.102.172.0/29 area 9
!vlan203 peer Doksy4
  network 10.102.172.96/27 area 9

!vlan216 peer element
  network 10.102.112.8/29 area 9
!vlan217 peer Dwarf
 network 10.102.112.32/29 area 9
! NEWDWARF all rozsahy
 network 10.102.169.0/29 area 9
 network 10.102.169.8/29 area 9
 network 10.102.169.128/28 area 9
 network 10.102.171.240/28 area 9
 network 10.218.12.0/27 area 9
 network 10.102.169.160/27 area 9
 network 10.102.169.192/27 area 9
 network 10.102.169.144/28 area 9

! NEW Kacatko
 network 10.218.11.128/29 area 9
 network 10.218.11.136/29 area 9
 network 10.102.171.160/27 area 9
 network 10.102.171.192/27 area 9

! NEW Krabice 
 network 10.218.11.0/29 area 9
 network 10.218.11.8/29 area 9
 network 10.102.171.128/28 area 9
 network 10.102.171.144/28 area 9

!vlan201 peer Rohlicek
  network 10.102.172.48/28 area 9
  network 10.102.171.0/29 area 9
  network 10.102.171.8/29 area 9
  network 10.102.171.24/29 area 9
  network 10.102.171.64/27 area 9
!vlan203 NodeDoksy4
  network 10.218.9.128/25 area 9
  network 10.102.173.128/27 area 9
!ath0
  network 10.102.172.8/29 area 9
!SQUARE ALL
  network 10.102.168.0/24 area 9
!vlan 290-294 - peer orange
  network 10.102.172.128/29 area 9
  network 10.102.172.136/29 area 9
  network 10.102.172.160/28 area 9
  network 10.102.172.176/28 area 9
  network 10.102.172.192/28 area 9
  network 10.102.172.208/28 area 9
  network 10.102.172.224/28 area 9
!vlan 280-282 - peer obrazek
  network 10.102.171.16/29 area 9
  network 10.102.171.96/28 area 9
  network 10.102.171.112/28 area 9
! 5n
  network 10.102.171.32/27 area 9
  network 10.102.172.16/28 area 9
  network 10.102.172.96/27 area 9
! vlan214 ~ peer Doksy5
  network 10.102.248.0/29 area 9
! vlan400 D5 / LAN
  network 10.102.248.8/29 area 9
! vlan401 D5 / 5nEAST
  network 10.102.248.64/28 area 9
! vlan402 D5 / 5nwest
  network 10.102.248.32/28 area 9
! vlan403 D5 / 2,4 sektor
  network 10.102.248.96/28 area 9
!
access-list term permit 127.0.0.1/32
access-list term deny any
!
line vty
 access-class term
! EOF
