当前位置:网站首页>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 :
边栏推荐
- Delete remote and local branches
- Oracle creates table spaces and views table spaces and usage
- C WinForm actual operation XML code, including the demonstration of creating, saving, querying and deleting forms
- Software testing interview tips | if you don't receive the offer, I'll wash my hair upside down
- Alibaba sentinel basic operation
- [msp430g2553] graphical development notes (2) system clock and low power consumption mode
- Solution: 2003 cant connect to MySQL server on * * * * and use near 'identified by' * * * * 'with grant option' at
- Drive subsystem development
- Career development suggestions shared by ten CIOs
- Bring new people's experience
猜你喜欢

PC port occupation release
![[feature construction] construction method of features](/img/5c/c240d9d742f37cbc52afecf15b2ad1.png)
[feature construction] construction method of features
![[training Day6] triangle [mathematics] [violence]](/img/57/d603886c202de7d46ea03487b633f5.png)
[training Day6] triangle [mathematics] [violence]

Sword finger offer 15. number of 1 in binary
![[basic data mining technology] exploratory data analysis](/img/0c/1b73098a589a2af398dd3cd9d62cd7.png)
[basic data mining technology] exploratory data analysis
![[training Day8] interesting number [digital DP]](/img/39/caad2ccff916d5ab0f8c3d93f3901d.png)
[training Day8] interesting number [digital DP]
![[record of question brushing] 16. The sum of the nearest three numbers](/img/b9/a78b72650e94c75ccbe22af1f43857.png)
[record of question brushing] 16. The sum of the nearest three numbers

whistle ERR_ CERT_ AUTHORITY_ INVALID
![[training Day8] [luogu_p6335] staza [tarjan]](/img/cf/e2027549c56b8597e7cd579d737392.png)
[training Day8] [luogu_p6335] staza [tarjan]

Software testing interview tips | if you don't receive the offer, I'll wash my hair upside down
随机推荐
Delete remote and local branches
[advanced data processing technology] data filtering, advanced data filling, initial and advanced data transformation
[feature selection] several methods of feature selection
High soft course summary
The difference between map and flatmap in stream
Lua environment configuration
How to learn automated testing
A new UI testing method: visual perception test
Docker builds redis and clusters
Smarter! Airiot accelerates the upgrading of energy conservation and emission reduction in the coal industry
Flink window & time principle
climb stairs
Modulenotfounderror: no module named 'pysat.solvers' (resolved)
[msp430g2553] graphical development notes (2) system clock and low power consumption mode
Teach you five ways to crack the computer boot password
Career development suggestions shared by ten CIOs
Do you want to verify and use the database in the interface test
How to choose securities companies that support flush? Is it safe to open an account on your mobile phone
[advanced data mining technology] Introduction to advanced data mining technology
Selenium is detected as a crawler. How to shield and bypass it