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