hostname bustik
password klfzebra3
enable password klfzebra3
log stdout
!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 PeerHighway
 ip ospf cost 2000
 ip ospf priority 1
 ip ospf authentication message-digest
 ip ospf message-digest-key 1 md5 test
!
interface vlan10
 description PeerPrazska
 ip ospf cost 10
 ip ospf priority 1
 ip ospf authentication message-digest
 ip ospf message-digest-key 1 md5 test
!
router ospf
 ospf router-id 10.102.164.1
 redistribute kernel metric-type 1 metric 100
!
!==== PASSIVE ====!
 passive-interface dummy0
 passive-interface vlan100
 passive-interface vlan300
!==== dummici ====!
 network 10.102.0.252/32 area 164
!==== backbone ====!
  network 10.102.164.32/29 area 164
  network 10.102.164.40/29 area 0
  network 10.102.164.64/26 area 164
  network 10.102.164.192/26 area 164
  network 10.102.130.0/27 area 164
  network 10.102.164.128/26 area 164
  network 10.102.164.0/27 area 164
  network 10.102.164.224/28 area 164
!
access-list net-10 deny 192.168.123.0/24
access-list net-10 permit 192.168.0.0/16
access-list net-10 permit 10.102.0.0/16
access-list net-10 permit 10.218.0.0/16
access-list term permit 127.0.0.1/32
access-list term deny any
!
route-map just-10 permit 10
 match ip address net-10
!
line vty
 access-class term
!
