!
version 15.1
no service timestamps log datetime msec
no service timestamps debug datetime msec
no service password-encryption
!
hostname 3-ROUTER
!
!
!
enable secret 5 $1$mERr$3HhIgMGBA/9qNmgzccuxv0
!
!
!
!
!
!
no ip cef
no ipv6 cef
!
!
!
username IZZATILLO privilege 15 secret 5 $1$mERr$3HhIgMGBA/9qNmgzccuxv0
!
!
license udi pid CISCO2911/K9 sn FTX15244Z07-
!
!
!
!
!
!
!
!
!
ip ssh version 2
ip domain-name FOR-KA
!
!
spanning-tree mode pvst
!
!
!
interface GigabitEthernet0/0
description FOURTHGA
ip address 10.10.10.49 255.255.255.252
duplex auto
speed auto
!
interface GigabitEthernet0/0.100
description ADMIN
encapsulation dot1Q 100
ip address 192.168.12.65 255.255.255.192
!
interface GigabitEthernet0/0.110
description ICT
encapsulation dot1Q 110
ip address 192.168.12.129 255.255.255.192
!
interface GigabitEthernet0/0.120
description SERVER
encapsulation dot1Q 120
ip address 192.168.12.193 255.255.255.192
!
interface GigabitEthernet0/1
ip address 10.10.10.41 255.255.255.252
duplex auto
speed auto
!
interface GigabitEthernet0/1.70
description LOGISTICS
encapsulation dot1Q 70
ip address 192.168.11.129 255.255.255.192
!
interface GigabitEthernet0/1.80
description CUSTOMER
encapsulation dot1Q 80
ip address 192.168.11.193 255.255.255.192
!
interface GigabitEthernet0/1.90
description GUEST
encapsulation dot1Q 90
ip address 192.168.12.1 255.255.255.192
!
interface GigabitEthernet0/2
description 2-ROUTERGA
ip address 10.10.10.22 255.255.255.252
duplex auto
speed auto
!
interface GigabitEthernet0/1/0
no ip address
!
interface FastEthernet0/2/0
switchport mode access
switchport nonegotiate
!
interface FastEthernet0/2/1
switchport mode access
switchport nonegotiate
!
interface FastEthernet0/2/2
switchport mode access
switchport nonegotiate
!
interface FastEthernet0/2/3
switchport mode access
switchport nonegotiate
!
interface Serial0/3/0
description 4-ROUTERGA
ip address 10.10.10.37 255.255.255.252
!
interface Serial0/3/1
description 1-ROUTERGA
ip address 10.10.10.34 255.255.255.252
clock rate 2000000
!
interface Vlan1
no ip address
shutdown
!
router ospf 1
log-adjacency-changes
passive-interface GigabitEthernet0/0
passive-interface GigabitEthernet0/1
network 192.168.11.128 0.0.0.63 area 0
network 192.168.11.192 0.0.0.63 area 0
network 192.168.12.0 0.0.0.63 area 0
network 192.168.12.64 0.0.0.63 area 0
network 192.168.12.128 0.0.0.63 area 0
network 192.168.12.192 0.0.0.63 area 0
network 10.10.10.40 0.0.0.3 area 0
network 10.10.10.48 0.0.0.3 area 0
network 10.10.10.36 0.0.0.3 area 0
network 10.10.10.32 0.0.0.3 area 0
network 10.10.10.20 0.0.0.3 area 0
!
ip default-gateway 192.168.12.65
ip classless
ip route 0.0.0.0 0.0.0.0 10.10.10.38
ip route 0.0.0.0 0.0.0.0 10.10.10.33
ip route 0.0.0.0 0.0.0.0 10.10.10.21
!
ip flow-export version 9
!
no cdp run
!
!
line con 0
!
line aux 0
!
line vty 0 4
login local
transport input ssh
!
end
XULOSA ospf, Open Shortest Path First, ya'ni ko'p qismligacha tarmoqning protokolidir. Bu protokol, ma'lum bir tugun yukseklikdagi ma'lum bir hostning IP-xotira manzili ko'rsatilganida, o'zaro aloqani boshlash uchun yomon yo'nalishlar va uning yorqinligi bilan amalga oshiriladigan yuqori bosqichli tarmoqning avtomatik rekonfiguratsiyasini boshqaradi. Ospf, ma'lum bir tarmoqning ko'pincha transport yollari yozuvlarini (havolalar) almashinishi va uni ishlayturishida ishlatiladi.