EasyManua.ls Logo

Cisco Nexus 7000 Series - Verifying the Ospfv2 Configuration

Cisco Nexus 7000 Series
536 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Send document comments to nexus7k-docfeedback@cisco.com.
6-44
Cisco Nexus 7000 Series NX-OS Unicast Routing Configuration Guide, Release 4.x
OL-20002-02
Chapter 6 Configuring OSPFv2
Verifying the OSPFv2 Configuration
The following example shows how to create a VRF and add an interface to the VRF:
switch# config t
switch(config)# vrf context NewVRF
switch(config)# router ospf 201
switch(config)# interface ethernet 1/2
switch(config-if)# vrf member NewVRF
switch(config-if)# ip address 192.0.2.1/16
switch(config-if)# ip router ospf 201 area 0
switch(config)# copy running-config startup-config
Verifying the OSPFv2 Configuration
To verify the OSPFv2 configuration, use the following commands:
Command Purpose
show ip ospf Displays the OSPFv2 configuration.
show ip ospf border-routers
[vrf
{vrf-name | all | default | management}]
Displays the OSPFv2 border router configuration.
show ip ospf database
[vrf {vrf-name | all
| default | management}]
Displays the OSPFv2 link-state database summary.
show ip ospf interface number
[vrf
{vrf-name | all | default | management}]
Displays the OSPFv2 interface configuration.
show ip ospf lsa-content-changed-list
interface-type number [vrf {vrf-name | all
| default | management}]
Displays the OSPFv2 LSAs that have changed.
show ip ospf neighbors [neighbor-id]
[detail]
[interface-type number] [vrf
{vrf-name | all | default | management}]
[summary]
Displays the list of OSPFv2 neighbors.
show ip ospf request-list
neighbor-id
[interface-type number] [vrf {vrf-name |
all | default | management}]
Displays the list of OSPFv2 link-state requests.
show ip ospf retransmission-list
neighbor-id
[interface-type number] [vrf
{vrf-name | all | default | management}]
Displays the list of OSPFv2 link-state retransmissions.
show ip ospf route [ospf-route]
[summary] [
vrf {vrf-name | all | default |
management}]
Displays the internal OSPFv2 routes.
show ip ospf summary-address [vrf
{vrf-name | all | default | management}]
Displays information about the OSPFv2 summary
addresses.
show ip ospf virtual-links [brief]
[vrf
{vrf-name | all | default | management}]
Displays information about OSPFv2 virtual links.

Table of Contents

Other manuals for Cisco Nexus 7000 Series

Related product manuals