This document outlines the configuration of basic router settings like hostname, passwords, and interfaces as well as routing protocols like RIP, OSPF, EIGRP, and CDP. The steps include enabling interfaces, setting IP addresses, enabling routing protocols, configuring authentication and cost metrics, and verifying neighbor relationships and routing tables.
This document outlines the configuration of basic router settings like hostname, passwords, and interfaces as well as routing protocols like RIP, OSPF, EIGRP, and CDP. The steps include enabling interfaces, setting IP addresses, enabling routing protocols, configuring authentication and cost metrics, and verifying neighbor relationships and routing tables.
This document outlines the configuration of basic router settings like hostname, passwords, and interfaces as well as routing protocols like RIP, OSPF, EIGRP, and CDP. The steps include enabling interfaces, setting IP addresses, enabling routing protocols, configuring authentication and cost metrics, and verifying neighbor relationships and routing tables.
This document outlines the configuration of basic router settings like hostname, passwords, and interfaces as well as routing protocols like RIP, OSPF, EIGRP, and CDP. The steps include enabling interfaces, setting IP addresses, enabling routing protocols, configuring authentication and cost metrics, and verifying neighbor relationships and routing tables.
Copyright:
Attribution Non-Commercial (BY-NC)
Available Formats
Download as PDF, TXT or read online from Scribd
Download as pdf or txt
You are on page 1of 3
enable ulazak u zasticeni mod
configure terminal ulazak u konfiguracioni mod
Router(config)# hostname <ime rutera> podesiti ime router-a Router(config)# line console 0 Router(config-line)# password <cisco> podesiti lozinku za pristup preko konzole Router(config-line)# login Router(config-line)# exit Router(config)# line vty 0 15 Router(config-line)# password <cisco> podesiti lozinku za pristup pomocu Telnet-a Router(config-line)# login Router(config-line)# exit Router(config)# enable secret <class> podesiti enkriptovanu lozinku Router(config)# interface Serial0/0 Router(config-if)# ip address <IP adresa> <mrezna maska> Router(config-if)# no shutdown podesiti serijske interfejse router-a DTE Router(config-if)# description <veza ka ruteru B> Router(config-if)# exit Router(config)# interface Serial0/1 Router(config-if)# ip address <IP adresa> <mrezna maska> Router(config-if)# no shutdown podesiti serijske interfejse router-a DCE Router(config-if)# description <veza ka ruteru B> (kod rutera koji je davaoc takta) Router(config-if)# clok rate 56000 Router(config-if)# exit Router(config)# interface FastEthernet0/0 Router(config-if)# ip address <IP adresa> <mrezna maska> Router(config-if)# no shutdown podesiti FastEthernet interfejse router-a Router(config-if)# description <LAN A> Router(config-if)# exit Router(config)# banner motd <Pristup zabranjen> konfigurisanje message of the day poruke Router(config)# router rip Router(config-router)# version 2 aktivirati RIP routing proces Router(config-router)# network <mrezna adresa> potom uključiti verziju 2 Router(config-router)# end Router# copy running-config startup-config sačuvati konfiguraciju Router(config)# ip host <ime router-a> <IP adresa ethernet interfejsa> konfigurisanje IP host tabele <IP adresa serijskog interfejsa> Router# show hosts ispitivanje host tebele prikaz osnovnih podataka o susednim Router# show cdp neighbors mreznim uredjajima prikaz vrednosti holdtime-a, vreme cdp update- Router# show cdp interface ovanja, statusa interfejsa, tipa enkapsulacije Router# show cdp neighbors detail detaljni prikaz CDP update-ova koje je lokalni ruter primio Router(config)# router rip zabrana slanja update poruka kroz Router(config-router)# passive-interface fastethernet 0/0 fastethernet interjejs rutera ka LAN mrezi Router(config-router)# end Router(config)# router rip ruter ne vrsi sumarizaciju ruta Router(config-router)# no auto-summary Router(config)# router ospf 1 aktiviranje OSPF. Nakon adresa mreza stoji wildcard Router(config-router)# network <mrezna adresa> <0.0.0.63> area 0 maska, koja pokazuje koliko raspolozivih host adresa Router(config-router)# end postoji u okviru datog segmenta Router(config)# router ospf 1 Router(config)# log-adjacency changes pre aktiviranja proveriti, show run Router(config-router)# end Router(config)# interface serial 0/0 Router(config-if)# ip ospf cost 1562 podesiti opsf cost serijskog interfejsa Router(config-if)# end Router(config)# interface serial 0/0 vrednost OSPF cost-a interfejsa na ruteru se moze Router(config-if)# bandwidth 2000 promeniti I manuelnim unosom propusnog opsega Router(config-if)# end (kbps) Router(config)# interface serial 0/0 manuelno podesavanje hello I dead intervala u Router(config-if)# ip ospf hello-interval 5 okviru ospf protokola Router(config-if)# ip ospf dead-interval 20 Router(config)# interface serial 0/0 ospf autentifikacija predstavlja zastitu prenosa Router(config-if)# ip ospf message-digest-key 1 md5 7 cisco izmedju dva router-a. (cisco je sifra) Router(config)# interface serial 0/0 Router(config-if)# router ospf 1 dozvoliti OSPF autentifikaciju u oblasti area 0 Router(config-if)# area 0 authentication message-digest Router(config)# router EIGRP 101 Router(config-router)# network <IP adresa mreze> <wildcard mask> konfigurisanje EIGRP protokola Router(config-router)# no auto-summary Router# show ip eigrp neighbors pregled svih povezanih eigrp suseda Router# show ip eigrp topology all-links pregled topology tabele Router(config)# interface Loopabck0 Router(config-if)# ip address <IP adresa> <mrezna maska> konfigurisanje loopback interfejsa Router(config-if)# no shutdown Router(config)# router EIGRP 101 nakon konfigurisanje loopback interfejsa treba Router(config-router)# network <IP adresa mreze> <wildcard mask> proglasiti nove rute u okviru eigrp protokola