hostname stehelceves
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 5Gdretovice
 ip ospf cost 2
 ip ospf priority 2
 ip ospf authentication message-digest
 ip ospf message-digest-key 1 md5 eastpass
!
interface vlan201
 description 5G vvc
 ip ospf cost 200
 ip ospf priority 2
 ip ospf authentication message-digest
 ip ospf message-digest-key 1 md5 eastpass
!
interface vlan301
 description SektorHomolkaAHLUBOKA
 ip ospf authentication message-digest
 ip ospf message-digest-key 1 md5 test
 ip ospf cost 500
 ip ospf priority 2
!
router ospf
 ospf router-id 10.102.138.2
! redistribute connected route-map just-10
! redistribute static metric 200
 passive-interface dummy0
 
! network 10.102.0.36/32 area 0
!==== peery ====!
! 5G dretovice
 network 10.102.138.0/29 area 5
! 5gn VVC
 network 10.102.138.24/29 area 5

!==== sektory a LAN 
!LAN
 network 10.102.138.8/29 area 5
!5n
 network 10.102.138.32/27 area 5
!wlan1 vsesmer
 network 10.102.138.64/26 area 5
!wlan2 2G south
 network 10.102.138.128/27 area 5
!ath0 5G south
 network 10.102.138.192/27 area 5
!ath1 5G homolka
 network 10.102.138.160/27 area 5
!pseudopeer Hluboka
 network 10.218.1.136/29 area 0.0.0.5

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
