background image
Commands Used in This Chapter
231
Command
Description
enable secret
Sets the encrypted enable secret password; supersedes the
enable password if set
erase startup
Deletes the startup-config
Esc
+B
Moves back one word
Esc
+F
Moves forward one word
exec-timeout
Sets the timeout in seconds and minutes for the console
connection
hostname
Sets the name of a router
interface
Puts you in interface configuration mode; also used with
show
commands
interface fastethernet 0/0
Puts you in interface configuration mode for a
FastEthernet port; also used with show commands
interface fastethernet 0/0.1
Creates a subinterface
interface serial 5
Puts you in configuration mode for interface serial 5 and
can be used for show commands
ip address
Sets an IP address on an interface
line
Puts you in configuration mode to change or set your user
mode passwords
line aux
Puts you in the auxiliary interface configuration mode
line console 0
Puts you in console configuration mode
line vty
Puts you in VTY (Telnet) interface configuration mode
logging synchronous
Stops console messages from overwriting your command-
line input
logout
Logs you out of your console session
media-type
Sets the hardware media type on an interface
no shutdown
Turns on an interface
ping
Tests IP connectivity
router rip
Puts you in router rip configuration mode
service password-encryption
Encrypts the user mode and enable password
show controllers s 0
Shows the DTE or DCE status of an interface
Copyright ©2002 SYBEX, Inc., Alameda, CA
www.sybex.com