銳捷交換機命令大全_第1頁
已閱讀1頁,還剩6頁未讀, 繼續(xù)免費閱讀

下載本文檔

版權說明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權,請進行舉報或認領

文檔簡介

1、【第一部分】交換機支持的命令:1.交換機基本狀態(tài):switch:;ROM狀態(tài),路由器是rommonhostname;用戶模式hostname#;特權模式hostname(config)#;全局配置模式hostname(configif)#;接口狀態(tài)2.交換機口令設置:switchenable;進入特權模式switch#configterminal;進入全局配置模式switch(config)#hostname;設置交換機的主機名swit

2、ch(config)#enablesecretxxx;設置特權加密口令switch(config)#enablepasswdxxa;設置特權非密口令switch(config)#lineconsole0;進入控制臺口switch(configline)#linevty04;進入虛擬終端switch(configline)#login;允許登錄switch(configline)#passwdxx;設置登錄口令xxswitch#exit;

3、返回命令3.交換機VLAN設置:switch#vlandatabase;進入VLAN設置switch(vlan)#vlan2;建VLAN2switch(vlan)#novlan2;刪vlan2switch(config)#intf01;進入端口1switch(configif)#switchptaccessvlan2;當前端口加入vlan2switch(configif)#switchptmodetrunk;設置為干線switch(co

4、nfigif)#switchpttrunkallowedvlan1,2;設置允許的vlanswitch(configif)#switchpttrunkencapdot1q;設置vlan中繼switch(config)#vtpdomain;設置發(fā)vtp域名switch(config)#vtppasswd;設置發(fā)vtp密碼switch(config)#vtpmodeserver;設置發(fā)vtp模式switch(config)#vtpmodec

5、lient;設置發(fā)vtp模式router#exit;返回命令3.路由器配置:router(config)#ints00;進入Serail接口router(configif)#noshutdown;激活當前接口router(configif)#clockrate64000;設置同步時鐘router(configif)#ipaddress;設置IP地址router(configif)#ipaddresssecond;設置第二個IProute

6、r(configif)#intf00.1;進入子接口router(configsubif.1)#ipaddress;設置子接口IProuter(configsubif.1)#encapsulationdot1q;綁定vlan中繼協(xié)議router(config)#configregister0x2142;跳過配置文件router(config)#configregister0x2102;正常使用配置文件router#reload;重新引導

7、4.路由器文件操作:router#copyrunningconfigstartupconfig;保存配置router#copyrunningconfigtftp;保存配置到tftprouter#copystartupconfigtftp;開機配置存到tftprouter#copytftpflash:;下傳文件到flashrouter#copytftpstartupconfig;下載配置文件ROM狀態(tài):CtrlBreak;進入ROM監(jiān)控狀

8、態(tài)rommonconfreg0x2142;跳過配置文件rommonconfreg0x2102;恢復配置文件rommonreset;重新引導rommoncopyxmodem:flash:;從console傳輸文件rommonIP_ADDRESS=10.65.1.2;設置路由器IPrommonIP_SUB_MASK=255.255.0.0;設置路由器掩碼rommonTFTP_SERVER=10.65.1.1;指定TFTP服務器IPrommo

溫馨提示

  • 1. 本站所有資源如無特殊說明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請下載最新的WinRAR軟件解壓。
  • 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請聯(lián)系上傳者。文件的所有權益歸上傳用戶所有。
  • 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁內(nèi)容里面會有圖紙預覽,若沒有圖紙預覽就沒有圖紙。
  • 4. 未經(jīng)權益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
  • 5. 眾賞文庫僅提供信息存儲空間,僅對用戶上傳內(nèi)容的表現(xiàn)方式做保護處理,對用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對任何下載內(nèi)容負責。
  • 6. 下載文件中如有侵權或不適當內(nèi)容,請與我們聯(lián)系,我們立即糾正。
  • 7. 本站不保證下載資源的準確性、安全性和完整性, 同時也不承擔用戶因使用這些下載資源對自己和他人造成任何形式的傷害或損失。

評論

0/150

提交評論