Vysvetlivky
LSU - link-state Up , Sends specifically requested link-state records
Hello - Discovers neighbors and build adjacencies between them
DBD Checks for database synchronization between router
LSR Requests specific link-state records from router to router
LSAck - Acknowledges the other packet types
Routovani diagnostika
R 192.168.1.0 {AD/Metric} 10.0.0.1 serial 0/0
router# show ip route zobrazi dinamicke a staticke routy
router# debug ip rip Spusti debug rip dynamickeho protokolu
router# undebug all Vypne vsechen debug
router(config-router) no auto-summary - vypne vkladani jednotlivych podsiti pod jednu velkou podsit
router# show ip eigrp neighbor - diagnostika eigrp
router# show ip interface brief
router# show ip ospf interface
router(config-router)# passive interface -neposila routovaci tabulku, obdoba maskovani site
RIP verze 1
router(config) router rip
router(config-router) network 192.168.1.0
router(config-router) network 192.168.2.0
router(config-router) network network-address (wildcard mask)
wildcard mask - 255.255.255.252 = 0.0.0.3
router(config)# bandwitdth
RIP verze 2
OSPF
- Link-state routing protocol - shortest path first, Edsger Dijkstra's shortest path first(SPF) algorithm
- Exchange Hello packets
- Each router uses the LSP(link state packets) database to construct a complete map of the topology and computes the best path to each destination
- Periodical updates are NOT sent
- Administrative distance 110
OSPF configuration
router(config)#
router ospf 1
router(config-router)#
network 172.16.10.1 0.0.0.15 area 0
router(config-router)#
network 172.16.11.1 0.0.0.15 area 0
router#
clear ip ospf process - vymaze ID zaznamy
router(config-router)#
default-information originate
router(config-router)#
auto-cost reference-bandwidth 10000 - zmena coast value ospf
router(config-if)#
ip ospf hello-interval seconds
IGRP
EIGRP
router(config)#
router eigrp autonomus system(cislo od 0-65535)
router(config-if)#
network 192.168.1.0
router(config-if)#
network 192.168.2.0
router(config-if)#
ip summary-address eigrp as-number network-address subnet-mask
router(config-if)#
redistribute static - zacne v routovacich tabulkach posilat take staticky pridane routy
router(config-if)#ip hello-interval eigrp
as-number seconds
router(config-if)#ip hold-time eigrp
as-number seconds
Poslední změna: 12.06.2008 14:27:06