华为路由重分布
更新时间:2024-06-26 03:45:01 阅读量: 综合文库 文档下载
一.基本信息配置
system-view //进入系统视图 [H3C]sysname RT3 //为设备命名
[RT3]super password simple H3C //设置超级密码 [RT3]local-user admin //添加用户
[RT3-luser-admin]password simple admin //为用户设定密码 [RT3-luser-admin]service-type telnet //指定用户的类型 [RT3-luser-admin]quit //返回上一级 [RT3]user-interface vty 0 4 //进入vty
[RT3-ui-vty0-4]set authentication password simple telnet //设置远程登陆认证,密码为telnet
[RT3-ui-vty0-4]idle-timeout 5 0 //配置超时退出时间 其它略
二、链路配置及调测 interface Serial0/2/0
ip address 10.1.13.2 255.255.255.252 undo shutdown interface LoopBack0
ip address 3.3.3.3 255.255.255.255 undo shutdown
interface Ethernet0/1/0
ip address 10.1.3.1 255.255.255.0 undo shutdown 其它略
三、OSPF多区域及RIP配置 [RT3]
ospf 1 router-id 3.3.3.3 //配置OSPF ROUTER-ID silent-interface all //配置所有端口为被动接口
undo silent-interface Serial0/2/0 //关闭此接口的被动接口 undo silent-interface Serial0/2/2
area 1 //OSPF区域,可以写成点分十进制 0.0.0.1 network 3.3.3.3 0.0.0.0 //宣告OSPF的网段 network 10.1.13.0 0.0.0.3 network 10.1.3.0 0.0.0.255 [RT1]
ospf 1 router-id 1.1.1.1 silent-interface all
undo silent-interface Serial0/2/0 undo silent-interface Serial0/2/2 area 0
network 10.0.15.0 0.0.0.3 network 1.1.1.1 0.0.0.0 area 1
network 10.1.13.0 0.0.0.3 network 10.1.1.0 0.0.0.255 [RT5]
ospf 1 router-id 5.5.5.5 silent-interface all
undo silent-interface Serial0/2/0 undo silent-interface Serial0/2/2 area 0
network 10.0.15.0 0.0.0.3 network 5.5.5.5 0.0.0.0 network 10.0.5.0 0.0.0.255 network 10.0.56.0 0.0.0.3 [RT6]
ospf 1 router-id 6.6.6.6 silent-interface all
undo silent-interface Serial0/2/0 undo silent-interface Serial0/2/2 area 0
network 10.0.56.0 0.0.0.3 network 6.6.6.6 0.0.0.0 area 2
network 10.2.6.0 0.0.0.255 network 10.2.26.0 0.0.0.3 [RT2]
ospf 1 router-id 2.2.2.2 silent-interface all
undo silent-interface Serial0/2/2 area 2
network 10.2.26.0 0.0.0.3
network 2.2.2.2 0.0.0.0 network 10.2.2.1 0.0.0.255 rip //启动RIP
undo summary //关闭自动汇总 version 2 //RIPV2
network 172.16.0.0 //宣告RIP的网段
silent-interface all //配置所有接口为被动接口
undo silent-interface Serial0/2/3 //将接口不设为被动接口 [RT4] rip
undo summary version 2
network 172.16.0.0 network 4.0.0.0 silent-interface all
undo silent-interface Serial0/2/1 四、OSPF重分布外部路由及下发缺省路由 [RT5] ospf 1 area 0
import-route direct cost 1000 type 2 //重分布直连路由
default-route-advertise always //下发缺省路由 default cost 2000 //指定缺省路由的COST为2000 default type 1 //指定下发的缺省路由为类型1 [RT2] ospf 1 area 2
import-route rip 1 cost 1000 //重分布RIP到OSPF rip
import-route ospf 1 cost 5 //重分布OSPF到RIP 五、OSPF特殊区域配置及路由汇总 [RT3]ospf 1 area 1
stub //配置为STUB区域 [RT1]ospf 1 area 1
stub no-summary //配置完全STUB区域
abr-summary 10.1.0.0 255.255.0.0 //区域内汇总 [RT6]ospf 1 area 2
nssa no-summary //配置完全NSSA区域
abr-summary 10.2.0.0 255.255.0.0 //区域内汇总
[RT2]ospf 1 area 2
nssa //配置NSSA区域
asbr-summary 172.16.0.0 255.255.0.0 cost 1000 //外部路由汇总 六、OSPF虚链路 system-view [Sysname] ospf 100 [Sysname-ospf-100] area 2
[Sysname-ospf-100-area-0.0.0.2] vlink-peer 1.1.1.1 指定对方的ROUTER-ID [Sysname-ospf-100-area-0.0.0.2]vlink-peer 1.1.1.1 md5 10 cipher H3C 虚链路MD5认证
vlink-peer 1.1.1.1 simple cipher H3C 虚链路明文认证 虚链路的另一端也类似配置 display ospf vlink //显示虚链路 七、OSPF认证 [RT1]ospf 1 [RT1ospf-1]area 1
[RT1-ospf-1-area-0.0.0.1]authentication-mode md5 [RT1-ospf-1-area-0.0.0.1]quit [RT1-ospf-1]quit [RT1]int s0/2/0
[RT1-Serial0/2/0]ospf authentication-mode md5 10 cipher H3C
[RT3]ospf 1 [RT3ospf-1]area 1
[RT3-ospf-1-area-0.0.0.1]authentication-mode md5 [RT3-ospf-1-area-0.0.0.1]quit [RT3-ospf-1]quit [RT3]int s0/2/0
[RT3-Serial0/2/0]ospf authentication-mode md5 10 cipher H3C 或是采用明文认证,配置方法与上类似 authentication-mode simple
ospf authentication-mode simple cipher H3C 八、OSPF调测调试命令
display ospf brief //显示OSPF的摘要信息 display ospf cumulative //OSPF的统计信息 display ospf interface //显示OSPF的接口信息 display ospf peer //显示OSPF的邻居信息 display ospf lsdb //显示OSPF的LSDB display ospf routing //显示OSPF的路由信息 display ospf error //显示OSPF的错误信息 reset ospf process //重启OSPF进程 其它命令 int e0/2/0
ospf cost 1000 //修改OSPF的COST值 COST=10的8次方/带宽 ospf network broadcast|nbma |p2mp |p2p //修改OSPF的网络类型 ospf dr-priority 10 //修改接口的优先级,缺省为1 九、H3C与CISCO的路由协议管理距离的区别: CISCO:
H3C:
正在阅读:
华为路由重分布06-26
WLAN试题库全(11含答案)07-08
中国眉毛修剪器行业调研分析报告08-06
江苏省扬州中学教育集团树人学校2015-2016学年度八年级数学上学03-22
出租车资源配置与调度的模型研究08-27
钢结构主体验收自评报告03-23
佛子岭项目总监巡视检查记录本07-29
立式叶滤机优化操作讲义07-07
从材料引用到史料实证03-06
- 人教新课标必修4 Unit2 Working the land名师导航
- 毕业生“校漂族”大行其道 - 0
- 江苏各市中考作文题出炉 - 0
- 暑期精品班 - 三角形 - 图文
- 情人节送什么礼物好??超强礼物已抵达
- 工程项目管理制度1
- 第四次业务学习 2016
- 会计要素与会计科目
- 欠发达地区小企业会计准则运用问题研究
- 一级锅炉水G4题库
- BBD双进双出筒式磨煤机安装使用说明书 SM-1
- 初一数学有理数教案
- 渝北区房地产评估市场调研报告
- iWebMall 数据字典
- 2018年小学入学教育工作计划
- 计量专业实务与案例分析 - 模拟题三 - 2013年版
- 启示录讲义
- 路基灰土改良(方案)
- 人行反洗钱岗位准入培训测试题集
- 2015电大《学前儿童发展心理学》期末试题及答案
- 华为
- 路由
- 分布
- 数控高级证理论试题(有答案)
- 2017水灾事故演练方案..
- 摄像记者在采访工作中的角色定位研究
- 考研英语复习:大小作文模板助你高分
- 设备设施报修、急修工作规范
- stata和sas命令对比
- 工器具消毒管理制度
- 2013级 - 西南大学文学院
- 四年级上册第一单元《大数的认识》课堂笔记
- 05-5 蛋白质的三级结构 - 图文
- 四川省棠湖中学2018-2019学年高二上学期第三次月考数学(理)试
- 《企业会计准则第30号——财务报表列报》
- 《蒸压加气混凝土砌块自保温系统应用技术规程》 - 图文
- 2012年湖北省孝感市中考理科综合试题化学试卷含答案
- 投资管理公司价值链分析
- 西北民间诸神
- 学生沉迷网络不能自拔怎么办
- 国家普通话测试题1-50套
- 各种先进石灰窑的对比
- 新课程标准对第一册的教案