35 解决单条链路故障问题-华三链路聚合

InLoopBack接口是一种虚拟接口。InLoopBack接口由系统自动创建,用户不能进行配置和删除,但是可以显示,其物理层和链路层协议永远处于up状态。InLoopBack接口主要用于配合实现报文的路由和转发,任何送到InLoopBack接口的IP报文都会被认为是送往设备本身的,设备将不再转发这些报文

一 在同一网段没有网关为啥能ping通

PC机配置信息

如果我中间的的链路断了,业务无法通过,这样可以吗?做为专业的网络工程师这样的操作不能发生的?

链路聚合的本质是提高网络的可靠性,模式分为静态模式和动态模式,一般采用动态模式

二 华三二层静态链路聚合

操作

命令

说明

进入系统视图

system-view

-

创建二层聚合接口,并进入二层聚合接口视图

interface bridge-aggregation interface-number

创建二层聚合接口后,系统将自动生成同编号的二层聚合组,且该聚合组缺省工作在静态聚合模式下

退回系统视图

quit

-

进入二层以太网接口视图

interface interface-type interface-number

多次执行此步骤可将多个二层以太网接口加入聚合组

将二层以太网接口加入聚合组

port link-aggregation group number

[SW1]interface  Bridge-Aggregation  ?

  <1-1024>  Bridge-Aggregation interface number

[SW1]interface  Bridge-Aggregation  4
[SW1-Bridge-Aggregation4]quit
[SW1]int range g1/0/4 to g1/0/7
[SW1-if-range]port link-aggregation  group  4
[SW1-if-range]port link-type  trunk
[SW1-if-range]port trunk  permit  vlan  all

[SW1]display  link-aggregation  summary 
Aggregation Interface Type: 
BAGG -- Bridge-Aggregation, BLAGG -- Blade-Aggregation, RAGG -- Route-Aggregation, SCH-B -- Schannel-Bundle 
Aggregation Mode: S -- Static, D -- Dynamic 
Loadsharing Type: Shar -- Loadsharing, NonS -- Non-Loadsharing
Actor System ID: 0x8000, 4e53-c0ce-0100AGG        AGG   Partner ID              Selected  Unselected  Individual  Share
Interface  Mode                          Ports     Ports       Ports       Type 
--------------------------------------------------------------------------------
BAGG4      S     None                    0         4           0           Shar 
[SW1]display  link-aggregation  ve
[SW1]display  link-aggregation  verbose 
Loadsharing Type: Shar -- Loadsharing, NonS -- Non-Loadsharing 
Port: A -- Auto
Port Status: S -- Selected, U -- Unselected, I -- Individual 
Flags:  A -- LACP_Activity, B -- LACP_Timeout, C -- Aggregation, D -- Synchronization, E -- Collecting, F -- Distributing,  G -- Defaulted, H -- ExpiredAggregate Interface: Bridge-Aggregation4
Aggregation Mode: Static
Loadsharing Type: SharPort             Status  Priority Oper-Key
--------------------------------------------------------------------------------GE1/0/4          U       32768    1         GE1/0/5          U       32768    1         GE1/0/6          U       32768    1         GE1/0/7          U       32768    1         
[SW1]
[SW1]display  link-aggregation ?load-sharing  Link aggregation load sharingmember-port   Display member(s) of link aggregation groupsummary       Summary informationverbose       Display verbose information of link aggregation group[SW1]display  link-aggregation 4^% Unrecognized command found at '^' position.
[SW1][SW1]dis
[SW1]display  li
[SW1]display  line
[SW1]display  link-aggregation ?load-sharing  Link aggregation load sharingmember-port   Display member(s) of link aggregation groupsummary       Summary informationverbose       Display verbose information of link aggregation group[SW1]display  link-aggregation me
[SW1]display  link-aggregation member-port  ?>                    Redirect it to a file>>                   Redirect it to a file in append modeFortyGigE            FortyGigE interfaceGigabitEthernet      GigabitEthernet interfaceTen-GigabitEthernet  Ten-GigabitEthernet interface|                    Matching output<cr>                 [SW1]display  link-aggregation member-port  g
[SW1]display  link-aggregation member-port  GigabitEthernet 1/0/4
Flags: A -- LACP_Activity, B -- LACP_Timeout, C -- Aggregation, D -- Synchronization, E -- Collecting, F -- Distributing, G -- Defaulted, H -- ExpiredGigabitEthernet1/0/4: 
Aggregate Interface: Bridge-Aggregation4
Port Number: 5 
Port Priority: 32768
Oper-Key: 1
[SW1]display  link-aggregation member-port  GigabitEthernet 1/0/5
Flags: A -- LACP_Activity, B -- LACP_Timeout, C -- Aggregation, D -- Synchronization, E -- Collecting, F -- Distributing, G -- Defaulted, H -- ExpiredGigabitEthernet1/0/5: 
Aggregate Interface: Bridge-Aggregation4
Port Number: 6 
Port Priority: 32768
Oper-Key: 1
[SW1]display  link-aggregation member-port  GigabitEthernet 1/0/6
Flags: A -- LACP_Activity, B -- LACP_Timeout, C -- Aggregation, D -- Synchronization, E -- Collecting, F -- Distributing, G -- Defaulted, H -- ExpiredGigabitEthernet1/0/6: 
Aggregate Interface: Bridge-Aggregation4
Port Number: 7 
Port Priority: 32768
Oper-Key: 1
[SW1]display  link-aggregation member-port  GigabitEthernet 1/0/7
Flags: A -- LACP_Activity, B -- LACP_Timeout, C -- Aggregation, D -- Synchronization, E -- Collecting, F -- Distributing, G -- Defaulted, H -- ExpiredGigabitEthernet1/0/7: 
Aggregate Interface: Bridge-Aggregation4
Port Number: 8 
Port Priority: 32768
Oper-Key: 1
[SW1]display  link-aggregation ?load-sharing  Link aggregation load sharingmember-port   Display member(s) of link aggregation groupsummary       Summary informationverbose       Display verbose information of link aggregation group[SW1]display  link-aggregation su
[SW1]display  link-aggregation summary 
Aggregation Interface Type: 
BAGG -- Bridge-Aggregation, BLAGG -- Blade-Aggregation, RAGG -- Route-Aggregation, SCH-B -- Schannel-Bundle 
Aggregation Mode: S -- Static, D -- Dynamic 
Loadsharing Type: Shar -- Loadsharing, NonS -- Non-Loadsharing
Actor System ID: 0x8000, 4e53-c0ce-0100AGG        AGG   Partner ID              Selected  Unselected  Individual  Share
Interface  Mode                          Ports     Ports       Ports       Type 
--------------------------------------------------------------------------------
BAGG4      S     None                    0         4           0           Shar 
[SW1]display  link-aggregation ve
[SW1]display  link-aggregation verbose 
Loadsharing Type: Shar -- Loadsharing, NonS -- Non-Loadsharing 
Port: A -- Auto
Port Status: S -- Selected, U -- Unselected, I -- Individual 
Flags:  A -- LACP_Activity, B -- LACP_Timeout, C -- Aggregation, D -- Synchronization, E -- Collecting, F -- Distributing,  G -- Defaulted, H -- ExpiredAggregate Interface: Bridge-Aggregation4
Aggregation Mode: Static
Loadsharing Type: SharPort             Status  Priority Oper-Key
--------------------------------------------------------------------------------GE1/0/4          U       32768    1         GE1/0/5          U       32768    1         GE1/0/6          U       32768    1         GE1/0/7          U       32768    1         

三 华三三层静态链路聚合

操作

命令

说明

进入系统视图

system-view

-

创建三层聚合接口,并进入三层聚合接口视图

interface route-aggregation interface-number

创建三层聚合接口后,系统将自动生成同编号的三层聚合组,且该聚合组缺省工作在静态聚合模式下

退回系统视图

quit

-

进入三层以太网接口视图

interface interface-type interface-number

多次执行此步骤可将多个三层以太网接口加入聚合组

将三层以太网接口加入聚合组

port link-aggregation group number

将接口的模式改为三层模式

[SW3]int
[SW3]interface  ra
[SW3]interface  range  g
[SW3]interface  range  GigabitEthernet  1/0/3 to g1/0/7
[SW3-if-range]po
[SW3-if-range]port li
[SW3-if-range]port link-ty
[SW3-if-range]port link-mo
[SW3-if-range]port link-mode  r
[SW3-if-range]port link-mode  route 
%Jul 13 23:09:53:420 2024 SW3 IFNET/3/PHY_UPDOWN: Physical state on the interface GigabitEthernet1/0/3 changed to down.
%Jul 13 23:09:53:420 2024 SW3 IFNET/5/LINK_UPDOWN: Line protocol state on the interface GigabitEthernet1/0/3 changed to down.
%Jul 13 23:09:53:420 2024 SW3 STP/6/STP_NOTIFIED_TC: Instance 0's port GigabitEthernet1/0/4 was notified a topology change.
%Jul 13 23:09:53:466 2024 SW3 IFNET/3/PHY_UPDOWN: Physical state on the interface GigabitEthernet1/0/4 changed to down.
%Jul 13 23:09:53:466 2024 SW3 STP/6/STP_NOTIFIED_TC: Instance 0's port GigabitEthernet1/0/5 was notified a topology change.
%Jul 13 23:09:53:467 2024 SW3 IFNET/5/LINK_UPDOWN: Line protocol state on the interface GigabitEthernet1/0/4 changed to down.
%Jul 13 23:09:53:510 2024 SW3 IFNET/3/PHY_UPDOWN: Physical state on the interface GigabitEthernet1/0/5 changed to down.
%Jul 13 23:09:53:510 2024 SW3 STP/6/STP_NOTIFIED_TC: Instance 0's port GigabitEthernet1/0/6 was notified a topology change.
%Jul 13 23:09:53:511 2024 SW3 IFNET/5/LINK_UPDOWN: Line protocol state on the interface GigabitEthernet1/0/5 changed to down.
%Jul 13 23:09:53:549 2024 SW3 IFNET/3/PHY_UPDOWN: Physical state on the interface GigabitEthernet1/0/6 changed to down.
%Jul 13 23:09:53:549 2024 SW3 IFNET/5/LINK_UPDOWN: Line protocol state on the interface GigabitEthernet1/0/6 changed to down.
%Jul 13 23:09:53:549 2024 SW3 STP/6/STP_NOTIFIED_TC: Instance 0's port GigabitEthernet1/0/7 was notified a topology change.
[SW3-if-range]%Jul 13 23:09:53:590 2024 SW3 IFNET/3/PHY_UPDOWN: Physical state on the interface GigabitEthernet1/0/7 changed to down.
%Jul 13 23:09:53:590 2024 SW3 IFNET/5/LINK_UPDOWN: Line protocol state on the interface GigabitEthernet1/0/7 changed to down.
%Jul 13 23:09:55:467 2024 SW3 IFNET/3/PHY_UPDOWN: Physical state on the interface GigabitEthernet1/0/3 changed to up.
%Jul 13 23:09:55:467 2024 SW3 IFNET/5/LINK_UPDOWN: Line protocol state on the interface GigabitEthernet1/0/3 changed to up.
%Jul 13 23:09:55:507 2024 SW3 IFNET/3/PHY_UPDOWN: Physical state on the interface GigabitEthernet1/0/4 changed to up.
%Jul 13 23:09:55:507 2024 SW3 IFNET/5/LINK_UPDOWN: Line protocol state on the interface GigabitEthernet1/0/4 changed to up.
%Jul 13 23:09:55:547 2024 SW3 LLDP/6/LLDP_CREATE_NEIGHBOR: Nearest bridge agent neighbor created on port GigabitEthernet1/0/5 (IfIndex 6), neighbor's chassis ID is 4e54-0b64-0400, port ID is GigabitEthernet1/0/5.%Jul 13 23:09:55:549 2024 SW3 IFNET/3/PHY_UPDOWN: Physical state on the interface GigabitEthernet1/0/5 changed to up.
%Jul 13 23:09:55:549 2024 SW3 IFNET/5/LINK_UPDOWN: Line protocol state on the interface GigabitEthernet1/0/5 changed to up.
%Jul 13 23:09:55:591 2024 SW3 IFNET/3/PHY_UPDOWN: Physical state on the interface GigabitEthernet1/0/6 changed to up.
%Jul 13 23:09:55:591 2024 SW3 IFNET/5/LINK_UPDOWN: Line protocol state on the interface GigabitEthernet1/0/6 changed to up.
%Jul 13 23:09:55:626 2024 SW3 IFNET/3/PHY_UPDOWN: Physical state on the interface GigabitEthernet1/0/7 changed to up.
%Jul 13 23:09:55:627 2024 SW3 IFNET/5/LINK_UPDOWN: Line protocol state on the interface GigabitEthernet1/0/7 changed to up.
%Jul 13 23:09:56:525 2024 SW3 LLDP/6/LLDP_CREATE_NEIGHBOR: Nearest bridge agent neighbor created on port GigabitEthernet1/0/3 (IfIndex 4), neighbor's chassis ID is 4e54-0b64-0400, port ID is GigabitEthernet1/0/3.%Jul 13 23:09:56:526 2024 SW3 LLDP/6/LLDP_CREATE_NEIGHBOR: Nearest bridge agent neighbor created on port GigabitEthernet1/0/4 (IfIndex 5), neighbor's chassis ID is 4e54-0b64-0400, port ID is GigabitEthernet1/0/4.%Jul 13 23:09:57:522 2024 SW3 LLDP/6/LLDP_CREATE_NEIGHBOR: Nearest bridge agent neighbor created on port GigabitEthernet1/0/6 (IfIndex 7), neighbor's chassis ID is 4e54-0b64-0400, port ID is GigabitEthernet1/0/6.%Jul 13 23:09:57:523 2024 SW3 LLDP/6/LLDP_CREATE_NEIGHBOR: Nearest bridge agent neighbor created on port GigabitEthernet1/0/7 (IfIndex 8), neighbor's chassis ID is 4e54-0b64-0400, port ID is GigabitEthernet1/0/7.

配置三层静态链路聚合

[SW3]int
[SW3]interface  r
[SW3]interface  range
[SW3]interface  Route-Aggregation 55
[SW3-Route-Aggregation55]quit
[SW3]int
[SW3]interface  ra
[SW3]interface  range g
[SW3]interface  range GigabitEthernet 1/0/3 to g
[SW3]interface  range GigabitEthernet 1/0/3 to GigabitEthernet 1/0/7
[SW3-if-range]po
[SW3-if-range]port
[SW3-if-range]por
[SW3-if-range]port li
[SW3-if-range]port link-
[SW3-if-range]port link-aggregation g
[SW3-if-range]port link-aggregation group  55
%Jul 13 23:11:43:563 2024 SW3 IFNET/5/LINK_UPDOWN: Line protocol state on the interface GigabitEthernet1/0/3 changed to down.
[SW3-if-range]%Jul 13 23:11:43:563 2024 SW3 IFNET/3/IF_WARN: The jumboframe of the aggregate interface Route-Aggregation55 is not supported on the member port GigabitEthernet1/0/3
%Jul 13 23:11:43:564 2024 SW3 LAGG/6/LAGG_ACTIVE: Member port GE1/0/3 of aggregation group RAGG55 changed to the active state.
%Jul 13 23:11:43:569 2024 SW3 IFNET/5/LINK_UPDOWN: Line protocol state on the interface GigabitEthernet1/0/3 changed to up.
%Jul 13 23:11:43:570 2024 SW3 IFNET/3/PHY_UPDOWN: Physical state on the interface Route-Aggregation55 changed to up.
%Jul 13 23:11:43:570 2024 SW3 IFNET/5/LINK_UPDOWN: Line protocol state on the interface Route-Aggregation55 changed to up.
%Jul 13 23:11:43:570 2024 SW3 IFNET/3/IF_WARN: The jumboframe of the aggregate interface Route-Aggregation55 is not supported on the member port GigabitEthernet1/0/4
%Jul 13 23:11:43:570 2024 SW3 LAGG/6/LAGG_ACTIVE: Member port GE1/0/4 of aggregation group RAGG55 changed to the active state.
%Jul 13 23:11:43:575 2024 SW3 IFNET/5/LINK_UPDOWN: Line protocol state on the interface GigabitEthernet1/0/4 changed to down.
%Jul 13 23:11:43:576 2024 SW3 IFNET/5/LINK_UPDOWN: Line protocol state on the interface GigabitEthernet1/0/4 changed to up.
%Jul 13 23:11:43:577 2024 SW3 IFNET/3/IF_WARN: The jumboframe of the aggregate interface Route-Aggregation55 is not supported on the member port GigabitEthernet1/0/5
%Jul 13 23:11:43:577 2024 SW3 LAGG/6/LAGG_ACTIVE: Member port GE1/0/5 of aggregation group RAGG55 changed to the active state.
%Jul 13 23:11:43:579 2024 SW3 IFNET/5/LINK_UPDOWN: Line protocol state on the interface GigabitEthernet1/0/5 changed to down.
%Jul 13 23:11:43:580 2024 SW3 IFNET/5/LINK_UPDOWN: Line protocol state on the interface GigabitEthernet1/0/5 changed to up.
%Jul 13 23:11:43:580 2024 SW3 IFNET/3/IF_WARN: The jumboframe of the aggregate interface Route-Aggregation55 is not supported on the member port GigabitEthernet1/0/6
%Jul 13 23:11:43:581 2024 SW3 LAGG/6/LAGG_ACTIVE: Member port GE1/0/6 of aggregation group RAGG55 changed to the active state.
%Jul 13 23:11:43:583 2024 SW3 IFNET/5/LINK_UPDOWN: Line protocol state on the interface GigabitEthernet1/0/6 changed to down.
%Jul 13 23:11:43:584 2024 SW3 IFNET/5/LINK_UPDOWN: Line protocol state on the interface GigabitEthernet1/0/6 changed to up.
%Jul 13 23:11:43:584 2024 SW3 IFNET/3/IF_WARN: The jumboframe of the aggregate interface Route-Aggregation55 is not supported on the member port GigabitEthernet1/0/7
%Jul 13 23:11:43:584 2024 SW3 LAGG/6/LAGG_ACTIVE: Member port GE1/0/7 of aggregation group RAGG55 changed to the active state.
%Jul 13 23:11:43:586 2024 SW3 IFNET/5/LINK_UPDOWN: Line protocol state on the interface GigabitEthernet1/0/7 changed to down.
%Jul 13 23:11:43:586 2024 SW3 IFNET/5/LINK_UPDOWN: Line protocol state on the interface GigabitEthernet1/0/7 changed to up.[SW3-if-range]

简写

  1. [SW4]display  history-command
  2. [SW4 display  current-configuration
  3.  [SW4interface  Route-Aggregation  55
  4.  [SW4quit
  5. [SW4 int range  GigabitEthernet  1/0/3 to GigabitEthernet  1/0/7
  6.  [SW4port link-mo route
  7.  [SW4port link-aggregation group  55
  8.  [SW4quit
  9.  [SW4display  link-aggregation summary
  10.  [SW4display  link-aggregation verbose

四 华三二层动态链路聚合

[SW2]interface  Bridge-Aggregation  4
[SW2-Bridge-Aggregation4]display  this 
#
interface Bridge-Aggregation4
#
return
[SW2-Bridge-Aggregation4]link-aggregation  mode  dynamic 
[SW2-Bridge-Aggregation4]quit
[SW2]interface  range  GigabitEthernet  1/0/4 to GigabitEthernet 1/0/7
[SW2-if-range]display  this 
#
interface GigabitEthernet1/0/4port link-mode bridgeport link-type trunkport trunk permit vlan allcombo enable fiberport link-aggregation group 4
#
return
[SW2-if-range]lacp  mode  passive 
[SW2]display  link-aggregation summary 
Aggregation Interface Type: 
BAGG -- Bridge-Aggregation, BLAGG -- Blade-Aggregation, RAGG -- Route-Aggregation, SCH-B -- Schannel-Bundle 
Aggregation Mode: S -- Static, D -- Dynamic 
Loadsharing Type: Shar -- Loadsharing, NonS -- Non-Loadsharing
Actor System ID: 0x8000, 4e53-c869-0200AGG        AGG   Partner ID              Selected  Unselected  Individual  Share
Interface  Mode                          Ports     Ports       Ports       Type 
--------------------------------------------------------------------------------
BAGG4      D     0x8000, 0000-0000-0000  0         4           0           Shar 
[SW2]display  link-aggregation ve
[SW2]display  link-aggregation verbose 
Loadsharing Type: Shar -- Loadsharing, NonS -- Non-Loadsharing 
Port: A -- Auto
Port Status: S -- Selected, U -- Unselected, I -- Individual 
Flags:  A -- LACP_Activity, B -- LACP_Timeout, C -- Aggregation, D -- Synchronization, E -- Collecting, F -- Distributing,  G -- Defaulted, H -- ExpiredAggregate Interface: Bridge-Aggregation4
Aggregation Mode: Dynamic
Loadsharing Type: Shar
System ID: 0x8000, 4e53-c869-0200
Local: Port                Status  Priority Oper-Key  Flag
--------------------------------------------------------------------------------GE1/0/4             U       32768    1         {}GE1/0/5             U       32768    1         {}GE1/0/6             U       32768    1         {}GE1/0/7             U       32768    1         {}
Remote: Actor               Partner Priority Oper-Key  SystemID               Flag   
--------------------------------------------------------------------------------GE1/0/4             5       32768    1         0x22  , 4e53-c0ce-0100 {G}GE1/0/5             6       32768    1         0x22  , 4e53-c0ce-0100 {G}GE1/0/6             7       32768    1         0x22  , 4e53-c0ce-0100 {G}GE1/0/7             8       32768    1         0x22  , 4e53-c0ce-0100 {G}
[SW2]

五 华三 三层动态链路聚合


[SW3-Route-Aggregation55]display  this 
#
interface Route-Aggregation55
#
return
[SW3-Route-Aggregation55]link-aggregation  mode  dynamic 
[SW3-Route-Aggregation55]quit
[SW3]int range  GigabitEthernet 1/0/3 to  GigabitEthernet 1/0/7
[SW3-if-range]lacp  mode  passive 
[SW3-if-range]display  this 
#
interface GigabitEthernet1/0/3port link-mode routecombo enable fiberlacp mode passiveport link-aggregation group 55
#

[SW4]interface  ra
[SW4]interface  range  g
[SW4]interface  range  GigabitEthernet 1/0/3 to g
[SW4]interface  range  GigabitEthernet 1/0/3 to GigabitEthernet 1/0/7
[SW4-if-range]dis
[SW4-if-range]display  th
[SW4-if-range]display  this 
#
interface GigabitEthernet1/0/3port link-mode routecombo enable fiberport link-aggregation group 55
#
return
[SW4-if-range]la
[SW4-if-range]lacp  mo
[SW4-if-range]lacp  mode  pa
[SW4-if-range]lacp  mode  passive [SW4-if-range]display  link-aggregation verbose 
Loadsharing Type: Shar -- Loadsharing, NonS -- Non-Loadsharing 
Port: A -- Auto
Port Status: S -- Selected, U -- Unselected, I -- Individual 
Flags:  A -- LACP_Activity, B -- LACP_Timeout, C -- Aggregation, D -- Synchronization, E -- Collecting, F -- Distributing,  G -- Defaulted, H -- ExpiredAggregate Interface: Route-Aggregation55
Aggregation Mode: Dynamic
Loadsharing Type: Shar
System ID: 0x8000, 4e54-0b64-0400
Local: Port                Status  Priority Oper-Key  Flag
--------------------------------------------------------------------------------GE1/0/3             S       32768    1         {CDEFG}GE1/0/4             U       32768    1         {CG}

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

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

相关文章

【MySQL 进阶】MySQL 程序 -- 详解

一、MySQL 程序简介 MySQL 安装完成通常会包含如下程序&#xff1a; 1、Linux 系统 程序⼀般在 /usr/bin 目录下&#xff0c;可以通过命令查看&#xff1a; 2、Windows系统 目录&#xff1a;你的安装路径\MySQL Server 8.0\bin&#xff0c;可以通过命令查看&#xff1a; 可…

树莓派PICO使用INA226测量电流和总线电压(2)

上一篇文章里&#xff0c;我们讲了如何设置配置寄存器&#xff08;0x01&#xff09;&#xff0c;在测量电流之前&#xff0c;还需要设置校准寄存器&#xff08;0x05&#xff09;&#xff0c;校准寄存器非常关键&#xff0c;如果不设置这个寄存器&#xff0c;INA226是不会工作的…

搜索引擎中的相关性模型

一、什么是相关性模型&#xff1f; 相关性模型主要关注的是query和doc的相关性。例如给定query&#xff0c;和1000个doc&#xff0c;找到哪个doc是好query最相关的。 二、为什么需要相关性模型&#xff1f; 熟悉es的应该都熟悉BM25相关性算法。它是一个很简单的相关性算法。我…

SpringBoot+Vue(2)excel后台管理页面

一、需求 SpringBootVue写excel后台管理页面&#xff08;二级页面打开展示每一个excel表&#xff0c;数据库存储字段为“下载、删除、文件详情、是否共享、共享详情”&#xff09; 二、解答 后端(Spring Boot) 1. 项目设置 使用Spring Initializr创建一个新的Spring Boot项目…

深度学习5 神经网络

生物神经网络是指人的大脑&#xff0c;这是人工神经网络的技术原型。根据生物神经网络的原理&#xff0c;人们用计算机复现了简化的神经网络。当然&#xff0c;人工神经网络是机器学习的一大分支。 1.基本组成 1.1神 经 元 神经元是神经网络的基本组成。激活函数又称作激励函…

计算机的错误计算(三十)

摘要 回复网友就计算机的错误计算&#xff08;二十八&#xff09;提出的 3个疑问&#xff1a;为什么 exp(4.567) 有 2位错误数字&#xff1f;不应该是1位么&#xff1f;Excel 的输出中有错误数字&#xff0c;如何证明&#xff1f; 正确结果由 ISReal 软件 提供&#xff1f; 就…

如何在 Android Studio 中导出并在 IntelliJ IDEA 中查看应用的 SQLite 数据库

在 Android 应用开发过程中&#xff0c;调试和查看应用内的数据库内容是常见的需求。本文将介绍如何使用 Android Studio 导出应用的 SQLite 数据库&#xff0c;并在 IntelliJ IDEA 中查看该数据库。 步骤一&#xff1a;在设备上运行您的应用 首先&#xff0c;确保您的应用已…

视频播放器的问题

<template><div class"app-container"><el-form :model"queryParam" ref"queryForm" :inline"true"><el-form-item label"题目ID&#xff1a;"><el-input v-model"queryParam.id" cle…

2-33 基于matlab的用于计算无故障的斜齿轮对啮合时接触线长度随时间的变化

基于matlab的用于计算无故障的斜齿轮对啮合时接触线长度随时间的变化&#xff0c;根据需求设置斜齿轮对的相应参数&#xff0c;得到结果。程序已调通&#xff0c;可直接运行。 2-33 斜齿轮对啮合时接触线长度 齿轮参数 - 小红书 (xiaohongshu.com)

【matlab】大数据基础与应用实例

目录 引言 线性回归模型 基本形式 最小二乘法 多元线性回归 线性回归的假设 模型评估 应用 独热编码 原理 应用场景 优点 缺点 数据收集 数据可视化 数据处理与分析 完整代码 引言 线性回归模型 线性回归模型是一种用于预测连续值输出&#xff08;或称为因变…

【RHCE】综合实验0710综合实验

题目&#xff1a; 主服务器192.168.244.130 防火墙允许服务的放行&#xff1a; selinux放行 [rootlocalhost ~]# ll -Z /nfs/rhce 总用量 4 -rw-r--r--. 1 root root unconfined_u:object_r:default_t:s0 8 7月 10 16:52 index.html -rw-r--r--. 1 nobody nobody system_…

python爬虫网页解析模块及测试案例详解

xpath模块 xpath模块基本使用方法 测试网页 <!DOCTYPE html> <html lang"en"> <head><meta charset"UTF-8"/><title>Title</title> </head> <body><ul><li id"l1" class"c1&q…

​前端Vue自定义签到获取积分弹框组件设计与实现

摘要 随着前端技术的不断演进&#xff0c;开发的复杂性日益凸显。传统的整体式开发方式在面临功能迭代和修改时&#xff0c;常常牵一发而动全身&#xff0c;导致开发效率低下和维护成本高昂。组件化开发作为一种解决方案&#xff0c;通过实现模块的独立开发和维护&#xff0c;…

frp内网穿透ssh,tcp经过服务器慢速和p2p模式实现高速吃满上传带宽

ssh_server aliyun_server ssh_client 办公室 云服务器 家 在家里经过云服务器中转&#xff0c;很慢&#xff0c;但是很稳定 使用p2p穿透&#xff0c;速度可以直接拉满 ssh_server cc.ini # 连接服务器配置 [common] server_addr 1…

InjectFix 热更新解决方案

简介 今天来谈一谈&#xff0c;项目种的客户端热更新解决方案。InjectFix是腾讯xlua团队出品的一种用于Unity中C#代码热更新热修复的解决方案。支持Unity全系列&#xff0c;全平台。与xlua的思路类似&#xff0c;InjectFix解决的痛点主要在于Unity中C#代码写的逻辑在发包之后无…

【数智化CIO展】沃太能源CIO陈丽:AI 浪潮下的中国企业数智化转型机遇与挑战...

陈丽 本文由沃太能源CIO陈丽投递并参与由数据猿联合上海大数据联盟共同推出的《2024中国数智化转型升级优秀CIO》榜单/奖项评选。 大数据产业创新服务媒体 ——聚焦数据 改变商业 在当今飞速发展的数字时代&#xff0c;中国企业正面临着前所未有的变革机遇和挑战。“中国企业数…

Flowable-流程图标与流程演示

BPMN 2.0是业务流程建模符号2.0的缩写。它由Business Process Management Initiative这个非营利协会创建并不断发展。作为一种标识&#xff0c;BPMN 2.0是使用一些符号来明确业务流程设计流程图的一整套符号规范&#xff0c;它能增进业务建模时的沟通效率。目前BPMN2.0是最新的…

链路追踪系列-01.mac m1 安装zipkin

下载地址&#xff1a;https://hub.docker.com/r/openzipkin/zipkin jelexjelexxudeMacBook-Pro zipkin-server % pwd /Users/jelex/Documents/work/zipkin-server 先启动Es: 可能需要先删除 /Users/jelex/dockerV/es/plugins 目录下的.DS_Store 当端口占用时再次启动&#x…

Chromium CI/CD 之Jenkins实用指南2024-Windows安装篇(一)

1. 引言 在现代软件开发过程中&#xff0c;持续集成和持续部署&#xff08;CI/CD&#xff09;是确保高效、稳定软件交付的关键实践。Jenkins作为一款广泛使用的自动化服务器&#xff0c;通过其强大的插件体系和灵活的配置&#xff0c;支持各种操作系统和开发环境。为了帮助开发…

excel 百分位函数 学习

提示&#xff1a;文章写完后&#xff0c;目录可以自动生成&#xff0c;如何生成可参考右边的帮助文档 文章目录 前言一、函数说明PERCENTILE 函数PERCENTILE.inc 函数PERCENTILE.exc 函数QUARTILE.EXC 函数 二、使用步骤总结 前言 excel 百分位函数 Excel提供了几个函数用于…