当前位置:网站首页>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 :
边栏推荐
- The difference between token and session, this classic interview question deserves a more in-depth answer
- [advanced data processing technology] data filtering, advanced data filling, initial and advanced data transformation
- Node installation using NVM succeeded, but NPM installation failed (error while downloading, TLS handshake timeout)
- Lua environment configuration
- Strong reference, weak reference, soft reference, virtual reference
- 2787: calculate 24
- 96. Strange tower of Hanoi
- Opengl rendering pipeline
- Top 10 in China's HCI software market: Huawei, Xinhua, Shenxin, VMware, Lenovo, smartx, Inspur, Qingyun, lutanli, dawn
- Experience of using dump file to reverse locate crash location
猜你喜欢

Rce (no echo)

Detailed explanation of ThreadLocal
![[training Day8] tent [mathematics] [DP]](/img/d3/42869ed5bb7c9148d9fa7367a9af02.png)
[training Day8] tent [mathematics] [DP]
![[training Day6] dream [priority queue] [greed]](/img/1b/309b53618b8a116862971799ce4e78.jpg)
[training Day6] dream [priority queue] [greed]

npm Warn config global `--global`, `--local` are deprecated. Use `--location=global` instead
![[msp430g2553] graphical development notes (2) system clock and low power consumption mode](/img/4e/c08288c3804d3f1bcd5ff2826f7546.png)
[msp430g2553] graphical development notes (2) system clock and low power consumption mode

Azide labeled PNA peptide nucleic acid | methylene blue labeled PNA peptide nucleic acid | tyrosine modified PNA | Tyr PNA Qiyue Bio

Generate self signed certificate: generate certificate and secret key

Lecun proposed that mask strategy can also be applied to twin networks based on vit for self supervised learning!

What does software testing need to learn?
随机推荐
Career development suggestions shared by ten CIOs
Case analysis of building cross department communication system on low code platform
怎么在中金证券购买新课理财产品?收益百分之6
[training Day10] linear [mathematics] [thinking]
[feature transformation] feature transformation is to ensure small information loss but high-quality prediction results.
Synthesis of peptide nucleic acid PNA labeled with heptachydrin dye cy7 cy7-pna
Oracle primary key auto increment setting
[feature construction] construction method of features
How about Urumqi Shenwan Hongyuan securities account opening? Is it safe?
[training Day9] rotate [violence] [thinking]
Let's make a nice monthly temperature map of China with ArcGIS
90% of people don't know the most underestimated function of postman!
C synchronous asynchronous callback state machine async await demo
Lua environment configuration
Experience of using dump file to reverse locate crash location
2787: calculate 24
Pychart tutorial: 5 very useful tips
[training Day6] triangle [mathematics] [violence]
Summary of communication with customers
Node installation using NVM succeeded, but NPM installation failed (error while downloading, TLS handshake timeout)