Title: Agenda ~???~
1???????? ????(???)
2Agenda ???
- ???????????
- IOS???????
- ????????
- IOS????????
- ????????
- ???????????
- show????
- copy????
- debug????
- CDP (Cisco Discovery Protocol)
- ????
3???????????
- ????????????????
- ?Telnet???VTY??
- ?TFTP??????????IOS????/??????
4IOS???????
5?????????
IOS????????NVRAM???????????IOS????RAM???????,?????
???????????????????????????????,RAM???????????????
???????
6????????
7IOS????????
- ?????? ??? ?????????????????????????????
- ????? ??? ???????????????????????????????????
- ??????????????????? ??? ????????????????????????
- ?????????????????? ??? ?????????????????????
8enable????????
- enable??????????????????????????
- ????????????????
- (config) enable secret ?????
???????????????????????? -
9vty(virtual type terminal)????????
router(config)line vty 0 4 router(config-line)p
assword test router(config-line)login
? ?????? test ???
- Telnet ?????VTY ?????????????????????????????????
????????
10????????????
(config) interface ?????? (config-if) ip
address IP???? ???????? (config-if) no
shutdown ??? ?????????????
11????????????
Switch(config)interface fastethernet
0/1 Switch(config-if) speed 100 Switch(config-if)
duplex full
? 100/full???
Switch(config-if) speed auto Switch(config-if)
duplex auto
? auto/auto???
? ?????????????
Switchshow fastethernet 0/1
? ???????????????
Switchshow interface status
12show????
ciscoshow running-config ciscoshow
startup-config ciscoshow version ciscoshow ip
route ciscoshow flash ciscoshow process
cpu ciscoshow debugging
? ????????????? ? ?????????? ? ????
???????????????? ?????? ????????????????????
??????? ? ????????????? ? ?????
????????????????? ? ????????????????????????
CPU?????? ? ????????????????????????
???????????
13copy????
Switchcopy running-config startup-config Switchw
rite memory Switchcopy start run Switchcopy
run tftp Switchcopy start tftp Switchcopy
tftp run Switchcopy tftp start
? running-config?startup-config???? ?
startup-config?running-config???? ?
running-config?tftp?????? ? startup-config?tftp??
???? ? TFTP?????????? running-config????
? TFTP?????????? startup-config????
14debug????
Router debug debug?? Router debug ip
routing
? ?????? ??????????? ??????????????????
Router no debug debug?? Router no debug all
? ???debug???
show??????????????, ?????????????????????????????,
debug??????????
15CDP(Cisco Discovery Protocol)
- ?????????????????????
- ??? 2 ??????
? ?????????????
Routershow cdp neighbors
Capability Codes R - Router, T - Trans Bridge,
B - Source Route Bridge S -
Switch, H - Host, I - IGMP, r - Repeater
Device ID Local Intrfce Holdtme
Capability Platform Port ID R2-AGS
Ser 1 129 R 2500
Ser 0 R6-2500 Eth 0 144
R 4000 Eth 0
Routerconf t Enter configuration commands,
one per line. End with CNTL/Z.
Router(config)interface s1 Router(config-if)n
o cdp enable
? CDP???
? CDP???
Router(config-if)cdp enable
16????
?????????????
????switch01 IP????192.168.1.1/255.255.255.0 ???
???100/full enable?????enable01 vty?????vty01
????switch02 IP????192.168.1.2/255.255.255.0 ???
???100/full enable?????enable02 vty?????vty02
Fe0/1
Fe0/1
Fe0/2
Fe0/2
Fe0/2
Fe0/2
Fe0/1
Fe0/1
????switch03 IP????192.168.1.3/255.255.255.0 ???
???100/full enable?????enable03 vty?????vty03
????switch04 IP????192.168.1.4/255.255.255.0 ???
???100/full enable?????enable04 vty?????vty04