Search this blog

Sunday, December 20, 2009

difference between banner login and banner motd

Both are shown before login but banner motd is shown first.

For banner login you need to have the login command. If you configure no login under the line config, the login banner will never show.

The following config:
banner login ^C
This is a login banner
^C
banner motd ^C
This is a MOTD banner
^C
!
line con 0
password cisco
login

will give this output when connecting to the console:

This is a MOTD banner

This is a login banner

User Access Verification
Password:

2 comments: