




已阅读5页,还剩51页未读, 继续免费阅读
版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
开放链路最短优先 Open Shortest Path First,深圳职业技术学院计算机系网络专业,链路状态协议(Link-State Protocols),OSPF概述(OSPF Overview),分层设计(Hierarchical Design ),1.大的OSPF网络采用分层设计,所有区域连接到主干区域。 Large OSPF networks use a hierarchical design. Multiple areas connect to a distribution area, area 0, also called the backbone. 2.好处(benefit): (1)减少路由更新(reduces routing overhead) (2) 加速收敛(speeds up convergence) (3)限制不稳定到一个区域(confines network instability to an area ) (4)提高网络性能(improves performance),OSPF术语(OSPF Terminology),OSPF数据包类型(OSPF Packet Types),OSPF数据包头格式 (OSPF Packet Header Format),OSPF操作(OSPF Operation),1. 建立邻接关系 Establish router adjacencies 2. 必要的进行DR选举 Elect the DR / BDR ( if necessary ) 3. 发现路由 Discover routes 4.选择相应的路由 Select appropriate routes 5. 维护路由信息 Maintain routing information,邻居关系(Neighborship),*标记的在邻居路由器上必须匹配,建立双向通信 (Establishing Bidirectional Communication),建立双向通信 (Establishing Bidirectional Communication),建立双向通信 (Establishing Bidirectional Communication),建立双向通信 (Establishing Bidirectional Communication),查找网络路由 (Discovering the Network Routes),查找网络路由 (Discovering the Network Routes),增加链路状态条目 (Adding the Link-State Entries),增加链路状态条目 (Adding the Link-State Entries),增加链路状态条目 (Adding the Link-State Entries),维护路由信息 (Maintaining Routing Information),路由器用224.0.0.6通知DR Router A notifies all OSPF DRs on 224.0.0.6,维护路由信息 (Maintaining Routing Information),DR利用组播地址224.0.0.5通知其它路由器 DR notifies others on 224.0.0.5,维护路由信息 (Maintaining Routing Information),维护路由信息 (Maintaining Routing Information),维护路由信息 (Maintaining Routing Information),OSPF网络类型(OSPF Network Types),Frame Relay X.25,广播Broadcast Multiaccess,非广播Nonbroadcast Multiaccess,点到点Point-to-Point,点到多点Point-to-Multipoint,点到点链路(Point-to-Point Links),1.不进行DR选举 No DR or BDR election required 2. OSPF自动检测这种接口类型 OSPF autodetects this interface type,广播型多路访问网络 (Multiaccess Broadcast Network),1.进行DR选举 DR and BDR selection required 2.邻居只与DR和DBR形成邻接关系 All neighbor routers form full adjacencies with the DR and BDR only,选举DR和BDR(Electing the DR and BDR),1.最高接口优先级的路由器被选成DR The router with the highest OSPF priority is selected as the DR. 2.最高路由器ID的路由器被选举成DR Use the OSPF router ID as the tie breaker. 3.DR选举不具有抢占性 The DR election is nonpreemptive.,设置接口优先级(Setting Interface Priority),ip ospf priority number,1. 不同的接口可以指定不同的值 Different interfaces on a router may be assigned different values. 2. 接口优先级默认为1,取值范围是0-255 The default priority is 1. The range is from 0 to 255. 3. 接口优先级为0表示不参加DR选举 0 means the router is a DROTHER; it cant be the DR or BDR.,Router(config-if)#,router ospf process-id,Router(config)#,启动路由进程 Turns on one or more OSPF routing processes,OSPF基本配置(Configuring Basic OSPF),network address inverse-mask area area-id,Router(config-router)#,用network命令ospf运行的接口,并将网络指定到特定的区域 Router OSPF subordinate command that defines the interfaces (by network number) that OSPF will run on. Each network number must be defined to a specific area.,OSPF配置实例(Configuring OSPF Example),验证ospf配置(Verifying OSPF Operation),show ip protocols Show ip ospf neighbor Show ip ospf database Show ip route Show ip ospf Show ip ospf interface Debug ip ospf adj Debug ip ospf event,确定OSPF路由器ID(OSPF Router ID),1. 通过router-id命令指定的最为优先 An OSPF router-id command can override OSPF router ID. 2. 最高的环回接口地址次之 A loopback interface can override OSPF router ID. It is the highest IP address of any active loopback interface. 3. 最后是最高活动的物理接口的IP地址 the router ID is the highest IP address on an active interface at the moment of OSPF process startup. 为了稳定,命令或环回接口被推荐 The loopback or router-id command is recommended for stability.,环回接口(Loopback Interfaces),interface loopback 0,ip address 172.16.17.5 255.255.255.255,如果ospf路由进程已经启动,必须重新清除ospf进程,新的路由器ID才生效。 If the OSPF process is already running, the OSPF process must be cleared before the new router-id command will take effect.,Router(config)#,Router(config-if)#,router-id ip-address,这是路由进程下的子命令 This command is subordinate to the router-id ospf command. 用clear ip ospf process 命令可以使得配置生效。 If this command is used on an OSPF process that is already active, then the new router ID is used at the next reload or at a manual OSPF process restart using the clear ip ospf process command.,OSPF router-id 命令 (OSPF router-id command),router ospf 1,router-id 172.16.1.1,Router(config-router)#,Router(config-if)#,Router(config-router)#,显示路由器ID(OSPF Router ID Verification),RouterA# show ip ospf Routing Process “ospf 1“ with ID 1.1.3.1 Supports only single TOS(TOS0) routes SPF schedule delay 5 secs, Hold time between two SPFs 10 secs Number of DCbitless external LSA 0 Number of DoNotAge external LSA 0 Number of areas in this router is 1. 1 normal 0 stub 0 nssa Area BACKBONE(0) (Active) Number of interfaces in this area is 2 Area has no authentication SPF algorithm executed 10 times Area ranges are Link State Update Interval is 00:30:00 and due in 0:07:16 Link State Age Interval is 00:20:00 and due in 00:07:15 Number of DCbitless LSA 0 Number of indication LSA 0 Number of DoNotAge LSA 0,配置OSPF计时器(Configuring OSPF Timers),OSPF计时器在接口下配置,配置OSPF认证 (Configuring OSPF Authentication ),维护大的OSPF网络的问题 (Issues with Maintaining a Large OSPF Network),解决方案:OSPF分层路由 (The Solution: OSPF Hierarchical Routing),OSPF路由器类型(Types of OSPF Routers),OSPF路由器类型(Types of OSPF Routers),OSPF路由器类型(Types of OSPF Routers),OSPF路由器类型(Types of OSPF Routers),OSPF路由器类型(Types of OSPF Routers),OSPF路由的类型(Types of Routes),E1和E2路由 cost计算 (Calculating Costs for E1 and E2 Routes),E1和E2路由 cost计算 (Calculating Costs for E1 and E2 Routes),area area-id range address mask,Router(config-router)#,Consolidates inter-area (IA) routes on an ABR,配置路由汇总 (Configuring Route Summarization),summary-address address mask not-advertise tag tag,Router(config-router)#,Consolidates external routes, usually on an ASBR,在ABR配置路由汇总实例 (Route Summarization Configuration Example at ABR),在ASBR配置路由汇总实例 (Route Summarization Configuration Example at ABSR),RIPv2必须重分布进OSPF RIPv2 must be redistributed into OSPF,OSPF中默认路由(Default Routes in OSPF),default-information originate al
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 电缆工考试题及答案
- 登高证考试题及答案
- (正式版)DB15∕T 3226-2023 《液化天然气单位产品电耗限额》
- 多平台用户信息整合工具
- 养老护理实操考试试题库及答案
- 大学民歌考试题及答案
- 文化传播推广效果承诺书5篇
- 往日的点烁星光の我愿意一生都在歌唱300字10篇
- 内部协作规定协议的指导
- 公司员工职业发展规划与指导手册
- 2025年新疆维吾尔自治区中考物理真题含答案
- 数字健康行为干预-第1篇-洞察及研究
- 2025至2030年中国核辐射探测器行业市场行情监测及前景战略研判报告
- 酒类小作坊管理制度
- 中国皮肤基底细胞癌诊疗指南2023
- 党性主题教育理论测试题及答案
- T/CECS 10348-2023一体化净水设备
- 骨科与麻醉科加速康复围手术期患者血液管理共识
- 打造卓越电信网络-优化技术引领业务增长
- 《医疗机构工作人员廉洁从业九项准则》解读
- 设备维护保养与维修操作手册
评论
0/150
提交评论