I'm having issues using NetConfig to push a new login banner. I believe the issue is because the router or switch returns a line after the command banner login ^ - the router or switch will return a line stating "Enter TEXT message. End with the character '^'"
Here is an example;
Router(config)#banner login ^
Enter TEXT message. End with the character '^'
I've tried an Adhoc Netconfig job similar to the following;
banner login ^
This is an example of our new banner.
bla, bla, bla,
bla, bla, bla
This is the end of our new banner.
I've also tried using the pre-defined NetConfig task called Banner.
In both instances, the jobs failed due to the following;
"Command(s) failed on the device Insufficient no. of interactive responses(or timeout) for command: banner login ^."
Is there a way to enter a <wait> or something in the adhoc job?
Or, do you know of a way to use NetConfig to push new Banners?
I figured out why the Netconfig jobs were failing. It was because one of the lines on our new banner was too long (not sure what the character limitation is exactly). I inserted a line break in that sentence and the jobs worked.
I also ended up using the pre-defined Netconfig Task for Banner. It eliminated the need to use the multi-line command you mentioned above.
We are pleased to announce availability of Beta software for 16.6.3. 16.6.3 will be the second rebuild on the 16.6 release train targeted towards Catalyst 9500/9400/9300/3850/3650 switching platforms. We are looking for early feedback from custome...