background image
Lab A.5: Setting Router Banners
579
6.
Set your Telnet password on your router. To set the user-mode pass-
word for Telnet access into the router, use the line vty command.
Router(config-line)#line vty 0 ?
<1-4>Last Line Number
<cr>
Router(config-line)#line vty 0 4
Router(config-line)#login
Router(config-line)#password todd2
After your routers are configured with an IP address, you can use the
Telnet program to configure and check your routers instead of having
to use a console cable.
Lab A.5: Setting Router Banners
Y
ou can set a banner on a Cisco router so that, for example, when
either a user logs into the router or an administrator telnets into the router,
a banner will give them information you want them to have.
1.
The command to use is from global configuration mode and shown
below:
Router(config)#banner ?
LINE c banner-text c, where 'c' is a delimiting
character
exec Set EXEC process creation banner
incoming Set incoming terminal line banner
login Set login banner
motd Set Message of the Day banner
2.
The message of the day is the most used and gives a message to every
person dialing in or connecting to the router, via Telnet, auxiliary
port, or console port.
Router(config)#banner motd ?
LINE c banner-text c, where 'c' is a delimiting
character
Router(config)#banner motd #
Enter TEXT message. End with the character '#'.
Copyright ©2002 SYBEX, Inc., Alameda, CA
www.sybex.com