思科模擬器命令.docx

思科模擬器命令.docx

ID:57612923

大?。?4.92 KB

頁數(shù):11頁

時間:2020-08-29

思科模擬器命令.docx_第1頁
思科模擬器命令.docx_第2頁
思科模擬器命令.docx_第3頁
思科模擬器命令.docx_第4頁
思科模擬器命令.docx_第5頁
資源描述:

《思科模擬器命令.docx》由會員上傳分享,免費在線閱讀,更多相關(guān)內(nèi)容在教育資源-天天文庫

1、1.計算機命令:PCAlogin:root;使用root用戶password:linux;口令是linux#shutdown-hnow;同init0關(guān)機#logout#login#ifconfig;顯示IP地址#ifconfigeth0netmask;設(shè)置IP地址#ifconfigeht0netmaskdown;刪除IP地址#routeadddefaultgw;設(shè)置網(wǎng)關(guān)#routedeldefaultgw;刪除網(wǎng)關(guān)#route;顯示網(wǎng)關(guān)#ping#telnet

2、2.交換機支持的命令:交換機基本狀態(tài):switch:;交換機的ROM狀態(tài)rommon>;路由器的ROM狀態(tài)hostname>;用戶模式hostname#;特權(quán)模式hostname(config)#;全局配置模式hostname(config-if)#;接口狀態(tài)交換機口令設(shè)置:switch>enable;進入特權(quán)模式switch#configterminal;進入全局配置模式switch(config)#hostname;設(shè)置交換機的主機名switch(config)#enablesecretxxx;設(shè)置特權(quán)加密口令switch(config)#ena

3、blepasswordxxa;設(shè)置特權(quán)非密口令switch(config)#lineconsole0;進入控制臺口switch(config-line)#linevty04;進入虛擬終端switch(config-line)#login;允許登錄switch(config-line)#passwordxx;設(shè)置登錄口令xxswitch#exit;返回命令交換機VLAN設(shè)置:switch#vlandatabase;進入VLAN設(shè)置switch(vlan)#vlan2;建VLAN2switch(vlan)#novlan2;刪vlan2switch(config)#intf0

4、/1;進入端口1switch(config-if)#switchportaccessvlan2;當(dāng)前端口加入vlan2switch(config-if)#switchportmodetrunk;設(shè)置為干線switch(config-if)#switchporttrunkallowedvlan1,2;設(shè)置允許的vlanswitch(config-if)#switchporttrunkencapdot1q;設(shè)置vlan中繼switch(config)#vtpdomain;設(shè)置發(fā)vtp域名switch(config)#vtppassword;設(shè)置發(fā)vt

5、p密碼switch(config)#vtpmodeserver;設(shè)置發(fā)vtp模式switch(config)#vtpmodeclient;設(shè)置發(fā)vtp模式交換機設(shè)置IP地址:switch(config)#interfacevlan1;進入vlan1switch(config-if)#ipaddress;設(shè)置IP地址switch(config)#ipdefault-gateway;設(shè)置默認(rèn)網(wǎng)關(guān)switch#dirflash:;查看閃存交換機顯示命令:switch#write;保存配置信息switch#showvtp;查看vtp配置信息switc

6、h#showrun;查看當(dāng)前配置信息switch#showvlan;查看vlan配置信息switch#showinterface;查看端口信息switch#showintf0/0;查看指定端口信息3.路由器支持的命令:路由器顯示命令:router#showrun;顯示配置信息router#showinterface;顯示接口信息router#showiproute;顯示路由信息router#showcdpnei;顯示鄰居信息router#reload ??;重新起動路由器口令設(shè)置:router>enable;進入特權(quán)模式router#configterminal;進入全局

7、配置模式router(config)#hostname;設(shè)置交換機的主機名router(config)#enablesecretxxx;設(shè)置特權(quán)加密口令router(config)#enablepasswordxxb;設(shè)置特權(quán)非密口令router(config)#lineconsole0;進入控制臺口router(config-line)#linevty04;進入虛擬終端router(config-line)#login;要求口令驗證router(config-line)#passwordxx;設(shè)置登錄口令xxrout

當(dāng)前文檔最多預(yù)覽五頁,下載文檔查看全文

此文檔下載收益歸作者所有

當(dāng)前文檔最多預(yù)覽五頁,下載文檔查看全文
溫馨提示:
1. 部分包含數(shù)學(xué)公式或PPT動畫的文件,查看預(yù)覽時可能會顯示錯亂或異常,文件下載后無此問題,請放心下載。
2. 本文檔由用戶上傳,版權(quán)歸屬用戶,天天文庫負責(zé)整理代發(fā)布。如果您對本文檔版權(quán)有爭議請及時聯(lián)系客服。
3. 下載前請仔細閱讀文檔內(nèi)容,確認(rèn)文檔內(nèi)容符合您的需求后進行下載,若出現(xiàn)內(nèi)容與標(biāo)題不符可向本站投訴處理。
4. 下載文檔時可能由于網(wǎng)絡(luò)波動等原因無法下載或下載錯誤,付費完成后未能成功下載的用戶請聯(lián)系客服處理。