计算机网络实验报告19628x|internet的应用实验报告
《计算机网络》
实
验
扌旨
书
武汉工程大学计算机学院
2014年9月
《计算机网络》实验
实验名称:交换机的配置及VLAN的划分
实验目的:熟悉交换机的CLL加深理解VLAN、Trunk、Spanning Tree等一些相关的概念。
实验内容:对交换机进行一些基本的配置,学习对交换机各端口进行基本的参数设置,同时 学习VLAN的划分和用ISL协议配蟹F线。
实验设备:两台Cisco Catalyst 1900交换机、一台Cisco 2621路由器和四台PC。
实验步骤:
1、按实验原理图连接设备,为四台主机设程IP地址:
主机
IP地址
子网掩码
默认网关
A
172」6.10.2
B
172」6.30.5
C
D
172」6.10.5
* RoirtWt?orlr Vi?u?lxir?r - <n?rw nrtvor>j>
用“ping”命令检测各主机间的互通性。
步 Console for Host A
File Edit View
Tools Help
a匕口
7 ■^划
Microsoft Windows 2000 [Version 5.00.2195]
A
(C) Copyright 1985-1999 Microsoft Corp.
C: \>ping
Usage: ping [-t]
[-a] [-n count] [-1 size] [-f] [-i TTL]
[-v TOS]
[7
count] [-s count] [[-j host-list] 1 [-k host-list]]
[-w
time o ut ] tar ge t__naiae
Options:
-t
Ping the specified host until stopped.
To see statistics and continue - type
Control-Break;
To stop - type Control-C.
-a
Resolve addresses to h03tname3?
-n count
Nuiabei: of echo requests to send?
-1 size
Send buffer size?
-f
Set Don't Fragment flag in packet?
-i TTL
Time To Live?
-v T0S
Type Of Service?
-r count
Record route for count hops?
-s count
Timestaiap for count hops.
-j host-list Loose source route along host-list?
V
2、将交换机与终端相连,加电启动交换机,在用戸接口菜单中选择“K”,进入交换机“命
令行”配宜模式:
夢 Console for 1900
Swit ch A
同冈
File Edit View Tools
Help
a 4口
PCA Nuiobei::
73-3122-04
A
PCA Serial Number:
FAB0337231.JJ
Model Number:
W5-C1912-A
System Serial Nuiaber:
FAB0338S10A
Power Supply S/N:
APQ032404SA
PCB Serial Number:
FAB033723T.JJ, 73-3122-04
1 user (s) now active
on Manageiaent Console ?
User Interface Menu
[M] Menus
[K] Command Line
Enter Selection:
CLI session with the switch is open?
To end the CLI
session, enter [Exit]?
>
V
3、在“用户模式”下输入“Enable"进入“特权模式S在“特权模式”下输入“conft"进入
“全局配置”模式;
Conso
Conso丄e tor 1 9UU Svitclu A ED回区)
Conso
Conso丄e tor 1 9UU Svitclu A ED回区)
4、用"hostname"命令为交换机命名:
尸■?
蚩:Console for 1900 Switch A
File Edit View Tools Help
冒口口 ■圍
Zv
1 user (s) now active on Management Console?
User Interface Menu
[II] Menus
[K] Coiamand Line
Enter Selection;
CLI session with the switch is open?
To end the CLI session, enter [Exit]?
>Enable
#conf t
Enter configuration comiaandsz one per line ? End with CNTL/Z
(config) # hostname
% Incomplete coinmand?
(config )# hostname 1
1 (config)# w
5、 用“ipaddrcss 11 255?255?255?(T命令为交换机指泄一个ip地址;
6、 按"c(rl+z"回到“特权模式”下,用"sh vef\ "sh running"和“show int"命令分别查看
交换机的软件版本、配置和端口状态:
Conso
Conso丄e tor 1?UU Svitch ti ED回区)
Cons ode for 1?UU itcti A
13回区T
File Edit View Tools Help
暑□ □ p ■愛
A
hostnaiae rrlrr
ip address 11
interface Ethernet 0/1 --More —
1# show int.
r ■
t Console for 1900 Switch A
File Edit View Tools Help
冒3口「 ?題
Ethernet 0/1 is Enabled
v
Hardware is Built-in lOBase-T 、
Address is 00b0?9aal?&7bO
MTU 1500 bytes, BU 10000 Kbit3
802?Id STP State: Forwarding Forward Transitions: 1
Port monitoring: Disabled
Unknoum unicast flooding: Enabled
Unregistered multicast flooding: Enabled
Duplex/Flow Control setting: Half duplex
Enhanced Congestion Control: Disabled
Receive Statistics Transmit. Statistics
Total good frames
215
Total frames
581
Total octets
20906
Total octets
4058S
Broadc ast/mult-icast
frames
215
Broadcas t/multicast fraiaes
581
Broadc ast/multicast
octets
20906
Broadcas t/multicast oct-ets
40585
Good frames forwarded.
44
Deferrals
0
Frames filtered
171
Single collisions
0
Runt frames
0
Multiple collisions
0
No buffer discards
0
Excessive collisions
0
—Morell
7、对另一台交换机重复步骤2——6;注:更换步骤5命令中的ip地址
File Edit View Tools Help
昂I叮口 —IS
Hardware is Built-in lOBase-T 八
Address is OObO.9561.55e8
MTU 1500 bytes, BU 10000 Kbit3
802?Id STP State: Forwarding Forward Transitions: 1
Port monitoring: Disabled
Unknoxm unicast flooding: Enabled
Unregistered multicast flooding: Enabled
Duplex/Flow Control setting: Half duplex
Enhanced Congestion Control: Disabled
Receive Statistics Transmit. Statistics
Total good frames
215
Total frames
581
Total octets
20906
Total octets
40585
Broadcast/multicast
frames
215
Broadcast/multicast frames
581
Broadc ast/iault.icast
octets
20906
Broadcas t/multicast oct-ets
40585
Good frames forwarded.
44
Deferrals
0
Frames filtered
171
Single collisions
0
Runt frames
0
Multiple collisions
0
No buffer discards
0
Excessive collisions
0
—More —
2#
8、回到第一台交换机的配置界面,在“全局配置'‘模式下,用命令“v(pdomain whic广设左 一个vtp域;
r
夢 Console for 1900 Srit ch A
_ 0E]
File Edit View Tools Help
冒4 口 ■国
Power Supply S/N; APQ0324045A 八
PCB Serial Nuniber: FAB033723T.JJ,73-3122-04
1 user (s) now active on Management Console?
User Interface Menu
[II] Menus
[K] Comiaand Line
Enter Selection:
CLI session with the switch is open?
To end the CLI session, enter [Exit]?
l>Enable
conf t
Enter configuration comiaands, one per line ? End with CNTL/Z
1(config)^vtp domain whict
1(config)# v
9、用“intfO/26"和"intfO/27"分别进入两个快速以太口配置模式,用“trunkoiT命令将它们
置为“干线(Trunk)";
尸
Cons ode for 1?UU itcti A
13回区T
File Edit View Tools Help
暑□口重
1 user (s) now active on Management Console. 八
User Interface Menu
[M] Menus
[K] Coiamand Line
Enter Selection:
CLI session with the switch is open?
To end the CLI session, enter [Exit]?
l>Enable
1#conf t
Enter configuration coiamandsz one per line? End with CNTL/Z
1(config)#vtp domain vhict
1(config)#int fO/26
1 (config-if)trunk on.
l(config-if)#int fO/27
l(config-lf)#trunk on.
1(config-if)# w
10、用步骤8、9中的方法将第二台交换机设为与第一台交换机在同一个v(p域中,并处于
"client"模式(用"vtpclienC命令),同时,将 “fO/26"端口设为 “TrunlC;
r
1 Console for 1900 Srit ch B
_ 0E]
File Edit View Tools Help
冒4 口 ■国
A
1 user (s) now active on Management Console?
User Interface Menu
[M] Menus
[K] Coiomand Line
Enter Selection:
CLI session with the sujitch is open?
To end the CLI session, enter [Exit]?
2>Enable
2#conf t
Enter configuration coiaiaandsz one per line ? End with CNTL/Z
2(config)#vtp domain vhict
2(config)^vtp client
2(config)#int fO/26
2(config-lf)#trunk on.
2(config-if)# v
11、回到第一台交换机的配置界而,在“全局配置”模式下,用“vlan 2 name teacher^设宦
vlan 2
Conso
Conso丄e tor 1 9UU Svitclu A ED回区)
Conso
Conso丄e tor 1 9UU Svitclu A ED回区)
File Edit View Tools Help
暑口□涉?国
Power Supply S/N; APQ0324045A
PCB Serial Number: FAB033723T.JJ,73-3122-04
1 user (s) now active on Management Console?
User Interface Menu
[M] Menus
[K] Command Line
Enter Selection:
CLI session with the switch is open?
To end the CLI session, enter [Exit]?
l>Enable
conf t
Enter configuration coiamands, one per line? End with CNTL/Z 1 (config)^vlan 2 name teacher l(config)#
V
12^用“imcO/1"进入端口 1配置状态,用“vlan?mcmbcrship static V将该端口划到vlan 1;
13、用“imcO/5"进入端口 5配置状态,用"vlan?mcmbcrship static 2"将该端口划到vlan 2;
F ■
蚩 Console for 1900 Switch A
BSE
File Edit View Tools Help
日4 □卩06]
1 user (s) now active on Management Console. 八
User Interface Menu
[M] Menus
[K] Coioiaand Line
Enter Selection:
CLI session with the switch is open?
To end the CLI session, enter [Exit]?
l>Enable
l#conf t
Enter configuration coiomands, one per line? End with CNTL/Z
1 (config)#vlan 2 name teacher
1 (config)#int eO/1
1 (conf ig-if) #vlan-meiabership static 1
1(config-if)#int eO/5
1 (config-if)#vlan-iaeiibership static 2
1(config-if)# 7
14、用同样的方法将第二台交换机的端口 2和端口 5分别划到vlan 2和vlan 1;
Console for 1900 S? it ch B
File Edit Vi ew Tocls Help
圖口 ?国
2>Enable
2#conf t
Enter configuration, commands, one per line. End with CNTL/Z 2(config) doiaain. iijhic匚
2(config)伊vtp client.
2(config)#int fO/26
Z(config-if)#trunk on
2(config-if)^vlan 2 name 匚eacher
Zv
% Invalid input detected at 1 A 1 narkei:?
Z(config-if)#int eO/2
2 (conf ig-if) ^vlan 2 naiae teacher
禺 Invalid input de tec at 丨人丨 raarke r ? 2(config-lf)#int eO/2
2(config-if )#vlan-iiemebership static 2
禺 Invalid input de tec at 丨人丨 raarke r ?
2(config-if) #ULan-memiiership static 2
2(config-if)#int eO/5
2(con£ig-if)#vlan-ia.eioLership static 1
2(config-if)#
15、对CISCO2621路由器进行配置,进入全局配置模式,然后,用“imfO/V进入指定端口
的配置,用“no shutdown"启动该端口;
# Console for 2621 Router A
冈:
File Edit View Tools Help
貝 Q □ “ ■!§)
Router ConO is nou available
Press RETURN to get started!
Route r> enable
Router#conf t
Enter configuration coiaiaandsz one per line ? End with CNTL/Z
Rout er (config> ^int fO/1
Router (conf ig-if) #no shut-doi?m
20:10:14 %LINK-3-UPD0W: Interface FastEthernetO/L, changed state to up
20:10:14 % LINE PROTO - 5 -UPD 0 DJN: Line protocol on Interface FastE thernetO/l, changed st
Router (config-if) #
16、用 uintfO/l.r\ “cncapisl 1"和 “ipaddrcss "将一个子接口划
归vlan 1,并进行ISL协议的封装和ip地址的指泄:
F ■
F Console for 2621 Router A
BSE]
File Edit View Tools Help
日4 □卩06]
Press PETUMJ to get started! 八
Rout er>enable
Router^conf t
Enter configuration commands# one per line? End with CNTL/Z
Router (configfO/1
Router (conf ig-if) #no shutdox-m
20:10; 14 %LINK-3-UPD0W; Interface FastEthemetO/1; changed state to up
20:10:14 % LINE PROTO - 5 -UPD 0 W: Line protocol on Interface FastE thernetO/l, changed
Router (config-if )#in匕 fO/1 ?!.
Router (config-subif J^encap isl 1
Zv
% Invalid input detected at '' marker?
Router (config-subif) #encap isl.1
% Invalid input detected at '' marker?
Router (config-subif) #encap isl 1
Router (config-subif )#ip address 172?16?JL0?JL 255.255.255?0
Router (config-subif) # v
# Console for 2621 Router A冈:File Edit View Tools Help曇叮口 ■国1Router #conf tA17、用 “imfO/12\ “cncapisl2” 和 “ipaddrcss "将一个子接口划 归vlan 2,并进行ISL
# Console for 2621 Router A
冈:
File Edit View Tools Help
曇叮口 ■国1
Router #conf t
A
Enter configuration coiamands, one per line? End with CNTL/Z
Router (configfO/1
Router (config-if) #no shut-dox?m
20:10:14 %:LINK-3-UPD0WN: Interface FastEthernetO/L, changed state to up
20:10:14 % L II?JE PROTO - 5 -UPD 0 W: Line protocol on Interface FastE thernetO/l, changed
Router (config-if)^int- fO/1.1
Router (config-subif) #encap isl 1
Zv
% Invalid input detected at '' marker?
Router (config-subif )#encap isl?JL
% Invalid input detected at 1 A, laarkei:?
Router (config-subif) #encap isl 1
Router (config-subif )#ip address 172?1.6?JL0?l 255 ?25S?255?0
Router (config-subif) #int? fO/1 ? 2
Router (config-subif)#encap isl 2
Router (config-subif) ^ip address 172?l.G.BO.l.
% Incoiaplete command?
Router (config-subif )#ip address 172?16?30?JL 255.255.255?0
Router (config-subif) # v
实验要求:按照上述实验步骤进行正确的配置后,位于不R vlan的汁算机应该可以相互进 行通讯(用“ping”命令检测)。
实验原理图:
《计算机网络》实验二
实验名称:路由器及路由协议的配置
实验目的:1、进一步理解路由器的主要组成部分及其功能,初步掌握IOS的一些基本命令, 学习对路由器进行安全设宜和基本的日常维护。
2、理解利用路由器IP包进行路由的基本原理及方法,初步掌握柑关的一些IOS命令, 学习对路由器的路由表进行查看。
实验内容:1、学习检査路由器的主要参数和进行一些基本的设巻:
2、 学会对路由器进行各种口令的设置;
3、 掌握路由器一些关键文件的备份。
4、 静态路由的配置:
5、 R I P协议的配置:
6、 I G RP协议的配置
实验设备:三台Cisco 25XX路由器和一台PC.
实验步骤:
一、路由器的基本配置
1、将路由骼与终端相连,加电启动路由器,进入命令行配置方式;
2、在“用户模式”下输入“Enable"进入“特权模式”,在“特权模式”下输入“conf L进 入“全局配置”模式:
C Console for 2621 Router A
Jn| x|
File Edit View Tools Help
曰j」> ?£]
A ConO is now available
Press RETURN to get star ted!
A>Enable
A^conf t
Enter configuration commands, one per Line? End with CNTL/Z
Afconfig) #
3、用“hostname''命令为路由器命名:
C Console for 2621 Router A
Jn| x|
File Edit View Tools Help
曰j」> ?£]
A ConO is now available
Press RETURN to get star ted!
A>Enable
Afconf t
Enter configuration commands, one per Line? End with CNTL/Z
Afconfig)#hostname A
Afconfig) #
4、用“imcOS "ints0^\ “imtoO"命令进入路由器的某个端口的配置状态,这时可为路由
器的该端口指圧进行一些参数(如:IP地址.速率等)的设置:
C Console for 2621 Router A
-|n| x|
File Edit View Tools Help
一」
日7」
1
A ConO is now available
J
Press RETURN to get star ted!
A>Enable
A^conf t
Enter configuration coioio.andsz one per Line? End with CliTL/Z
Afconfig)#hostname A
A(config)#in匸 eO
% Invalid input detected, at ,/s, Afconfig)#int sO
% Incomplete comiiiand? Afconfig) toO
Zs
marker ?
% Invalid input detected, at 1 ' Afconfig) #
marker ?
?
—
:
J
按 “ctrl+z"回到"特权模式”下,用 “shvcr二 “sh running"、ash start"和 “showiif 命 令分别査看路由器的IOS版本、配置和端口状态;
「Console for 2621 Router A
- |n| x||
File Edit View Tools Help
1角心口 1
A^sh ver
Cisco Internetwork Operating System Software
IOS (Cm) C2600 Software (C2600-BIN-1I), Version 12.2(13)T1, RELEASE SOFTUJARE (fc
1)
TAC Support: http: /An.ro? cisco? com/tac
Copyright (c) 1986-2003 by cisco Systensz Inc?
Compiled Sat 04-Jan-03 05:58 by ccai
Image text-base; 0 data-base; 0x80C4AD94
ROM: System Bootstrap, Version 11.3(2)XA4, RELEASE SOFTWARE (fcl)
2600A uptime is 3 days, 3 hours, 3 minutes
System returned to ROM by reload
System image file is rrflash: c2600-bin-ifiLZ.1,22-1.3?T1 .bin"
cisco 2621 (MPC860) processor (revision 0x101) with 27648K/5120K bytes of iaeiaor^
?
Processor board ID JAB0402040J (230890S173)
M860 processor: part nuiaber 0, mask 49
Bridging software?
X? 25 software, Version 3?0?O?
2 FastEthernet/IEEE 802.3 interface(s)
—More— _
A#
「Console for 2621 Router A
-|n]x|
File Edit View Tools Help
■您口
A^sh start
Using 672 out of 29688 bytes
i
version 12?2
service timestamps debug- uptsime service timestamps log uptime no service password-encryption
i
hostname Router
i
!
i
ip subnet-zero
i
i
i
i
i
interface FastEthernetO/O
no ip address
no ip directed-broadcast shutdox.m
—More—
J
A#
▼
「Console for 2621 Router A
^Jn]x|
File Edit View Tools Help
A#show int
Fas tE the rue tO/0 is admini s tr a ti ve ly down, line protocol is down Hardware is ArndFE, address is OObO.9540.dbf8 (bia OObO.9540.dbf8) MTU 1500 bytesx BIJ 100000 Kbit, DLY LOO usee,
reliablility 255/255, tsxload 1/255, rxload 1/255 Encapsulation ARPA, loopback not set
Keepalive set <10)
Full -duplex, 100Mb/sz lOOBaseTX/FX
ARP type: ARPAX ARP Timeout 04:00:00
Last input 00:00:50, output 00:00:04, output hang never
Last clearing of "show interface'' counters never Queueing strategy: fifo
Output queue 0/40, 0 drops; input queue 0/75z 0 drops
5 minute input rate 0 bits/sec, 0 packets/sec
5 minute output, rate 1000 bits/sec, O packets/sec
588 packets input, 74628 bytes
Received 588 broadcasts, 0 runts, 0 giants, 0 throttles
0 input errors, 0 CRC, 0 frame, 0 overrunz 0 ignored O watchdog, 0 multicast.
0 input packets with dtibble condition detected
231 packets output, 53712 bytes, O underruns
O output, errors, 0 collisions, 1 interface resets
—More―
A#
6、 练习 “ctrl+A”、“ctrl+E”、“ctrl+B”、“ctri+P” 等组合键的使用:
7、 学习如何进行“端口配置模式”、"全局配置”、“特权模式”和“用户模式”之间的 转换,学习不同状态下帮助的获得:
8、 练习进行各种命令的配置和解除,包括:**console password'\ “telnet password"、uauxiliary passwod"、**enable password"secret password” 等;
1、 router(config)tenable password cisco
命令解释:开启特权密码保护。
2^ router(config)tenable secret class
命令解释:开启特权密匙保护。
这两个密码是用来限制非授权用户进入特权模式。因为特权密码是未加密的,一般都推荐 用户使用特权密匙,且特权密码仅在特权密匙未使用的情况下才会有效。
配置控制端口的用户密码
1、 router(config)#lin亡 console 0
命令解释:进入控制线路配置模式。
2、 router(config-line)#1ogin
命令解释:开启登陆密码保护
3^ router(config-line)#password cisco
命令解释:设置密码为Cisco,这里的密码区分大小写。
配置辅助端口(AUX)的用户密码:
1、 router(config)#1ine aux 0
命令解释:进入辅助端口配宜模式。
2、 router(config-1ine)#1ogin
命令解释:开启登陆密码保护
3、router(config-1ine)^password cisco
命令解释:设置密码为Cisco,这里的密码区分大小写。
配置VTY(telnet)登陆访问密码:
1、 router(config)#1ine vty 0 4
命令解释:进入VTY配置模式。
2、 router(config-line)#1ogin
命令解释:开启登陆密码保护
3、 router(config-line)^password cisco
- |n| x|命令解释:设置密码为cisco,这里的密码区分大小写。
- |n| x|
「Console for 2621 Router A
File Edit View Tools Help
5 minute input rate 0 bits/secz 0 packets/sec
5 minute output, rate 1000 bits/sec, 0 packets/sec
588 packets input, 74628 bytes
Received 588 broadcasts, 0 runts, 0 giants, 0 throttles
0 input errors, 0 CRC, 0 frame, 0 overrunz 0 ignored
0 watchdog, 0 multicast.
0 input packets with dribble condition detected
231 packets output, 53712 bytesf 0 underruns
0 output, errors, 0 collisions, 1 interface resets
—More—
A#
AMENABLE
Translating ,rENABLErf... d.oiaain server (255.255.255. 255)
% Unknown coumand or computer name, or unable to find computer address A^Enable
Translating rrEnablerr domain server (255 ?255 ?255? 255)
% Unknown coioiaand or com.puter naiaez or unable to find coiaputer address A^conf t
Enter configuration coimands, one per line? End with CNTL/Z
Afconfig)#enable password cisco
A(config)^line console 0
Afconfig-line)#login
% Login disabled on line 0, until 'password' is set
A(config-line)^password cisco
Afconfig-line)#
「Console for
「Console for 2621 Router A
Jn|x|
File Edit View Tools Help
冒心?凹
% Login disabled on line 0, until 'password' is set
A(config-line)#password cisco
A(config-line)#
A^conf t
Enter configuration coiaia.ands, one per Line? End with CNTL/Z
Afconfig) #line vty 0 4
A(config-line)#login
Login
disabled
on
line
66r
unt-il
'password'
is
set
Login
disabled
on
line
6?,
until
'password'
is
set
Login
disabled
on
line
68r
unt.il
'password'
is
set
Login
disabled
on
line
69,
until
'password'
is
set
Login
disabled
on
line
70r
unt-il
'password'
is
set
A(config-line)^password cisco
Afconfig-line)#
Afconf t
Enter configuration coioifl.andsz one per Line? End with CNTL/Z
Afconfig) #line aux 0
A(config-line)#login
% Login disabled on line 65^ unt-il 'password' is set
A (config-line )# pas surd cisco
入
% Invalid input detected, at 1 ' marker?
Afconfig-line)#password cisco
Afconfig-line)#
「Console for 2621 Router A
Jnl xlAMENABLETranslating rrENABLErf...domain server (255.255.255. 255)% Unknown command or computer name, or unable to find computer address A^EnableTranslating "Enable"domain server (255?
Jnl xl
AMENABLE
Translating rrENABLErf...domain server (255.255.255. 255)
% Unknown command or computer name, or unable to find computer address A^Enable
Translating "Enable"domain server (255?255?255?2SS)
% Unknown coiaiaand or computer name, or unable to find Afconf t
Enter configuration command引 one
Afconfig) ^enable password cisco
Afconfig)#line console 0
A(config-line)#login
% Login disabled on line 0, until
A(config-line)^password cisco
Afconfig-line)#
Afconf t
Enter configuration commands, one
A(config)#line vty 0 4
A(config-line)#login
per Line? End with
'password' is set
per Line? End with
Login
disabled
on
line
66r
until
'password'
is
set
Login
disabled
on
line
67,
unt-il
'password'
is
set
Login
disabled
on
丄ine
68r
until
'passvotd'
is
set
Login
disabled
on
line
unt.il
'password'
is
set
Login
disabled
on
line
70r
unt-il
'password'
is
set
A(config-line)^password cisco Afconfig-line)#
computer address
CNTL/Z
CNTL/Z
9、用“copy running-config start叩-configH将配置文件保存到NVRAM中,下次启动路由器
File Edit View Tools Help
File Edit View Tools Help
File Edit View Tools Help
File Edit View Tools Help
时可自动运行这次保存的配宜文件:
Jnlxl「Console for 2621 Router A
Jnlxl
Enter configuration coiaiiands, one per Line? End with CNTL/Z Afconfig) #line vty 0 4
Afconfig-line)#login
Login
disabled
on
line
66r
unt.il
'password'
is
set
Login
disabled
on
line
6J
unt.il
'password'
is
set
Login
disabled
on
line
68r
unt-il
'password'
is
set
Login
disabled
on
line
6”
unt-il
'password'
is
set
Login
disabled
on
line
70r
unt-il
'password'
is
set
A(config-line)#password cisco
Afconfig-line)#
Afconf t
Enter configuration coiaiiands, one per Line? End with CNTL/Z
Afconfig) #line aux 0
Afconfig-line)#login
% Login disabled on line 65, until 'passvotd' is set
Afconfig-line)#passurd cisco
A
% Invalid input detected, at ' ' marker?
A(config- line) ^password cisco
A(config-line)#copy running-config startup-config
% Invalid input detected, at ' ' marker?
Afconfig-line)#
A#copy running-config st-artup-config
Destination filename [st-artup-config] ?
10、用“show flash"查看现在的IOS文件,用“copy flash if?'和“copy T可分别将IOS文件从 路由器中复制到山p服务器()中和将IOS文件从tftp服务器()中复制到路 由器中:
O Console for 2621 Router A
O Console for 2621 Router A J □ I X |
O Console for 2621 Router A
O Console for 2621 Router A J □ I X |
° Console for 2621 Router A
° Console for 2621 Router A JnlxJ
File Edit View Tools Help
日3口| ?田
Enter configuration commands, one per line. End with CNTL/Z
A (config )# line aux 0
A(config-line)#login
% Login disabled on line 65,unt-il 'password' is set
A(config-line)^passwrd cisco
入
% Invalid input detected, at ' ' marker?
A (config-line )# password cisco
A(config-line)#copy running-config startup-config
% Invalid input detected, at ' ' marker?
A(config-line)#
A#copy running-config st-artup-config
Destination filename [st-artup-config] ? show flash
?Bad filename
%Error parsing filename (Bad file niuober)
A^show flash
System flash directory:
File Length Naiae/stat-us
1 6973004 c2600-bin.-mz. 122-13.Tl.bin
[6973068 bytes used, 891252 available, 7864320 total] 8192K bytes of processor board System Clash (Read/TiJrit-e)
「
「Console for 2621 Router A
— ^Jn|x|
File Edit View Tools Help
曰J」 ■即
A(config) ^line aux 0
相关热词搜索: 实验报告 计算机网络 实验 报告 计算机网络实验报告19628x上一篇:【可编程实验报告】