




版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
1、商的基本配置版本v1.0密级开放回内部机密类型讨论版测试版回正式版修订记录修订日期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远程節里: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远程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远程節里: 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远程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远程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远程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远程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. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 车贷反担保业务风险防范与处理协议
- 2025年综合类-内分泌学(医学高级)-下丘脑垂体疾病历年真题摘选带答案(5套单选100题合辑)
- 2025年综合类-儿科专业知识-小儿结核病历年真题摘选带答案(5套单选100题合辑)
- 2025年综合类-临床医学检验技术(士)-厌氧菌历年真题摘选带答案(5卷单选题百道集合)
- 2025年综合类-临床医学检验-临床基础检验历年真题摘选带答案(5套单选100题合辑)
- 2025年综合类-中级水路运输-运输企业资产评估历年真题摘选带答案(5套单选100题合辑)
- 2025年综合类-中学化学(初级)-第二章 初中化学学习评价历年真题摘选带答案(5卷单选题百道集合)
- 2025年综合类-中医诊断学-第九单元气血津液辨证历年真题摘选带答案(5卷单选题百道集合)
- 山东小型水库管理办法
- 2025年综合类-中医基础理论-第九单元精、气、血、津液、神历年真题摘选带答案(5卷单选题百道集合)
- 《2025版防范电信网络诈骗宣传手册》专题讲座
- 枣庄机场建设投资有限公司招聘笔试真题2024
- Q-GDW 10831.1-2025 飞行器展放初级导引绳施工工艺导则第1部分:多旋翼无人机
- 密码使用安全管理制度
- 城市语言环境下的规划与设计
- T/CNCA 039-2022车用甲醇汽油(M15)用改性甲醇
- 肿瘤患者饮食管理要点
- DBJ50T-512-2025 老旧小区消防安全评估标准
- 村干部考公务员试题及答案
- 塔式起重机无人驾驶系统应用技术标准
- 药品销量保量协议书
评论
0/150
提交评论