CCNA试验1

试验一
1 、进入特权模式 enable
2 、进入全局配置模式 configure terminal
3 、为路由器取一个名字 hostname [hostname]
4 、进入接口 interface Ethernet 0
5 、查看当前配置信息 show running-config
6 、查看 NVRAM 里面的配置信息 show startup-config
7 、查看 flash 里面的 IOS 文件信息 show flash
8 、查看系统硬件的配置信息,软件版本,配置文件的名称和来源,以及启动镜像 show version
9 、查看路由器当前时间 show clock
10 、特权模式的明文密码 Router config # enable password mingwen
11 、特权模式的密文密码 Router config # enable secret miwen
12 、将路由器中的全部明文密码变成加密的形式 Router config # service password-encryption
13 、关闭域名解析 Router config # no ip domain-lookup
14 、配置此命令后,当咱们输入错误的命令时,路由不会对它进行域名解析,从而节省咱们的时间。
15 、配置 con 口日志同步显示
Router config #line con 0
Router config-line #logging synchronous
16 、设置标语信息
Router config #banner motd #{text}#
17 Console 接口的安全配置
Router config #line console 0
Router config-line #password [password]
Router config-line #login
Router config-line #exit
18 VTY 口的配置
Router config #line vty 0 4
不动设备或不一样 IOS 可能数量不一样
Router config-line #password [password]
Router config-line #login
Router config-line #exit
 
 
拓扑图:


Continue with configuration dialog? [yes/no]: n
Press RETURN to get started!
 
Router>en
Router#conf t
Router(config)#int f0/0
Router(config-if)#end
Router#show run
Router#show running-config
Building configuration...
 
Current configuration : 236 bytes
!
version 12.2
no service password-encryption
!
hostname Router
!
!
!
!
!
ip ssh version 1
!
!
interface FastEthernet0/0
 no ip address
 duplex auto
 speed auto
 shutdown
!
ip classless
!
!
!
!
!
line con 0
line vty 0 4
 login
!
!
end
 
 
Router#
Router#show startup-config
startup-config is not present
Router#show flash
 
System flash directory:
File  Length   Name/status
  1   5571584   c 2600-i-mz.122-28.bin
[5571584 bytes used, 58444800 available, 64016384 total]
63488K bytes of processor board System flash (Read/Write)
 
Router#show v
Router#show version
Cisco Internetwork Operating System Software
IOS (tm) C2600 Software (C2600-I-M), Version 12.2(28), RELEASE SOFTWARE (fc5)
Technical Support: http://www.cisco.com/techsupport
Copyright (c) 1986-2005 by cisco Systems, Inc.
Compiled Wed 27-Apr-04 19:01 by miwang
Image text-base: 0x 8000808C , data-base: 0x 80A 1FECC
 
ROM: System Bootstrap, Version 12.1(3r)T2, RELEASE SOFTWARE (fc1)
Copyright (c) 2000 by cisco Systems, Inc.
ROM: C2600 Software (C2600-I-M), Version 12.2(28), RELEASE SOFTWARE (fc5)
 
System returned to ROM by reload
System p_w_picpath file is "flash:c2600-i-mz.122-28.bin"
 
cisco 2620 (MPC860) processor (revision 0x200) with 60416K/5120K bytes of memory
.
Processor board ID JAD05190MTZ (4292891495)
M860 processor: part number 0, mask 49
Bridging software.
X.25 software, Version 3.0.0 .
1 FastEthernet/IEEE 802.3 interface(s)
32K bytes of non-volatile configuration memory.
16384K bytes of processor board System flash (Read/Write)
 
Configuration register is 0x2102
 
Router#
Router#show clock
*0:2:44.438 UTC ??? ?? 1 1993
Router#conf t
Enter configuration commands, one per line.  End with CNTL/Z.
Router(config)#enablen password mingwen
                     ^
% Invalid input detected at '^' marker.
      
Router(config)#enable password mingwen
Router(config)#enable secret miwen
Router(config)#service password-encryption
Router(config)#no ip domain?
domain  domain-lookup  domain-name 
Router(config)#no ip domain-lookup
Router(config)#line con 0
Router(config-line)#logging synchronous
Router(config-line)#exit
Router(config)#banner m
Router(config)#banner motd #{test}#
Router(config)#line console 0
Router(config-line)#password cisco
Router(config-line)#login
Router(config-line)#exit
Router(config)#line vty 0 4
Router(config-line)#password telnet
Router(config-line)#login
Router(config-line)#exit