思科模擬器命令

思科模擬器命令

ID:43482156

大?。?7.51 KB

頁數(shù):12頁

時間:2019-10-07

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

《思科模擬器命令》由會員上傳分享,免費(fèi)在線閱讀,更多相關(guān)內(nèi)容在行業(yè)資料-天天文庫。

1、1.計(jì)算機(jī)命令:PCAlogin:root;使用root用戶password:linux;口令是linux#shutdown-hnow;同init0關(guān)機(jī)#logout#login#ifconfig;顯示IP地址#ifconfigeth0netmask;設(shè)置IP地址#ifconfigeht0netmaskdown;刪除IP地址#routeadd0.0.0.0gw#routedel0.0.0.0gw#routeadddefaultgw

2、;設(shè)置網(wǎng)關(guān)#routedeldefaultgw;刪除網(wǎng)關(guān)#route;顯示網(wǎng)關(guān)#ping#telnet2.交換機(jī)支持的命令:交換機(jī)基本狀態(tài):switch:;交換機(jī)的ROM狀態(tài)rommon>;路由器的ROM狀態(tài)hostname>;用戶模式hostname#;特權(quán)模式hostname(config)#;全局配置模式hostname(config-if)#;接口狀態(tài)交換機(jī)口令設(shè)置:switch>enable;進(jìn)入特權(quán)模式switch#configterminal;進(jìn)入全局配置模式switch(con

3、fig)#hostname;設(shè)置交換機(jī)的主機(jī)名switch(config)#enablesecretxxx;設(shè)置特權(quán)加密口令switch(config)#enablepasswordxxa;設(shè)置特權(quán)非密口令switch(config)#lineconsole0;進(jìn)入控制臺口switch(config-line)#linevty04;進(jìn)入虛擬終端switch(config-line)#login;允許登錄switch(config-line)#passwordxx;設(shè)置登錄口令xxswitch#exit;返

4、回命令交換機(jī)VLAN設(shè)置:switch#vlandatabase;進(jìn)入VLAN設(shè)置switch(vlan)#vlan2;建VLAN2switch(vlan)#novlan2;刪vlan2switch(config)#intf0/1;進(jìn)入端口1switch(config-if)#switchportaccessvlan2;當(dāng)前端口加入vlan2switch(config-if)#switchportmodetrunk;設(shè)置為干線switch(config-if)#switchporttrunkallowedvlan1,2;設(shè)置

5、允許的vlanswitch(config-if)#switchporttrunkencapdot1q;設(shè)置vlan中繼switch(config)#vtpdomain;設(shè)置發(fā)vtp域名switch(config)#vtppassword;設(shè)置發(fā)vtp密碼switch(config)#vtpmodeserver;設(shè)置發(fā)vtp模式switch(config)#vtpmodeclient;設(shè)置發(fā)vtp模式交換機(jī)設(shè)置IP地址:switch(config)#interfacevlan1;進(jìn)入vlan1switc

6、h(config-if)#ipaddress;設(shè)置IP地址switch(config)#ipdefault-gateway;設(shè)置默認(rèn)網(wǎng)關(guān)switch#dirflash:;查看閃存交換機(jī)顯示命令:switch#write;保存配置信息switch#showvtp;查看vtp配置信息switch#showrun;查看當(dāng)前配置信息switch#showvlan;查看vlan配置信息switch#showinterface;查看端口信息switch#showintf0/0;查看指定端口信息3.路由器支持的

7、命令:路由器顯示命令:router#showrun;顯示配置信息router#showinterface;顯示接口信息router#showiproute;顯示路由信息router#showcdpnei;顯示鄰居信息router#reload ?。恢匦缕饎勇酚善骺诹钤O(shè)置:router>enable;進(jìn)入特權(quán)模式router#configterminal;進(jìn)入全局配置模式router(config)#hostname;設(shè)置交換機(jī)的主機(jī)名router(config)#enablesecretxxx;設(shè)置特權(quán)加

8、密口令router(config)#enablepasswordxxb;設(shè)置特權(quán)非密口令router(config)#lineconsole0;進(jìn)入控制臺口router(config-line)#linevty04;進(jìn)入虛擬終端router(config-line)#login;要求口令驗(yàn)

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

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

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