当前位置:网站首页>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:
边栏推荐
- 【虚幻引擎UE】UE5实现WEB和UE通讯思路
- 【正点原子STM32连载】第三章 开发环境搭建 摘自【正点原子】MiniPro STM32H750 开发指南_V1.1
- 今日睡眠质量记录71分
- 发现WRH几个表被锁了,怎么办?
- 已解决No module named ‘flask_misaka‘【BUG解决】
- 有坦荡的远方
- 2022-08-02 分析RK817 输出32k clock PMIC_32KOUT_WIFI给WiFi模块 clock 注册devm_clk_hw_register
- 【论文笔记】Delving into the Estimation Shift of Batch Normalization in a Network
- 【Attention】Dual Attention(DANet) & Fully Attention(FLA)
- 路由/三层交换机DHCP下发地址详解【华为eNSP】
猜你喜欢
TiCDC同步延迟问题处理
Fiddler(二)-手机抓包502错误解决方法
去掉js代码文件所有注释
JMeter 常用的几种断言方法,你会几种呢?
研究性学习专题 3_LL(1)语法分析设计原理与实现
[Computer recording screen] How to use bandicam to record the game setting graphic tutorial
yolo x 跑起来,详细的不行,且内含800错误解决办法
TCP的四次挥手
反序列化漏洞
[NOI Simulation Competition] Paper Tiger Game (Game Theory SG Function, Long Chain Division)
随机推荐
从零开始的tensorflow小白使用指北
js-第一个出现两次的字母
YOLOv5应用轻量级通用上采样算子CARAFE
How many assertion methods are commonly used in JMeter?
2022-08-02 分析RK817 输出32k clock PMIC_32KOUT_WIFI给WiFi模块 clock 注册devm_clk_hw_register
tcp连接的细节
2022年制冷与空调设备运行操作特种作业证考试题库及模拟考试
一道[CSCCTF 2019 Qual]FlaskLight的详解再遇SSTI
LVGL的多语言转换工具--字体设置的好助手
推荐几种可以直接翻译PDF英文文献的方法
Yolov5 replaces the backbone network of "Megvii Lightweight Convolutional Neural Network ShuffleNetv2"
Fiddler(一)安装
微信消息从发送到接收,经历了什么?如何防止丢包
学会 Arthas,让你 3 年经验掌握 5 年功力
三层交换机配置MSTP协议详解【华为eNSP实验】
ShuffleNet v2 network structure reproduction (Pytorch version)
About Oracle RAC 11g rebuilding the disk group
【Attention】Dual Attention(DANet) & Fully Attention(FLA)
预测性维护学习之路
oracle sql 多表查询