Submit a ticketCall us

Solarwinds & Cisco Live! Barcelona
Join us from the 29th of January to the 2nd of February at Cisco Live 2018 in Barcelona, where we will continue to show how monitoring the network with SolarWinds will keep you ahead of the game. At our booth (WEP 1A), we will demonstrate how SolarWinds network solutions can help. As a bonus, we are also hosting a pre-event webinar - Blame the Network, Hybrid IT Edition with our SolarWinds Head Geek™, Patrick Hubbard on January 24th - GMT (UTC+0): 10:00 a.m. to 11:00 a.m. There's still time to RSVP.

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

Error when downloading configs from F5 devices

Updated March 7, 2017

Overview

When attempting to download a configuration from an F5 device, NCM is trying to send TMSH commands. If the user which has been assigned to the device does not have rights to issue the command from a TMOS level, the login validation may pass but the download will fail. Below error can be seen in session traces:

 

Syntax Error: An unexpected argument "tmsh"

 

Also 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, the similar error message will be presented.

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

Tags

Classifications

Public