full-duplex ~>N`<S
ip address 192.168.0.1 255.255.255.0 ~>N`<S
! ~>N`<S
interface Serial0/0 ~>N`<S
encapsulation hdlc ~>N`<S
ip address 172.16.0.5 255.255.255.252 ~>N`<S
! ~>N`<S
interface FastEthernet0/1 ~>N`<S
media-type 100BaseX ~>N`<S
full-duplex ~>N`<S
ip address 172.16.0.9 255.255.255.252 ~>N`<S
dialer-list 1 protocol ip permit ~>N`<S
dialer-list 1 protocol ipx permit ~>N`<S
! ~>N`<S
end ~>N`<S
以下提示您是否保存这次设置 ~>N`<S
[0] Go to the IOS command prompt without saving this config. ~>N`<S
[1] Return back to the setup without saving this config. ~>N`<S
[2] Save this configuration to nvram and exit. ~>N`<S
Enter your selection [2]: 2 ~>N`<S
选择2保存设置并存入NVRAM中 ~>N`<S
Building configuration... ~>N`<S
[OK] Use the enabled mode 'configure' command to modify this configuration. ~>N`<S
Press RETURN to get started! ~>N`<S
路由器重新启动 ~>N`<S
00:00:08: %LINK-3-UPDOWN: Interface Serial0/0, changed state to down ~>N`<S
00:00:08: %LINK-3-UPDOWN: Interface FastEthernet0/0, changed state to up ~>N`<S
00:00:08: %LINK-3-UPDOWN: Interface FastEthernet0/1, changed state to up ~>N`<S
00:00:09: %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/0, changed state to down ~>N`<S
00:00:09: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed state to down ~>N`<S
00:00:09: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/1, changed state to down ~>N`<S
00:03:18: %IP-5-WEBINST_KILL: Terminating DNS process ~>N`<S
00:03:24: %SYS-5-RESTART: System restarted -- ~>N`<S
Cisco Internetwork Operating System Software ~>N`<S
IOS (tm) 3600 Software (C3640-I-M), Version 12.1(2)T, RELEASE SOFTWARE (fc1) ~>N`<S
Copyright (c) 1986-2000 by cisco Systems, Inc. ~>N`<S
Compiled Tue 16-May-00 12:26 by ccai ~>N`<S
RouterA> ~>N`<S
进入用户模式 ~>N`<S
RouterA>en ~>N`<S
Password: ~>N`<S
RouterA# ~>N`<S
进入全局模式 ~>N`<S
RouterA#sh run ~>N`<S
查看现在运行的配置 ~>N`<S
Building configuration... ~>N`<S
Current configuration: ~>N`<S
! ~>N`<S
version 12.1 ~>N`<S
service timestamps debug uptime ~>N`<S
service timestamps log uptime ~>N`<S
no service password-encryption ~>N`<S
! ~>N`<S
hostname RouterA ~>N`<S
! ~>N`<S
enable secret 5 $ul/V$ezbZFgvzGHD.YPSieC0Ew/ ~>N`<S
enable password bbb ~>N`<S
! ~>N`<S
memory-size iomem 25 ~>N`<S
ip subnet-zero ~>N`<S
! ~>N`<S
interface FastEthernet0/0 ~>N`<S
ip address 192.168.0.1 255.255.255.0 ~>N`<S
speed auto ~>N`<S
full-duplex ~>N`<S
! ~>N`<S
interface Serial0/0 ~>N`<S
ip address 172.16.0.5 255.255.255.252 ~>N`<S
clockrate 2000000 ~>N`<S