BugZero updated this defect 58 days ago.
Data sources
All data on this page is proprietary to BugZero® or gathered from public sources
3/22/2024
Smart Assurance - NCM
No affected releases provided.
No fixed releases provided.
Cisco IOS Switch devices in VoyenceControl continually schedule pulls due to syslog messages caused by those pulls, resulting in a repeating processVoyenceControl jobs fail to pull VLAN Text config unitSystem Properties pull returns UNKNOWN for Model and OS in VoyenceControlSystem Properties pull in VoyenceControl returns blank for Serial Number
The Cisco IOS Switch device driver uses the 'vlan database' command to get into vlan mode on the device. Newer Cisco IOS versions report a warning to notify the user that this functionality is being deprecated, and the warning is caught as an error (see Note statement). Because of this error, VoyenceControl terminates the session while the device is in vlan mode. This in turn causes a SYS-5-CONFIG syslog message to be sent, resulting in a pull against the device, so that the process repeats itself.
To workaround this issue requires a change to the CiscoIOSSwitchPrompts.xml file under the custompackage directory. The following changes must be made on the device server(s): If it does not already exist, create the following directory structure under the custompackage directory as follows: $VOYENCE_HOME/custompackage/pkgxml/CiscoIOSSwitch If the CiscoIOSSwitchPrompts.xml file does not already exist in the the custompackage/pkgxml/CiscoIOSSwitch directory, copy the CiscoIOSSwitchPrompts.xml file from the package/pkgxml/CiscoIOSSwitch directory to this directory as follows: cp $VOYENCE_HOME/package/pkgxml/CiscoIOSSwitch/CiscoIOSSwitchPrompts.xml $VOYENCE_HOME/custompackage/pkgxml/CiscoIOSSwitch/CiscoIOSSwitchPrompts.xml Open the custompackage/pkgxml/CiscoIOSSwitch/CiscoIOSSwitchPrompts.xml file for editing. Locate the ciscoInvalidInputState section: <ciscoInvalidInputState> <ID>10003</ID> <Expr><![CDATA[Invalid input|^%(?!(Serial| Cannot enable both sham-link state-change interface traps| New sham link interface trap not enabled| Cannot enable CDP on this interface| Applying VLAN changes may take few minutes| Password expiration warning))|[Dd]uplicate (IP )?address"Bad mask"Unable to read configuration.\s+Try again later]]></Expr> </ciscoInvalidInputState> Modify the expression to include the beginning of the warning response to the 'vlan database' command: <ciscoInvalidInputState> <ID>10003</ID> <Expr><![CDATA[Invalid input|^%(?!(.* It is recommended to configure VLAN from config mode|Serial| Cannot enable both sham-link state-change interface traps| New sham link interface trap not enabled| Cannot enable CDP on this interface| Applying VLAN changes may take few minutes| Password expiration warning))|[Dd]uplicate (IP )?address| Bad mask| Unable to read configuration.\s+Try again later]]></Expr> </ciscoInvalidInputState> Save and close the CiscoIOSSwitchPrompts.xml file. If on Linux and Solaris, restart the Voyence service as follows: /etc/init.d/voyence restart On Windows, restart the NCM_AutoDisc and NCM_CommMgr services from the Service Manager.
The variable $VOYENCE_HOME is a reference to the install directory of VoyenceControl. On Linux and Solaris, the default is /opt/voyence. On Windows, the default is C:\Program Files\VoyenceControl.The warning message on the device upon issuing 'vlan database' appears as follows: % Warning: It is recommended to configure VLAN from config mode,as VLAN database mode is being deprecated. Please consult userdocumentation for configuring VTP/VLAN in config mode.