GB | BIG5
|
| 首頁 > 網絡管理 > 網絡設備 > 正文 |
 |
| Cisco2501路由器DDN配置方法 |
| 本文出自: 作者: (2002-02-22 07:15:00) |
請準備終端一台,用路由器中所配的Console電纜及Terminal連接器,將終端
連接到路由器的Console口;連接好電源線,檢查無誤,先將終端電源打開,再
將路由器電源打開,顯示信息如下:
System Bootstrap, Version 5.2(8a), RELEASE SOFTWARE
Copyright (c) 1986-1995 by cisco Systems
2500 processor with 2048 Kbytes of main memory
F3: 3653456+93560+192532 at 0x3000060
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) 3000 Software (IGS-I-L), Version 11.1(4), RELEASE SOFTWARE (f
c1)
Copyright (c) 1986-1996 by cisco Systems, Inc.
Compiled Mon 17-Jun-96 15:45 by mkamson
Image text-base: 0x0301F2B4, data-base: 0x00001000
cisco 2509 (68030) processor (revision D) with 2048K/2048K bytes of me
mory.
Processor board ID 03843159, with hardware revision 00000000
Bridging software.
X.25 software, Version 2.0, NET2, BFE and GOSIP compliant.
1 Ethernet/IEEE 802.3 interface.
2 Serial network interfaces.
8 terminal lines.
32K bytes of non-volatile configuration memory.
4096K bytes of processor board System flash (Read ONLY)
Notice: NVRAM invalid, possibly due to write erase.
--- System Configuration Dialog ---
At any point you may enter a question mark '?' for help.
Use ctrl-c to abort configuration dialog at any prompt.
Default settings are in square brackets '[]'.
Would you like to enter the initial configuration dialog? [yes]: 回車
First, would you like to see the current interface summary? [yes]: 回車
Any interface listed with OK? value "NO" does not have a valid configu
ration
Interface IP-Address OK? Method Status
Protocol
Ethernet0 unassigned NO unset up
down
Serial0 unassigned NO unset up
down
Serial1 unassigned NO unset down
down
Configuring global parameters:
Enter host name [Router]: Router (路由器取名為Router)
The enable secret is a one-way cryptographic secret used
instead of the enable password when it exists.
Enter enable secret: cisco (設置路由器高級口令為cisco)
The enable password is used when there is no enable secret
and when using older software and some boot images.
Enter enable password: user (設置路由器低級口令為user
Enter virtual terminal password: cisco (設置路由器虛終端口令為cisco
)
Configure SNMP Network Management? [yes]: 回車
Community string [public]: 回車
Configure IP? [yes]: 回車
Configure IGRP routing? [yes]: no (不採用IGRP協議路由)
Configure RIP routing? [no]: 回車
Configuring interface parameters:
Configuring interface Ethernet0:
Is this interface in use? [yes]: 回車
Configure IP on this interface? [yes]: 回車
IP address for this interface: 86.101.3.20 (輸入本路由器局域網口I
P地址)
Number of bits in subnet field [0]:16
Class A network is 86.0.0.0, 16 subnet bits; mask is 255.255.255.0
Configuring interface Serial0:
Is this interface in use? [yes]: 回車
Configure IP on this interface? [yes]: 回車
Configure IP unnumbered on this interface? [no]: 回車
IP address for this interface: 86.101.254.3 (輸入本路由器廣域網口
IP地址)
Number of bits in subnet field [0]:16
Class A network is 86.0.0.0, 16 subnet bits; mask is 255.255.255.0
Configuring interface Serial1:
Is this interface in use? [yes]: no (不使用本廣域網口)
The following configuration command script was created:
hostname Router
enable secret 5 $1$jwb1$5fepuyO0PwUsa3ijZlR6t1
enable password user
line vty 0 4
password cisco
snmp-server community public
!
ip routing
!
interface Ethernet0
ip address 86.101.3.20 255.255.255.0
!
interface Serial0
ip address 86.101.254.3 255.255.255.0
!
interface Serial1
shutdown
no ip address
!
end
Use this configuration? [yes/no]: yes (採用以上設置)
Building configuration...
Use the enabled mode 'configure' command to modify this configuration.
Press RETURN to get started!
%LINEPROTO-5-UPDOWN: Line protocol on Interface Ethernet0, changed sta
te to down
%LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0, changed state
to down
%LINEPROTO-5-UPDOWN: Line protocol on Interface Serial1, changed state
to down
%LINK-3-UPDOWN: Interface Ethernet0, changed state to up
%LINK-3-UPDOWN: Interface Serial0, changed state to up
%LINK-3-UPDOWN: Interface Serial1, changed state to down
%LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0, changed state
to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0, changed state
to down
%LINK-5-CHANGED: Interface Serial1, changed state to administratively
down
%LINK-5-CHANGED: Interface Serial0, changed state to administratively
down
%SYS-5-RESTART: System restarted --
Cisco Internetwork Operating System Software
IOS (tm) 3000 Software (IGS-I-L), Version 11.1(4), RELEASE SOFTWARE (f
c1)
Copyright (c) 1986-1996 by cisco Systems, Inc.
Compiled Mon 17-Jun-96 15:45 by mkamson
Router>
Router>enable (進入路由器超級用戶)
Password: (輸入路由器高級口令,但不回顯)
Router#config (進入設置狀態)
Configuring from terminal, memory, or network [terminal]? 回車
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#int e0 (初始化路由器局域網口)
Router(config-if)#ip add 86.101.3.20 255.255.255.0 (路由器局域網口地址
及子網掩碼)
Router(config-if)#int s0 (初始化路由器廣域網口)
Router(config-if)#ip add 86.101.254.3 255.255.255.0 (路由器廣域網口地
址及子網掩碼)
Router(config-if)#encap ppp (採用ppp)
Router(config-if)#exit (退出接口設置狀態)
Router(config-if)#ip route 86.101.4.0 255.255.255.0 S0 (對方局域網絡、
子網掩碼及與本地相連的廣域網口)
Router(config)#exit (退出設置狀態)
Router#write (保存設置信息)
Building configuration...
[OK]
Router#
(http://www.fanqiang.com)
進入【UNIX論壇】
|
|
| 相關文章 |
CISCO2501,2522的詳細配置與調試 (2001-06-28 10:08:00) 路由器指南之配置調試篇(Cisco2501) (2001-04-19 14:12:30)
|
|
|
|
 |
★ 樊強制作 歡迎分享 ★ |