0% found this document useful (0 votes)
92 views3 pages

OSPF - Commands

The document provides information and commands for configuring and troubleshooting OSPF routing. It includes commands to view OSPF routes, neighbors, databases and interfaces. It also shows output from these commands including the OSPF neighbor, routes learned via OSPF, router ID, OSPF database entries and interface status. The clear ip ospf process command can be used to reload the OSPF process.

Uploaded by

Dipin C P
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
92 views3 pages

OSPF - Commands

The document provides information and commands for configuring and troubleshooting OSPF routing. It includes commands to view OSPF routes, neighbors, databases and interfaces. It also shows output from these commands including the OSPF neighbor, routes learned via OSPF, router ID, OSPF database entries and interface status. The clear ip ospf process command can be used to reload the OSPF process.

Uploaded by

Dipin C P
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 3

show ip ospf events - debugging ospf packet

undebug all - to turn off debugging

show ip ospf route


show ip route ospf
Show ip ospf int brief
Show ip ospf database
Show ip ospf neighbour
Show ip ospf protocols
#router ID 2.2.2.2
clear ip ospf process - to reload ospf

o- Same area
o IA - different area

#IP OSPF PRIORITY 255


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
columbia-gw#show ip ospf neighbor

Neighbor ID Pri State Dead Time Address Interface


10.229.0.9 1 FULL/DR 00:00:38 10.229.5.253
GigabitEthernet0/0/1
columbia-gw#
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

olumbia-gw#show ip route ospf


Codes: L - local, C - connected, S - static, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2
i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
ia - IS-IS inter area, * - candidate default, U - per-user static route
o - ODR, P - periodic downloaded static route, H - NHRP, l - LISP
a - application route
+ - replicated route, % - next hop override, p - overrides from PfR

Gateway of last resort is 68.136.208.249 to network 0.0.0.0

10.0.0.0/8 is variably subnetted, 823 subnets, 15 masks


O E2 10.229.0.9/32 [110/10] via 10.229.5.253, 7w0d, GigabitEthernet0/0/1
O E2 10.229.64.0/21 [110/10] via 10.229.5.253, 7w0d, GigabitEthernet0/0/1
O E2 10.229.128.0/21 [110/10] via 10.229.5.253, 7w0d, GigabitEthernet0/0/1
139.99.0.0/16 is variably subnetted, 84 subnets, 9 masks
O E2 139.99.72.0/24 [110/10] via 10.229.5.253, 7w0d, GigabitEthernet0/0/1
O E2 139.99.246.24/29
[110/10] via 10.229.5.253, 7w0d, GigabitEthernet0/0/1
158.140.0.0/16 is variably subnetted, 127 subnets, 6 masks
O E2 158.140.158.0/24
[110/10] via 10.229.5.253, 7w0d, GigabitEthernet0/0/1
172.29.0.0/16 is variably subnetted, 17 subnets, 7 masks
O E2 172.29.24.0/21 [110/10] via 10.229.5.253, 7w0d, GigabitEthernet0/0/1
172.30.0.0/16 is variably subnetted, 92 subnets, 3 masks
O E2 172.30.27.0/24 [110/10] via 10.229.5.253, 7w0d, GigabitEthernet0/0/1
O E2 172.30.242.0/24 [110/10] via 10.229.5.253, 7w0d, GigabitEthernet0/0/1

columbia-gw#show ip ospf route


OSPF Router with ID (139.99.240.75) (Process ID 1)

Base Topology (MTID 0)

Area 1

Intra-area Route List

* 10.229.5.128/25, Intra, cost 5, area 1, Connected


via 10.229.5.254, GigabitEthernet0/0/1

Intra-area Router Path List

i 10.229.0.9 [5] via 10.229.5.253, GigabitEthernet0/0/1, ASBR, Area 1, SPF 15

External Route List


*> 139.99.246.24/29, Ext2, cost 10, fwd cost 5, tag 0
via 10.229.5.253, GigabitEthernet0/0/1
*> 172.29.24.0/21, Ext2, cost 10, fwd cost 5, tag 0
via 10.229.5.253, GigabitEthernet0/0/1
*> 10.229.64.0/21, Ext2, cost 10, fwd cost 5, tag 0
via 10.229.5.253, GigabitEthernet0/0/1
*> 10.229.128.0/21, Ext2, cost 10, fwd cost 5, tag 0
via 10.229.5.253, GigabitEthernet0/0/1
*> 139.99.72.0/24, Ext2, cost 10, fwd cost 5, tag 0
via 10.229.5.253, GigabitEthernet0/0/1
*> 158.140.158.0/24, Ext2, cost 10, fwd cost 5, tag 0
via 10.229.5.253, GigabitEthernet0/0/1
*> 172.30.27.0/24, Ext2, cost 10, fwd cost 5, tag 0
via 10.229.5.253, GigabitEthernet0/0/1
*> 172.30.242.0/24, Ext2, cost 10, fwd cost 5, tag 0
via 10.229.5.253, GigabitEthernet0/0/1
*> 10.229.0.9/32, Ext2, cost 10, fwd cost 5, tag 0
via 10.229.5.253, GigabitEthernet0/0/1

First Hop Forwarding Gateway Tree

10.229.5.253 on GigabitEthernet0/0/1, count 9


10.229.5.254 on GigabitEthernet0/0/1, count 1
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

columbia-gw#Show ip ospf database

OSPF Router with ID (139.99.240.75) (Process ID 1)

Router Link States (Area 1)

Link ID ADV Router Age Seq# Checksum Link count


10.229.0.9 10.229.0.9 1628 0x80002596 0x002575 1
139.99.240.75 139.99.240.75 745 0x800022BE 0x00E728 1

Net Link States (Area 1)

Link ID ADV Router Age Seq# Checksum


10.229.5.253 10.229.0.9 488 0x8000256C 0x000217

Type-5 AS External Link States


Link ID ADV Router Age Seq# Checksum Tag
0.0.0.0 139.99.240.75 745 0x800022B4 0x0010A1 1
10.229.0.9 10.229.0.9 1688 0x80002581 0x00917F 0
10.229.64.0 10.229.0.9 1388 0x80002581 0x0006DA 0
10.229.128.0 10.229.0.9 1388 0x80002581 0x00435D 0
139.99.72.0 10.229.0.9 1388 0x80002581 0x005B77 0
139.99.246.24 10.229.0.9 68 0x800015A6 0x00A459 0
158.140.158.0 10.229.0.9 1388 0x80002581 0x00BF80 0
172.29.24.0 10.229.0.9 68 0x800015A6 0x00CC4D 0
172.30.27.0 10.229.0.9 1388 0x80002581 0x00DC47 0
172.30.242.0 10.229.0.9 1388 0x80002581 0x0096B5 0
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
columbia-gw#Show ip ospf int brief
Interface PID Area IP Address/Mask Cost State Nbrs F/C
Gi0/0/1 1 1 10.229.5.254/25 5 BDR 1/1

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy