Hi Al, I am surprised the above modifications had any impact on the behavior of the template. # is the default enable prompt NCM looks for if you didn't declare one, and the default IOS template isn't menu based either. If anything, I would have expected VirtualEnablePrompt to have any impact by declaring the enable prompt in its entirety or as a regular expression since the # character in the banner is the one causing the confusion
From the admin guide
Using Command Template Variables to Declare a Special Command Prompt
If the command prompt is not > or #, or you need to specify more than one character to designate the command prompt, as in the case of banners using the # symbol, you can declare the command prompt using the following command variables.
<Command Name=”MenuBased” Value=”false”/>
Specifies that the template logic should run in CLI mode
<Command Name=”VirtualPrompt” Value=”CustomPrompt%”/>
Specifies the exact value of the command prompt designating the device is ready to receive commands.