【正文】
命令ip nat inside source list 2 pool c2501 overload中的參數(shù)overload,將允許多個內(nèi)部地址使用相同的全局地址(一個合法IP地址,它是由NIC或服務(wù)提供商所分配的地址)。 for help. Use ctrlc to abort configuration dialog at any prompt. Default settings are in square brackets 39。 2. router 在router提示符下鍵入enable,路由器進(jìn)入特權(quán)命令狀態(tài)router,這時不但可以執(zhí)行所有的用戶命令,還可以看到和更改路由器的設(shè)置內(nèi)容。然后路由器會問是否進(jìn)入設(shè)置對話: Would you like to enter the initial configuration dialog? [yes]: 如果按y或回車,路由器就會進(jìn)入設(shè)置對話過程。 ,。 四、常用命令 1. 幫助 在IOS操作中,無論任何狀態(tài)和位置,都可以鍵入?得到系統(tǒng)的幫助。 5. 路由器處于RXBOOT狀態(tài),在開機后60秒內(nèi)按ctrlbreak可進(jìn)入此狀態(tài),這時路由器不能完成正常的功能,只能進(jìn)行軟件升級和手工引導(dǎo)?!? 路由器處于局部設(shè)置狀態(tài),這時可以設(shè)置路由器某個局部的參數(shù)。 顯示結(jié)束后,系統(tǒng)會問是否使用這個設(shè)置: Use this configuration? [yes/no]: yes 如果回答yes,系統(tǒng)就會把設(shè)置的結(jié)果存入路由器的NVRAM中,然后結(jié)束設(shè)置對話過程,使路由器開始正常的工作。由于在Router1上端口Serial ,所以不需要在Router1上添加靜態(tài)路由。首先你可以看到各端口當(dāng)前的狀況: First, would you like to see the current interface summary? [yes]: Any interface listed with OK? value NO does not have a valid configuration Interface IPAddress OK? Method Status Protocol Ethernet0 unassigned NO unset up up Serial0 unassigned NO unset up up ……… 然后,路由器就開始全局參數(shù)的設(shè)置: Configuring global parameters: 1.設(shè)置路由器名: Enter host name [Router]: 2.設(shè)置進(jìn)入特權(quán)狀態(tài)的密文(secret),此密文在設(shè)置以后不會以明文方式顯示: The enable secret is a oneway cryptographic secret used instead of the enable password when it exists. Enter enable secret: cisco 3.設(shè)置進(jìn)入特權(quán)狀態(tài)的密碼(password),此密碼只在沒有密文時起作用,并且在設(shè)置以后會以明文方式顯示: The enable password is used when there is no enable secret and when using older software and some boot images. Enter enable password: pass 4.設(shè)置虛擬終端訪問時的密碼: Enter virtual terminal password: cisco 5.詢問是否要設(shè)置路由器支持的各種網(wǎng)絡(luò)協(xié)議: Configure SNMP Network Management? [yes]: Configure DECnet? [no]: Configure AppleTalk? [no]: Configure IPX? [no]: Configure IP? [yes]: Configure IGRP routing? [yes]: Configure RIP routing