View the VRF Configurations

Use the following command to view VRF configurations.

Procedure

  1. Enter Privileged EXEC mode:

    enable

  2. View the VRF configuration:

    show ip ospf vrf WORD<1-16>

Example

View the VRF configuration:

Switch:1#show ip ospf vrf virtualrandf1


================================================================================
                        OSPF General - VRF virtualrandf1
================================================================================

            RouterId: 192.0.2.1
           AdminStat: disabled
       VersionNumber: 2
    AreaBdrRtrStatus: false
      ASBdrRtrStatus: false
      Bad-Lsa-Ignore: false
      ExternLsaCount: 0
   ExternLsaCksumSum: 0(0x0)
          TOSSupport: 0
    OriginateNewLsas: 0
           RxNewLsas: 0
          TrapEnable: false
  AutoVirtLinkEnable: false
     SpfHoldDownTime: 10
Rfc1583Compatibility: disable

              default-metric :
                         ethernet - 100

--More-- (q = quit)

Variable definitions

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

Variable

Value

vrf WORD<1-16>

Specifies a VRF by name.