首页文章正文

ospf路由汇总的命令,路由命令

多区域ospf配置实例 2023-11-25 19:18 239 墨鱼
多区域ospf配置实例

ospf路由汇总的命令,路由命令

ospf路由汇总的命令,路由命令

ospfisalinkstateprotocolthatdoesnotautomaticallysummary.ifitisamanualsummary,justdisableit.2.Onlyroutesinthedirectlyconnectedareacanbesummarized(即,routesinthereacanbesummarized).ExperimentwithR2,image.pngsummarybeforesummaryTherouteincommand172.isanarea1route.Weneedtodoaroutesummaryexperimentinarea1,[R2-ospf-1-区域-0.0.0

1.掌握OSPF外部路由摘要配置。 2.区分外部汇总路由。 3.掌握OSPF的外部汇总路由类型及计算方法。 实验拓扑图:实验步骤及要求:1、配置各路由器的IP地址,并使用Ping命令确认各路由器的直连。1、通过routesummaryofospf,可以减少路由器的路由表。 ospfroutesummary只能在ABR(AreaBorderRouter)和ASBR(AutonomousSystemBorderRouter)上进行。ABR汇总ospf域内的路由,ASBR汇总ospf域外的路由。

1.1在ABR上执行路由汇总。在R3上的区域2中执行路由汇总(ABR):R3(config)#routerospf1R3(config-router)#area2range172.16.0.0255.255.0.0cost?请注意,此OSPF有两种汇总方法:区域间汇总:在ABR上执行区域间汇总。命令在ospf进程下,area1range192.168.20.025.255.252.0Inter -areasummary演示以如下拓扑图为例进行R1配置:R1>enR1#conftR1

aliasexeccr1clearline33赋予命令别名特权execlevel0clearline将命令clearline的级别更改为0,您也可以在用户模式下执行bannermotd设置用户登录路由4.ClearandrestarttheospfprocessRouter#clearipospfprocess5.OSPFlatedshowanddebug1.Router#showipospf显示OSPFrouterID、OSPFtimer和LSA信息2.Router#s

5.RouterID选择规则选择路由器环回接口上数值最高的IP地址。如果没有环回接口,也可以使用outer-id命令选择物理端口中最高的IP地址。Step1:ImportexternalrouteintLookBack//进入虚拟接口lookback:localloopbackinterfaceimport-routerdirect//引入外部路由Step3:配置摘要信息ospf1router-ionASBR

后台-插件-广告管理-内容页尾部广告(手机)

标签: 路由命令

发表评论

评论列表

快喵加速器 Copyright @ 2011-2022 All Rights Reserved. 版权所有 备案号:京ICP1234567-2号