This article explains the steps to disable pulling vlan.dat and vlan text in CiscoIOSSwitch
NCM 10.1.X
The following changes are required on both the Application Server and Device Server:
1) On both the AS and DS, enter the following command at CLI :source /etc/voyence.conf
2) Browse to the following location: cd $VOYENCE_HOME/custompackage/pkgxml/CiscoIOSSwitch
and edit file CiscoIOSSwitch.pkg
file
(If this file and location does not exist, you can copy over from $VOYENCE_HOME/package)
3) In the file CiscoIOSSwitch.pkg, search for the pattern vlan.dat and vlan text and comment them with <!-- and -->
<!--
<ConfigurationUnit type="ConfigFile" revisionable="true" cuid="vlan.dat"
snmp_supported="false" required-for-completeness="false">
<File activate-on-reload="true" category-ref="IOSVlan" name="vlan.dat" primary="false" recurse="false" rollback="true" default="false"/>
<PullMechanisms>
<PullMechanism default="true">6</PullMechanism>
<PullMechanism>8</PullMechanism>
<PullMechanism>9</PullMechanism>
</PullMechanisms>
<Destinations>
<DestRef display-name="$ConfigFile.Location" name="vlan-config" ro llback="true" default="true"/>
<DestRef name="flash vlan-config"/>
<DestRef name="const_nvram vlan-config"/>
<DestRef name="cat4000_flash vlan-config"/>
<DestRef name="nvram vlan-config"/>
</Destinations>
</ConfigurationUnit>
-->
<!--
** File
-->
<!--
<ConfigurationUnit type="ConfigFile" revisionable="true" cuid="vlan text" snmp_supported="false" required-for-completeness="false">
<File activate-on-reload="true" category-ref="IOSVlanText" name="vlan text" primary="false" recurse="false" default="false"/>
<PullMechanisms>
<PullMechanism default="true">2</PullMechanism>
<PullMechanism>3</PullMechanism>
</PullMechanisms>
</ConfigurationUnit>
-->
</ConfigurationUnits>
</DevicePackage>
4) Above steps are to be performed in both AS and DS
5) Restart vcmaster as systemctl restart vcmaster
after making the changes