Академический Документы
Профессиональный Документы
Культура Документы
29 August 2006
IOS Basics
CLI and Command Structure
2006
IOS Documentation
2006
Console
ITP
The Management CLI is called Exec and what we will cover now
2006
2006
Console
ITP
2006
Console
ITP
User-mode prompt
Privileged-mode prompt
2006
2006
2006
Context-Sensitive Help
eSG-ITP# clx
Translating "clx"
% Unknown command or computer name, or unable to find computer address
eSG-ITP# cl?
configure connect copy
eSG-ITP# clock
% Incomplete command.
eSG-ITP# clock ?
read-calendar
Read the hardware calendar into the clock
set
Set the time and date
update-calendar Update the hardware calendar from the clock
eSG-ITP# clock set ?
eSG-ITP# clock set 12:56:00
hh:mm:ss Current Time
% Incomplete command.
eSG-ITP# clock set 12:56:00 ?
Syntax checking
<1-31>
Day of the month
MONTH
Month of the year
Symbolic translation
eSG-ITP# clock set 12:56:22 ?
Keyword completion
<1-31> Day of the month
Command recall/edit
MONTH
Month of the year
Command prompting
eSG-ITP# clock set 19:56:22 20 FEB ?
<1993-2035> Year
eSG-ITP# clock set 19:56:22 20 FEB 2005
2006
<Ctrl><A>
<Ctrl><E>
<Ctrl><B>
<Esc><B>
<Ctrl><F>
<Esc><F>
<Ctrl><D>
<Backspace>
2006
Esc-B
Esc-F
Ctrl-B
or
Ctrl-A
Ctrl-P or
words on the
following line
Ctrl-F
or
Ctrl-E
Ctrl-N or
Delete
Characters
Ctrl-D
Ctrl-W
Esc <Del>
Delete
Words
Esc-D
Ctrl-U
Delete
Whole line
Ctrl-K
Ctrl-H
or <Del>
2006
<Ctrl><P> or Up arrow
<Tab>
Keyword completion
eSG-ITP> #configuration
!Comment Character
2006
Ctrl-^
Interrupt output
<CR>
<Space>
2006
IOS Basics
Examining Router Status
2006
RAM
Internetwork Operating System
Active
Programs Configuration
File
Tables
and
Buffers
NVRAM
Backup
Configuration
File
Flash
2006
Operating
Systems
I
n
t
e
r
f
a
c
e
s
dr-x
-rwdr-x
dr-x
0
17843
0
0
<no
<no
<no
<no
date>
date>
date>
date>
2006
memory
running-config
ucode
vfiles
2006
2006
2006
2006
2006
telnet Operations
Paris
ITP
ITP
eSG-ITP
ITP
Stockholm
Initiate a session
eSG-ITP> telnet paris
End a session
Paris> <Cntl><Shift><6><x>
eSG-ITP>
Escape sequence
Resume a session
eSG-ITP> <Return>
eSG-ITP> 1
Disconnect a session
Paris> exit
Display sessions
Suspend a session
2006
Conn Name
Paris*
Stockhm
Whos Hungry?
2006
IOS Basics
Configuration Files
2006
Store
terminal
startup
config
NVRAM
startup
config
Bit bucket
tftp
TFTP Server
2006
RAM
Store
Console or Terminal
copy commands
show running-config
show startup-config
erase startup-config
configure terminal
running
config
configure memory
NVRAM
startup
Bit bucket
copy running-config
startup-config
copy tftp running-config
copy tftp
startup-config
2006
RAM
RAM
RAM
2006
Using NVRAM
NVRAM
RAM
NVRAM
NVRAM
RAM
NVRAM
Terminal
Bit bucket
IOS Basics
Configuration Modes
2006
Interfaces
Console Port
vty 0-4
ITP
Auxiliary Port
TFTP Server
2006
RAM
NVRAM
Console
Interfaces
Auxiliary
2006
Flash
ROM
Router Modes
eSG-ITP(config - mode)#
Setup Mode
Prompted dialog used to establish
an initial configuration.
ROMMON Mode
Recovery from a catastrophe in the
case of a lost password or the O/S being
accidentally erased from Flash.
2006
eSG-ITP>
eSG-ITP#
eSG-ITP(config)#
Other
Configuration
Modes
Configuration Mode
Interface
Subinterface
Controller
Linkset
Linkset Link
SUA
ASP
AS
GTT Selector
Prompt
eSG-ITP(config-if)#
eSG-ITP(config-subif)#
eSG-ITP(config-controller)#
eSG-ITP(config-cs7-ls)#
eSG-ITP(config-cs7-ls-link)#
eSG-ITP(config-cs7-sua)#
eSG-ITP(config-cs7-asp)#
eSG-ITP(config-cs7-as)#
eSG-ITP(config-cs7-gtt-selector)#
2006
<Ctrl><z> or end
Exit
Configuration Modes
eSG-ITP# config term
eSG-ITP(config)#
: : :
eSG-ITP(config)# (commands)
eSG-ITP(config)#
eSG-ITP(config)#exit
eSG-ITP#
eSG-ITP# config term
: : :
eSG-ITP(config)# controller E1 0/0
eSG-ITP(config-controller)# : :
eSG-ITP(config-controller)#(commands)
eSG-ITP(config-controller)# : :
eSG-ITP(config-controller)# exit
eSG-ITP(config)# interface type port
eSG-ITP(config-if)#
: : :
eSG-ITP(config-if)# (commands)
eSG-ITP(config-if)#
: : :
eSG-ITP(config-if)# exit
eSG-ITP(config)#exit
eSG-ITP#
2006
?
0?
0/?
0/0
2006
2006
2006
IOS Basics
Configuring the ITP
2006
Configuration Methods
Make changes in
configuration modes
Examine results
eSG-ITP# show running-config
Intended
results?
No
Remove changes
Yes
Save changes to backup
eSG-ITP# copy running-config startup-config
eSG-ITP# copy running-config tftp
eSG-ITP(config)# no ....
eSG-ITP# copy startup running
eSG-ITP# copy tftp running-config
eSG-ITP# erase startup-config
eSG-ITP# reload
2006
Router identification
Logging
Protocol information
Interface configurations
2006
Password Configuration
Console Password
eSG-ITP(config)# line console 0
eSG-ITP(config-line)# login
eSG-ITP(config-line)# password cisco
Enable Password
eSG-ITP(config)# enable-password san-fran
2006
2006
2006
Verify that Flash memory has room for the Cisco IOS image
2006
FLASH
RAM
TFTP
Server
2006
FLASH
RAM
TFTP
Server
2006
FLASH
RAM
TFTP
Server
2006
Login Banner
eSG-ITP(config)# banner motd #
Welcome to eServGlobal ITP
#
Interface Description
eSG-ITP(config)# fastEthernet 0/0
eSG-ITP(config-if)# description Network Planning VLAN 1
Sets local identity or message for
the accessed router or interface
2006
Logging Messages
(default)
Console
Terminal
logging console
Telnet
Terminal
terminal monitor
Debug Output
and
System Error
Messages
logging on
logging 10.10.1.10
10.10.1.10
UNIX Host
(Running
syslog
Server)
show logging
Buffers
logging buffered
2006
2006