Adding Clear Cache Command Support for Cisco IOS XR in NetOps NCM
search cancel

Adding Clear Cache Command Support for Cisco IOS XR in NetOps NCM

book

Article ID: 441137

calendar_today

Updated On:

Products

VMware Smart Assurance Network Observability

Issue/Introduction

By default, Cisco IOS XR devices in Voyence do not have the Clear Cache command available.

Resolution

You can manually add support for this command by modifying the package XML configuration. This change must be performed on both the Application Server (AS) and Device Server (DS). Ensure that the AS and DS have the same Device Support Release (DSR).

Step-by-Step Configuration

  1. Copy the Package File Copy the CiscoIOSXR.pkg file from the default package directory to the custom package directory:

    bash
     
    cp $VOYENCE_HOME/package/pkgxml/CiscoIOSXR/CiscoIOSXR.pkg $VOYENCE_HOME/custompackage/pkgxml/CiscoIOSXR/CiscoIOSXR.pkg
  2. Verify Permissions Ensure that the ownership and file permissions of the copied file in the custompackage directory match the original file.

  3. Edit the XML File Open the copied CiscoIOSXR.pkg file and locate the <SupportedCommands> section. Add the following line within that section:

    xml
     
    <DeviceCommand name="Clear_Cache"/>
  4. Save and Restart Save the changes to the file and restart the vcmaster service to apply the configuration:

    bash
     
    service vcmaster restart
  5. Synchronize Servers Repeat these steps on both the Application Server and all relevant Device Servers.