Information Technology Reference
In-Depth Information
Remove the
enable password
.
Step 7.
Because the
enable secret
is configured, the
enable password
is no longer necessary. IOS
commands can be removed from the configuration using the
no
form of the command:
R1(config)#
no enable password
R1(config)#
Configure a message-of-the-day banner using the
banner motd
command.
Step 8.
R1(config)#
banner motd &
Enter TEXT message. End with the character '&'.
********************************
!!!AUTHORIZED ACCESS ONLY!!!
********************************
&
R1(config)#
When does this banner display?
When a user logs in to the router either through Telnet or the console connection.
Why should every router have a message-of-the-day banner?
To provide a warning against intentional or unintentional unauthorized access.
Configure the console password on the router.
Step 9.
Use
cisco
as the password. When you are finished, exit from line configuration mode:
R1(config)#
line console 0
R1(config-line)#
password cisco
R1(config-line)#
login
R1(config-line)#
exit
R1(config)#
Configure the password for the virtual terminal lines.
Step 10.
Use
cisco
as the password. When you are finished, exit from line configuration mode:
R1(config)#
line vty 0 4
R1(config-line)#
password cisco
R1(config-line)#
login
R1(config-line)#
exit
R1(config)#
Configure the FastEthernet 0/0 interface with the IP address 192.168.1.1/24.
Step 11.
R1(config)#
interface fastethernet 0/0
R1(config-if)#
ip address 192.168.1.1 255.255.255.0
R1(config-if)#
no shutdown
%LINK-5-CHANGED: Interface FastEthernet0/0, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed
state to up
R1(config-if)#