Submit a ticketCall us

Announcing NCM 7.7
With NCM 7.7, you can examine the rules that make up an access control list for a Cisco ASA device. Then you can apply filters to display only rules that meet the specified criteria, order the rules by line number or by the hit count, and much more.
See new features and improvements.

Home > Success Center > Network Configuration Manager (NCM) > NCM Template - F5 Big-IP (1.3.6.1.4.1.3375)

NCM Template - F5 Big-IP (1.3.6.1.4.1.3375)

Created by Ivan Zlatkov, last modified by Mariusz Handke on Jul 11, 2017

Views: 530 Votes: 2 Revisions: 17

Overview

This article provides a NCM Device Command Template to be used with F5 Big-IP (1.3.6.1.4.1.3375) devices.

Environment

  • NCM any version
  • Device: F5 Big-IP (1.3.6.1.4.1.3375)

Resolution

Solutions below provide device templates. Please follow below article while naming files:

 

Device Template file naming convention

Solution 1 - using tmsh shell

 

Prerequisite: The user account that NCM uses to connect to the device must have "tmsh" set for terminal access: Configure from F5 GUI: Main > System > Users.

  1. Depending on your version of NCM, use the relevant steps to add the following template. For information on using device templates, see Creating and Modifying Device Templates in the NCM Administrator Guide.

  2. Use the following lines as the actual content of the template:
<Configuration-Management Device="F5" SystemOID=" 1.3.6.1.4.1.3375">
        <Commands>
                <Command Name="RESET" Value="modify cli preference pager disabled"/>
                <Command Name="VirtualPrompt" Value="#"/>
                <Command Name="PreCommand" Value="y"/>
                <Command Name="Reboot" Value=""/>
                <Command Name="EnterConfigMode" Value=""/>
                <Command Name="ExitConfigMode" Value=""/>
                <Command Name="DownloadConfig" Value="tmsh -q show running-config"/>
                <Command Name="UploadConfig" Value=""/>
                <Command Name="DownloadConfigIndirect" Value=""/>
                <Command Name="UploadConfigIndirect" Value=""/>
                <Command Name="EraseConfig" Value=""/>
                <Command Name="SaveConfig" Value=""/>
                <Command Name="Version" Value="tmsh -q show sys version"/>
        </Commands>
</Configuration-Management>

Note: To copy content without line numbers, hover over the text and click the view source button (View Source). This opens a new window where you can select and copy text without any formatting or line numbering.

 

 

***Note***

The credentials set up in NCM to log into this device will need to be sufficient to issue the commands.

Root level is recommended if not required.

Solution 2 - using Advanced Shell

 

Prerequisite: The user account that NCM uses to connect to the device must have "Advanced shell" set for terminal access: Configure from F5 GUI: Main > System > Users.

  1. Depending on your version of NCM, use the relevant steps to add the following template. For information on using device templates, see Creating and Modifying Device Templates in the NCM Administrator Guide.

  2. Use the following lines as the actual content of the template:
<Configuration-Management Device="F5" SystemOID=" 1.3.6.1.4.1.3375">
        <Commands>
                <Command Name="RESET" Value=""/>
                <Command Name="Reboot" Value=""/>
                <Command Name="EnterConfigMode" Value=""/>
                <Command Name="ExitConfigMode" Value=""/>
                <Command Name="Startup" Value=""/>
                <Command Name="Running" Value=""/>
                <Command Name="DownloadConfig" Value="tmsh -q show running-config"/>
                <Command Name="SaveConfig" Value="tmsh save"/>
                <Command Name="Version" Value="tmsh show sys version"/>
        </Commands>
</Configuration-Management>

Note: To copy content without line numbers, hover over the text and click the view source button (View Source). This opens a new window where you can select and copy text without any formatting or line numbering.

 

 

***Note***

The credentials set up in NCM to log into this device will need to be sufficient to issue the commands.

Root level is recommended if not required.

 

NCM cannot store the desired UCS file in the database, but one may be able to use the Execute scripts feature in NCM to back it up:

 

F5 Big-IP .ucs binary configuration file backup

 

 

 

Last modified
05:25, 11 Jul 2017

Tags

Classifications

Public