hostname komenskeho
password klfzebra3
enable password klfzebra3
log stdout
!log file /var/log/ospfd.log
!log record-priority
!service advanced-vty
!
interface lo
!
interface dummy0
 description router ip
 ip ospf cost 10
!
interface eth1
 description peer VVS
 ip ospf cost 5
 ip ospf priority 1
 ip ospf authentication message-digest
 ip ospf message-digest-key 1 md5 test
!
interface vlan201
 description peer DPS
 ip ospf cost 300
 ip ospf priority 1
 ip ospf authentication message-digest
 ip ospf message-digest-key 1 md5 test
 ip ospf network non-broadcast
! pros rocket nejde
!
interface vlan203
 description peer Stochov
 ip ospf cost 2000
 ip ospf priority 1
 ip ospf authentication message-digest
 ip ospf message-digest-key 1 md5 test
 ip ospf network non-broadcast
!
interface vlan205
 description peer Bazen
 ip ospf cost 50
 ip ospf priority 1
 ip ospf authentication message-digest
 ip ospf message-digest-key 1 md5 test
!
router ospf
  ospf router-id 10.102.153.250
!
passive-interface vlan51
passive-interface vlan202
passive-interface vlan204
passive-interface vlan514

!komenskeho
 neighbor 10.102.153.242
!
!=== sektory a LAN
!
!vlan51 LAN
  network 10.102.153.128/26 area 10
  network 10.102.242.64/26 area 10
!vlan202 2G sekturek
  network 10.102.153.192/27 area 10
!vlan204 5Gn sektor
  network 10.102.242.0/27 area 10
  network 10.218.25.128/27 area 10
!=== peery
!eth0 peer VVS
  network 10.102.153.248/29 area 10
!vlan201 peer DPS
  network 10.102.153.240/29 area 10
!vlan205 peer Bazen
  network 10.102.242.128/29 area 10
  network 10.102.242.152/29 area 10
!=====ROUTOVANI DPS
!vlan512 sektor care
 network 10.102.152.128/26 area 10
!vlan514 5n sektor DPS
 network 10.102.152.0/27 area 10
!vlan514 5n sektor DPS
 network 10.102.242.32/27 area 10
!vlan515 5ac sektor DPS north
 network 10.102.152.64/27 area 10
!vlan551 LAN
 network 10.102.152.48/29 area 10
 network 10.102.152.56/29 area 10
 network 10.102.152.248/29 area 10
!vlan513
 network 10.102.152.192/27 area 10
!vlan514 AC DPS
 network 10.102.152.32/28 area 10

!=====ROUTOVANI uKaplicky
 network 10.218.24.0/25 area 10

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 172.24.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
