VMware Smart Assurance NCM: How to identify which Device Classes by default have quick command "Clear Cache"?
search cancel

VMware Smart Assurance NCM: How to identify which Device Classes by default have quick command "Clear Cache"?

book

Article ID: 345331

calendar_today

Updated On:

Products

VMware

Issue/Introduction

Right click on a device in NCM has Quick Commands, where Clear Cache is available for few device classes and not for others. How to identify which device classes have "Clear Cache" quick command by default.

image.png


Environment

VMware Smart Assurance - NCM

Resolution

Login into NCM Server (CS/AS/DS) CLI.
Execute below commands:
source /etc/voyence.conf
grep -ir "Clear_Cache" $VOYENCE_HOME/package/*

 

Ex:

[root@ncm /]# source /etc/voyence.conf
[root@ncm /]# grep -ir "Clear_Cache" $VOYENCE_HOME/package/*
/opt/smarts-ncm/package/pkgxml/NortelAlteon/NortelAlteon.pkg:        <DeviceCommand name="Clear_Cache"/>
/opt/smarts-ncm/package/pkgxml/MotorolaBSR/MotorolaBSR.pkg:        <DeviceCommand name="Clear_Cache"/>
/opt/smarts-ncm/package/pkgxml/Force10E-Series/Force10E-Series.pkg:        <DeviceCommand name="Clear_Cache"/>
/opt/smarts-ncm/package/pkgxml/ExtremeSwitch/ExtremeSwitch.pkg:        <DeviceCommand name="Clear_Cache"/>


In the results, the text highlighted with bold format above shows the device classes of NCM which have "Clear Cache" quick command by default.