Would you like to enter the initial configuration dialog? [yes/no]: y //选择Y继续

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 '[]'.

Basic management setup configures only enough connectivity
for management of the system, extended setup will ask you
to configure each interface on the system

Would you like to enter basic management setup? [yes/no]: y
Configuring global parameters:

Enter host name [Router]: R1 //设置路由器名称

The enable secret is a password used to protect access to
privileged EXEC and configuration modes. This password, after
entered, becomes encrypted in the configuration.
Enter enable secret: ccielab

The enable password is used when you do not specify an
enable secret password, with some older software versions, and
some boot p_w_picpaths.
Enter enable password: ccielab1 //键入enable secret,即加密的口令

The virtual terminal password is used to protect
access to the router over a network interface.
Enter virtual terminal password: ccielab2 //VTY密码
Configure System Management? [yes/no]: no
Configure SNMP Network Management? [yes]: no //配置SNMP选择不配置

Current interface summary

Any interface listed with OK? value "NO" does not have a valid configuration

Interface IP-Address OK? Method Status Protocol
FastEthernet0/0 unassigned NO unset up down
Serial1/0 unassigned NO unset up down
Serial1/1 unassigned NO unset up down
Serial1/2 unassigned NO unset up down
Serial1/3 unassigned NO unset up down //显示当前接口的汇总信息

Enter interface name used to connect to the
management network from the above interface summary: serial1/0 //键入作为管理接口的接口名

Configuring interface Serial1/0:
Configure IP on this interface? [yes]: y //选择Y配置接口
IP address for this interface: 192.168.1.1 //键入IP地址
Subnet mask for this interface [255.255.255.0] : //默认子网掩码
Class C network is 192.168.1.0, 24 subnet bits; mask is /24

The following configuration command script was created:

hostname R1
enable secret 5 $1$Vzgn$b./6eAe8UDfNVHDUWU70b/
enable password ccielab1
line vty 0 4
password ccielab2
no snmp-server
!
no ip routing

!
interface FastEthernet0/0
shutdown
no ip address
!
interface Serial1/0
no shutdown
ip address 192.168.1.1 255.255.255.0
no mop enabled
!
interface Serial1/1
shutdown
no ip address
!
interface Serial1/2
shutdown
no ip address
!
interface Serial1/3
shutdown
no ip address
!
end

//显示配置清单
[0] Go to the IOS command prompt without saving this config.
[1] Return back to the setup without saving this config.
[2] Save this configuration to nvram and exit.

Enter your selection [2]:
Building configuration...
Use the enabled mode 'configure' command to modify this configuration.


Press RETURN to get started!