10-09-2010 10:29 PM - edited 03-06-2019 01:25 PM
I need to post a very long login/motd banner on my company's switches, much too long to type out for a two finger typist. Is there an easier way to do it?
10-10-2010 03:16 AM
Hi Chris,
I tend to write things like this out once in notepad and then just copy and paste into the CLI. Saves time and removes the risk of making typo's!
Cheers
Jonathan
10-15-2010 01:44 PM
When I try to copy it from in from cliboard, it truncates the message and says there is an invalid characater.
This banner is about 1500 characters--is there a limit on the Catalyst 2900, ver 12.0? As for the invalid character, this is copied in from Notepad, there are no invalid characters. I keep deleting what the ^ points to, but no help, it just points to another character or space.
10-17-2010 07:45 AM
Hey Chris,
Often problems seen when pasting large config fragments are caused by differing line-break and/or flow-control implementations between terminal programs. The most realiable method that I'd recommend for inserting significant config fragments would be to store the config on a TFTP/FTP server and use 'copy tftp: running-config'.
If the config is still being rejected with this method then I guess you are hitting some limit for the banner length, although I wasn't aware that there is such.
Good luck!
/Phil
10-18-2010 05:37 AM
A 2950 is limited to 255 characters or less for a login banner ,so if you are talking about a 2924XL or equivalent it will be 255 characters or even less as they are even older.... So yes for a 2900 series you are well above the allowed length. Not sure why you would need to have a banner that lengthy but it won't work on a 2900 ...
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide