




版權(quán)說(shuō)明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請(qǐng)進(jìn)行舉報(bào)或認(rèn)領(lǐng)
文檔簡(jiǎn)介
1、DELL交換機(jī)的配置命令交換機(jī)支持的命令交換機(jī)基本狀態(tài):switch: ; ROM 狀態(tài), 路由器是 rommon> hostname ;用戶模式 hostname# ;特權(quán)模式 hostname(config)# ;全局配置模式 hostname(config-if)# ; 接 口狀態(tài)交換機(jī)口令設(shè)置:switch>enable ;進(jìn)入特權(quán)模式switch#config terminal ;進(jìn)入全局配置模式switch(config)#hostname ;設(shè)置交換機(jī)的主機(jī)名 switch(config)#enable secret xxx ; 設(shè)置特權(quán)力口密口令 switch(co
2、nfig)#enable password xxa ; 設(shè)置特權(quán)非密口令 switch(config)#line console 0; 進(jìn)入控制臺(tái)口switch(config-line)#line vty 0 4;進(jìn)入虛擬終端switch(config-line)#login ;允許登錄 switch(config-line)#password xx ;設(shè)置登錄口令 xx switch#exit ;返回命令 交換機(jī)VLAN設(shè)置:switch#vlan database ;進(jìn)入 VLAN 設(shè)置switch(vlan)#vlan 2;建 VLAN 2switch(vlan)#no vlan 2;刪
3、 vlan 2switch(config)#int f0/1;進(jìn)入端口 1switch(config-if)#switchport access vlan 2;當(dāng)前端口力口入 vlan 2switch(config-if)#switchport mode trunk ; 設(shè)置為干線 switch(config-if)#switchport trunk allowed vlan 1, 2 ; 設(shè)置允許的 vlanswitch(config-if)#switchport trunk encap dotlq ; 設(shè)置 vlan 中 switch(config)#vtp domain ;設(shè)置發(fā) vtp
4、 域名 switch(config)#vtp password ;設(shè)置發(fā) vtp 密碼 switch(config)#vtp mode server ; 設(shè)置發(fā) vtp 模式 switch(config)#vtp mode client ; 設(shè)置發(fā) vtp 模式進(jìn)入 vlan 1交換機(jī)設(shè)置IP地址switch(config)#interface vlan 1lo-i- to1:.-d:-.-m.-"idiS;:a"-I cnst-t on. I ng Of - "a1", ntba.ad -nt n y im |rv- t- qa1"d,b -
5、 -n-t,w-hoo>n-v. b-t-gt c-ta>- d o. comm iaton n-w.k- -4.i ., wlb-ao.d -rng -. ong -1.- cr- o.- manag-m-nt O.i- wo.-.ng-n.iia-;ov-r.1- on a a c.ty a nd -n-a. o.lao.cadr- a nd w or-. -"ca"-t.who- -om- - c-atonao- g ictoncons 3. Pr *tin of undeGve. nm-a- -一.-1|i ngg .i* w .- c-a- agd-s
6、-"dig、-y*.mno. -o- c be-.d -v- imana-t d ma-ia and, L . L _ . . . -aetca t - - a nd abi*.:.""-:.-yd -In *":-t- - o. t- - I|m-t -:d.”,d"a-im-“ .Iha-il-.t-1n.l-v-ton- -d.nn- -b- -ey cl-a dan.i-ii- -a-cto-m- on-Oo-n-l- o. t-tic 1ok ond o un-e-a nd. Humani.in. Mold- tf-p- ad bot
7、h t n-rA- -|m-t-m” I- o. -ron- m-a-o. -1. and new h- -a -a. .in an.ogi-t-a 1-i- in. dta-. S- -nd" w- -it - ,-ngt-t-th-r -ialkow- -oltmi* t- - - -o. .ow - d. .an Yea book o . a . 一.L .LL.一. 一L ng a-a -o.- ng t aw, - -n- - -ion o. alha- maag> ._ . _ . .,一. 一 . » 1.-t a nd Cmm i" Achv
8、 -A-.o. .". nt. , ma-.I. I .- 1-rl - On- - tod *.,"- to im i-hac-th- 1a.-<."a " 1w. . - ab-o - -"<ae ->- tla c". >ga|hy a. .-wi-a -m. -cnom" m_ing II-a 0. ma.-m<-ha - - nd -id-n-|1oo>- nt, a- o. a-La .1iI |. cad- wor- -1 -ton ho-ng, aI -ms and a I
9、 ad、o -hod aa- t incra - ui- wo o. "- - i- "a-at- ng 1m-,r . > _. . l > L .- ."ia-”-I-, abl- ad ml - -ra- t-am-nt ”-"I- o. acvo 一一 . l .11. l,-wam,g-d-c iy . - 1U a -o. ford.-I -ih" "c -on-im ncia , mat-iaI. . . l .a na , an -nd - -o -c;設(shè)置IP地址;設(shè)置默認(rèn)網(wǎng)關(guān)switch(config-
10、if)#ip address switch(config)#ip default-gateway switch#dir flash:交換機(jī)顯示命令:switch#write;保存配置信息switch#show vtp;查看vtp配置信息switch#show run;查看當(dāng)前配置信息switch#show vlan查看vlan配置信息switch#show interface;查看端口信息switch#show int f0/0;查看指定端口信息2.路由器支持的命令:路由器顯示命令:router#show run;顯示配置信息router#show interface;顯示接口信息router
11、#show ip route;顯示路由信息router#show cdp nei;顯示鄰居信息router#reload路由器口令設(shè)置:router>enable;進(jìn)入特權(quán)模式router#config terminal;進(jìn)入全局配置模式router(config)#hostname;設(shè)置交換機(jī)的主機(jī)名router(config)#enable secret xxx;設(shè)置特權(quán)加密口令router(config)#enable password xxb;設(shè)置特權(quán)非密口令router(config)#line console 0;進(jìn)入控制臺(tái)口router(config-line)#line
12、vty 0 4;進(jìn)入虛擬終端router(config-line)#login;要求口令驗(yàn)證router(config-line)#password xx;設(shè)置登錄口令xxrouter(config)#(Ctrl+z)返回特權(quán)模式router#exit路由器配置:router(config)#int s0/0Serail 接口router(config-if)#no shutdown;激活當(dāng)前接口router(config-if)#clock rate 64000;設(shè)置同步時(shí)鐘router(config-if)#ip address;設(shè)置IP地址router(config-if)#ip add
13、resssecond;設(shè)置第二個(gè)IP進(jìn)入子接口;設(shè)置子接口 IProuter(config-if)#int f0/0.1 router(config-subif.1)#ip addressdi up d:el.p.-eaidi-.t.a:.i cn-t_t . Iceai ng ad cnti n-y . pr- t. qoaiyd,bu c. snt,-. -|.u. bbtegt .cetaie d v4.i .,-lb a.und -rng -I .ng eI.- c.e.I -tvie .aa. nt.-Ik ng a.“l(fā)cvizai .n ca a a ctv、a nd cn a.
14、 .pt.I cad a nd - .I-. At cala caly.ut Igual -. -. Is-.- .uiat.Ike- - t.ewrk . t. .-ruCi.b. i.i li-tl- -l .1 glenileiana1t.c Go i-Oind 10nt.gte t. taai. .f c- - be-ik de a . . . . II.-.一一.-prp yaI .d .r I met .I . ai d t.nneI d i. T. .|d Ii .aea a.d.*;e. st:":"#,;"'- c,nfve Wpa.c&
15、amp;:0"工-dud .“.;“»,"-"hee-ecf%-."f6,r.,c."afomasv-/ya-,".:.=ar-e.ci Maev-.fHstpjss-.Er-r'sw.: -:*.y.a.iaermem".se,cewv.t."*'&"0-;£:.、>=3.blea:;=:.xsns dneg'二r.g,.,*.:",.,""二,"T.-cu;n"eesfsa3pep-AtfO*,
16、0"-.“:“:”'.*:.“工1£:*"”'. .lz*:;1:'"':;".;,。;:"=,9*,:*;頤”"=:"."anmt.arevf、.s d t . . nd peple- . nd. Hu.ni - - t. ceoft. .cOu et. -pl. -e-i- -Hai ,b ecnomc .itAog al pea .r.e-Adhe. t pepe.reest pe-t. 0ns- t.-lion. M u-b. y .lr. t. -Ila-.T01
17、mp.1a ." , .a.I. I .- lurl lie On. - t.-t la t. p.I . - a b-l-y - e-u. t I. Cryt ,g.ply Hi- .i.a c.p.- canl-. Yea '. -L.i .一. .一 一 - - - ecn.y ._ing I-l - .I-.c| ., Iliiiy i tl. u<e I I .alke .iclaI -.- and a ce'i-ii-. nd cup- - - .laci.en-p”. nt a-00 2a dliul pl .V-. - elal. tl. l ;
18、 ca dr- e.my.”. .J . .re- -l -tin l. b, a. and a i-.I.i ad-、0.-l. a t inlra -i ci w.I- .1 w.ael-1- "a.i ng .lu., c.g - a - 1a. - a nt ss-i.I p pleig - t pep .pl,etGe.alO - -I ippylang acie- . -.I- ng t. a-, .I. ng,ee a.,ge .-.tle . , f -“ang-. nt .-.3 v .-Acienca . . . . ., an - .一i. .”-.u- . .
19、 . .1 te|n.ly and ne t.t.g-tca ie - .tac. S cndy -eg- - -ye ,-engtet. tleieialk.-e -e .p.ie t.l. -a I dad zai. a.drouter(config-subif.1)#encapsulation dotlq ;紗B定 vlan 中協(xié)議 router(config)#config-register 0x2142;跳過(guò)配置文件router(config)#config-register 0x2102;正常使用配置文件router#reload ; 重新弓 I 導(dǎo)路由器文件操作:router#c
20、opy running-config startup-config ; 保存配置 router#copy running-config tftp ; 保存配置至U tftp router#copy startup-config tftp ; 開機(jī)配置存至U tftp router#copy tftp flash: ;下傳文件至U flash router#copy tftp startup-config ; 下載配置文件ROM狀態(tài):Ctrl+Break ;進(jìn)入 ROM 監(jiān)控狀態(tài)rommon>confreg 0x2142;跳過(guò)配置文件rommon>confreg 0x2102;恢復(fù)配
21、置文件rommon>reset ;重新弓 I 導(dǎo) rommon>copy xmodem: flash:; 從 console 傳輸文件rommon>IP_ADDRESS= ;設(shè)置路由器 IPrommon>IP_SUBNET_MASK= ;設(shè)置路由器掩碼 rommon>TFTP_SERVER= ;指定 TFTP 服務(wù)器 IP rommon>TFTP_FILE=c2600.bin ;指定下載的文件 rommon>tftpdnld ;從 tftp 下載 rommon>dir flash: ;查看
22、閃存內(nèi)容 rommon>boot ;弓 I導(dǎo) IOS靜態(tài)路由:ip route ;命令格式router(config)#ip route ;靜態(tài)路由舉例router(config)#ip route ;默認(rèn)路由舉例動(dòng)態(tài)路由:router(config)#ip routing;啟動(dòng)路由轉(zhuǎn)發(fā)router(config)#router rip;啟動(dòng) RIP 路由協(xié)議。router(config-router)#network ;設(shè)置發(fā)布路由 router(config-router)#negihbo
23、r ;點(diǎn)對(duì)點(diǎn)幀中繼用。幀中繼命令:router(config)#frame-relay switching ;使能幀中繼交換 router(config-s0)#encapsulation frame-relay ;使能幀中繼 router(config-s0)#fram-relay lmi-type cisco ; 設(shè)置管理類型router(config-s0)#frame-relay intf-type DCE ;設(shè)置為 DCE router(config-s0)#frame-relay dlci 16;router(config-s0)#frame-relay local-dlci 20
24、;設(shè)置虛電路號(hào)router(config-s0)#frame-relay interface-dlci 16;router(config)#log-adjacency-changes ; t己錄令B接變化 router(config)#int S0/0.1 point-to-point ;設(shè)置子接口點(diǎn)對(duì)點(diǎn) router#show frame pvc ;顯示永久虛電路router#show frame map顯示映射基本訪問(wèn)控制列表router(config)#access-list permit|deny router(config)#interface ; default:deny any
25、router(config-if)#ip access-group in|out ; default:out例1 :router(config)#access-list 4 permit router(config)#access-list 4 deny 55router(config)#access-list 4 permit 55router(config)#access-list 4 deny 55router(config)#access-list 4 permi
26、t anyrouter(config)#int f0/0router(config-if)#ip access-group 4 in擴(kuò)展訪問(wèn)控制列表:access-list permit|deny icmpwild>typeaccess-list permit|deny tcpwild>port例3:router(config)#access-list 101 deny icmp any echorouter(config)#access-list 101 permit ip any anyrouter(config)#int s0/0route
27、r(config-if)#ip access-group 101 in例3:router(config)#access-list 102 deny tcp any eq 80 router(config)#access-list 102 permit ip any any router(config)#interface s0/1router(config-if)#ip access-group 102 out刪除訪問(wèn)控制例表:weswitLofsrenfVd-n. -t-deeaeai-Pinowasa"Jm.souy-tdw,一-T.aimre
28、.":":-,;.“:”、,,、*;”":;:".":,"gawioeir:.cdsTrnve.-sre”:.-far:.:.0"""-9*,.""."-.*:j&o,St:":"Z«g"""."."""gO"h”d.“.e"»ray-:”:”:4-.“56,工,一"*:'0".不3,1.0::.vuann-*&
29、quot;:.4=1.0"-.5-r".*:.:”.rniaeFemai .“b:+w"o.-*-,*“£:、>=""""=:*"."n' eneg ,二9gp;y.emb:s=,.d"T.-g"e.uo=maof",",f0,:*,"-":."& on”"a.eT0:“"ef":Kan;"m:a-.、”".".ed.wcnt,sTsa*,:c
30、:"d;:.arex、.”s a-.Officeat a al eves -d.sbo-.ea ly a . .pra n bass for sane ".” ei - aios sa“g、f “e.e-e. dve is . t . an. -d cl -ma-s s t. -eoft. .-Oumet re meet. - pa szesis sill>g ecnm-cosr A-site or.,e-Ade. t pepeoieest pe-to. * t. .eve Mus be vey . .bu -.siset w. sh.-. .eve bbstegt
31、he . cetaz. . sr. -mm.-t . of-t.- Go- .”ais . ok se .tet. ta .sab. of -oe - bes wrk .fimpra.t fibs, mae . t I a th. ,_swr . is a bsl . y -. es-e tla ". .a” is .-wleahistory -m.i. .a”. Yea book . .f is3.fa s afer -. brums, .a. a s ha. maag .a-sa-. taw.se -.s-aly.ps .f archive, . . - a-i .rvae et
32、e Iri-s -. . a .-. 3v . *m”-I of .e-r.- m.as.f 2.". a. .ew the sa-a. a. sa 4.i.sis ., wil beao. sro.g sr o.g ef. -.- of sevie maaeme.t. Oie wor-rs is s., mt the - .re a . . maeia a._ 1.O.e isto - ., st - .omym”. -I - ,oe, .f marke m-ha .is -el.a ofmarkei-ti. a. so-abzai. ofbgit-sev -s. A .here
33、ttei.si-i.aiai.si -s ma. et,- a bls a. imp ma. e.t ss-. troby ma .a.me.t ss-s heal "a.- e .t .sems,-ity.s-s ma. e .t ss-. ste. a.0-a ,mateia s io. ta.、-. we a.0 . - - . _ . . . . .一 > 1 _ _ . . . I _ - - 1. .-J .一 “一.一 一 ”一 一 ”. . . 一 . > . ” 一 . .一 . . . . 一 _. J router(config)#no access
34、-list 102 router(config-if)#no ip access-group 101 in 路由器的nat配置Router(config-if)#ip nat inside ;當(dāng)前接口指定為內(nèi)部接口Router(config-if)#ip nat outside ;當(dāng)前接口指定為外部接口Router(config)#ip nat inside source static p < 私有 IP>公網(wǎng) IP> portRouter(config)#ip nat inside source static Router(config)
35、#ip nat inside source static tcp 80 80Router(config)#ip nat pool p1 0 Router(config)#ip nat inside source list 1 pool p1Router(config)#ip nat inside destination list 2 pool p2Router(config)#ip nat inside source list 2 interface s0/0 overloadRouter(con
36、fig)#ip nat pool p2 type rotaryRouter#show ip nat translationrotary參數(shù)是輪流的意思,地址池中的IP輪流與NAT分配的地址匹配。overload參數(shù)用于PAT將內(nèi)部IP映射到一個(gè)公網(wǎng)IP不同的端口上。外部網(wǎng)關(guān)協(xié)議配置:routerA(config)#router bgp 100routerA(config-router)#network routerA(config-router)#neighbor remote-as 200配置
37、PPP驗(yàn)證:RouterA(config)#username passwordRouterA(config)#int s0RouterA(config-if)#ppp authentication chap|pap3. PIX防火墻命令Pix525(config)#nameif ethernet0 outside security0 ;命名接口和級(jí)別Pix525(config)#interface ethernet0 auto ;設(shè)置接 口方式Pix525(config)#interface ethernet1 100full ;設(shè)置接 口方式Pix525(config)#interface
38、ethernet1 100full shutdownPix525(config)#ip address inside Pix525(config)#ip address outside 52Pix525(config)#global (if_name) natid ip-ip ;定義公網(wǎng) IP 區(qū)間Pix525(config)#global (outside) 1 -5;例句Pix525(config)#global (outside) 1 ;例句Pix
39、525(config)#no global (outside) 1 ;去掉設(shè)置Pix525(config)#nat (if_name) nat_id local_ip netmark 0.Pr-ie . Jiaa o. wkr. ortthis ya "ie .- - 7 . owh, 2% low er ta a styea.9.% , b- i .8 wk ate 'rksta-ds、-. is to - teof So-ieys - . . - - is prooe - a. .a .ove.i. ht. T te. peple ifyo-sta. i
40、s po.sble to to t his se- o. T hfe, w te.ee a. - bb>. histori -al -.Hi. we ae e_e ste .ew-eta ofam.people ,.,-. e.sof i sto le. t of-a -rs ta-tveyweiw"ueo>m:Vdin-"" fasaa .”4.s=re"dw,-t."l g .m;'.d 'rraei.deit e-ut. .f j"k;rWSheo.ceww.,o,rT":iaW"
41、ad"Sa'、Oe:or. m»“-T":*.:,."'“”:".o:of,:w,.'!niy.";,'0.a-rd'gt.gOhe': .ugtt.:me. o., kas.osgb,3.:.:,",pKOfmsdud.ft.bugraviay.a.n'ca-ceesmugg-fstxd-dnoc.y-"2:fomp.Tv-etaca*,d.gOs:.vunn-e.g *":.;:="百”=.>“.*:.一:”.”:"::
42、".o,m,w”,a-*w。*-,£:、>=3.biea : ;=:.“"ns enee,二eng”,*.,.,o :“.d ss"m._t;"e.e.sOe=maofi'AnriO:.,:1:1“”3”:“:.”*.*:.":0:“"-'-,.lz”:;1:一"" .ed.wcnt'safsa*,:*;*頤otiewee-u,":;:.、¥.:4”.”s al a.i.v. -.". ly . . ." b.s sr. a,. sa"g "nr".".-. dv. s.a t . . . -a. d Hum. s s t. -ot. .-Ou .". - *,s sl
溫馨提示
- 1. 本站所有資源如無(wú)特殊說(shuō)明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請(qǐng)下載最新的WinRAR軟件解壓。
- 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請(qǐng)聯(lián)系上傳者。文件的所有權(quán)益歸上傳用戶所有。
- 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁(yè)內(nèi)容里面會(huì)有圖紙預(yù)覽,若沒(méi)有圖紙預(yù)覽就沒(méi)有圖紙。
- 4. 未經(jīng)權(quán)益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
- 5. 人人文庫(kù)網(wǎng)僅提供信息存儲(chǔ)空間,僅對(duì)用戶上傳內(nèi)容的表現(xiàn)方式做保護(hù)處理,對(duì)用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對(duì)任何下載內(nèi)容負(fù)責(zé)。
- 6. 下載文件中如有侵權(quán)或不適當(dāng)內(nèi)容,請(qǐng)與我們聯(lián)系,我們立即糾正。
- 7. 本站不保證下載資源的準(zhǔn)確性、安全性和完整性, 同時(shí)也不承擔(dān)用戶因使用這些下載資源對(duì)自己和他人造成任何形式的傷害或損失。
最新文檔
- 跨國(guó)公司采購(gòu)成本分析與成本控制策略
- 工人聘用合同(30篇)
- 運(yùn)動(dòng)愛(ài)好者營(yíng)養(yǎng)補(bǔ)充的個(gè)性化方案研究
- 金融科技背景下的企業(yè)財(cái)務(wù)報(bào)告變革與成本控制策略調(diào)整
- 跨文化交流中的英語(yǔ)寫作策略
- 鮑集中心小學(xué)體育大課間活動(dòng)方案
- 廣東2025年01月廣州市荔灣區(qū)嶺南街道市容環(huán)境衛(wèi)生管理站招考2名財(cái)務(wù)人員筆試歷年典型考題(歷年真題考點(diǎn))解題思路附帶答案詳解
- 互聯(lián)網(wǎng)房地產(chǎn)案例主題典型數(shù)字技術(shù)簡(jiǎn)介課件
- 跨區(qū)域疫情下的社會(huì)心理干預(yù)措施
- 購(gòu)物中心智慧化客戶數(shù)據(jù)分析與應(yīng)用
- 博覽會(huì)展位裝修及布展投標(biāo)方案技術(shù)標(biāo)
- 顧客提問(wèn)的問(wèn)題100條
- 肝膿腫教學(xué)查房課件
- 跳繩之雙腳跳教案
- 拇外翻護(hù)理課件
- 六年級(jí)英語(yǔ)教學(xué)隨筆5篇
- 物資管理工作流程圖
- 讀書分享交流會(huì)《從一到無(wú)窮大》課件
- 蘇教版六年級(jí)下冊(cè)綜合實(shí)踐活動(dòng)計(jì)劃及全冊(cè)教案
- 醫(yī)療器械可用性工程文檔
- GB/T 24475-2023電梯遠(yuǎn)程報(bào)警系統(tǒng)
評(píng)論
0/150
提交評(píng)論