ospf路由协议配置实例内容摘要:

col ppp 封装 ppp 协议 [RouterSerial0] ip address 配置串口 IP 地址 [RouterSerial0] ospf enable area 接口使能 ospf,属于 1 域 ! [Router] interface Serial1 进入串口 0 口;连 Router A [RouterSerial1] linkprotocol ppp 封装 ppp 协议 [RouterSerial1] ip address 配置串口 IP 地址 [RouterSerial1] ospf enable area 接口使能 ospf,属于 0 域 ! quit [Router] ospf enable 使能 ospf [Routerospf] abrsummary mask area ABR 路由器将 1 域的包含在 ! 【 Router C】 当前路由器提示视图 依次输入的配置命令,重要的命令 红色 突出显示 简单说明 ! 适用版本 : 及 [Router] router id 配置 router id ! [Router] interface Ether0 进入以太 0 口 [Routerether0] ip address 配置内网 IP 地址 [Routerether0] ospf enable area 接口使能 ospf,属于 1 域 ! [Router] interface Ether1 进入以太 1 口 [Routerether1] ip address 配置内网 IP 地址 [Routerether1] ospf enable area 接口使能 ospf,属于 1 域 ! [Router] interface Serial0 进入串口 0 口;连 Router B [RouterSerial0] linkprotocol ppp 封装 ppp 协议 [RouterSerial0] ip address 配置串口 IP 地址 [RouterSerial0] ospf enable area 接口使能 ospf,属于 1 域 ! quit [Router] ospf enable 使能 ospf ! 『注意』 路由聚合只能配置在 ABR 上。 路由聚合对组网也提出了要求:同一非骨干域的网段请尽量连续可聚合。 否则以后网络扩容,维护难度加大很多。 使用 stub区 『需求』 一个 OSPF 自治系统中 ,A,B 运行在 area 0 ,B,C 运行在 area 1,且为 stub 区域 ,B为 ABR router C 引入到 D 的外部路由, area 1 可以去往 D,除 area 1 的其他区域无法访问 D 【 Router A】 当前路由器提示视图 依次输入的配置命令,重要的命令 红色 突出显示 简单说明 ! 适用版本 : 及 [Router] router id 配置 router id ! [Router] interface Ether0 进入以太 0 口 [Routerether0] ip address 配置内网 IP 地址 [Routerether0] ospf enable area 接口使能 ospf,属于 0 域 ! [Router] interface Serial0 进入串口 0 口;连 Router B [RouterSerial0] linkprotocol ppp 封装 ppp 协议 [RouterSerial0] ip address 配置串口 IP 地址 [RouterSerial0] ospf enable area 接口使能 ospf,属于 1 域 ! quit [Router] ospf enable 使能 ospf ! 【 Router B】 当前路由器 提示视图 依次输入的配置命令,重要的命令 红色 突出显示 简单说明 ! 适用版本 : 及 [Router] router id 配置 router id ! 适用版本 : [Router] interface Seria0 进入串口 0 口;连 Router C [RouterSerial0] linkprotocol ppp 封装 ppp 协议 [RouterSerial0] ip address 配置串口 IP 地址 [RouterSerial0] ospf enable area 接口使能 ospf,属于 1 域 ! [Router] interface Serial1 进入串口 0 口;连 Router A [RouterSerial1] linkprotocol ppp 封装 ppp 协议 [RouterSerial1] ip address 配置串口 IP 地址 [RouterSerial1] ospf enable area 接口使能 ospf,属于 0 域 ! quit [Router] ospf enable 使能 ospf [Routerospf] stub cost 60 area 将 1 域配置成为 stub 域 ! 『 Router C』 当前路由器提示视图 依次输入的配置命令,重要的命令 红色 突出显示 简单说明 ! 适用版本 : 及 [Router] router id 配置 router id ! [Router] interface Ether0 进入以太 0 口 [Ro。
阅读剩余 0%
本站所有文章资讯、展示的图片素材等内容均为注册用户上传(部分报媒/平媒内容转载自网络合作媒体),仅供学习参考。 用户通过本站上传、发布的任何内容的知识产权归属用户或原始著作权人所有。如有侵犯您的版权,请联系我们反馈本站将在三个工作日内改正。