当前位置:网站首页>Configuring the stub area of OSPF for Huawei devices
Configuring the stub area of OSPF for Huawei devices
2022-07-07 00:47:00 【Tony_ long7483】
Configure all interfaces VLAN
[LSW1]vlan 10
[LSW1-GigabitEthernet0/0/2]port link-type trunk
[LSW1-GigabitEthernet0/0/2]port trunk allow-pass vlan 10
[LSW2]vlan batch 10 20
[LSW2-GigabitEthernet0/0/1]port link-type trunk
[LSW2-GigabitEthernet0/0/1]port trunk allow-pass vlan 10
[LSW2-GigabitEthernet0/0/3]port link-type trunk
[LSW2-GigabitEthernet0/0/3]port trunk allow-pass vlan 20
[LSW3]vlan 20
[LSW3-GigabitEthernet0/0/2]port link-type trunk
[LSW3-GigabitEthernet0/0/2]port trunk allow-pass vlan 20Configure the IP Address
[LSW1-Vlanif10]ip add 10.1.0.1 24
[LSW2-Vlanif10]ip add 10.1.0.2 24
[LSW2-Vlanif20]ip add 10.1.1.2 24
[LSW3-Vlanif20]ip add 10.1.1.3 24
[LSW1]int LoopBack 0
[LSW1-LoopBack0]ip add 10.1.1.1 32
[LSW2]int LoopBack 0
[LSW2-LoopBack0]ip add 10.2.2.2 32
[LSW3]int LoopBack 0
[LSW3-LoopBack0]ip add 10.3.3.3 32To configure OSPF Basic function
[LSW1]ospf 1 router-id 10.1.1.1
[LSW1-ospf-1]area 0
[LSW1-ospf-1-area-0.0.0.0]network 10.1.0.0 0.0.0.255
[LSW2]ospf 1 router-id 10.2.2.2
[LSW2-ospf-1]area 0
[LSW2-ospf-1-area-0.0.0.0]network 10.1.0.0 0.0.0.255
[LSW2-ospf-1]area 1
[LSW2-ospf-1-area-0.0.0.1]network 10.1.1.0 0.0.0.255
[LSW3]ospf 1 router-id 10.3.3.3
[LSW3-ospf-1]area 1
[LSW3-ospf-1-area-0.0.0.1]network 10.1.1.0 0.0.0.255To configure LSW1 Introducing static routing
[LSW1]ip route-static 10.0.0.0 8 NULL 0
[LSW1]ospf 1
[LSW1-ospf-1]import-route static type 1To configure Area1 by Stub Area
[LSW2]ospf 1
[LSW2-ospf-1]area 1
[LSW2-ospf-1-area-0.0.0.1]stub
[LSW3]ospf 1
[LSW3-ospf-1]area 1
[LSW3-ospf-1-area-0.0.0.1]stubTo configure Area1 by Totally Stub Area
[LSW2]ospf 1
[LSW2-ospf-1]area 1
[LSW2-ospf-1-area-0.0.0.1]stub no-summaryVerify configuration
边栏推荐
- Leecode brushes questions and records interview questions 01.02 Determine whether it is character rearrangement for each other
- Everyone is always talking about EQ, so what is EQ?
- QT tutorial: creating the first QT program
- Data analysis course notes (III) array shape and calculation, numpy storage / reading data, indexing, slicing and splicing
- Win10 startup error, press F9 to enter how to repair?
- 基于GO语言实现的X.509证书
- 【vulnhub】presidential1
- Compilation of kickstart file
- Leecode brush questions record sword finger offer 44 A digit in a sequence of numbers
- 37 pages Digital Village revitalization intelligent agriculture Comprehensive Planning and Construction Scheme
猜你喜欢
基于GO语言实现的X.509证书
深度学习之线性代数
equals()与hashCode()
Memory optimization of Amazon memorydb for redis and Amazon elasticache for redis
Chapter II proxy and cookies of urllib Library
uniapp实现从本地上传头像并显示,同时将头像转化为base64格式存储在mysql数据库中
[software reverse - solve flag] memory acquisition, inverse transformation operation, linear transformation, constraint solving
VTK volume rendering program design of 3D scanned volume data
AI超清修复出黄家驹眼里的光、LeCun大佬《深度学习》课程生还报告、绝美画作只需一行代码、AI最新论文 | ShowMeAI资讯日报 #07.06
MySQL learning notes (mind map)
随机推荐
Business process testing based on functional testing
uniapp中redirectTo和navigateTo的区别
Learn self 3D representation like ray tracing ego3rt
dynamic programming
如何判断一个数组中的元素包含一个对象的所有属性值
Encryption algorithm - password security
【软件逆向-求解flag】内存获取、逆变换操作、线性变换、约束求解
Compilation of kickstart file
Are you ready to automate continuous deployment in ci/cd?
Hero League | King | cross the line of fire BGM AI score competition sharing
Alexnet experiment encounters: loss Nan, train ACC 0.100, test ACC 0.100
Advanced learning of MySQL -- Fundamentals -- four characteristics of transactions
Notes of training courses selected by Massey school
AI超清修复出黄家驹眼里的光、LeCun大佬《深度学习》课程生还报告、绝美画作只需一行代码、AI最新论文 | ShowMeAI资讯日报 #07.06
What is time
工程师如何对待开源 --- 一个老工程师的肺腑之言
Interesting wine culture
Explain in detail the implementation of call, apply and bind in JS (source code implementation)
Article management system based on SSM framework
stm32F407-------SPI通信