This is an old revision of the document!
router(config)#router ospf <process-id>
router(config-router)#network <ip-address> <wildcard> area <id>
show ip protocols
show ip route
show ip ospf
show ip ospf neighbor
show ip ospf interface
debug ip ospf packet
debug ip ospf hello
debug ip ospf adj
Plain text authentikace per Area:
Router(config)# router ospf 1
Router(config-router)# area 0 authentication
Router(config)# interface fa 0/0
Router(config-if)# ip ospf authentication-key password
Plain text authentikace per Interface:
Router(config)# interface fa 0/0
Router(config-if)# ip ospf authentication
Router(config-if)# ip ospf authentication-key password
MD5 authentikace per Area:
Router(config)# router ospf 1
Router(config-router)# area 0 authentication message-digest
Router(config)# interface fa 0/0
Router(config-if)# ip ospf message-digest-key 10 md5 password
MD5 authentikace per Interface:
Router(config)# interface fa 0/0
Router(config-if)# ip ospf authentication message-digest
Router(config-if)# ip ospf message-digest-key 10 md5 password
Tuninng - priority:
Router(config)# interface fa 0/0
Router(config-if)# ip ospf priority <0-255>
Router# clear ip ospf process
Tuninng - Router ID:
Router(config)# router ospf 1
Router(config-router)# router id <ip-address>
Router# clear ip ospf process
Tunning - Loopback:
Router(config)# interface Loopback 1
Router(config-if)# ip address 10.10.10.10 255.255.255.255
Tunning - Bandwidth/Cost:
Router(config)# interface ser 0/0/0
Router(config-if)# bandwidth 64
nebo:
Router(config-if)# ip ospf cost 1562
Tunning - Refernece BW pro linky > 100Mbps:
Router(config)# router ospf 1
Router(config-router)# auto-cost reference-bandwidth 10000 (max.rychlost v Mbps)
Propagace default-route (ta je pak v RT ostatnich routeru oznacena E2*O):
Router(config)# router ospf 1
Router(config-router)# default-information originate
Inter Area sumarizace na ABR:
Router(config)# router ospf 1
Router(config-router)# network 192.168.10.64 0.0.0.3 area 1
Router(config-router)# network 192.168.10.68 0.0.0.3 area 1
Router(config-router)# network 10.10.10.10 0.0.0.255 area 0
Router(config-router)# area 1 range 192.168.10.64 255.255.255.248
Load Balancing (jen equal-cost, 1-16 smeru, def.4):
Router(config)# router ospf 1
Router(config-router)# maximum-paths <1-16>