01-13-2014 12:48 PM
LMS 3.2 - RME 4.3.1
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?
Thanks,
Mike S.
Solved! Go to Solution.
01-13-2014 05:09 PM
Hi Mike,
For multi-line banner command, you *should* useand --Now Run the Banner like below example:banner login ^C************************************** !!!!! ADVERTENCIA !!!!! this is the Banner
you will love it
hope it will work for you
******************************************************^C
Thanks-
Afroz
[Do rate the useful post]
01-13-2014 05:09 PM
Hi Mike,
For multi-line banner command, you *should* useand --Now Run the Banner like below example:banner login ^C************************************** !!!!! ADVERTENCIA !!!!! this is the Banner
you will love it
hope it will work for you
******************************************************^C
Thanks-
Afroz
[Do rate the useful post]
01-15-2014 07:23 AM
I created a new Adhoc Netconfig job in the following format.
banner login ^
This is my test banner.
Testing, testing, testing.
^
The odd thing is, the job failed, yet the switch did accept the banner command. The new login banner was there when I connected to it.
Here is the Failed error message;
Command(s) failed on the device Insufficient no. of interactive responses(or timeout) for command: banner login ^
I'd obviously like to know why the job said it failed, yet the command did succeed.
Thanks,
Mike S.
01-15-2014 07:27 AM
there were few known issue in LMS 3.2 so that could be one of the reason.
I would suggest to upgarde the LMS to LMS 3.2.1
hope my post helped you !!!
Thanks-
Afroz
[Do rate the post]
*** Rating Encourage Contributors *****
01-15-2014 08:14 AM
Your post helped a lot. Thanks!
01-16-2014 12:24 PM
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.
I just wanted to let you know the end result.
Thanks again for the help,
Mike S.
01-16-2014 07:54 PM
Thanks for updating us.. this will help other too
Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: