Chapter 6
Configuring OSPFv2
S e n d d o c u m e n t c o m m e n t s t o n e x u s 7 k - d o c f e e d b a c k @ c i s c o . c o m .
Command
show ip ospf vrf {vrf-name | all | default |
management}
show running-configuration ospf
Displaying OSPFv2 Statistics
To display OSPFv2 statistics, use the following commands:
Command
show ip ospf policy statistics area area-id
filter-list {in | out} [vrf {vrf-name | all |
default | management}]
show ip ospf policy statistics redistribute
{bgp id| direct | eigrp id | isis id | ospf id |
rip id | static} vrf {vrf-name | all | default
| management}]
show ip ospf statistics [vrf {vrf-name | all
| default | management}]
show ip ospf traffic [interface
number] [vrf {vrf-name | all | default |
management}]
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
Table 6-2
Parameters
Hello interval
Dead interval
OL-20002-02
type
-
lists the default settings for OSPFv2 parameters.
Default OSPFv2 Parameters
Cisco Nexus 7000 Series NX-OS Unicast Routing Configuration Guide, Release 4.x
Purpose
Displays information about VRF-based OSPFv2
configuration.
Displays the current running OSPFv2 configuration.
Purpose
Displays the OSPFv2 route policy statistics for an area.
Displays the OSPFv2 route policy statistics.
Displays the OSPFv2 event counters.
Displays the OSPFv2 packet counters.
Default
10 seconds
40 seconds
Displaying OSPFv2 Statistics
6-45