这是关于一个hub-spock的ospf加帧中继的配置,默认为ospf的NBMA网络类型:

网络拓扑我放在附件里了。

R1:
R1#show run    
Building configuration...

Current configuration : 1371 bytes
!
upgrade fpd auto
version 12.4
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname R1
!
boot-start-marker
boot-end-marker
!
logging message-counter syslog
!
no aaa new-model
ip source-route
ip cef
!
!
!
!
no ip domain lookup
no ipv6 cef
!
multilink bundle-name authenticated
!
!
voice dsp waitstate 0
!
!
!
!
!
!
!
!
!
!
!
!
!
memory-size iomem 0
archive
 log config
  hidekeys
!
!
!
!
!
!
!
!
!
interface Loopback0
 ip address 1.1.1.1 255.255.255.0
!
interface FastEthernet0/0
 no ip address
 shutdown
 duplex half
!
interface Serial1/0
 ip address 192.168.1.1 255.255.255.0
 encapsulation frame-relay
 serial restart-delay 0
!
interface Serial1/1
 no ip address
 shutdown
 serial restart-delay 0
!
interface Serial1/2
 no ip address
 shutdown
 serial restart-delay 0
!
interface Serial1/3
 no ip address
 shutdown
 serial restart-delay 0
!
router ospf 1
 log-adjacency-changes
 no auto-cost
 network 1.1.1.1 0.0.0.0 area 0
 network 192.168.1.1 0.0.0.0 area 0
 neighbor 192.168.1.2
 neighbor 192.168.1.3
!
ip forward-protocol nd
no ip http server
no ip http secure-server
!
!
!
logging alarm informational
!
!
!
!
!
!
!
control-plane
!
!
!
mgcp fax t38 ecm
!
!
!
!
gatekeeper
 shutdown
!
!
line con 0
 exec-timeout 0 0
 logging synchronous
 stopbits 1
line aux 0
 stopbits 1
line vty 0 4
 login
!
end

FR:

FR#show run
Building configuration...

Current configuration : 1496 bytes
!
upgrade fpd auto
version 12.4
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname FR
!
boot-start-marker
boot-end-marker
!
logging message-counter syslog
!
no aaa new-model
ip source-route
ip cef
!
!
!
!
no ip domain lookup
no ipv6 cef
!
multilink bundle-name authenticated
frame-relay switching
!
!
voice dsp waitstate 0
!
!
!
!
!
!
!
!
!
!
!
!
!
memory-size iomem 0
archive
 log config
  hidekeys
!
!
!
!
!
!
!
!
!
interface FastEthernet0/0
 no ip address
 shutdown
 duplex half
!
interface Serial1/0
 no ip address
 encapsulation frame-relay
 serial restart-delay 0
 frame-relay intf-type dce
 frame-relay route 103 interface Serial1/2 301
 frame-relay route 104 interface Serial1/3 401
!        
interface Serial1/1
 no ip address
 shutdown
 serial restart-delay 0
!
interface Serial1/2
 no ip address
 encapsulation frame-relay
 serial restart-delay 0
 frame-relay intf-type dce
 frame-relay route 301 interface Serial1/0 103
!
interface Serial1/3
 no ip address
 encapsulation frame-relay
 serial restart-delay 0
 frame-relay intf-type dce
 frame-relay route 401 interface Serial1/0 104
!
interface POS2/0
 no ip address
 shutdown
!        
ip forward-protocol nd
no ip http server
no ip http secure-server
!
!
!
logging alarm informational
!
!
!
!
!
!
!
control-plane
!
!
!
mgcp fax t38 ecm
!
!
!
!        
gatekeeper
 shutdown
!
!
line con 0
 exec-timeout 0 0
 logging synchronous
 stopbits 1
line aux 0
 stopbits 1
line vty 0 4
 login
!
end

R3:
R3#show run
Building configuration...

Current configuration : 1333 bytes
!
upgrade fpd auto
version 12.4
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname R3
!
boot-start-marker
boot-end-marker
!
logging message-counter syslog
!
no aaa new-model
ip source-route
ip cef
!
!
!
!
no ip domain lookup
no ipv6 cef
!        
multilink bundle-name authenticated
!        
!        
voice dsp waitstate 0
!        
!
!
!
!
!
!
!
!
!
!
!
!
memory-size iomem 0
archive
 log config
  hidekeys
!
!
!
!
!
!
!        
!
!
interface Loopback0
 ip address 3.3.3.3 255.255.255.0
!
interface FastEthernet0/0
 no ip address
 shutdown
 duplex half
!
interface Serial1/0
 no ip address
 shutdown
 serial restart-delay 0
!
interface Serial1/1
 no ip address
 shutdown
 serial restart-delay 0
!
interface Serial1/2
 ip address 192.168.1.2 255.255.255.0
 encapsulation frame-relay
 ip ospf priority 0
 serial restart-delay 0
!
interface Serial1/3
 no ip address
 shutdown
 serial restart-delay 0
!
router ospf 2
 log-adjacency-changes
 network 3.3.3.3 0.0.0.0 area 0
 network 192.168.1.2 0.0.0.0 area 0
!
ip forward-protocol nd
no ip http server
no ip http secure-server
!
!
!
logging alarm informational
!
!
!        
!
!
!
!
control-plane
!
!
!
mgcp fax t38 ecm
!
!
!
!
gatekeeper
 shutdown
!
!
line con 0
 exec-timeout 0 0
 logging synchronous
 stopbits 1
line aux 0
 stopbits 1
line vty 0 4
 login
!
end

R4:
R4#show run
Building configuration...

Current configuration : 1333 bytes
!
upgrade fpd auto
version 12.4
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname R4
!
boot-start-marker
boot-end-marker
!
logging message-counter syslog
!
no aaa new-model
ip source-route
ip cef
!
!
!
!
no ip domain lookup
no ipv6 cef
!
multilink bundle-name authenticated
!
!
voice dsp waitstate 0
!
!
!
!
!
!
!
!
!
!
!
!
!
memory-size iomem 0
archive
 log config
  hidekeys
!
!
!
!
!
!
!
!
!
interface Loopback0
 ip address 4.4.4.4 255.255.255.0
!
interface FastEthernet0/0
 no ip address
 shutdown
 duplex half
!
interface Serial1/0
 no ip address
 shutdown
 serial restart-delay 0
!
interface Serial1/1
 no ip address
 shutdown
 serial restart-delay 0
!
interface Serial1/2
 no ip address
 shutdown
 serial restart-delay 0
!
interface Serial1/3
 ip address 192.168.1.3 255.255.255.0
 encapsulation frame-relay
 ip ospf priority 0
 serial restart-delay 0
!
router ospf 3
 log-adjacency-changes
 network 4.4.4.4 0.0.0.0 area 0
 network 192.168.1.3 0.0.0.0 area 0
!
ip forward-protocol nd
no ip http server
no ip http secure-server
!
!
!
logging alarm informational
!
!
!
!
!
!
!
control-plane
!
!
!
mgcp fax t38 ecm
!
!
!
!
gatekeeper
 shutdown
!        
!
line con 0
 exec-timeout 0 0
 logging synchronous
 stopbits 1
line aux 0
 stopbits 1
line vty 0 4
 login
!
end

转载于:https://blog.51cto.com/lpcisco/933719

hub-spock-ospf,nbma相关推荐

  1. OSPF NBMA网络

    OSPF的NBMA网络指的是Frame Relay.X.25.ATM这种多路访问但是非广播的广域网络. 一方面,NBMA网络不支持广播 ,节点之间通过PVC\SVC等隧道进行部分网状连接而非全网状连接 ...

  2. OSPF NBMA实验(单播、广播)

    在帧中继下ospf网络类型默认为NBMA,不支持广播(其实指的是组播,因为ospf是通过组播来发送数据的),只支持单播,而ospf是通过组播传递报文的,因此有两种方式来实现NBMA型网络,第一种,手动 ...

  3. OSPF NBMA网络的五种基本类型

    实验拓扑: 实验步骤: 配置FR帧中继: FR(config)#frame-relay switching FR(config)#in FR(config)#interface s1/2 FR(con ...

  4. CCNP实验4-2:配置多区域和NBMA OSPF

    [实验目的]: 在本次实验中,你将在单个帧中继网络中配置OSPF. 在完成本次实验之后,你需要完成下列任务: <?xml:namespace prefix = o ns = "urn: ...

  5. 在NBMA网络中配置OSPF

    在NBMA网络中配置OSPF 在NBMA网络中配置OSPF协议和调整属性,可以灵活组建OSPF网络. 文章目录 在NBMA网络中配置OSPF 一.应用环境 二.前置任务 三.配置NBMA 1.修改OS ...

  6. OSPF网络类型详解

    背景 OSPF区域是由不同类型的网络链路组成的,邻接行为随网络类型而异,而要确保OSPF在某些类型的网络上能正确运行,必须对其进行正确的配置.根据拓扑和需求的变化,OSPF可以手工修接口的网路类型来适 ...

  7. OSPF 提升四 Network Types FRAM-RELAY

    Network Types 1.loopback 2.point-to-point 3.broadcast 4.NBMA 5.POINT-TO-Multipoint 6.point-To-Multip ...

  8. 2021-12-29 网工基础(十六)动态路由OSPF基础

    一 动态路由概述 动态路由协议能够自动发现和生成路由,并在拓扑变化时及时更新路由,可以有效减少管理人员工作量,更适用于大规模网络. 自动发现.学习路由.感知拓扑变更. 二 动态路由分类 按工作区域分类 ...

  9. CCNA lab 随身日记之OSPF

    动态路由之OSPF 本篇介绍另一种动态路由协议--OSPF.它是最最最方便的协议,只通过传递链路状态信息以及建立邻居关系就可以连接多台路由,尤其是OSPF可以划分区域,而RIP只能在一个区域进行,它的 ...

  10. OSPF邻居状态机停留原因解析

    文章目录 前言 为什么OSPF设计状态机? 一.Down状态与Attempt状态 二.Init状态 三.2-Way状态 四.ExStart状态与ExChange状态 (1)从设备的MTU值小于主设备M ...

最新文章

  1. 用Cordova打包Vue-vux项目
  2. 纯css3代码写下拉菜单效果
  3. AI实验室•西安站 教你用人脸识别打造爆款应用
  4. SGU 282 Isomorphism
  5. OpenCV向Facemark API添加新算法
  6. tarjan对有向图的缩点(求强连通分量)
  7. 从缓存行出发理解volatile变量、伪共享False sharing、disruptor
  8. 《Java开发实战经典》PDF+随书视频
  9. matlab生成chirp信号,chirp信号(chirp信号的产生)
  10. DIY一款600元成本的电路板热成像故障分析仪
  11. 安鸾CMS系列之74CMS
  12. electron选mysql的优缺点_大型Electron应用本地数据库技术选型
  13. 使用Kettle读取Excel文件中的数据,存储在MySQL中
  14. 吴伯凡-认知方法论-真真切切的感觉
  15. html样式在ie显示不全,IE下css常见问题总结及解决
  16. 定义一个长方形(Rectangle)类,有长、宽属性,对每个属性都提供相应的get/set方法。
  17. 学计算机学文学理,大学期末特惨专业排行榜!
  18. 一到十的英文单词,一十二个月份的英文单词,四季的英文单词,第一,第二第三的英文单词...
  19. 学习 Google Gadgets (一)
  20. 用python画风景图_数据分析与展示---Matplotlib基本绘图函数

热门文章

  1. python函数中参数前面的*和**的含义
  2. TPYBoard开发板搭建与阿里云服务发送数据
  3. 发现WinSRV2003SP1并没有包含ASP+Access的BUG更新
  4. 目前流行的源程序版本管理软件和项目管理软件都有哪些, 各有什么优缺点?...
  5. 关于虚拟空间与物理空间思想的解析
  6. !important------至高无上的宝剑
  7. 备份mysql的bat脚本
  8. CTOR在区块熵编码中的优点
  9. # LeetCode集锦(四) - 第13题 Roman To Integer
  10. python --error整理(不定时更新)