show ip ospf policy statistics redistribute

To display Open Shortest Path First (OSPF) policy statistics, use the show ip ospf policy statistics redistribute command.

show ip ospf [ instance-tag ] policy statistics redistribute { bgp id | direct | eigrp id | ospf id | rip id | static } [ vrf vrf-name ]

Syntax Description

instance-tag
(Optional) Name of the OSPF instance. Specify as an alphanumeric string.
bgp
Displays policy statistics for the Border Gateway Protocol (BGP).
direct
Displays policy statistics for directly connected routes only.
eigrp
Displays policy statistics for the Enhanced Interior Gateway Routing Protocol (EIGRP).
ospf
Displays policy statistics for OSPF.
rip
Displays policy statistics for the Routing Information Protocol (RIP).
static
Displays policy statistics for IP static routes.
id
For the bgp keyword, an autonomous system number. The range for 2-byte numbers is from 1 to 65535.
For the eigrp keyword, an autonomous system number. The range is from 1 to 65535.
For the ospf and rip keywords, an instance name from which routes are to be redistributed. The value takes the form of a string. You can enter a decimal number, but Cisco NX-OS stores it internally as a string.
vrf vrf-name
(Optional) Specifies the name of the virtual routing and forwarding (VRF) instance. The vrf-name argument can be specified as any case-sensitive, alphanumeric string up to 32 characters. The strings default, management, and all are reserved VRF names.

Command Default

None

Command Modes

Any command mode

Command History

Release
Modification
5.0(3)N1(1)
This command was introduced.

Usage Guidelines

Use the show ip ospf policy statistics redistribute command to display redistribution statistics.

This command requires the LAN Base Services license.

Examples

This example shows how to display policy statistics for redistributed routes:

switch# show ip ospf policy statistics redistribute
 

Related Commands

Command
Description
show running-config ospf
Displays the OSPF running configuration.