The user can display the routes that have been redistributed into OSPF for a VRF. To display the redistributed routes, enter the following command at any level of the CLI.
device# show ip ospf vrf green redistribute route
10.6.1.0 10.255.255.0 bgp
10.8.1.0 10.255.255.0 bgp
10.40.1.1 10.255.255.255 bgp
10.40.1.2 10.255.255.255 bgp
In this example, four routes have been redistributed from BGP routes.
Syntax: show ip ospf vrf vrf-name redistribute route
The vrf-name parameter specifies the VRF that the user wants to display routes redistributed into OSPF for.