Submit a ticketCall us

Webinar: Web Help Desk for HR, Facilities and Accounting Departments
This webinar will focus on use cases for HR, Facilities and Accounting.

Having a unified ticketing and asset management system for all the departments in your company can provide end-users with a seamless experience and make things easier for your IT team. Yet, with different business tasks and objectives, many departments don’t fully understand the capabilities of Web Help Desk and how the software can be customized for effective use in their departments.
Register Now.

Home > Success Center > Network Configuration Manager (NCM) > Error when downloading configs for F5 devices

Error when downloading configs for F5 devices

Updated March 7, 2017

Overview

When trying to download a configuration for an f5 device, NCM is trying to send TMSH commands. 

When the user that has been assigned to the device does not have rights to issue the comment from a TMOS level, the login validation may pass but the download will fail.

Syntax Error: An unexpected argument "tmsh" can be seen in the session trace, or if one would log in to the devices CLI with the same credentials from an application like Putty or Secure CRT, and issue a tmsh command, like tmsh show /system version.

Environment

All NCM versions

Resolution

Provide the f5 user an administrator role to switch the bash and issue the command.

To do this:

  1. From the Web Console, go to settings > NCM settings > Device Templates and look for the the f5 BIG IP Device template.
  2. Turn the Use for Auto Detect to Off.
  3. Edit the Device Template(this will force a copy).
  4. Rename the copy then set the Use for auto-detect to Yes.

 

Modify the following command:

<Command Name="RESET" Value=""/>

Use the same line and add run /util bash:

<Command Name="RESET" Value="run /util bash" RegEx="#"/>

 

The RegEx=''#'' was added at the end of the command since the prompt will change from (TMOS)# to maybe (standby)~#. This will tell NCM to accept the # as the prompt regardless of what precedes it. 

 

Note:  According to F5 article K10272, remote users attempting to run this command that do not have advanced shell privileges see the following error:

Syntax Error: "bash" unexpected argument"

 

Last modified
17:08, 6 Mar 2017

Tags

Classifications

Public