background image
240
Chapter 4
Introduction to the Cisco IOS
9.
Set the login banner by typing
config t
banner login #
This is a login banner
#
10.
The login banner will display immediately after the MOTD but
before the user-mode password prompt. Remember that you set
your user-mode passwords by setting the console, auxiliary, and
VTY line passwords.
11.
You can remove the login banner by typing:
config t
no banner login
12.
You can add an IP address to an interface with the ip address com-
mand. You need to get into interface configuration mode first; here is
an example of how you do that:
config t
int e0 (you can use int Ethernet 0 too)
ip address 1.1.1.1 255.255.0.0
no shutdown
Notice the IP address (1.1.1.1) and subnet mask (255.255.0.0) are con-
figured on one line. The no shutdown (or no shut for short) command
is used to enable the interface. All interfaces are shut down by default.
13.
You can add identification to an interface by using the description
command. This is useful for adding information about the connection.
Only administrators see this, not users. Here is an example:
config t
int s0
ip address 1.1.1.2 255.255.0.0
no shut
description Wan link to Miami
14.
You can add the bandwidth of a serial link as well as the clock rate
when simulating a DCE WAN link. Here is an example:
config t
int s0
bandwidth 64
clock rate 64000
Copyright ©2002 SYBEX, Inc., Alameda, CA
www.sybex.com