View the OSPF Redistribution Configuration Information

Displays the OSPF redistribution configuration information.

Note

Note

The route policies treat permit and deny rules differently for inbound and outbound traffic.

  • For an in-policy (RIP, BGP) or an accept policy (OSPF) using a route-map, if a particular route is not explicitly denied in the accept policy or in-policy with the route-map, then the route is implicitly allowed.

  • For an out-policy (RIP, BGP) or a redistribute policy (RIP, OSPF, BGP) using a route-map, even if a particular route is not explicitly allowed in the redistribution policy or out-policy with the route-map, then the route is implicitly denied.

  • In order to permit or deny only explicit routes, configure a policy with additional sequences, where, the last sequence permits all routes that are not explicitly permitted or denied.

Procedure

  1. Enter Privileged EXEC mode:

    enable

  2. View the OSPF redistribution configuration information:

    show ip ospf redistribute [vrf WORD<1-16>] [vrfids WORD<0-512>]

Example

Switch:1#show ip ospf redistribute

================================================================================
                     OSPF Redistribute List - GlobalRouter
================================================================================

SRC-VRF          SRC  MET MTYPE SUBNET   ENABLE RPOLICY
--------------------------------------------------------------------------------
GlobalRouter     STAT 0   type2 allow    TRUE
   

Variable definitions

The following table defines parameters for the show ip ospf redistribute command.

Variable

Value

vrf WORD<1-16>

Specifies a VRF by name.

vrfids WORD<0-512>

Specifies a range of VRF IDs.