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
相關文章
相關標籤/搜索