How to you 'copy and paste' text using #banner motd

Unanswered Question
Nov 21st, 2008

Folks, on my router I am trying to copy a half-page of text and then paste after doing #banner motd line

However, once I paste the text I get output saying "command was not identified".

Can you pleae explain how can I copy large text from notepad and paste it as a banner? Which character combination do I need to use?

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)
Loading.
Mark Yeates Fri, 11/21/2008 - 19:27

Marlon,

The easiest way in creating a banner is to use something like notepad. type in the "banner motd" command and use notepad to edit your banner as necessary. Then go into global configuration mode and paste your banner in.

banner motd ^ This is an example manner!^

You must use a unique start and stop delimiter. In my example I used the ^ sign.

http://www.cisco.com/en/US/docs/ios/12_2/configfun/configuration/guide/fcf004.html#wp1001446

HTH,

Mark

johnlloyd_13 Fri, 11/21/2008 - 22:42

also make sure that you're not using the same character delimiter in your banner. you'll get the output "command was not identified".

Richard Burts Sat, 11/22/2008 - 20:53

Marlon

I have w comments (1 pretty picky and 1 more general):

- You say that you entered:

after doing #banner motd line

this makes it look like you were in privilege exec mode rather than global config mode. The banner motd is a global config command.

- if you were in global config and you typed:

banner motd line

the IOS would problably not recognize the command. What it is looking for is banner motd , where is some character that marks the beginning and the end of the banner text. And as John mentions you should be sure that the character that you use for delimiter does not appear anywhere within your banner text.

[edit] My memory is that the on line help probably does describe the command as banner motd line, where line represents some line of text (the delimiter character). I feel that this is one of the less helpful explanations that on line help does.

HTH

Rick

Actions

This Discussion