当前位置:网站首页>HCIP-R&S By Wakin自用笔记(2)OSPF之OSPF回顾、虚连接
HCIP-R&S By Wakin自用笔记(2)OSPF之OSPF回顾、虚连接
2022-08-09 01:39:00 【筐瓢大师小吕】
OSPF回顾(8/4,78min)














帧中继(NBMA)配置
拓扑如下:

路由器接口配置(只演示AR1)
<Huawei>sys
[Huawei]un in en
[Huawei]sys R1
[R1]interface Serial 4/0/0
[R1-Serial4/0/0]ip add 123.0.0.1 24
[R1-Serial4/0/0]link-protocol fr
Warning: The encapsulation protocol of the link will be changed. Continue? [Y/N]
:y
帧中继交换机添加映射,共三条:

手动建立映射(只演示AR1,R2与R3都需做配置):
[R1]int Serial 4/0/0
[R1-Serial4/0/0]fr map ip 123.0.0.2 102 broadcast
[R1-Serial4/0/0]fr map ip 123.0.0.3 103 broadcast
[R1-Serial4/0/0]undo fr inarp查看帧中继映射状态:
[R1]dis fr map-info
Map Statistics for interface Serial4/0/0 (DTE)
DLCI = 102, IP 123.0.0.2, Serial4/0/0
create time = 2022/08/04 19:35:49, status = ACTIVE
encapsulation = ietf, vlink = 1, broadcast
DLCI = 103, IP 123.0.0.3, Serial4/0/0
create time = 2022/08/04 19:36:01, status = ACTIVE
encapsulation = ietf, vlink = 2, broadcast若需要配置点到多点P2MP(Hub-spoken),则删除R2、R3对彼此的映射以及帧中继交换机的映射即可(本例未配置)
此时查看OSPF邻居状态,发现没有邻居:
[R1]dis ospf peer bri
OSPF Process 1 with Router ID 123.0.0.1
Peer Statistic Information
----------------------------------------------------------------------------
Area Id Interface Neighbor id State
----------------------------------------------------------------------------
[R1]dis ospf interface Serial 4/0/0
OSPF Process 1 with Router ID 123.0.0.1
Interfaces
Interface: 123.0.0.1 (Serial4/0/0)
Cost: 48 State: DR Type: NBMA MTU: 1500
Priority: 1
Designated Router: 123.0.0.1
Backup Designated Router: 0.0.0.0
Timers: Hello 30 , Dead 120 , Poll 120 , Retransmit 5 , Transmit Delay 1 因为在NBMA中,只能通过手动指定邻居来建立关系。
手动建立NBMA网络类型中的OSPF类型(仅演示AR1):
[R1]ospf
[R1-ospf-1]peer 123.0.0.2
[R1-ospf-1]peer 123.0.0.3此时再次查看:
[R1]dis ospf peer bri
OSPF Process 1 with Router ID 123.0.0.1
Peer Statistic Information
----------------------------------------------------------------------------
Area Id Interface Neighbor id State
0.0.0.0 Serial4/0/0 123.0.0.2 Full
0.0.0.0 Serial4/0/0 123.0.0.3 Full
----------------------------------------------------------------------------
邻居关系已经建立。
虚连接(8/3,26min)




如图,Area 2未与Area 0相邻,所有路由器只做接口配置,OSPF区域配置及网段宣告。
配置(仅展示R1)
<Huawei>sys
[Huawei]un in en
[Huawei]sys R1
[R1]int gi0/0/0
[R1-GigabitEthernet0/0/0]i add 12.0.0.1 24
[R1-GigabitEthernet0/0/0]qu
[R1]ospf 1 router-id 1.1.1.1
[R1-ospf-1]a 0
[R1-ospf-1-area-0.0.0.0]net 12.0.0.0 0.0.0.255
做完路由器基础配置后,R1无法Ping通到34.0.0.4(R4),此时做虚连接配置。
[R2-ospf-1]a 1
[R2-ospf-1-area-0.0.0.1]vlink-peer 3.3.3.3[R3-ospf-1]a 1
[R3-ospf-1-area-0.0.0.1]vlink-peer 2.2.2.2此时R1路由可达R4。
边栏推荐
- Oracle最后一个商用免费版本JDK1.8.202
- 软件测试的调用接口怎么调用,逻辑是什么?
- 『Another Redis DeskTop Manager』用了这款Redis可视化工具,分析效率提升12倍
- OIDC 思维导图
- Image denoising based on edge enhancement Diffusion 】 (cEED) and Coherence Enhancing coursing together (cCED) filter to realize image denoising matlab code
- class path resource [bean.xml] cannot be opened because it does not 错误解决方案
- 【Unity】判断鼠标是否点击在UI上
- 2022年中国全民健身发展白皮书
- 谷歌翻译下载-免费谷歌翻译软件下载
- 【元胞自动机】基于元胞自动机模拟社会力因素下的灾害人员疏散应急仿真附matlab代码
猜你喜欢

数据恢复软件EasyRecovery支持恢复所有类型的文件

WPF效果第一百九十四篇之伸缩面板
![[Signal denoising] Based on Sage-Husa adaptive Kalman filter to realize the suppression of ocean wave magnetic field noise and the generation of ocean wave magnetic field noise with matlab code](/img/4d/df77e7610fa9065456b12cece9e6de.png)
[Signal denoising] Based on Sage-Husa adaptive Kalman filter to realize the suppression of ocean wave magnetic field noise and the generation of ocean wave magnetic field noise with matlab code

企业里Foxmail邮箱问题解决方法汇总

PostMan导入证书 添加证书

VOIP使用单端口替换动态端口池进行UDP通信

2022PMP项目管理认证考试报考指南(1)

浅谈自定义应用层协议与UDP的报文结构和注意事项

LeetCode每日两题02:轮转数组 (均1200道)

JDBC technology (3) - use Druid database connection pool test
随机推荐
LeetCode每日两题01:二分查找 (均1200道)
低代码接口开发平台——YesApi(API+数据表单)
Phenomenon 1 during RF debugging
如何仿造一个websocket请求?
Loadrunner结合Fiddler实现脚本的录制
4-11 Matplotlib 配置
右键新建缺少word、excel选项问题处理
椭圆曲线复习
【图像去噪】基于边缘增强扩散 (cEED) 和 Coherence Enhancing Diffusion (cCED) 滤波器实现图像去噪附matlab代码
[深入研究4G/5G/6G专题-55]: L3信令控制-4-软件功能与流程的切分-CU网元的信令
LeetCode精选200道--字符串篇
JDBC技术(三)——使用Druid数据库连接池测试
VS中如何添加依赖的库
When the centralized platform is gone, everything derived from this platform will be in vain
Go-11-流程控制
德语翻译-德语在线批量翻译软件
Cmake 报错 Could not find a package configuration file provided by “OpenCV“
【物理应用】基于El-centro地震波作用下隔震与非隔震支座下的顶层位移、速度、加速度的对比情况附matlab代码
方法参数
RF调试过程中现象一