Connected to Dynamips VM "R1" (ID 1, type c7200) - Console port
Self decompressing the image : #############################
Restricted Rights Legend
Use, duplication, or disclosure by the Government is
subject to restrictions as set forth in subparagraph
(c) of the Commercial Computer Software - Restricted
Rights clause at FAR sec. 52.227-19 and subparagraph
(c) (1) (ii) of the Rights in Technical Data and Computer
Software clause at DFARS sec. 252.227-7013.
cisco Systems, Inc.
170 West Tasman Drive
San Jose, California 95134-1706
Cisco Internetwork Operating System Software
IOS (tm) 7200 Software (C7200-JS-M), Version 12.3(5), RELEASE SOFTWARE (fc1)
Copyright (c) 1986-2003 by cisco Systems, Inc.
Compiled Mon 27-Oct-03 15:10 by kellythw
Image text-base: 0x60008AF4, data-base: 0x61FAE000
cisco 7206VXR (NPE400) processor (revision A) with 245760K/16384K bytes of memory.
Processor board ID 4294967295
R7000 CPU at 150MHz, Implementation 39, Rev 2.1, 256KB L2, 512KB L3 Cache
6 slot VXR midplane, Version 2.1
Last reset from power-on
Bridging software.
X.25 software, Version 3.0.0.
SuperLAT software (copyright 1990 by Meridian Technology Corp).
TN3270 Emulation software.
PCI bus mb0_mb1 has 200 bandwidth points
PCI bus mb2 has 0 bandwidth points
1 FastEthernet/IEEE 802.3 interface(s)
125K bytes of non-volatile configuration memory.
65536K bytes of ATA PCMCIA card at slot 0 (Sector size 512 bytes).
8192K bytes of Flash internal SIMM (Sector size 256K).
--- System Configuration Dialog ---
Would you like to enter the initial configuration dialog? [yes/no]: no
Press RETURN to get started!
- 你可以不理會他,按下 no 然後 Enter 繼續
*Nov 30 13:00:43.243: %LINK-3-UPDOWN: Interface FastEthernet0/0, changed state to up
*Nov 30 13:00:44.243: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed state to up
*Nov 30 13:01:05.023: %LINK-5-CHANGED: Interface FastEthernet0/0, changed state to administratively down
*Nov 30 13:01:06.023: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed state to down
*Nov 30 13:01:12.211: %SYS-5-RESTART: System restarted --
Cisco Internetwork Operating System Software
IOS (tm) 7200 Software (C7200-JS-M), Version 12.3(5), RELEASE SOFTWARE (fc1)
Copyright (c) 1986-2003 by cisco Systems, Inc.
Compiled Mon 27-Oct-03 15:10 by kellythw
*Nov 30 13:01:12.219: %SNMP-5-COLDSTART: SNMP agent on host Router is undergoing a cold start
Router>
- 切換到特權模式, Router> 指的是使用者exec模式,大多只是用來檢視統計資訊。
- enable 為進入特權模式
- disable 為離開特權模式
- logout 為離開此管理介面
Router>enable
Router#
Router#disable
Router>logout
Router>enable
Router#configure
Configuring from terminal, memory, or network [terminal]?
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#interface fastethernet 0/0
Router(config-if)#ip address 192.168.123.30 255.255.255.0
Router(config-if)#no shutdown
Router(config-if)#
*Mar 1 00:03:50.051: %LINK-3-UPDOWN: Interface FastEthernet0/0, changed state to up
*Mar 1 00:03:51.051: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed state to up
Router(config-if)#^Z
Router#
*Mar 1 00:04:01.191: %SYS-5-CONFIG_I: Configured from console by console
# 本地端的 ping , 成功連結
Router#ping 192.168.123.100
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 192.168.123.100, timeout is 2 seconds:
.!!!!
Success rate is 80 percent (4/5), round-trip min/avg/max = 4/11/28 ms
Router#
- 使用 192.168.123.100 的 windows 的 ping 檢查
C:\Documents and Settings\mtchang>ipconfig
Windows IP Configuration
Ethernet adapter MS-loopback:
Connection-specific DNS Suffix . :
IP Address. . . . . . . . . . . . : 192.168.123.100
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . : 192.168.123.30
C:\Documents and Settings\mtchang>ping 192.168.123.30
Pinging 192.168.123.30 with 32 bytes of data:
Reply from 192.168.123.30: bytes=32 time=25ms TTL=255
Reply from 192.168.123.30: bytes=32 time=9ms TTL=255
Reply from 192.168.123.30: bytes=32 time=1ms TTL=255
Reply from 192.168.123.30: bytes=32 time=3ms TTL=255
Ping statistics for 192.168.123.30:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 1ms, Maximum = 25ms, Average = 9ms
- 確認可以後,但是發現不能登入系統所以要設定 telnet 遠端可以登入,並且賦予 route enable 密碼。
Router#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#enable secret 123456
- 針對 vty(telnet) 的連入加上密碼,這樣遠端才可以登入
Router(config)#line ?
<0-6> First Line number
aux Auxiliary line
console Primary terminal line
vty Virtual terminal
Router(config)#line vty 0 ?
<1-1869> Last Line number
Router(config)#line vty 0 1186
Router(config-line)#password 654321
Router(config-line)#login
Router(config-line)#^Z
Router#
*Nov 30 13:12:59.327: %SYS-5-CONFIG_I: Configured from console by console
- 從 192.168.123.30 機器測試,用telnet 連入機器
Xshell:\> telnet 192.168.123.30
Connecting to 192.168.123.30:23...
Connection established.
Escape character is '^@]'.
User Access Verification
Password: 654321
Router>enable
Password: 123456
Router#
Router#copy running-config startup-config
Destination filename [startup-config]?
Building configuration...
[OK]
Router#
沒有留言:
張貼留言