请准备终端一台,用路 器的Console口;连接好电 示信息如下:
|
由器中所配的Console电缆及Ter 源线,检查无误后,先将终端电
|
minal连接器,将终端 连接到路由 源打开,再将路由器电源打开,显
|
System Bootstrap, Ve
|
rsion 5.2(8a), RELEASE SOFTW
|
ARE
|
Copyright (c) 1986-1
|
995 by cisco Systems
|
2500 processor with 2048 Kbytes
|
of main memory
|
| F3: 3653456+93560+192532 at 0x3000060 |
Use, duplication, or disclosure as set forth in subparagraph
|
by the Government is subject to restrictions
|
(c) of the Commercia
|
l Computer Software - Restri
|
cted
|
Rights clause at FAR sec. 52.227
|
-19 and subparagraph
|
(c) (1) (ii) of the
|
Rights in Technical Data and
|
Computer
|
Software clause at D
|
FARS sec. 252.227-7013.
|
San Jose, California
|
95134-1706 Cisco Internetwo
|
rk Operating System Software
|
IOS (tm) 3000 Software (IGS-I-L) Copyright (c) 1986-1996 by cisco Sys mkamson
|
, Version 11.1(4), RELEASE SOFTWARE (fc1) tems, Inc. Compiled Mon 17-Jun-96 15:45 by
|
Image text-base: 0x0301F2B4, dat
|
a-base: 0x00001000
|
cisco 2509 (68030) p
|
rocessor (revision D) with 2
|
048K/2048K bytes of memory.
|
Processor board ID 0
|
3843159, with hardware revis
|
ion 00000000
|
X.25 software, Version 2.0, NET2
|
, BFE and GOSIP compliant.
|
| 1 Ethernet/IEEE 802.3 interface. |
| 2 Serial network interfaces. |
32K bytes of non-vol
|
atile configuration memory.
|
4096K bytes of proce
|
ssor board System flash (Rea
|
d ONLY)
|
Notice: NVRAM invalid, possibly
|
due to write erase.
|
| --- System Configuration Dialog --- |
At any point you may
|
enter a question mark '?' f
|
or help.
|
Use ctrl-c to abort configuratio
|
n dialog at any prompt.
|
Default settings are
|
in square brackets '[]'.
|
Would you like to en
|
ter the initial configuratio
|
n dialog? [yes]: 回车
|
First, would you like to see the
|
current interface summary? [yes]: 回车
|
Any interface listed
|
with OK? value "NO" does no
|
t have a valid configu
|
| Interface IP-Address OK? Method Status |
| Ethernet0 unassigned NO unset up |
| Serial0 unassigned NO unset up |
| Serial1 unassigned NO unset down |
| Configuring global parameters: |
Enter host name [Router]: Router
|
(路由器取名为Router)
|
The enable secret is a one-way c
|
ryptographic secret used
|
instead of the enabl
|
e 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 an
|
d some boot images.
|
Enter enable passwor
|
d: user (设置路由器低级口令
|
为user
|
Enter virtual termin
|
al password: cisco (设置路由
|
器虚终端口令为cisco )
|
Configure SNMP Netwo
|
rk Management? [yes]: 回车
|
| Community string [public]: 回车 |
Configure IGRP routi
|
ng? [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: 8
|
6.101.3.20 (输入本路由器局域网口IP地址)
|
| Number of bits in subnet field [0]:16 |
Class A network is 8
|
6.0.0.0, 16 subnet bits; mas
|
k 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 config
|
uration command script was c
|
reated:
|
enable secret 5 $jwb1fepuyO0
|
PwUsa3ijZlR6t1
|
| snmp-server community public |
| ip address 86.101.3.20 255.255.255.0 |
| ip address 86.101.254.3 255.255.255.0 |
Use this configurati
|
on? [yes/no]: yes (采用以上
|
设置)
|
| Building configuration... |
Use the enabled mode 'configure'
|
command to modify this configuration.
|
| Press RETURN to get started! |
%LINEPROTO-5-UPDOWN: Line protoc down
|
ol on Interface Ethernet0, changed state to
|
%LINEPROTO-5-UPDOWN:
|
Line protocol on Interface
|
Serial0, changed state to down
|
%LINEPROTO-5-UPDOWN: Line protoc
|
ol on Interface Serial1, changed state to down
|
%LINK-3-UPDOWN: Interface Ethern
|
et0, changed state to up
|
%LINK-3-UPDOWN: Interface Serial
|
0, changed state to up
|
%LINK-3-UPDOWN: Interface Serial
|
1, changed state to down
|
%LINEPROTO-5-UPDOWN: Line protoc
|
ol on Interface Serial0, changed state
|
%LINEPROTO-5-UPDOWN:
|
Line protocol on Interface
|
Serial0, changed state
|
%LINK-5-CHANGED: Int
|
erface Serial1, changed stat
|
e to administratively
|
%LINK-5-CHANGED: Interface Seria
|
l0, changed state to administratively
|
| %SYS-5-RESTART: System restarted -- |
Cisco Internetwork Operating Sys
|
tem Software
|
IOS (tm) 3000 Software (IGS-I-L)
|
, Version 11.1(4), RELEASE SOFTWARE (fc1)
|
Copyright (c) 1986-1996 by cisco
|
Systems, Inc.
|
Compiled Mon 17-Jun-
|
96 15:45 by mkamson
|
| Router>enable (进入路由器超级用户) |
| Password: (输入路由器高级口令,但不回显) |
Configuring from terminal, memor
|
y, or network [terminal]? 回车
|
Enter configuration commands, on
|
e 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.25 )
|
5.0 S0 (对方局域网络、 子网掩
|
| Router(config)#exit (退出设置状态) |
| Building configuration... |
|