Submit a ticketCall us

WebinarUpcoming Webinar: Should I Move My Database to the Cloud?

So you’ve been running an on-premises SQL Server® for a while now. Maybe you’ve moved it from bare metal to a VM, and have seen some positive benefits. But, do you want to see more? If you said “YES!”, then this session is for you, as James Serra will review the many benefits that can be gained by moving your on-prem SQL Server to an Azure® VM (IaaS). He’ll also talk about the many hybrid approaches, so you can gradually move to the cloud. If you are interested in cost savings, additional features, ease of use, quick scaling, improved reliability, and ending the days of upgrading hardware, this is the session for you.

Register now.

Home > Success Center > Network Configuration Manager (NCM) > NCM - Knowledgebase Articles > Script used to configure a Banner on a Cisco device takes a long time or times out

Script used to configure a Banner on a Cisco device takes a long time or times out

Table of contents
Created by Bill Corgey, last modified by MindTouch on Jun 23, 2016

Views: 1,310 Votes: 2 Revisions: 3

Overview

The Execute Command Script used to configure a banner on a Cisco device takes a long time.

Environment

  • NCM 6.1 or later

Steps

When using NCM to add or modify a banner, disable prompt detection as this is only one command and the NCM logic will check often for a prompt, causing excessive time for the script to complete.

To work around this, add macros in the script to tell NCM not to check for a prompt, and then turn the prompt detection back on once the banner command is complete.

 

${DisablePromptDetection} will turn this off and ${EnablePromptDetection} will re-enable it.

 

In the command, do the following:

 

conf t

${DisablePromptDetection} 

banner motd ^C

*******

Banner Text here

*******

end

${EnablePromptDetection}

 

This will result in a speedier process.

 

 

 

 

Last modified

Tags

Classifications

Public