版權(quán)說明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請進行舉報或認(rèn)領(lǐng)
文檔簡介
1、商的基本配置版本v1.0密級開放回內(nèi)部機密類型討論版測試版回正式版修訂記錄修訂日期ikt人版本號審核人修訂說明2012-08-11js俊杰v1.0an derse n多廠商配置_、思科路由:a ip基本配置:router>e nrouter#conf trouter(config)#hostname sp0t0-dx-r1spoto-dx-rl(config)#spoto-dx-rl(config)#interfacefo/lspoto-dx-rl(config-if)#ip address 192.168.166.254 255.255.255.0spoto-dx-rl(config-
2、if)#no shutdownspoto-dx-rl(config-if)#exitb路由配置:spoto-dx-rl(config)#router ospf 100spoto-dx-rl(config-router)#router-id 21.25.97.5spoto-dx-rl(config-router)#network 192.168.166.0 0.0.0.255 area 0spoto-dx-rl(config-router)#network 21.25.97.5 0.0.0.0 area 0spoto-dx-rl(config-router)#exitc遠(yuǎn)程節(jié)里:spoto-dx
3、-rl(config)#enable password espotorlspotodxrl(config)#service password-encryptionspoto-dx-rl(config)#line vty 0 4spoto-dx-rl(config-line)#password tspotorlspoto-dx-rl(config-line)#logi nspoto dx-rl(config-line)#exitd查看信息:spoto-dx-rl#show versionspoto-dx-rl#show ip interface briefspoto-dx-rl#show int
4、erfacespoto-dx-rl#show ip route ospfspoto-dx-rl#show running-config交換:aaccess 配switch>enableswitch#confi tswitch(config)#hostname spoto-s1spoto-sl(config)#vlan 10spoto-sl(config-vlan)#name vlanlo spoto-sl(config-vlan)#exit% applying vlan changes may take few minutes. please wait. spoto-sl(config)
5、#interface vlan 10spoto-sl(config-if)#ip address 192.168.166.252 255.255.255.0 spoto-sl(config-if)#interface f0/3spoto-sl(config-if)#switchport mode accesspoto-sl(config-if)#switchport access vlan 10btrunk 配置:spoto-sl(config-if)#interface fo/24spoto-sl(config-if)#switchport trunk encapsulation dotlq
6、spoto-sl(config-if)#switchport mode trunk spoto-sl(config-if)#switchporttrunk allowed vlan x spoto-sl(config-if)#exit二華為路由:a ip基本配<quidway>system viewquidwaysysname sp0t0-yd-r2sp0t0-yd-r2super password espotor2spoto-yd-r2interface ethernet 0spoto-yd-r2-ethernetoip address 192.168.2.254 255.255
7、.255.0 spoto-yd-r2-ethernetoundo shutdownspoto-yd-r2-ethernetoquitb路由配置: spoto-yd-r2router id x.x.x.xspoto-yd-r2interface ethernaet 0spoto-yd-r2-ethernetoospf enable area 0.0.0.0spoto-yd-r2-ospfquitspoto-yd-r2ospf enablespoto-yd-r2-ospfimport-route direct spoto-yd-r2-ospfnetwork 192.168.2.0 0.0.0.25
8、5c遠(yuǎn)程wi里: spoto-yd-r2 user-interface vty 0 4 spoto-yd-r2-ui-vtyo-4authentication-mode password spotoydr2uivtyo4set authentication-mode password simpletspotor2 spoto-yd-r2-ui-vtyo-4user privilege level 3 spoto-yd-r2-ui-vtyo-4quitd查看信息:spoto-yd-r2display versionspoto-yd-r2display interfacespoto-yd-r2di
9、splay ip routespoto-yd-r2display currentconfigurationspoto-yd-r2display history交換:aaccess酉己置: spoto-s2vlan 10spoto-s2-vlanloquitsp0t0-s2interface ethernet 0/1 spoto-s2-etherneto/lport link-type access spoto-s2-etherneto/lport access vlan 10 spoto-s2-etherneto/lquitbtrunk 配置:spoto-s2interface etherne
10、t 0/2 spoto-s2-etherneto/2port link-type trunk spoto-s2-etherneto/2port trunk permit vlan 10 spoto-s2-etherneto/2port trunk pvid vlan x spoto-s2-etherneto/2quit三、華三路由:a ip基本配置:<h3c>system viewh3csysname spoto-rspoto-rinterface gigabitethernet 1/0/1spoto-r-gigabitethernetl/0/lip addressl92.168.
11、166.254 24spoto-r-gigabitethernetl/0/lundo shutdownspoto-r-gigabitethernetl/0/lquitb路由配置:spoto rospf 12spotorospf12area 0spoto-r-ospf-12-area-0.0.0.0network 192.168.166.0 0.0.0.255spoto-r-ospf-12-area-0.0.0.0silent-interface gi 0/0spoto-r-ospf-12import-routestatitc遠(yuǎn)程節(jié)里: spoto-rsuper password simple
12、espotor 明文密碼,密文可用 cipher 替代 simplespotoruserinterface vty 0 4spotorui-vty04authenticationmode passwordspoto-r-ui-vty04set authentication password tspotor spoto-r-ui-vtyo-4user privilege level 3 spoto-r-ui-vtyo-4quitspoto-rtelnet server enabled查看信息:dirdisplay versi ondisplay vlandisplay current-confi
13、gurationdisplay ip routedisplay usersdisplay interface交換:aaccess酉己置:spoto-svlan 10spoto-s-vlanloport e 0/1 spoto-s-vlanloquit spoto-sinterface ethernet 0/1 spoto-s-etherneto/lport link-type access spoto-s-etherneto/lport access vlan 10btrunk 酉己spoto-s-etherneto/lport link-type trunkspoto-s-etherneto
14、/lport trunk permit vlan 10spoto-s-etherneto/lport trunk pvid vlan 1四、銳捷路由:a ip基本配置:router >enablerouter#configure terminalrouter(config)#interface f0/lrouter(config-if)#ip address 192.168.166.253 255.255.255.0router(config-if)#no shutdownb路由配置:router(config)#router ospf 1router(config-router)#ne
15、twork 192.168.166.0 0.0.0.255 area 0router(c on fig-router)#e ndc遠(yuǎn)程ws :router(config)#enable password espotorlrouter(config)#service password-encryptionrouter(config)#line vty 0 4router(config-line)#password tspotorl router(config-line)#loginrouter(c on fig-li ne)#exitd查看信息:show versi onshow ip inte
16、rface briefshow in terface fa 0/1show running-configshow ip route交換:aaccess酉己置:switch >e nableswitch#confi tswitch(c onfig)# host name sisl(config)#sl(config)#vla n 10sl(config-vlan)#name vlanlosl(c on fig-vla n)#exitsl(config)#interface vlan 10sl(config-if)#ip address 192.168.166.252 255.255.255
17、.0sl(config-if)#interface f0/3sl(config-if)#switchpot mode accesssl(config-if)#switchport access vlan 10btrunk 酉己sl(config)#interface eo/2sl(config-if)#switchport mode trunk五、juniper路由:a ip基本配root%cliroot>editentering configuration modeeditroot#set system host-name spoto-junoseditroot#commitcommi
18、tcompleteeditrootspoto-junos#edit interfaceedit interfacerootspoto-junos#setemo unit 0 family inet address 192.168.166.252/24edit interfacerootspoto-junos#setloo unit 0 family inet address 21.99.67.55/32edit in terfacerootspoto-junos#exiteditrootspoto-junos#commit b路由配置:rootspoto-junos#set logical-r
19、outers rl protocols ospf area 0 in terface emoeditrootspoto-junos#c遠(yuǎn)程w® : editrootspoto-junos#edit system loginedit system loginrootspoto-junos#setuser kiss class super-user authentication plan-text-password newpassword:retype new password:edit system login rootspoto-junos#top editrootspoto-jun
20、os#edit system servicesedit system servicesrootspoto-junos#setssh protocol-version v2 edit system services rootspoto-junos#commit commitcompleteedit system services rootspoto-junos#settelnetd查看信息:rootspoto-ju no s>showversio n rootspoto-junos>showroute terse rootspoto-juno s>showc on figura
21、ti on rootspoto-junos #showlogical-routers rootspoto-junos #showinterfaces交換:aaccess 配editrootspoto-junos#set vlans vlanlo vlan id 10editrootspoto-junos#set interface fe-0/1 unit 0 family ethernet-switching port-mode access editrootspoto-junos#set interface fe0/l unit 0 family ethernet-switching vla
22、n members 10btrunk 酉己editrootspoto-junos#set interface feo/l unit 0 family ethernet-switching port-mode trunk editrootspoto-junos#set interface fe-0/1 unit 0 family ethernet-switching vlan members all六.邁普 路由:a ip基本配置:router>e nablerouter#configure terminalrouter(config)#hostname maipumaipu(config
23、)#interface fastethernetomaipu(config-if-fastetherneto)#ip add 192.168.2.252 255.255.255.0b路由配置:maipu(config)#router ospf 100maipu(config-router)#network 192.168.2.0 0.0.0.255 area 0c遠(yuǎn)程ws :maipu(config)#aaa new-modelmaipu(config)#aaa authentication login default local enable nonemaipu(config)#user s
24、poto password 0 espotomaipu(config)#line vty 0 4maipu(config-line)#login locald查看信息:maipu#show versionmaipu#show ip routemaipu#show interfacemaipu#show cpumaipu#show memorymaiou#show running-config交換:aaccess酉己置:maipu(config)#vlan 801maipu(config-vlan801)#exitmaipu(config)#port 0/0/2maipu(config-port
25、-0/0/2)#port access vlan 801maipu(config-port-0/0/2)#port-type nnibtrunk 酉己maipu(config)#interface ethernetl/o/lmaipu(config-if-ethernetl/0/l)#switchport mode trunk maipu(config-if-ethernetl/0/l)#exit七、redback路由:a ip基本配置:localse800>enablelocalse800#configurationlocalse800(config)#context localloc
26、alse800(config-ctx)#interface tospoto-rllocalse800(config-if)#ip add 21.98.65.21/30localse800(config-if)#commitlocalse800(config)#port ethernet 1/1localse800(config-port)#no auto-negotiatelocalse800(config-port)#no shutdownlocalse800(config-port)#bind interface tospoto-rl locallocalse800(config-port
27、)#commitb路由配置:localse800(config)#context locallocalse800(config-ctx)#router-id x.x.x.xlocalse800(config-ctx)#interface ipl loopbacklocalse800(config-if)#ip address x.x.x.x/32localse800(config-if)#ip source-address snmp sysloglocalse800(config-ctx)#router ospf 1localse800(config-ospf)#auto-cost refer
28、ence-bandwidth 80000 localse800(config-ospf)#log-neighbor-up-downlocalse800(config-ospf)#area 0.0.0.0localse800(config-ospf-area)#interface tospoto-rllocalse800(config-ospf-interface)#networktype point-to-point localse800(config-ospf)#redistribute connected metric 20metric-type 1c遠(yuǎn)程ws :localse800(co
29、nfig)#system hostname spoto-rlocalspoto-r(config)#context locallocalspoto-r(config-ctx)#enable password espotorlocalspoto-r(config-ctx)#service sshlocalspotor(configctx)#administrator spoto password se800pt localspoto-r(config-admin)privil start 10localspoto-r(config-admin)privil max 15ip accesslist admin-acldescription this is a sample
溫馨提示
- 1. 本站所有資源如無特殊說明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請下載最新的WinRAR軟件解壓。
- 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請聯(lián)系上傳者。文件的所有權(quán)益歸上傳用戶所有。
- 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁內(nèi)容里面會有圖紙預(yù)覽,若沒有圖紙預(yù)覽就沒有圖紙。
- 4. 未經(jīng)權(quán)益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
- 5. 人人文庫網(wǎng)僅提供信息存儲空間,僅對用戶上傳內(nèi)容的表現(xiàn)方式做保護處理,對用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對任何下載內(nèi)容負(fù)責(zé)。
- 6. 下載文件中如有侵權(quán)或不適當(dāng)內(nèi)容,請與我們聯(lián)系,我們立即糾正。
- 7. 本站不保證下載資源的準(zhǔn)確性、安全性和完整性, 同時也不承擔(dān)用戶因使用這些下載資源對自己和他人造成任何形式的傷害或損失。
最新文檔
- 2024年度年福建省高校教師資格證之高等教育心理學(xué)高分通關(guān)題型題庫附解析答案
- 山西省煤礦建設(shè)六個標(biāo)準(zhǔn)目錄3篇
- 高三綜評自我陳述報告
- 期貨入門知識
- 地板磚買賣協(xié)議2024年
- 2024商業(yè)借款保障協(xié)議規(guī)范
- 新人教版數(shù)學(xué)第二十五章-概率初步全章教學(xué)設(shè)計
- 2024年制定商品銷售返購協(xié)議樣例
- 2024年度房產(chǎn)項目融資安排協(xié)議
- 2024年化建筑工程施工承包協(xié)議
- 地球儀與地圖七年級上冊 科學(xué)知識精講與典例提升 (浙教版)
- 國家職業(yè)類別1-6類明細(xì)表
- 三級醫(yī)院急診科護理質(zhì)量評價標(biāo)準(zhǔn)
- 小學(xué)、幼兒園與屬地衛(wèi)生醫(yī)療部門聯(lián)動機制集合9篇
- 2023春國開電大《實用管理基礎(chǔ)》形考任務(wù)1-4參考答案
- 工商銀行全國地區(qū)碼
- 纖支鏡檢查知情同意書
- 社保信息變更申請表模板
- 動土作業(yè)安全培訓(xùn)考試
- 昭蘇盛泉煤礦初步設(shè)計說明書
- GMP質(zhì)量管理體系文件 中藥材揀選SOP
評論
0/150
提交評論