Escolar Documentos
Profissional Documentos
Cultura Documentos
02/02/2014
Prompts
User EXEC mode
Switch>
Privileged EXEC
Switch#
mode
Switch(config)#
configuration mode
Switch(config-if)#
configuration mode
Switch(config-vlan)#
Switch(config-line)#
Global
Specific
TEN3M1
02/02/2014
Error Messages
% Incomplete command.
Keywords or arguments missing.
% Ambiguous command: s
Not enough characters entered to recognize the command.
% Invalid input detected at ^ marker.
Marker indicates wrong keyword or argument.
Keyboard Shortcuts
Up or Down Arrow
Allow the user to scroll through former commands.
Tab
Complete the remainder of a partially typed command or keyword.
Ctrl-A
Move to the beginning of the line.
Ctrl-E
Move to the end of the line.
Ctrl-R
Redisplay a line.
Ctrl-Z
Exit the configuration mode and returns to user EXEC.
Ctrl-C
Exit the configuration mode or aborts the current command.
Ctrl-Shift-6
Interrupt an IOS process such as ping or traceroute.
Show Command
Switch# show
Display information about the configuration, operation, status, etc.
Switch# show startup-config
Display the saved configuration located in VRAM.
Switch# show running-config
Display the contents of the currently running configuration file.
--More-Press Spacebar to view the next portion ore Enter to view the next line
TEN3M1
02/02/2014
Configure Passwords
Switch(config)# enable secret class
Secure privileged EXEC access with an encrypted password class.
Switch(config)# line console 0
Switch(config-line)# password cisco
Switch(config-line)# login
Create a password cisco for a console line. Enforce authentication upon login.
Switch(config)# line vty 0 15
Switch(config-line)# password cisco
Switch(config-line)# login
Create a password cisco for all 16 telnet lines (number depends on switch).
Enforce authentication upon login.
Switch(config)# service password-encryption
Apply encryption to all unencrypted passwords in the configuration file.
Switch(config)# banner motd # message #
Create a message of the day banner (displayed to all connected terminals).
TEN3M1
02/02/2014