cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
25153
Views
20
Helpful
6
Replies

Banner MOTD Banner Exec Banner Login

ashleyreed4218
Level 1
Level 1

Hi All:

I am trying to load a config to a Cisco switch. I haven't put a banner on a switch in so long it seems I have forgotten how to do it.

It seems I will need a 'banner exec' message, as well as a banner 'login' message.

The login message will look something like:

******************************************************************************

* WARNING !!!                                                                *

* This system is for the use of authorized users only.                       *

*                                                                            *

* Individuals using this network without authority, or in excess of their    *

* authority, are subject to legal action.                                   *

*                                                                  

******************************************************************************

And the exec:

Current switch configuration is Version1, any changes to this version will need to be updated.

Any suggestions?

Thank you in advance,

Ashley

1 Accepted Solution

Accepted Solutions

John Blakley
VIP Alumni
VIP Alumni

Are you asking how to do it?

Login:

banner login ^

******************************************************************************

* WARNING !!!                                                                *

* This system is for the use of authorized users only.                       *

*                                                                            *

* Individuals using this network without authority, or in excess of their    *

* authority, are subject to legal action.                                   *

*                                                                  

******************************************************************************

^

Exec:

banner exec ^

Current switch configuration is Version1, any changes to this version will need to be updated.

^

The '^' symbols are your pattern breaks. If you have a "^" in your message, IOS will think that you want to stop the message there, so you need to use something that's not in your message.

HTH,

John

HTH, John *** Please rate all useful posts ***

View solution in original post

6 Replies 6

John Blakley
VIP Alumni
VIP Alumni

Are you asking how to do it?

Login:

banner login ^

******************************************************************************

* WARNING !!!                                                                *

* This system is for the use of authorized users only.                       *

*                                                                            *

* Individuals using this network without authority, or in excess of their    *

* authority, are subject to legal action.                                   *

*                                                                  

******************************************************************************

^

Exec:

banner exec ^

Current switch configuration is Version1, any changes to this version will need to be updated.

^

The '^' symbols are your pattern breaks. If you have a "^" in your message, IOS will think that you want to stop the message there, so you need to use something that's not in your message.

HTH,

John

HTH, John *** Please rate all useful posts ***

Thanks, yes I am asking how to do it. When I try to do banner exec nothing happens?

What type of equipment? When you do "banner ?" do you get the exec option?

HTH, John *** Please rate all useful posts ***

I was using a Cisco 3560 in Packet Tracer - I think my problem is Packet Tracer. Because, when I did what you said on the actual box - everything worked fine.

I wonder why it wouldn't work in PT.

hi,

'banner exec's is not an available option for a 3560 in PT.

PT_C3560(config)#banner ?

  login  Set login banner

  motd   Set Message of the Day banner

REAL_C3560(config)#banner ?

  LINE            c banner-text c, where 'c' is a delimiting character

  config-save     Set message for saving configuration

  exec            Set EXEC process creation banner

  incoming        Set incoming terminal line banner

  login           Set login banner

  motd            Set Message of the Day banner

  prompt-timeout  Set Message for login authentication timeout

  slip-ppp        Set Message for SLIP/PPP

hey you gotta do

 

banner ?

then pick motd or exec

 

worked find using packet tracer for me.

make sure at the end of your message it starts with what you choose to start with.

 

for example I start with (") make sure you message ends with the same.

 

you activate your message with your choosing the letter or symbol in my case " symbol

 

then type what you want and hit enter to do what drawing you want and end it all with " or whatever you choose hope that helped 

Getting Started

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: