Here's a suggestion: copy the template, then edit the template to include the template in a static manner. It doesn't matter what you enter in the prompt for the banner if you don't put the banner variable in the output to the device. I found I still needed to have the variable in the template. Unfortunately, this solution truncates multiple spaces to a single space. Note: This template is for MOTD, rather than Login banner, but the solution is basically the same.
*
.CHANGE_TEMPLATE_DESCRIPTION
Change Login Banner on Cisco IOS devices
.CHANGE_TEMPLATE_TAGS
Cisco
.PLATFORM_DESCRIPTION
Cisco IOS
.PARAMETER_LABEL @ContextNode
NCM Node
.PARAMETER_DESCRIPTION @ContextNode
The node the template will operate on. All templates require this by default. The target node is selected during the first part of the wizard so it will not be available for selection when defining values of variables.
*/
script ChangeMOTDBannerCiscoIOS ( NCM.Nodes @ContextNode,
string @LoginBanner )
{
CLI
{
configure terminal
no banner motd
banner motd ^C
******************************************
** SW-Name-A-01 3750X **
** Mega Corp System Network **
** Unauthorized access is prohibited. **
******************************************^C
exit
}
}