01-19-2009 02:53 PM - edited 03-04-2019 12:54 AM
Okay,
How can I copy a banner message from running config? :-)
Here's the issue. I have a banner message, and it seems that when I copy and paste, the message has a "C" at the beginning and end of the message.
I know that I can manually type in "banner motd %", hit enter, paste the message, and enter a "%" at the end, but I've been copying configs, and I noticed that the "C" is there because in the config it's like:
banner ^C
***** message ****
^C
The "C"s are coming across as a character and not a break. Any ideas?
Thanks!
John
Solved! Go to Solution.
01-19-2009 03:02 PM
John
That is one of the odd things about IOS (and has been the case for a very long time). The display of running config represents the delimiter of the banner as two characters ^C and if you paste that into the config of another router then it interprets the ^ as the delimiter and puts the C as the leading character of the new banner.
My solution to this has been to copy the banner, paste the banner into a text file, change ^C to some single character delimiter, copy the changed text file, paste it into the running config to produce a new banner (without the leading C).
HTH
Rick
01-19-2009 03:02 PM
John
That is one of the odd things about IOS (and has been the case for a very long time). The display of running config represents the delimiter of the banner as two characters ^C and if you paste that into the config of another router then it interprets the ^ as the delimiter and puts the C as the leading character of the new banner.
My solution to this has been to copy the banner, paste the banner into a text file, change ^C to some single character delimiter, copy the changed text file, paste it into the running config to produce a new banner (without the leading C).
HTH
Rick
01-19-2009 11:14 PM
I use the same solution as what Rick does :)
There are some router banner I saw so many C's, I think it was copied from one network to another (very popular banner) so it become like this ^CCCCC :)
01-20-2009 07:21 AM
Yeah, that's what I've been doing but I wanted to make sure that I wasn't missing a "trick." :-)
Thanks Rick!
John
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