当前位置:网站首页>Detailed OSPF configuration of layer 3 switch / router [Huawei ENSP experiment]
Detailed OSPF configuration of layer 3 switch / router [Huawei ENSP experiment]
2022-07-24 20:59:00 【Hua Weiyun】
@[toc]
One . Preface
We have successfully configured VRRP+MSTP Use between layer 3 switches and routers .
Now let's record the layer 3 switch / Router OSPF Configuration details .
Requirements are as follows :
5. The company network needs to be configured on two convergence layer switches and a core router ospf Routing protocol realizes internal network communication .
Let's take a look at the topology first :
Screenshot of the requirements we need to implement ;
1.1OSPF
stay OSPF Before it appeared , Widely used on the network RIP(Routing Information Protocol) As an internal Gateway Protocol .
because RIP It is a routing protocol based on distance vector algorithm , There is a slow convergence 、 Routing loops 、 Poor scalability and so on , So it was gradually OSPF replace .
OSPF As a link state based protocol , To be able to solve RIP Many problems faced . Besides ,OSPF There are also the following advantages :
OSPF Send and receive messages in the form of multicast , This can reduce the need for other non running OSPF The impact of routers .
OSPF Supports untyped inter domain routing (CIDR).
OSPF Support load sharing for equivalent routes .
OSPF Support message encryption .
because OSPF With the above advantages , bring OSPF It is widely used as an excellent internal fast receiving protocol .
Two . The experiment begins
First observe my topology :
The three-layer switch configuration of the convergence layer is as follows :
First put the following vlan10 Oral ip The address is configured to :
interface Vlanif10
ip address 192.168.10.124 25
Link router vlan60 Configure to :
interface Vlanif60
ip address 19.0.0.1 255.255.255.252

As shown in the figure :
interface Vlanif60
ip address 29.0.0.1 255.255.255.252
Release the port above vlan, Allow by specifying vlan
OSPF:
Network Current network segment Unmask
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:
GigabitEthernet0/0/1 The ports are configured as follows :
interface GigabitEthernet0/0/1
ip address 19.0.0.2 255.255.255.252
GigabitEthernet0/0/2 The ports are configured as follows :
interface GigabitEthernet0/0/2
ip address 29.0.0.2 255.255.255.252

To configure ospf:
Get into ospf 1 see :
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 Unmask
Communication detection :
ping 29.0.0.2
ping 33.1.1.1
Almost done OSPF Configuration requirements .
Check the routing table of the router ;
display ip routing-table
Three layer switch :
边栏推荐
- [training Day9] rotate [violence] [thinking]
- 95. Puzzling switch
- Lua environment configuration
- 1. Mx6u-alpha development board (buzzer experiment)
- Application layer - typical protocol analysis
- [advanced data mining technology] Introduction to advanced data mining technology
- APR learning failure problem location and troubleshooting
- [feature transformation] feature transformation is to ensure small information loss but high-quality prediction results.
- Unitywebgl project summary (unfinished)
- How does starknet change the L2 landscape?
猜你喜欢

Synthesis route of ALA PNA alanine modified PNA peptide nucleic acid | AC ala PNA

Near infrared dye cy7.5 labeling PNA polypeptide experimental steps cy7.5-pna|188re labeling anti gene peptide nucleic acid (agpna)

Leetcode 1928. minimum cost of reaching the destination within the specified time

Evolution of network IO model
![[training Day10] tree [interval DP]](/img/2d/807cabc257f67fb708ed9588769de3.png)
[training Day10] tree [interval DP]

A new UI testing method: visual perception test

API data interface of A-share transaction data
![[training Day6] triangle [mathematics] [violence]](/img/57/d603886c202de7d46ea03487b633f5.png)
[training Day6] triangle [mathematics] [violence]

C synchronous asynchronous callback state machine async await demo

whistle ERR_ CERT_ AUTHORITY_ INVALID
随机推荐
A new UI testing method: visual perception test
[feature construction] construction method of features
Near infrared dye cy7.5 labeling PNA polypeptide experimental steps cy7.5-pna|188re labeling anti gene peptide nucleic acid (agpna)
[record of question brushing] 16. The sum of the nearest three numbers
Problems with SQLite compare comparison tables
How to buy Xinke financial products in CICC securities? Revenue 6%
Use of cache in C #
[feature transformation] feature transformation is to ensure small information loss but high-quality prediction results.
1. Mx6u-alpha development board (buzzer experiment)
[training Day8] series [matrix multiplication]
C synchronous asynchronous callback state machine async await demo
Application layer - typical protocol analysis
Two methods of how to export asynchronous data
92. Recursive implementation of exponential enumeration
C # image template matching and marking
[training Day9] maze [line segment tree]
What should Ali pay attention to during the interview? Personal account of Alibaba interns who passed five rounds of interviews
Delete remote and local branches
Flink window & time principle
Get the current time in go language, and the simple implementation of MD5, HMAC, SHA1 algorithms