---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#