思科2960初始化配置CONSOLE口
1. 建立PC到路由器的物理連接,用RS232 CONSOLE線(隨交換機帶)連接路由器CONSOLE接口和PC的COM口。 2. 在計算機上使用超級終端:打開“開始-程序-附件-通訊-超級終端—新建超級終端”,首先為新建連接設置名稱。 然后,設置連接用端口,一般選擇COM1,再設置連接參數,設置參數如下:每秒位數為9600,數據位為8,奇偶校 驗為無,停止位為1,數據流控制為Xon/Xoff。 不可搞錯了! 3. 等待30秒,回車,出現人機對話界面 Would you like to enter the initial configuration dialog? [yes/no]: 是否按提示步驟操作 % Please answer yes or no. Would you like to enter the initial configuration dialog? [yes/no]: n 輸入n(自己手工設置) Press RETURN to get started! Switch>. 首先看到的是用戶模式 Switch>.en 輸入en(即enable)進入特權模式 Switch#conf t 進入配置模式 Enter configuration commands, one per line. End with CNTL/Z. Switch(config)#hostname sw2950 給交換機命名 sw2950(config)#enable password Cisco 給交換機配置管理口令(明碼的) sw2950(config)#line vty 0 4 給交換機開啟遠程管理 sw2950(config-line)#pass Cisco! 設置遠程管理口令 sw2950(config-line)#login 允許遠程登陸 sw2950(config-line)#exit 退出到上級目錄 sw2950(config)#int vlan 1 進入vlan1 接口 sw2950(config-if)#no shut 開啟此接口 1y13w: %LINK-3-UPDOWN: Interface Vlan1, changed state to up 1y13w: %LINEPROTO-5-UPDOWN: Line protocol on Interface Vlan1, changed state to up sw2950(config-if)#ip add 192.168.1.2 255.255.255.0 設置此接口地址 sw2950(config-if)#exit 退出到上一層 sw2950(config-if-range)#exit 退出到上一級目錄 sw2950(config)#end 退到根目錄 sw2950#wr 保存配置 切記!必須保存,否則重新啟動后設置丟失! 4d00h: %SYS-5-CONFIG_I: Configured from console by console Building configuration... [OK] (保存好了,已經生效) 重新啟動交換機之后就可以通過瀏覽器輸入IP地址進行訪問或設置了,也可通過思科專業軟件思科網絡助理4.0中文版設置。
 |