ospf综合路由实验

1配置ip
2配置私网通(配置双向验证)
3配置静态缺省,公网通(nat配置后因为没有缺省所以通不了,要么配置缺省要么配置特殊区域自动下发缺省)配置mgre
4链路聚合,配置特殊区域,更改hello更新时间

[R1]int g0/0/0
[R1-GigabitEthernet0/0/0]ip add 172.16.33.1 24
[R1-GigabitEthernet0/0/0]int l0
[R1-LoopBack0]ip add 172.12.34.1 24
[R1-LoopBack0]

0dd2f598bc72430d81e22f7cfea7d92d.png

[R2]int g0/0/0
[R2-GigabitEthernet0/0/0]ip add 172.16.33.2 24
[R2-GigabitEthernet0/0/0]int l0
[R2-LoopBack0]ip add 172.16.35.2 24

04e9a5c23acb43c4aef5fbd62457523d.png

[R3]int g 0/0/0
[R3-GigabitEthernet0/0/0]ip add 172.16.33.3 24
[R3-GigabitEthernet0/0/1]int s 4/0/0
[R3-Serial4/0/0]ip add 34.0.0.3 24
[R3]int l0
[R3-LoopBack0]ip add 172.16.36.3 24

c728058045cc4d6589fa149b9b32cc64.png

[R4]int s 4/0/0
[R4-Serial4/0/0]ip add 34.0.0.4 24
[R4-Serial4/0/0]int s 4/0/1
[R4-Serial4/0/1]ip add 45.0.0.4 24
[R4-Serial4/0/1]int s 3/0/0
[R4-Serial3/0/0]ip add 46.0.0.4 24
[R4-Serial3/0/0]int g0/0/0
[R4-GigabitEthernet0/0/0]ip add 47.0.0.4 24
[R4-GigabitEthernet0/0/0]int l0
[R4-LoopBack0]ip add 172.16.2.4 24

36141e75a65049968d71774f09e9edc5.png

[R5]int s4/0/0
[R5-Serial4/0/0]ip add 45.0.0.5 24
[R5-Serial4/0/0]int l0
[R5-LoopBack0]ip add 172.16.3.5 24

912662556a7d4ee2a97676a8d2445cb0.png

[R6-Serial4/0/0]ip add 46.0.0.6 24
[R6-Serial4/0/0]int g0/0/0
[R6-GigabitEthernet0/0/0]ip add 172.16.65.1 30
[R6]int l0
[R6-LoopBack0]ip add 172.16.4.6 24
[R6-LoopBack0]

a9b9c785c2a74236bc70c63b6aa64631.png

[R7]int g0/0/0
[R7-GigabitEthernet0/0/0]ip add 47.0.0.7 24
[R7-GigabitEthernet0/0/0]int g0/0/1
[R7-GigabitEthernet0/0/1]ip add 172.16.97.1 30
[R7-GigabitEthernet0/0/1]int l0
[R7-LoopBack0]ip add 172.16.5.7 24

08c25e95e5f04292a2d6afc5aaf2a898.png

[R8]int g0/0/0
[R8-GigabitEthernet0/0/0]ip add 172.16.97.2 30
[R8-GigabitEthernet0/0/0]int g0/0/1
[R8-GigabitEthernet0/0/1]ip add 172.16.97.5 30
[R8-GigabitEthernet0/0/1]int l0
[R8-LoopBack0]ip add 172.16.98.8 24

aded0199f06242418f7666690c77c045.png

[R9]int g0/0/0
[R9-GigabitEthernet0/0/0]ip add 172.16.97.6 30
[R9-GigabitEthernet0/0/0]int g0/0/1
[R9-GigabitEthernet0/0/1]ip add 172.16.129.1 30
[R9-GigabitEthernet0/0/1]int l0
[R9-LoopBack0]ip add 172.16.130.9 24

a437e744279c4464b03c3a2cc7c46d0a.png

[R10]int g0/0/0
[R10-GigabitEthernet0/0/0]ip add 172.16.129.2 30
[R10-GigabitEthernet0/0/0]int l0
[R10-LoopBack0]ip add 172.16.131.10 24

5ea94a60d2a5448e9521d146d0dac31e.png

[R11]int g0/0/1
[R11-GigabitEthernet0/0/1]ip add 172.16.65.5 30
[R11-GigabitEthernet0/0/1]int g0/0/0
[R11-GigabitEthernet0/0/0]ip add 172.16.65.2 30
[R11-GigabitEthernet0/0/0]int l0
[R11-LoopBack0]ip add 172.16.67.11 24

680960f900694536a9b49ad4604da7f5.png

[R12]int g0/0/0
[R12-GigabitEthernet0/0/0]ip add 172.16.65.6 30
[R12-GigabitEthernet0/0/0]int l0
[R12-LoopBack0]ip add 172.16.160.1 24
[R12-LoopBack0]int l1
[R12-LoopBack1]ip add 172.16.161.1 24

038447882490488eae5170c874d8b241.png

配置公网通


[R3]ip route-static 0.0.0.0 0 34.0.0.4
[R5]ip route-static 0.0.0.0 0 45.0.0.4
[R7]ip route-static 0.0.0.0 0 47.0.0.4
[R6]ip route-static 0.0.0.0 0 46.0.0.4


配置私网通


[R1]ospf 1 router-id 1.1.1.1
[R1-ospf-1]a 1
[R1-ospf-1-area-0.0.0.1]ne 172.16.33.0 0.0.0.255
[R1-ospf-1-area-0.0.0.1]ne 172.16.34.0 0.0.0.255

[R2]ospf 1 ro 2.2.2.2
[R2-ospf-1]a 1
[R2-ospf-1-area-0.0.0.1]ne 172.16.33.0 0.0.0.255
[R2-ospf-1-area-0.0.0.1]ne 172.16.35.0 0.0.0.255


[R3]ospf 1 r    
[R3]ospf 1 router-id 3.3.3.3
[R3-ospf-1]a 1
[R3-ospf-1-area-0.0.0.1]ne 172.16.33.0 0.0.0.255
[R3-ospf-1-area-0.0.0.1]ne 172.16.36.0 0.0.0.255

[R5]ospf 1 router-id 5.5.5.5
[R5-ospf-1]a 0
[R5-ospf-1-area-0.0.0.0]ne 172.16.3.0 0.0.0.255

[R6]ospf 1 router-id 6.6.6.6
[R6-ospf-1]a 0
[R6-ospf-1-area-0.0.0.0]ne 172.16.4.0 0.0.0.255

[R7]ospf 1 router-id 7.7.7.7
[R7-ospf-1]a 0
[R7-ospf-1-area-0.0.0.0]ne 172.16.5.0 0.0.0.255

[R6-ospf-1]a 2
[R6-ospf-1-area-0.0.0.2]ne 172.16.65.1 0.0.0.0

[R11]ospf 1 router-id 11.11.11.11
[R11-ospf-1]a 2
[R11-ospf-1-area-0.0.0.2]ne 172.16.67.0 0.0.0.25
[R11-ospf-1-area-0.0.0.2]ne 172.16.65.2 0.0.0.0
[R11-ospf-1-area-0.0.0.2]ne 172.16.65.5 0.0.0.0

[R12]ospf 1 router-id 12.12.12.12
[R12-ospf-1]a 2
[R12-ospf-1-area-0.0.0.2]ne 172.16.65.6 0.0.0.0

[R12]rip 1
[R12-rip-1]v 2
[R12-rip-1]undo summary
[R12-rip-1]network 172.16.0.0     
[R12-ospf-1]import-route rip

[R7-ospf-1]a 3
[R7-ospf-1-area-0.0.0.3]ne 172.16.97.1 0.0.0.0

[R8]ospf 1 ro    
[R8]ospf 1 router-id 8.8.8.8
[R8-ospf-1]a 3
[R8-ospf-1-area-0.0.0.3]ne 172.16.97.2 0.0.0.0
[R8-ospf-1-area-0.0.0.3]ne 172.16.98.0 0.0.0.255
[R8-ospf-1-area-0.0.0.3]ne 172.16.97.5 0.0.0.0

[R9]ospf 1 router-id 9.9.9.9
[R9-ospf-1]a 3
[R9-ospf-1-area-0.0.0.3]ne 172.16.97.6 0.0.0.0

[R9]ospf 2 router-id 9.9.9.9
[R9-ospf-2]a 4
[R9-ospf-2-area-0.0.0.4]ne 172.16.129.1 0.0.0.0
[R9-ospf-2-area-0.0.0.4]ne 172.16.130.0 0.0.0.255

[R10]ospf 2 router-id 10.10.10.10
[R10-ospf-2]a 4
[R10-ospf-2-area-0.0.0.4]ne 172.16.131.0 0.0.0.255
[R10-ospf-2-area-0.0.0.4]ne 172.16.129.2 0.0.0.0

配置隧道


[R3]int t 0/0/0
[R3-Tunnel0/0/0]ip add 172.16.6.3 24
[R3-Tunnel0/0/0]tunnel-protocol gre p2mp     
[R3-Tunnel0/0/0]source s4/0/0
[R3-Tunnel0/0/0]nhrp network-id 100
[R3-Tunnel0/0/0]nhrp entry multicast dynamic 

[R5]int t0/0/0
[R5-Tunnel0/0/0]ip add 172.16.6.5 24    
[R5-Tunnel0/0/0]tunnel-protocol gre p2mp 
[R5-Tunnel0/0/0]source Serial 4/0/0
[R5-Tunnel0/0/0]nhrp network-id 100
[R5-Tunnel0/0/0]nhrp entry 172.16.6.3 34.0.0.3 register 

[R6]int t0/0/0
[R6-Tunnel0/0/0]ip add 172.16.6.6 24    
[R6-Tunnel0/0/0]tunnel-protocol gre p2mp 
[R6-Tunnel0/0/0]source s4/0/0
[R6-Tunnel0/0/0]nhrp network-id 100
[R6-Tunnel0/0/0]nhrp entry 172.16.6.3 34.0.0.3 register  

[R7]int t0/0/0
[R7-Tunnel0/0/0]ip add 172.16.6.7 24
[R7-Tunnel0/0/0]tunnel-protocol gre p2mp
[R7-Tunnel0/0/0]source GigabitEthernet 0/0/0    
[R7-Tunnel0/0/0]nhrp network-id 100
[R7-Tunnel0/0/0]nhrp entry 172.16.6.3 34.0.0.3 register 

宣告隧道网段


[R3]ospf 1
[R3-ospf-1]a 0
[R3-ospf-1-area-0.0.0.0]ne 172.16.6.0 0.0.0.255

[R5]ospf 1
[R5-ospf-1]a 0
[R5-ospf-1-area-0.0.0.0]ne 172.16.6.0 0.0.0.255

[R6]ospf 1
[R6-ospf-1]a 0
[R6-ospf-1-area-0.0.0.0]ne 172.16.6.0 0.0.0.255


[R7]ospf
[R7-ospf-1]a 0
[R7-ospf-1-area-0.0.0.0]ne 172.16.6.0 0.0.0.255


修改隧道口类型解决ospf错误


[R3]int t0/0/0
[R3-Tunnel0/0/0]ospf n    
[R3-Tunnel0/0/0]ospf network-type b    
[R3-Tunnel0/0/0]ospf network-type broadcast

[R5]int t0/0/0
[R5-Tunnel0/0/0]osp    
[R5-Tunnel0/0/0]ospf n    
[R5-Tunnel0/0/0]ospf network-type b    
[R5-Tunnel0/0/0]ospf network-type broadcast 

[R6]int t0/0/0
[R6-Tunnel0/0/0]ospf n    
[R6-Tunnel0/0/0]ospf network-type b    
[R6-Tunnel0/0/0]ospf network-type broadcast 

[R7]int t0/0/0
[R7-Tunnel0/0/0]ospf ne    
[R7-Tunnel0/0/0]ospf network-type b    
[R7-Tunnel0/0/0]ospf network-type broadcast 

[R5-Tunnel0/0/0]ospf dr-priority 0 取消分支站点选举
[R6-Tunnel0/0/0]ospf dr-priority 0
[R7-Tunnel0/0/0]ospf dr-priority 0

全网通(使用easy ip)


[R3]acl 2000    
[R3-acl-basic-2000]rule permit source 172.16.0.0 0.0.255.255
[R3-acl-basic-2000]q
[R3]int s4/0/0
[R3-Serial4/0/0]nat outbound 2000

[R5]acl 2000    
[R5-acl-basic-2000]rule permit source 172.16.0.0 0.0.255.255
[R5-acl-basic-2000]q
[R5]int s4/0/0    
[R5-Serial4/0/0]nat outbound 2000
[R5-Serial4/0/0]

[R6]acl 2000
[R6-acl-basic-2000]rule permit source 172.16.0.0 0.0.255.255
[R6-acl-basic-2000]q
[R6]int s4/0/0
[R6-Serial4/0/0]nat outbound 2000

[R7]acl 2000    
[R7-acl-basic-2000]rule permit source 172.16.0.0 0.0.255.255
[R7-acl-basic-2000]q
[R7]int g0/0/0    
[R7-GigabitEthernet0/0/0]nat outbound 2000

链路聚合

abr路由器在区域试图下配置
[R3]ospf 1
[R3-ospf-1]a 1    
[R3-ospf-1-area-0.0.0.1]abr-summary 172.16.32.0 255.255.224.0

[R6]ospf 1
[R6-ospf-1]a 2    
[R6-ospf-1-area-0.0.0.2]abr-summary 172.16.64.0 255.255.224.0

[R7]ospf 1
[R7-ospf-1]a 3    
[R7-ospf-1-area-0.0.0.3]abr-summary 172.16.96.0 255.255.224.0

asbr路由器在ospf试图下配置

[R12]ospf 1    
[R12-ospf-1]asbr-summary 172.16.160.0 255.255.224.0

[R9]ospf 1    
[R9-ospf-1]asbr-summary 172.16.128.0 255.255.224.0


配置特殊区域


[R1]ospf 1
[R1-ospf-1]a 1    
[R1-ospf-1-area-0.0.0.1]stub no-summary 

[R2]ospf 1
[R2-ospf-1]a 1    
[R2-ospf-1-area-0.0.0.1]stub no-summary 

[R3]ospf 1
[R3-ospf-1]a 1    
[R3-ospf-1-area-0.0.0.1]stub no-summary 

7053b438e60b4d3ca7f9b7b708006602.png

55e3f5b2d01d409b824c3eb36da28ad6.png

d173f445ac1f40bcabf3468c5c6235bc.jpg d9c3bc40d2ca4104a9d8e3a20f23bcdb.png

[R6]ospf 1
[R6-ospf-1]a 2
[R6-ospf-1-area-0.0.0.2]nssa no-summary

[R11]ospf 1
[R11-ospf-1] a 2
[R11-ospf-1-area-0.0.0.2]nssa no-summar

[R12]ospf 1
[R12-ospf-1]a 2
[R12-ospf-1-area-0.0.0.2]nssa no-summary

0f9fb2a18b734737bcfa0af0e577e7ce.jpg

31141ec6b39a463ebcdf4048348357e5.jpg

bea841ef2db34c7c8846866ff6c8b7d7.jpg

 99e19244f94f43ac9f60d16359ddf6aa.png

[R7]ospf 1
[R7-ospf-1]a 3
[R7-ospf-1-area-0.0.0.3]nssa no-summary

[R8]ospf
[R8-ospf-1]a 3
[R8-ospf-1-area-0.0.0.3]nssa no-summary

[R9]ospf 1
[R9-ospf-1]a 3
[R9-ospf-1-area-0.0.0.3]nssa no-summary

7d433de377a04b18b534c054dc9e2597.jpg

9936d9e7e1314d69bdfb00a418279848.jpg

b9bebb0b8954439f83a5527b596e4b55.jpg

 5b3b019dfff74a0bb9a880c50279ef6b.png


解决配置特殊区域之后r10ping不通a3和a4其他区域(r9下缺省路由)
[R9]ospf 2
[R9-ospf-2]default-route-advertise 

bd76ff46dc154103800c1a862a7f6fe7.png


减少hello时间


[R1-ospf-1]int g 0/0/0     
[R1-GigabitEthernet0/0/0]ospf timer hello 5

[R2]int g0/0/0
[R2-GigabitEthernet0/0/0]ospf timer hello 5

[R3]int g0/0/0
[R3-GigabitEthernet0/0/0]ospf timer hello 5

[R6]int g0/0/0
[R6-GigabitEthernet0/0/0]ospf timer hello 5

[R11]int g0/0/0    
[R11-GigabitEthernet0/0/0]ospf timer hello 5
[R11-GigabitEthernet0/0/0]int g0/0/1
[R11-GigabitEthernet0/0/1]ospf timer hello 5

[R12]int g0/0/0
[R12-GigabitEthernet0/0/0]ospf timer hello 5

[R7]int g0/0/1
[R7-GigabitEthernet0/0/1]ospf timer hello 5

[R8]int g0/0/0    
[R8-GigabitEthernet0/0/0]ospf timer hello 5
[R8-GigabitEthernet0/0/0]int g0/0/1    
[R8-GigabitEthernet0/0/1]ospf timer hello 5

[R9]int g0/0/0
[R9-GigabitEthernet0/0/0]ospf timer hello 5

[R9]int g0/0/1
[R9-GigabitEthernet0/0/1]ospf timer hello 5
[R10]int g0/0/0
[R10-GigabitEthernet0/0/0]ospf timer hello 5

[R3]int t0/0/0
[R3-Tunnel0/0/0]ospf timer hello 5

[R5]int t0/0/0
[R5-Tunnel0/0/0]ospf timer hello 5

[R6]int t0/0/0    
[R6-Tunnel0/0/0]ospf timer hello 5

[R7]int t 0/0/0
[R7-Tunnel0/0/0]ospf timer hello 5

配置区域验证


[R1]ospf 1
[R1-ospf-1]a 1    
[R1-ospf-1-area-0.0.0.1]authentication-mode md5 1 cipher 12345

[R2]ospf 1
[R2-ospf-1]a 1
[R2-ospf-1-area-0.0.0.1]authentication-mode md5 1 cipher 12345

[R3]ospf 1
[R3-ospf-1]a 1
[R3-ospf-1-area-0.0.0.1]authentication-mode md5 1 cipher 12345

[R5-ospf-1]a 0    
[R5-ospf-1-area-0.0.0.0]authentication-mode md5 1 cipher 666

[R3-ospf-1]a 0    
[R3-ospf-1-area-0.0.0.0]authentication-mode md5 1 cipher 666

[R6-ospf-1]a 0    
[R6-ospf-1-area-0.0.0.0]authentication-mode md5 1 cipher 666

[R7]ospf 1
[R7-ospf-1]a 0    
[R7-ospf-1-area-0.0.0.0]authentication-mode md5 1 cipher 666

[R8]ospf 1
[R8-ospf-1]a 3
[R8-ospf-1-area-0.0.0.3]authentication-mode md5 1 cipher 12345

[R7-ospf-1]a 3    
[R7-ospf-1-area-0.0.0.3]authentication-mode md5 1 cipher 12345

[R9]ospf 1
[R9-ospf-1]a 3
[R9-ospf-1-area-0.0.0.3]authentication-mode md5 1 cipher 12345

[R9]ospf 2
[R9-ospf-2]a 4
[R9-ospf-2-area-0.0.0.4]authentication-mode md5 1 cipher 666

[R10]ospf 2
[R10-ospf-2]a 4
[R10-ospf-2-area-0.0.0.4]authentication-mode md5 1 cipher 666

本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如若转载,请注明出处:http://www.mzph.cn/bicheng/451.shtml

如若内容造成侵权/违法违规/事实不符,请联系多彩编程网进行投诉反馈email:809451989@qq.com,一经查实,立即删除!

相关文章

基于Material Design风格开源、易用、强大的WPF UI控件库

前言 今天大姚给大家分享一款基于Material Design风格开源、免费(MIT License)、易于使用、强大的WPF UI控件库:MaterialDesignInXamlToolkit。 项目介绍 MaterialDesignInXamlToolkit 是一个开源、易于使用、强大的 WPF UI 控件库&#x…

OpenHarmony多媒体-mp4parser

简介 一个读取、写入操作音视频文件编辑的工具。 编译运行 1、通过IDE工具下载依赖SDK,Tools->SDK Manager->Openharmony SDK 把native选项勾上下载,API版本>10 2、开发板选择RK3568,ROM下载地址. 选择开发板类型是rk3568&#xf…

美团财务科技Java后端一面:面向对象、类加载过程、全限定类名相同的类是否可以同时被加载

更多大厂面试内容可见 -> http://11come.cn 美团财务科技Java后端一面:面向对象、类加载过程、全限定类名相同的类是否可以同时被加载 如何理解面向对象? 面向对象 是具有对象概念的编程范式,面向对象将程序实现分为了一个个独立的对象&…

Liunx常用命令

Liunx常用命令 1、less less 是一个用于查看文件内容的终端分页器,它允许您以一页一页的方式浏览文件内容,并提供了多种交互方式来进行导航和搜索。 以下是一些 less 命令的常用用法: 启动 less: less filename这将在终端中打开指…

顶顶通呼叫中心中间件(mod_cti基于FreeSWITCH)-解决方案:运行了 Freeswitch 的服务器攻击问题

文章目录 前言联系我们攻击实例解决方案安装 fail2ban编辑jail.conf设置日志文件权限设置filterfail2ban 操作 前言 运行在公网的 Freeswitch 服务器,每天都会接收到很多恶意的呼叫请求和注册请求,从而尝试盗打电话。每天大量的攻击,会导致 …

数字时代安全风险防范与保密科技创新

文章目录 前言一、新技术应用带来的保密挑战1.1 通过技术手段获取国家秘密和重要情报日益普遍1.2 新型信息技术存在的风险不容忽视 二、加强保密科技创新的必要性2.1 提高定密准确性2.2 及时变更密级或解密2.3 对失泄密事故案件进行自动高效的预警和初步处理 三、保密科技创新中…

Qt-饼图示范

1.效果图 2.代码如下 2.1 .h文件 #ifndef PIECHARTWIDGET_H #define PIECHARTWIDGET_H#include <QWidget> #include <QChartView> #include <QPieSeries>#include<QVBoxLayout> #include<QMessageBox> #include <QtCharts>struct PieDat…

游戏引擎技术——前向渲染与延迟渲染

作者&#xff1a;yangkuKO 一、前言 2015年5月&#xff0c;3A巨作《巫师3&#xff1a;狂猎&#xff08;The Witcher 3&#xff1a;Wild Hunt&#xff09;》横空出世&#xff0c;该游戏作为一款开放世界的角色扮演游戏&#xff0c;其巨大的开放世界、绵长的剧情故事、画面精美…

LevelDB源码阅读笔记(1、整体架构)

LevelDB源码阅读笔记&#xff08;1、整体架构&#xff09; LeveDB源码笔记系列&#xff1a; LevelDB源码阅读笔记&#xff08;0、下载编译leveldb&#xff09; LevelDB源码阅读笔记&#xff08;1、整体架构&#xff09; 前言 对LevelDB源码的博客&#xff0c;我准备采用总…

Hadoop大数据处理技术-Linux相关命令

​7.Linux常用命令 1&#xff09;Windows中的dir&#xff1a;列出当前目录下所有的文件和目录 2&#xff09;cd&#xff1a;改变当前目录 cd命令并不能直接实现这种跳跃转换目录的功能 它只能让你在当前目录和其子目录之间来回切换 就像在一张平面地图上移动一样 如果想跨目录…

力扣:15. 三数之和(Java)

目录 题目描述&#xff1a;输入&#xff1a;输出&#xff1a;代码实现&#xff08;排序双指针&#xff09;&#xff1a; 题目描述&#xff1a; 给你一个整数数组 nums &#xff0c;判断是否存在三元组 [nums[i], nums[j], nums[k]] 满足 i ! j、i ! k 且 j ! k &#xff0c;同时…

Qt菜单栏

文章目录 创建菜单栏创建菜单并在菜单栏中添加创建子菜单并添加到菜单创建菜单项并在菜单中添加分割线实现简易的记事本 Qt 窗口是通过 QMainWindow类 来实现的 创建菜单栏 Qt 中的菜单栏是通过 QMenuBar 这个类来实现的&#xff0c;一个窗口最多只有一个菜单栏。 菜单栏包含…

MyBatis 源码分析 - 缓存原理

MyBatis 源码分析 - 缓存原理 1.简介 在 Web 应用中&#xff0c;缓存是必不可少的组件。通常我们都会用 Redis 或 memcached 等缓存中间件&#xff0c;拦截大量奔向数据库的请求&#xff0c;减轻数据库压力。作为一个重要的组件&#xff0c;MyBatis 自然也在内部提供了相应的…

EDGE的使用心得和深度探索

Microsoft Edge 是微软推出的一款基于 Chromium 开源项目的网页浏览器&#xff0c;自 2020 年重大更新后&#xff0c;在性能、兼容性和扩展支持方面得到了显著提升。以下是关于 Edge 浏览器的使用心得和一些深度探索的内容。 使用心得 1. 性能与兼容性&#xff1a;Edge 浏览器…

浅理解vue2中的模板编译

vue组件实例在初始化完成各种状态数据后&#xff0c;会触发vm.$mount()方法来进行模板编译阶段&#xff0c;有两种触发方式 // 方法一&#xff1a;主动触发 new Vue({ el: #app }) if (vm.$options.el) {vm.$mount(vm.$options.el); }// 方法二&#xff1a;手动调用 new Vue()…

遗传算法 定义+特性+原理+公式+Python示例代码(带详细注释)

文章目录 引言定义特性基本原理和公式推导基本原理公式推导 实现步骤和代码实现实现步骤Python代码实现&#xff08;带详细注释&#xff09; 应用案例优化和挑战结论 引言 遗传算法&#xff08;Genetic Algorithm, GA&#xff09;是进化计算技术的一种&#xff0c;广泛应用于解…

Yarn的安装和配置

第一部分&#xff1a;安装与配置Yarn 在开始之前&#xff0c;我们需要先安装Yarn。下面是一些简单的步骤&#xff1a; 步骤1&#xff1a;下载并安装Node.js Yarn是基于Node.js的&#xff0c;因此我们首先需要安装Node.js。请前往Node.js官网&#xff08;https://nodejs.org/&a…

绘制音频时长核密度分布图

import pandas as pd import seaborn as sns import matplotlib.pyplot as plt# 读取文件到DataFrame # 可以读百万行文件 df pd.read_csv(wav_dur_million.info, sep , header0, names[音频名, 音频时长])# 绘制核密度图 sns.kdeplot(df[音频时长], fillTrue) plt.xlabel(dur…

Elasticsearch:(二)1.安装Elasticsearch

1.环境安装介绍: 安装java环境安装Elasticsearch安装kibana安装Elasticsearch-head插件 本节文章主要讲解Elasticsearch的安装。 2.版本选择 jdk兼容性:支持一览表 | Elastic 操作系统兼容性:支持一览表 | Elastic 自身产品兼容性: 支持一览表 | Elastic jdk版本选择:…

道可云元宇宙每日资讯|北京:推进数字+场景落地

道可云元宇宙每日简报&#xff08;2024年4月15日&#xff09;讯&#xff0c;今日元宇宙新鲜事有&#xff1a; 上海市闵行区医学会元宇宙医学专业委员会举行成立大会 4月10日&#xff0c;上海市闵行区医学会元宇宙医学专业委员会举行成立大会。会上&#xff0c;全球领先的元宇…