---System Configuration Dialog--- Continue with configuration dialog? [yes/no]: y (键入y或yes继续进行以话) 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 (键入y或yes进入基本治理设置) Configuring global parameters: Enter host name [Router]:Router1 (给路由器命名为Router1) 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: cisco (键入enable secret,即加密的口令) The enable password is used when you do not specify an enable secret password, with some older software versions, and some boot images. Enter enable password: cisco1 (键入 enable password,当enable secret和enable password同时配置时,只有enable secret生效) The virtual termina1 password is used to protect access to the router over a network interface. Enter virtual termina1 password: cisco2 (键入vty password用于对telnet访问进行认证) Configure SNMP Network Management? [no]: (不配置SNMP ) Current interface summary (以下显示当前接口的汇总信息) Interface ip-Address OK? Method Status Protocol Ethemet0 unassigned YES unset administratively down down Ethernet1 unassigned YES unset administratively down down Serial0 unassigned YES unset administratively down down Serial1 unassigned YES unset administratively down down
Enter interface name used to connect to the management network from the above interface summary: ethernet0 (键入作为治理接口的接口名) Configuring interface EthemetO: Configure IP on this interface? [no]: y (对Ethernet0进IP配置) 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 Router1 enable secret 5 $1$iOgz$y37cZ7pU3pHghZLYDnbnZ. enable password ciscol line vty 0 4 password cisco2 no snmp-server ! no ip routing ! interface Ethemet0 no shutdown ip address 192.168.1.1255.255.255.0 no mop enabled ! interface Ethernet1 shutdown no ip address ! interface Seria10 shutdown no ip address ! interface Seria11 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]: (按回车键使用默认值,将配置存入NVRAM) Building configuration... 02:01:47: %LINK-3-UPDOWN: Interface EthemetO, changed state to up 02:01:49: %LINEPROTO-5-UPDOWN: Line protocol on Interface EthemetO, changed state to up[OK] Use the enabled mode 'configure* command to modify this configuration. Routeri#