CCNP-Studies
Routing
5-VRF-Lite
4 iOS Show and Debug Commands

Here are some show and debug commands to help with troubleshooting VRF Lite

Show Commands:

  • show ip route vrf [VRF_NAME] - Displays the routing table for a specific VRF.
  • show vrf - Lists all VRFs configured on the router.
  • show vrf interfaces [VRF_NAME] - Displays the interfaces associated with a specific VRF.
  • show vrf forwarding [VRF_NAME] - Displays the forwarding information for a specific VRF.
  • show ip vrf detail [VRF_NAME] - Provides detailed information about a specific VRF, including its associated interfaces and route targets.
  • show ip cef [VRF_NAME] [PREFIX] - Shows the Cisco Express Forwarding (CEF) information for a specific prefix within a VRF.

Debug VRF (Virtual Routing and Forwarding) in Cisco IOS Version 15

The debug vrf command in Cisco IOS Version 15 is used for debugging and troubleshooting VRF-related issues. It allows you to enable debugging for various aspects of VRF configuration and operation. The following are the available options for the debug vrf command:

  • create: This option is used to enable debugging for the creation of VRFs or their attributes. When enabled, it will provide information about VRF creation.

  • delete: Enables debugging for the deletion of VRFs or their attributes. When enabled, it will provide information about VRF deletion.

  • error: This option is used to debug VRF-related errors. When enabled, it will display information about errors occurring in the VRF configuration.

  • ha: Enables debugging for high-availability features related to VRFs. It helps in diagnosing issues related to VRF high-availability.

  • initialization: Enables debugging for the initialization of the VRF subsystem. This option provides information about the VRF subsystem initialization process.

  • interface: Debugging for VRF interface assignment. It provides insights into VRF interface configuration and assignment.

  • ipv4: Enables debugging for the IPv4 address family within VRFs. When enabled, it helps in troubleshooting issues related to IPv4 in VRFs.

  • ipv6: Similar to the ipv4 option, this enables debugging for the IPv6 address family within VRFs.

  • issu: Debugging for in-service software upgrade (ISSU) related to VRFs. It helps diagnose issues related to software upgrades in VRFs.

  • lock: Enables debugging for VRF locking mechanisms. It provides information about VRF lock operations.

  • lookup: Debugging for database lookups within VRFs. It helps in understanding how VRFs perform database lookups.

  • mpls: Enables debugging for Multi-protocol Label Switching (MPLS) within VRFs. It helps in troubleshooting MPLS-related issues in VRFs.

  • selection: Debugging for VRF selection processes. It provides information about the selection of VRFs.

To enable any of these debugging options, you can use the following command format:

debug vrf <option>