Submit a ticketCall us

whitepaperYour VM Perplexities Called, and They Need You to Read This.

Virtualization can give you enormous flexibility with future workloads and can be a key enabler for other areas, like cloud computing and disaster recovery. So, how can you get a handle on the performance challenges in your virtual environment and manage deployments without erasing the potential upside? Learn the four key areas you need to be focusing on to help deliver a healthy and well-performing data center.

Get your free white paper.

Home > Success Center > Network Configuration Manager (NCM) > NCM - Knowledgebase Articles > Error when downloading configs from F5 devices in NCM

Error when downloading configs from F5 devices in NCM

Updated October 19, 2018

Overview

When you download a configuration from an F5 device, NCM tries to send Traffic Management Shell (TMSH) commands. If the user assigned to the device does not have rights to issue the command from a Traffic Management Operating System (TMOS) level, the login validation may pass, but the download will fail.

The following error cam be seen in the session traces:

 

Syntax Error: An unexpected argument "tmsh"

 

Also, if you log in to the command line interface (CLI) on the device with the same credentials from an SSH or Telnet client (such as PuTTY or Secure CRT) and issue a TMSH command like tmsh show /system version, a similar error displays.

Environment

  • All NCM versions

Resolution

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

  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

Tags

Classifications

Public