Send document comments to nexus7k-docfeedback@cisco.com.
6-45
Cisco Nexus 7000 Series NX-OS Unicast Routing Configuration Guide, Release 4.x
OL-20002-02
Chapter 6 Configuring OSPFv2
Displaying OSPFv2 Statistics
Displaying OSPFv2 Statistics
To display OSPFv2 statistics, use the following commands:
OSPFv2 Example Configuration
The following example shows how to configure OSPFv2:
feature ospf
router ospf 201
router-id 290.0.2.1
interface ethernet 1/2
ip router ospf 201 area 0.0.0.10
ip ospf authentication
ip ospf authentication-key 0 mypass
Default Settings
Table 6-2 lists the default settings for OSPFv2 parameters.
show ip ospf vrf
{vrf-name | all | default |
management}
Displays information about VRF-based OSPFv2
configuration.
show running-configuration ospf Displays the current running OSPFv2 configuration.
Command Purpose
Command Purpose
show ip ospf policy statistics area area-id
filter-list {in | out} [vrf {vrf-name | all |
default | management}]
Displays the OSPFv2 route policy statistics for an area.
show ip ospf policy statistics redistribute
{bgp id| direct | eigrp id | isis id | ospf id |
rip id | static} vrf
{vrf-name | all | default
| management}]
Displays the OSPFv2 route policy statistics.
show ip ospf statistics [vrf
{vrf-name | all
| default | management}]
Displays the OSPFv2 event counters.
show ip ospf traffic
[interface-type
number]
[vrf {vrf-name | all | default |
management}]
Displays the OSPFv2 packet counters.
Table 6-2 Default OSPFv2 Parameters
Parameters Default
Hello interval 10 seconds
Dead interval 40 seconds