System Management Configuration Guide for Cisco 8000 Series Routers, Cisco IOS XR Releases

PDF

System Management Configuration Guide for Cisco 8000 Series Routers, Cisco IOS XR Releases

View VRF-specific configurations

Want to summarize with AI?

Log in

Explains how VRF-specific configurations consolidate running configuration data and highlight logical dependencies within Cisco IOS XR.


A VRF-specific configuration is a network management feature that

  • consolidates all running configuration data associated with a Virtual Routing and Forwarding (VRF) instance,

  • supports visibility across various CLI link-points and keywords, and

  • reveals logical parent-child dependencies for interfaces and bundles associated with a VRF.

Beginning with Cisco IOS XR Software Release 24.2.11, the show running-configuration filter vrf command enables you to filter configurations tied to a specific VRF. Previously, the show running configuration command listed configurations under distinct keywords only, which might not capture all related settings for a VRF.

Table 1. Feature History Table

Feature Name

Release Information

Feature Description

View VRF-specific Configuration

Release 24.2.11

You can now filter the configurations associated with a specific VRF using the show running-configuration filter vrf command. Earlier, the show running configuration command displayed configuration under a specific keyword only and that may not publish all configurations related to the object.

CLI:

show running-configuration filter vrf

Restrictions for filtering running configuration for VRF

The VRF-specific configuration command has these limitations.

  • The show running-configuration filter vrf doesn’t support filtering for default VRFs that aren’t explicitly labeled in the configuration.

  • Logical dependencies are only automatically displayed for main interfaces with their subinterfaces and bundle interfaces with their members; other dependencies require a specific request.

  • Only a subset of the data from the show running configuration command is displayed by the new CLI.

  • The accuracy of the data provided by the new CLI isn’t independently verified.


View filter running configuration for VRF

Procedure

Use the show running-configuration filter vrf command to filter the running configuration for a specific vrf and list all the configurations related to that object.

Example:


Router#show running-configuration filter vrf vrf80
  
!! Building configuration...
!! IOS XR Configuration 24.2.1.32M
!! Last configuration change at Mon Jan 15 05:09:20 2024 by cisco
!
vrf vrf80
 address-family ipv4 unicast
  import route-target
   1:80
  !
  export route-target
   1:80
  !
 !
 address-family ipv6 unicast
  import route-target
   1:80
  !
  export route-target
   1:80
  !
 !
!
 neighbor 192.0.2.1
   remote-as 200
   ebgp-multihop 4
   update-source Loopback90
   address-family ipv4 unicast
    route-policy PASS in
    route-policy PASS out
   !
  !
 !
!
end