IOS Version 12.4(22)T and Banners

Its quite some time since the last article but work keeps me busy and at the moment I work in Singapore which means even less spare time to spend with blogging or other techie stuff. But nevertheless I thought I share the following thingy.

Usually Im used to configure  motd and exec banners with a layout similar to this:

#########################################################################################
#                                                                                       #
#                          UNAUTHORIZED ACCESS PROHIBITED                               #
#                                                                                       #
#       We will kick your but if you try to hack this device                            #
#                                                                                       #
#          or other bla bla bla                                                         #
#                                                                                       #
#########################################################################################

Nothing special and like everything a question of your taste, but the fun part is, is that the IOS 12.4(22)T will not accept this banner. Well not accept is the wrong word, it does accept it, but it will not save nor display it. It just eats the input and says nothing. If you have a look into the running config, thats all you see:

banner exec ^CC
banner motd ^C

The banners just disapeared. So whats it all about? 12.4(22)T does not accept a line which starts with the # symbol, its simply that, if you add a banner with the # at its beginning, it will just accept but not write it. There may be other signs which are not accepted, but I know that * works 🙂 So do not wonder about why you dont see your banners, you either have a # at the beginning or you just found another symbol which is not compatible with Cisco 😉

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s