Operational Defect Database

BugZero updated this defect 58 days ago.

VMware | 361008

VoyenceControl: Cisco IOS switches fail to "pull config" due to TACACS error for Vlan text

Last update date:

3/22/2024

Affected products:

Smart Assurance - NCM

Affected releases:

No affected releases provided.

Fixed releases:

No fixed releases provided.

Description:

Symptoms

VLAN text pull shows as completed while startup pull fails with:Timeout waiting for configuration to buildPull of startup failed The "VLAN database" command is not allowed by TACACS Running the VLAN database command on IOS switches from enable mode gives error:Command authorization failed.

Cause

The Cisco IOS switch driver does not know about the " Command authorization failed " error message. After 60 seconds, the " show current " command times out.

Resolution

SSH to your VoyenceControl device server(s)Make a custompackage out of cisco/stdfuncs.inc:mkdir $VOYENCE_HOME/custompackage/ciscoCopy stdfuncs.inc from package to custompackage:cp $VOYENCE_HOME/package/cisco/stdfuncs.inc $VOYENCE_HOME/custompackage/ciscoEdit the copy of stdfuncs.incvi $VOYENCE_HOME/custompackage/cisco/stdfuncs.incSearch for the pullVlanText function:/pullVlanTextEdit this function to look like the following:pullVlanText(var session){var start=TIME;session = getSession (MECHANISM, smgrEnableMode);addState(session,100,"\\(vlan\\)");LOG="Pulling Vlan Text Config";send(session,"vlan database\n");waitFor(session,5,100);startCapture(session);send(session,"show current\n");waitFor(session,60,"100,10003");var thisState=getNextState(session);if (thisState==100){retVal=endCapture(session);send(session,"exit\n");waitFor(session,60,stdEnablePromptState);RESULT="PULL VLAN Text via Term took "+(TIME-start)+" seconds";}else if(thisState==10003){retVal="";ERRORCODE=daslECPermDeny;ERROR="PULL VLAN Text failed";}relSession (session);return;}Save and quit the file::wq!Restart the Voyence service:/etc/init.d/voyence restart

Related Information

$VOYENCE_HOME refers to the home directory of VoyenceControl, typically /opt/voyence.

Additional Resources / Links

Share:

BugZero® Risk Score

What's this?

Coming soon

Status

Unavailable

Learn More

Search:

...