Well I am hoping to create a message that shows up on our switches as a kind of warning for people trying to logon. You know, don't tamper with this, call 1-800-blah-blah or assistance. My problem is that 'c' is the character that starts and ends the banner and my actual message is determined by our department and I can't get the whole message to show up. I get something like "This system will be monitored for unauthorized use. Please c" And the c for call ends the dang thing. How can I use the letter c in the banner without it ending the prematuraly? This is a very simple question I think, but I can't figure it out.
When reading a running config, the banner is delimited with crtl-C and looks like: ^C in applications like notepad. When re-using this banner (copy-paste) the IOS set the starting character of the banner to ^ and interprets the C as the first character of the banner. The banner finishes when entering the second ^ and the C following that is simply ignored. To prevent this, most of the time I am using the / or \ as the start character. This resolves the issue. When re-applying a banner from a sh run or tftp file, you have to manually edit this. Another solution is to apply a config-script containing the proper start-end characters.
If you have given " " just for reference then it is ok, or else if you mean to say that " is the last character you are getting after c i dont know how can that can happen.Because whatever you have typed in between the delimiter, you should be able to see in 'sh run'.
This should be what you have typed to get such a result.
banner motd ^c "This system will be monitored for unauthorized use. Please c" ^c
I would like to add one more thing when we say banner it can span to multiple lines.for example if you type the following way
banner motd ^C "This system will be monitored for unauthorized use. Please ^C
^C call 1-800-blah-blah for assistance ^C
in 'sh run' you will be able to see only the first line. To get the whole message try this out:
banner motd #"This system will be monitored for unauthorized use. Please
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...