hostname hvezda
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 dummy-IP
 ip ospf cost 10
!
interface enp1s0
 description silver_fo
 ip ospf authentication message-digest
 ip ospf message-digest-key 1 md5 eastpass
 ip ospf cost 5
!
interface vlan303
 description mrv
 ip ospf cost 10
 ip ospf priority 2
 ip ospf authentication message-digest
 ip ospf message-digest-key 1 md5 eastpass
!
interface 300
 description peer garaze
 ip ospf cost 30
 ip ospf priority 1
 ip ospf authentication message-digest
 ip ospf message-digest-key 1 md5 test
!
interface vlan101
  description ecwa silver
  ip ospf cost 50
  ip ospf priority 2
  ip ospf authentication message-digest
  ip ospf message-digest-key 1 md5 eastpass
!
router ospf
  ospf router-id 10.102.81.0
  redistribute kernel  metric-type 1 metric 100
!ecwa zaloha
  network 10.102.1.192/29 area 2
!vsesmer
  network 10.102.82.0/25 area 2
!PEER Auto Sidlo
  network 10.102.82.128/29 area 2
!PEER Sadilek Lan
  network 10.102.82.136/29 area 2
!Lan Vodarenska1951
  network 10.102.82.152/29 area 2
!MRV Silver
  network 10.102.1.64/29 area 2
!FO Silver - enp1s0
  network 10.102.1.72/29 area 2
!peer garaze
  network 10.102.92.0/29 area 2
  network 10.102.92.8/29 area 2
  network 10.102.92.16/28 area 2
  network 10.102.92.32/27 area 2
  network 10.102.92.64/26 area 2
!sektor nko severozapad
  network 10.102.109.192/27 area 2
!sektor nko jih
  network 10.102.109.224/27 area 2
!7,8 ZS
  network 172.24.32.0/29 area 2
  network 172.24.33.0/29 area 2
  network 172.25.23.0/29 area 2
  network 172.25.62.0/29 area 2
!
access-list net-10 deny 192.168.123.0/24
access-list net-10 permit 10.102.0.0/16
access-list net-10 permit 10.218.0.0/16
access-list net-10 permit 172.24.0.0/16
access-list net-10 permit 192.168.0.0/16
access-list term permit 127.0.0.1/32
access-list term permit 10.102.222.0/24
access-list term deny any
!
route-map just-10 permit 10
 match ip address net-10
!
line vty
 access-class term
