当前位置:网站首页>Layer 3 Switch/Router OSPF Configuration Details [Huawei eNSP Experiment]
Layer 3 Switch/Router OSPF Configuration Details [Huawei eNSP Experiment]
2022-08-04 09:01:00 【Progressive small vegetable pig】
Article table of contents
I. Preface
We have successfully configured the use of VRRP+MSTP between Layer 3 switches and routers before.
Now let's record the detailed explanation of OSPF configuration of Layer 3 switches/routers.
The requirements are as follows:
5. The company network needs to configure ospf routing protocol on two aggregation layer switches and one core router to realize internal network communication.
Look at the topology first:
Screenshot of the requirements we need to implement;
1.1OSPF
Before OSPF appeared, RIP (Routing Information Protocol) was widely used on the network as an interior gateway protocol.
Because RIP is a routing protocol based on the distance vector algorithm, it has problems such as slow convergence, routing loops, and poor scalability, so it is gradually replaced by OSPF.
OSPF, as a link-state-based protocol, can solve many problems faced by RIP.In addition, OSPF has the following advantages:
OSPF uses multicast to send and receive packets, which can reduce the impact on other routers that do not run OSPF.
OSPF supports Typeless Inter-Domain Routing (CIDR).
OSPF supports load balancing for equal-cost routes.
OSPF supports packet encryption.
Because of the above advantages of OSPF, OSPF is quickly accepted and widely used as an excellent interior gateway protocol.
Two. Experiment started
Look at my topology first:
The Layer 3 switches at the aggregation layer are configured as follows:
First configure the ip address of the following vlan10 port as:
interface Vlanif10
ip address 192.168.10.124 25
The vlan60 configuration of the link router is:
interface Vlanif60
ip address 19.0.0.1 255.255.255.252
Marked in the picture:
interface Vlanif60
ip address 29.0.0.1 255.255.255.252
Release the vlan of the above ports, allowing the specified vlan
OSPF:
Network current network segment anti-mask
ospf 1
area 0.0.0.0
network 192.168.20.0 0.0.0.255
network 192.168.30.0 0.0.0.255
network 11.1.1.1 0.0.0.0
network 19.0.0.1 0.0.0.0
network 192.168.10.0 0.0.0.255
The router configuration is as follows:
First configure the interface ip:
The GigabitEthernet0/0/1 port is configured as follows:
interface GigabitEthernet0/0/1
ip address 19.0.0.2 255.255.255.252
The GigabitEthernet0/0/2 port is configured as follows:
interface GigabitEthernet0/0/2
ip address 29.0.0.2 255.255.255.252
Configure ospf:
Enter ospf 1 to view:
ospf 1
default-route-advertise
area 0.0.0.0
network 19.0.0.2 0.0.0.0
network 29.0.0.2 0.0.0.0
network 33.1.1.1 0.0.0.0
Network current network segment anti-mask
Communication detection:
ping 29.0.0.2
ping 33.1.1.1
OSPF configuration is basically completedneed.
Check the router's routing table;
display ip routing-table
Layer 3 switch:
边栏推荐
- 一道[CSCCTF 2019 Qual]FlaskLight的详解再遇SSTI
- 【正点原子STM32连载】第三章 开发环境搭建 摘自【正点原子】MiniPro STM32H750 开发指南_V1.1
- 【电脑录制屏】如何使用bandicam录游戏 设置图文教程
- MATLAB/Simulink快捷键
- 【云驻共创】HCSD 大咖直播–就业指南
- JSP基本语法
- Wang Shuang's Assembly Language Chapter 4: The First Program
- JNI学习1.环境配置与简单函数实现
- 【虚幻引擎UE】UE5基于Gltf加载插件实现gltf格式骨骼动画在线/本地导入和切换
- DeLighT:深度和轻量化的Transformer
猜你喜欢
【Attention】Dual Attention(DANet) & Fully Attention(FLA)
关于#sql#的问题:后面换了一个数据库里面的数据就不能跑了
YOLOv5应用轻量级通用上采样算子CARAFE
spark算子讲解
[Computer recording screen] How to use bandicam to record the game setting graphic tutorial
cannot import name ‘import_string‘ from ‘werkzeug‘【bug解决】
推荐几种可以直接翻译PDF英文文献的方法
抬升市场投资情绪,若羽臣是否还需“自身硬”?
Fiddler(二)-手机抓包502错误解决方法
云函数实现网站自动化签到配置详解【Web函数/Nodejs/cookie】
随机推荐
经典二分法查找的进阶题目——LeetCode33 搜索旋转排序数组
线程的状态
【正点原子STM32连载】第一章 本书学习方法 摘自【正点原子】MiniPro STM32H750 开发指南_V1.1
IDEA引入类报错:“The file size (2.59 MB) exceeds the configured limit (2.56MB)
微信消息从发送到接收,经历了什么?如何防止丢包
.NET深入解析LINQ框架(五:IQueryable、IQueryProvider接口详解)
如何快速将Zabbix5.0升级至6.0?
外包干了四年,秋招终于上岸了
js-第一个出现两次的字母
How many assertion methods are commonly used in JMeter?
新特性解读 | MySQL 8.0 在线调整 REDO
Occupy, fill in later
【正点原子STM32连载】第四章 STM32初体验 摘自【正点原子】MiniPro STM32H750 开发指南_V1.1
csdn图片去水印 | 其他方法无效时的解决方案
ISO14443A读卡流程(作为示例参考)
【正点原子STM32连载】第二章 STM32简介 摘自【正点原子】MiniPro STM32H750 开发指南_V1.1
命里有时终须有--记与TiDB的一次次擦肩而过
如何从PG导入数据到kingbaseES
redis分布式锁的实现
About Oracle RAC 11g rebuilding the disk group