tshoot - ospf commands
TRANSCRIPT
![Page 1: Tshoot - Ospf Commands](https://reader036.vdocuments.mx/reader036/viewer/2022082511/5478363ab4af9fee738b45ba/html5/thumbnails/1.jpg)
OSPF – NotesMandatory Commands
router ospf 1 log-adjacency-changes network 1.1.1.1 0.0.0.0 area 1 network 10.1.12.0 0.0.0.255 area 0 network 172.1.13.0 0.0.0.255 area 0
Optional Commands
Router ospf 1Router-id 1.1.1.1 (specify ospf router id)
int fa0/0ip ospf priority 0 (used to specify DR/BDR – highest priority wins, 0 cannot be a DR/BDR.)
router ospf 1area 34 virtual-link 33.33.33.33 - remote area router id or loop 0
router ospf 1redistribute connected <subnets> - use subnets or only classful networks will be redistributed.Router ospf 1Area 34 stub – create a stub area
Show ip protocols – displays all protocols running on the router.
Show ip ospf database – to show contents of database.
show ip ospf neighbour <detail> – neighbour relationships
show ip ospf interface fa0/0 – use the specific interface
show ip ospf interface brief – to show a brief of all interfaces
show ip route ospf – filters only ospf routes
show ip ospf virtual-link – check virtual links
show ip ospf – displays basic info. about OSPF routing processes.
show ip ospf border-routers – displays border and boundary router information.
Clear ip ospf processes – clear ip route table
Clear ip route * - clears entire routing table
Clear ip ospf counters – resets ospf counters.
![Page 2: Tshoot - Ospf Commands](https://reader036.vdocuments.mx/reader036/viewer/2022082511/5478363ab4af9fee738b45ba/html5/thumbnails/2.jpg)
Debug ip ospf events – displays all ospf events.
Debug ip ospf adjacency – displays ospf states & DR/BDR election between adjacent routers.
Debug ip ospf packets – displays ospf packets.
Debug ip ospf hello -