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