11-12-2012 08:13 AM - edited 03-07-2019 09:59 AM
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
Solved! Go to Solution.
11-12-2012 08:23 AM
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
11-12-2012 08:23 AM
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
11-12-2012 10:17 AM
Thanks, yes I am asking how to do it. When I try to do banner exec nothing happens?
11-12-2012 11:28 AM
What type of equipment? When you do "banner ?" do you get the exec option?
11-12-2012 01:33 PM
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.
11-12-2012 07:03 PM
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
02-14-2018 09:35 PM
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
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