: dump routing ospf
Focus
Focus
Table of Contents

dump routing ospf

Use the
dump routing ospf
command to display the open shortest path first (OSPF) specific configurations of a device.

Command

dump routing ospf ( global-config | vrf ( config | interface = <all |
interface name
| neighbor | statistics> | routes | database | discovered-neighbors | reachable-prefixes )

Options

global-config
Enter global-config to see all the configured and managed OSPF global settings/parameters.
vrf
Enter vrf to see all the attached VRFs Global and customised).
config
Enter config to know all the VRF specific configurations of a device.
interface
Enter interface name or all to know the interfaces on which ospf traffic is forwarded or replicated.
neighbor: Displays the router ID of the router (neighbor) on the other side of the virtual link.
statistics: Displays the statistics of the routes.
routes
Enter routes to see all the routes of the network, router, and external routing table of the OSPF.
database
Enter database to see the
discovered-neighbors
Enter discovered-neighbors to know the two OSPF-enabled routers connected by a shared network and in the same OSPF area form a relationship and are OSPF neighbors.
reachable-prefixes

Command Notes

Role
Super, Read Only, Monitor
Related Commands
clear routing ospf
Introduced in
Release 6.4.1

Example

dump routing ospf global-config ID : 1707121524214025528 Router ID : 40.40.40.50 Cost : Dead Interval : 40 Hello Interval : 10 Retransmit Interval : 5 Md5 Secret : Md5 KeyID : Prefix Advertisement Type : default Transmit Delay : 1
dump routing ospf vrf Global config Name : G Description : Tags : Scope : global VRF : Name - Global, Vni - 0, ID - 1695187971257016928 Config ID : 1713256072536012828 Shutdown : false Router ID : Prefix Advertisement Type : unaggregated Prefix Advertisement Route-map : BGP Prefix Redistribution : false BGP Prefix Redistribution Route-map : Areas +----------------------+----------------------+ | Area ID | Area Type | +----------------------+----------------------+ | 0 | normal | +----------------------+----------------------+ Interfaces +------------------------------------------+---------------------------+ | Interface | OSPF Config | +------------------------------------------+---------------------------+ | Interface : 1 (eth1) | Cost: | | Interface ID: 1706795250766004028 | Dead Interval: 40 | | Area ID: 0 | Hello Interval: 10 | | Area Type: normal | Retransmit Interval: 5 | | | Transmit Delay: 1 | | | Md5 Secret: qwerty | | | Md5 KeyID: 1 | +------------------------------------------+---------------------------+ | Interface : 2.1 (eth2.1) | Cost: | | Interface ID: 1707583634718019928 | Dead Interval: 40 | | Area ID: 0 | Hello Interval: 10 | | Area Type: normal | Retransmit Interval: 5 | | | Transmit Delay: 1 | | | Md5 Secret: | | | Md5 KeyID: | +------------------------------------------+---------------------------+
dump routing ospf vrf Global interface eth1 neighbor Neighbor ID Pri State Dead Time Address Interface RXmtL RqstL DBsmL 1.1.1.1 4 Full/DR 37.813s 22.22.22.2 eth1:22.22.22.22 0 0 0
dump routing ospf vrf Global database VRF Name: default OSPF Router with ID (40.40.40.50) Router Link States (Area 0.0.0.0) Link ID ADV Router Age Seq# CkSum Link count 1.1.1.1 1.1.1.1 619 0x80006b77 0xa00e 2 3.3.3.3 3.3.3.3 572 0x80000359 0xce1c 2 40.40.40.50 40.40.40.50 617 0x80000081 0xff79 2 Net Link States (Area 0.0.0.0) Link ID ADV Router Age Seq# CkSum 22.22.22.2 1.1.1.1 569 0x800017f7 0x87cd 33.33.33.1 3.3.3.3 562 0x800002c8 0xa9bf AS External Link States Link ID ADV Router Age Seq# CkSum Route 0.0.0.0 40.40.40.50 465 0x80000087 0xeeb1 E2 0.0.0.0/0 [0x0] 1.1.1.0 40.40.40.50 1128 0x8000005f 0xd9d8 E2 1.1.1.0/24 [0x0] 12.12.12.0 40.40.40.50 465 0x80000001 0x09e6 E2 12.12.12.0/24 [0x0] 13.13.13.0 40.40.40.50 465 0x80000001 0xe408 E2 13.13.13.0/24 [0x0] 22.22.22.0 40.40.40.50 607 0x80000061 0xde92 E2 22.22.22.0/24 [0x0] 33.33.33.0 40.40.40.50 1228 0x8000005f 0x55fc E2 33.33.33.0/24 [0x0]
dump routing ospf vrf Global reachable-prefixes VRF : Name - Global, ID - 1695187971257016928 OSPF Config ID : 1713256072536012828 Reachable IPv4 Prefixes Count : 2 Redistribute : true Reachable IPv4 Prefixes +----------------------+----------------------+ | Network | Nexthop | +----------------------+----------------------+ | 11.11.11.0/24 | 22.22.22.2 | | 9.9.9.0/24 | 33.33.33.1 | +----------------------+----------------------+

Recommended For You