Jon Marshall Thu, 03/06/2008 - 07:41
User Badges:
  • Super Blue, 32500 points or more
  • Hall of Fame,

    Founding Member

  • Cisco Designated VIP,

    2017 LAN, WAN

Hi Akber


From Cisco configuration guide


=============================================


This command specifies a message to be displayed when an EXEC process is created (a line is activated, or an incoming connection is made to a vty). Follow this command with one or more blank spaces and a delimiting character of your choice. Then enter one or more lines of text, terminating the message with the second occurrence of the delimiting character.


When a user connects to a router, the message-of-the-day (MOTD) banner appears first, followed by the login banner and prompts. After the user logs in to the router, the EXEC banner or incoming banner will be displayed, depending on the type of connection. For a reverse Telnet login, the incoming banner will be displayed. For all other connections, the router will display the EXEC banner.


To disable the EXEC banner on a particular line or lines, use the no exec-banner line configuration command


=============================================


HTH


Jon


mirzaakberali Thu, 03/06/2008 - 07:49
User Badges:

Thanks Jon for the information.


So you mean to say Banner exec message shld be displayed after you login with user/pwd credentails and banner motd and login messages befre the user authentication ?


Thanks, Akber.

Jon Marshall Thu, 03/06/2008 - 07:52
User Badges:
  • Super Blue, 32500 points or more
  • Hall of Fame,

    Founding Member

  • Cisco Designated VIP,

    2017 LAN, WAN

Akber


Yes, the exec banner will appear after the user has logged into the router.


Jon

mirzaakberali Thu, 03/06/2008 - 08:08
User Badges:

Agreed with you, But in my case banner motd and banner login messaeges also appearing after entering the user credentials.


Plz help me....


Thanks, Akber.

Jon Marshall Thu, 03/06/2008 - 08:34
User Badges:
  • Super Blue, 32500 points or more
  • Hall of Fame,

    Founding Member

  • Cisco Designated VIP,

    2017 LAN, WAN

Akber


Can you post your config ?


Jon

mirzaakberali Thu, 03/06/2008 - 08:56
User Badges:

Please see the configs below:


banner motd ^Cc SSH enabled with password defined. SSH and console banner to read

-=*=- -=*=- -=*=- -=*=- -=*=- -=*=- -=*=- -=*=-

S Y S T E M A C C E S S W A R N I N G

-=*=- -=*=- -=*=- -=*=- -=*=- -=*=- -=*=- -=*=-

You have connected to a private network. This system is to only be used

by authorized personnel for authorized business purposes. All activity

is monitored and logged. Unauthorized access or activity is a violation

of law. If you have connected to this system by mistake, disconnect now.^C

banner exec ^C you are into the exec mode. PLease enter your commands C^

Edison Ortiz Sat, 03/08/2008 - 10:38
User Badges:
  • Super Bronze, 10000 points or more
  • Hall of Fame,

    Founding Member

I copied and pasted you config in my router and I don't see that behavior. It's working as expected.



exit


Rack1R1 con0 is now available






Press RETURN to get started.



SSH enabled with password defined. SSH and console banner to read

-=*=- -=*=- -=*=- -=*=- -=*=- -=*=- -=*=- -=*=-

S Y S T E M A C C E S S W A R N I N G

-=*=- -=*=- -=*=- -=*=- -=*=- -=*=- -=*=- -=*=-



You have connected to a private network. This system is to only be used

by authorized personnel for authorized business purposes. All activity

is monitored and logged. Unauthorized access or activity is a violation

of law. If you have connected to this system by mistake, disconnect now


User Access Verification


Username: test

Password:

you are into the exec mode. PLease enter your commands




One thing to keep in mind, if you are using SSH, you send the username and password information before getting the prompt. Try getting into the router via the console and see if the behavior is SSH or Banner related.


HTH,


__


Edison.

Actions

This Discussion