当前位置: 首页 > news >正文

13 华三三层链路聚和

13 华三三层链路聚和

AI 解析

华三三层静态路由是指在华三交换机上配置的一种路由方式。它通过在交换机上手动配置路由表,将不同网络之间的数据进行转发。

华三三层静态路由的配置步骤如下:

1. 配置交换机接口的IP地址:在交换机上选择要配置的接口,输入接口命令,然后输入IP地址、子网掩码和网关地址。

2. 配置路由表:在交换机上选择要配置的路由表,输入路由表命令,然后输入目的网段、下一跳地址和出接口。

3. 验证配置:使用ping命令验证配置是否成功,发送数据包到目标设备,看是否能够正常通信。

需要注意的是,华三三层静态路由是一种手动配置的路由方式,当网络拓扑发生变化时,需要手动更新路由表。对于复杂的网络环境,静态路由可能会导致路由表过于庞大,不便于管理。因此,在一些大型网络中,通常会使用动态路由协议来自动学习和更新路由信息。

配置思路

1. 配置三层静态聚合组

(1)      进入系统视图。

system-view

(2)      创建三层聚合接口,并进入三层聚合接口视图。

interface route-aggregation interface-number

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

(3)      退回系统视图。

quit

(4)      将三层以太网接口加入聚合组。

a.   进入三层以太网接口视图。

interface interface-type interface-number

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

port link-aggregation group group-id

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

(5)      (可选)配置端口优先级。

link-aggregation port-priority priority

缺省情况下,端口优先级为32768。

9de9f40fcd014f32b0b9c59efe56e9c9.png

修改路由模式

<H3C>sys
System View: return to User View with Ctrl+Z.
[H3C]int
[H3C-GigabitEthernet1/0/2]port link-mode  route
[H3C-GigabitEthernet1/0/2]%May  9 22:09:18:900 2024 H3C IFNET/3                                                                     /PHY_UPDOWN: Physical state on the interface GigabitEthernet1/0                                                                     /2 changed to down.
%May  9 22:09:18:900 2024 H3C IFNET/5/LINK_UPDOWN: Line protoco                                                                     l state on the interface GigabitEthernet1/0/2 changed to down.[H3C-GigabitEthernet1/0/2]q%May  9 22:09:20:942 2024 H3C IFNET/                                                                     3/PHY_UPDOWN: Physical state on the interface GigabitEthernet1/                                                                     0/2 changed to up.
%May  9 22:09:20:942 2024 H3C IFNET/5/LINK_UPDOWN: Line protoco                                                                     l state on the interface GigabitEthernet1/0/2 changed to up.
ui%May  9 22:09:22:202 2024 H3C LLDP/6/LLDP_CREATE_NEIGHBOR: Ne                                                                     arest bridge agent neighbor created on port GigabitEthernet1/0/                                                                     2 (IfIndex 3), neighbor's chassis ID is 36b8-9947-0100, port ID                                                                      is GigabitEthernet1/0/3.[H3C-GigabitEthernet1/0/1]port link-mode  route
[H3C-GigabitEthernet1/0/1]%May  9 22:09:37:399 2024 H3C IFNET/3                                                                     /PHY_UPDOWN: Physical state on the interface GigabitEthernet1/0                                                                     /1 changed to down.
%May  9 22:09:37:399 2024 H3C IFNET/5/LINK_UPDOWN: Line protoco                                                                     l state on the interface GigabitEthernet1/0/1 changed to down.[H3C-GigabitEthernet1/0/1]%May  9 22:09:39:437 2024 H3C IFNET/3                                                                     /PHY_UPDOWN: Physical state on the interface GigabitEthernet1/0                                                                     /1 changed to up.
%May  9 22:09:39:438 2024 H3C IFNET/5/LINK_UPDOWN: Line protoco                                                                     l state on the interface GigabitEthernet1/0/1 changed to up.[H3C-GigabitEthernet1/0/1]qu%May  9 22:09:41:182 2024 H3C LLDP/                                                                     6/LLDP_CREATE_NEIGHBOR: Nearest bridge agent neighbor created o                                                                     n port GigabitEthernet1/0/1 (IfIndex 2), neighbor's chassis ID                                                                      is 36b8-9947-0100, port ID is GigabitEthernet1/0/2.[H3C]interface  GigabitEthernet  11/0/4^% Wrong parameter found at '^' position.
[H3C]interface  GigabitEthernet  1/0/4
[H3C-GigabitEthernet1/0/4]dis
[H3C-GigabitEthernet1/0/4]display  th
[H3C-GigabitEthernet1/0/4]display  this
#
interface GigabitEthernet1/0/4port link-mode bridgecombo enable fiber
#
return
[H3C-GigabitEthernet1/0/4]port link-mode  route
[H3C-GigabitEthernet1/0/4]%May  9 22:10:04:954 2024 H3C IFNET/3                                                                     /PHY_UPDOWN: Physical state on the interface GigabitEthernet1/0                                                                     /4 changed to down.
%May  9 22:10:04:954 2024 H3C IFNET/5/LINK_UPDOWN: Line protoco                                                                     l state on the interface GigabitEthernet1/0/4 changed to down.[H3C-GigabitEthernet1/0/4]%May  9 22:10:06:994 2024 H3C IFNET/3                                                                     /PHY_UPDOWN: Physical state on the interface GigabitEthernet1/0                                                                     /4 changed to up.
%May  9 22:10:06:994 2024 H3C IFNET/5/LINK_UPDOWN: Line protoco                                                                     l state on the interface GigabitEthernet1/0/4 changed to up.
dis
[H3C-GigabitEthernet1/0/4]display %May  9 22:10:08:169 2024 H3C                                                                      LLDP/6/LLDP_CREATE_NEIGHBOR: Nearest bridge agent neighbor cre                                                                     ated on port GigabitEthernet1/0/4 (IfIndex 5), neighbor's chass                                                                     is ID is 36b8-9947-0100, port ID is GigabitEthernet1/0/4.th
[H3C-GigabitEthernet1/0/4]display  this
#
interface GigabitEthernet1/0/4port link-mode routecombo enable fiber
#
return
[H3C-GigabitEthernet1/0/4]

三层聚合操作

[H3C]interface  ?Bridge-Aggregation   Bridge-Aggregation interfaceFortyGigE            FortyGigE interfaceGigabitEthernet      GigabitEthernet interfaceLoopBack             LoopBack interfaceM-GigabitEthernet    MGE interfaceNULL                 NULL interfaceRoute-Aggregation    Route-Aggregation interfaceTen-GigabitEthernet  Ten-GigabitEthernet interfaceTunnel               Tunnel interfaceTunnel-Bundle        Tunnel-Bundle interfaceVlan-interface       VLAN interfacerange                Configure an interface range[H3C]interface  ro
[H3C]interface  Route-Aggregation  12
[H3C-Route-Aggregation12]quit
[H3C]int
[H3C]interface  g
[H3C]interface  GigabitEthernet  1/0/1
[H3C-GigabitEthernet1/0/1]po
[H3C-GigabitEthernet1/0/1]por
[H3C-GigabitEthernet1/0/1]port li
[H3C-GigabitEthernet1/0/1]port link-r
[H3C-GigabitEthernet1/0/1]port link-?link-aggregation  Link aggregation grouplink-mode         Switch the specified interface to layer2 or layer3 ethernet[H3C-GigabitEthernet1/0/1]port link-a
[H3C-GigabitEthernet1/0/1]port link-aggregation  ?group  Specify aggregation group number[H3C-GigabitEthernet1/0/1]port link-aggregation  g
[H3C-GigabitEthernet1/0/1]port link-aggregation  group  12
[H3C-GigabitEthernet1/0/1]%May  9 22:12:46:431 2024 H3C IFNET/5/LINK_UPDOWN: Line protocol state on the interface GigabitEthernet1/0/1 changed to down.
%May  9 22:12:46:431 2024 H3C IFNET/3/IF_WARN: The jumboframe of the aggregate interface Route-Aggregation12 is not supported on the member port GigabitEthernet1/0/1
%May  9 22:12:46:432 2024 H3C LAGG/6/LAGG_ACTIVE: Member port GE1/0/1 of aggregation group RAGG12 changed to the active state.
%May  9 22:12:46:435 2024 H3C IFNET/5/LINK_UPDOWN: Line protocol state on the interface GigabitEthernet1/0/1 changed to up.
%May  9 22:12:46:435 2024 H3C IFNET/3/PHY_UPDOWN: Physical state on the interface Route-Aggregation12 changed to up.
%May  9 22:12:46:435 2024 H3C IFNET/5/LINK_UPDOWN: Line protocol state on the interface Route-Aggregation12 changed to up.[H3C-GigabitEthernet1/0/1]dis
[H3C-GigabitEthernet1/0/1]display  th
[H3C-GigabitEthernet1/0/1]display  this
#
interface GigabitEthernet1/0/1port link-mode routecombo enable fiberport link-aggregation group 12
#
return
[H3C-GigabitEthernet1/0/1]quit
[H3C]int
[H3C]interface  g
[H3C]interface  GigabitEthernet  1/0/2
[H3C-GigabitEthernet1/0/2]po
[H3C-GigabitEthernet1/0/2]port li
[H3C-GigabitEthernet1/0/2]port link-?link-aggregation  Link aggregation grouplink-mode         Switch the specified interface to layer2 or layer3 ethernet[H3C-GigabitEthernet1/0/2]port link-a
[H3C-GigabitEthernet1/0/2]port link-aggregation  g
[H3C-GigabitEthernet1/0/2]port link-aggregation  group  ?INTEGER<1-1024>  Link aggregation group number[H3C-GigabitEthernet1/0/2]port link-aggregation  group  12
[H3C-GigabitEthernet1/0/2]%May  9 22:13:23:496 2024 H3C IFNET/5/LINK_UPDOWN: Line protocol state on the interface GigabitEthernet1/0/2 changed to down.
%May  9 22:13:23:496 2024 H3C IFNET/3/IF_WARN: The jumboframe of the aggregate interface Route-Aggregation12 is not supported on the member port GigabitEthernet1/0/2
%May  9 22:13:23:496 2024 H3C LAGG/6/LAGG_ACTIVE: Member port GE1/0/2 of aggregation group RAGG12 changed to the active state.
%May  9 22:13:23:498 2024 H3C IFNET/5/LINK_UPDOWN: Line protocol state on the interface GigabitEthernet1/0/2 changed to up.[H3C-GigabitEthernet1/0/2]dis
[H3C-GigabitEthernet1/0/2]display  th
[H3C-GigabitEthernet1/0/2]display  this
#
interface GigabitEthernet1/0/2port link-mode routecombo enable fiberport link-aggregation group 12
#
return
[H3C-GigabitEthernet1/0/2]quit
[H3C]int
[H3C]interface  g
[H3C]interface  GigabitEthernet  1/0/4
[H3C-GigabitEthernet1/0/4]po
[H3C-GigabitEthernet1/0/4]port li
[H3C-GigabitEthernet1/0/4]port link-a
[H3C-GigabitEthernet1/0/4]port link-aggregation  g
[H3C-GigabitEthernet1/0/4]port link-aggregation  group  12
[H3C-GigabitEthernet1/0/4]%May  9 22:13:44:926 2024 H3C IFNET/5/LINK_UPDOWN: Line protocol state on the interface GigabitEthernet1/0/4 changed to down.
%May  9 22:13:44:926 2024 H3C IFNET/3/IF_WARN: The jumboframe of the aggregate interface Route-Aggregation12 is not supported on the member port GigabitEthernet1/0/4
%May  9 22:13:44:927 2024 H3C LAGG/6/LAGG_ACTIVE: Member port GE1/0/4 of aggregation group RAGG12 changed to the active state.
%May  9 22:13:44:929 2024 H3C IFNET/5/LINK_UPDOWN: Line protocol state on the interface GigabitEthernet1/0/4 changed to up.[H3C-GigabitEthernet1/0/4]dis
[H3C-GigabitEthernet1/0/4]display  th
[H3C-GigabitEthernet1/0/4]display  this
#
interface GigabitEthernet1/0/4port link-mode routecombo enable fiberport link-aggregation group 12
#
return
[H3C-GigabitEthernet1/0/4]

测试

[H3C]display  interface  r
[H3C]display  interface  ro
[H3C]display  interface  Route-Aggregation  12
Route-Aggregation12
Current state: UP
Line protocol state: UP
Description: Route-Aggregation12 Interface
Bandwidth: 3000000 kbps
Maximum transmission unit: 1500
Internet protocol processing: Disabled
IP packet frame type: Ethernet II, hardware address: 36b8-9fd1-                                                                     0202
IPv6 packet frame type: Ethernet II, hardware address: 36b8-9fd                                                                     1-0202
Last clearing of counters: NeverLast 300 second input rate: 0 bytes/sec, 0 bits/sec, 0 packets                                                                     /secLast 300 second output rate: 0 bytes/sec, 0 bits/sec, 0 packet                                                                     s/secInput: 0 packets, 0 bytes, 0 dropsOutput: 0 packets, 0 bytes, 0 drops[H3C]dis
[H3C]display  int
[H3C]display  interface  rou
[H3C]display  interface  Route-Aggregation b
[H3C]display  interface  Route-Aggregation brief
Brief information on interfaces in route mode:
Link: ADM - administratively down; Stby - standby
Protocol: (s) - spoofing
Interface            Link Protocol Primary IP      Description                                                                      
RAGG12               UP   UP       --[H3C]dis
[H3C]display  li
[H3C]display  li
[H3C]display li
[H3C]display line
[H3C]display link-aggregation s
[H3C]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, 36b8-9fd1-0200AGG        AGG   Partner ID              Selected  Unselected                                                                       Individual  Share
Interface  Mode                          Ports     Ports                                                                            Ports       Type
---------------------------------------------------------------                                                                     -----------------
RAGG12     S     None                    3         0                                                                                0           Shar
[H3C]dis
[H3C]display  li
[H3C]display  line
[H3C]display  link-aggregation tr
[H3C]display  link-aggregation tr
[H3C]display  link-aggregation tr
[H3C]display  link-aggregation tr
[H3C]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[H3C]display  link-aggregation  ver
[H3C]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 -- Distributin                                                                     g,G -- Defaulted, H -- ExpiredAggregate Interface: Route-Aggregation12
Aggregation Mode: Static
Loadsharing Type: SharPort             Status  Priority Oper-Key
---------------------------------------------------------------                                                                     -----------------GE1/0/1          S       32768    1GE1/0/2          S       32768    1GE1/0/4          S       32768    1
[H3C]dis
[H3C]display  li
[H3C]display  line
[H3C]display  link-aggregation br
[H3C]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[H3C]display  link-aggregation lo
[H3C]display  link-aggregation load-sharing^% Incomplete command found at '^' position.
[H3C]display  link-aggregation g
[H3C]

链路聚合的维护

详细作用查询命令
显示聚合接口的相关信息display interface [ { bridge-aggregation
显示本端系统的设备IDdisplay lacp system-id
显示全局或聚合组内采用的聚合负载分担类型display link-aggregation load-sharing mode[ interface [ { bridge-aggregation
显示成员端口上链路聚合的详细信息display link-aggregation member-port [ interface-list
显示所有聚合组的摘要信息display link-aggregation summary
显示聚合组成员端口的选中状态及原因display link-aggregation troubleshooting [ { bridge-aggregation
显示已有聚合接口所对应聚合组的详细信息display link-aggregation verbose [ { bridge-aggregation
清除聚合接口上的统计信息reset counters interface [ { bridge-aggregation
清除成员端口上的LACP统计信息reset lacp statistics [ interface interface-list ]

 

相关文章:

13 华三三层链路聚和

13 华三三层链路聚和 AI 解析 华三三层静态路由是指在华三交换机上配置的一种路由方式。它通过在交换机上手动配置路由表&#xff0c;将不同网络之间的数据进行转发。 华三三层静态路由的配置步骤如下&#xff1a; 1. 配置交换机接口的IP地址&#xff1a;在交换机上选择要配…...

C# 下载安装,使用OfficeOpenXml

下载安装OfficeOpenXml模块 using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.IO; using System.Linq; using System.Reflection.Emit; using System.Text; using System.Text.RegularEx…...

Spring整体流程源码分析

DisableEncodeUrlFilter 防止sessionId被泄露 包装器模式 WebAsyncManagerIntegrationFilter WebAsyncManagerIntegrationFilter通常与Spring MVC的异步请求处理机制一起使用&#xff0c;确保在使用Callable或DeferredResult等异步处理方式时&#xff0c;安全上下文能够正…...

使用XxlCrawler抓取全球航空公司ICAO三字码

目录 前言 一、数据源介绍 1、目标网站 2、页面渲染结构 二、XxlCrawler信息获取 1、创建XxlCrawler对象 2、定义PageVo对象 3、直接PageVO解析 4、自定义解析 总结 前言 长距离旅行或者出差&#xff0c;飞机一定是出行的必备方式。对于旅行达人或者出差人员而言&…...

Java String转JSONObject时保持字段顺序不变

Java String转JSONObject时保持字段顺序不变 问题背景解决方案 问题背景 在业务接口开发过程中&#xff0c;有一个新增接口&#xff0c;需要支持批量新增数据&#xff0c;这时入参就需要用到 json 格式数据&#xff0c;且包含 list 集合&#xff0c;比如这样的数据格式&#x…...

Optional用法

说明&#xff1a;Optional和Stream一样&#xff0c;是Java8引入的特性&#xff0c;本文介绍Optional的几个实际用法。Steam流使用&#xff0c;参考下面这篇文章&#xff1a; Stream流使用 使用 1.保证值存在 // 1.保证值存在&#xff0c;pageNumber&#xff0c;pageSizeInte…...

【观成科技】加密C2框架Xiebro流量分析

一、工具介绍 Xiebro是由Golang和 .NET编写&#xff0c;提供支持的多人和多服务器 C2/后开发框架。它支持多种通信协议&#xff0c;包括TCP、websocket等&#xff0c;并且在客户端与Xiebro服务器之间的通信通常采用AES加密来保障安全性和隐蔽性。 二、工具原理分析 Xiebro C…...

【八大排序算法】插入排序、希尔排序、选择排序、堆排序、冒泡排序、快速排序、归并排序、计数排序

文章目录 一、排序的相关概念二、排序类型三、排序算法实现插入排序1.直接插入排序2.希尔排序 选择排序3.简单选择排序4.堆排序 交换排序5.冒泡排序6.快速排序递归实现非递归实现 7.归并排序递归实现非递归实现 8.计数排序 四、总结 一、排序的相关概念 排序&#xff1a;根据数…...

Flutter 中的 CupertinoActionSheet 小部件:全面指南

Flutter 中的 CupertinoActionSheet 小部件&#xff1a;全面指南 在Flutter中&#xff0c;CupertinoActionSheet是用于在iOS风格的应用中显示动作面板的组件。它提供了一个简洁的界面&#xff0c;让用户可以快速从一组选项中做出选择。CupertinoActionSheet通常伴随着一个或多…...

IDEA 好用的插件

图标插件&#xff1a;Atom Material Icons 此插件的作用就是更好的显示各种文件的类别&#xff0c;使之一目了然 汉化包 Chinese ​(Simplified)​ Language Pack / 中文语言包 作用就是 汉化 AI编码助手 GitHub Copilot AI编码助手&#xff1a;提示代码很好用 缺点&#xff1a…...

leetcode——链表的中间节点

876. 链表的中间结点 - 力扣&#xff08;LeetCode&#xff09; 链表的中间节点是一个简单的链表OJ。我们要返回中间节点有两种情况&#xff1a;节点数为奇数和节点数是偶数。如果是奇数则直接返回中间节点&#xff0c;如果是偶数则返回第二个中间节点。 这道题的解题思路是&a…...

稳定网络的诀窍:静态住宅代理解决方案

在数字化时代&#xff0c;网络稳定性对于个人和企业都至关重要。然而&#xff0c;由于多种因素的影响&#xff0c;如地理位置、网络拥堵或网络安全问题等&#xff0c;网络稳定性常常受到挑战。为了应对这些挑战&#xff0c;静态住宅代理作为一种高效且可靠的网络解决方案&#…...

VACode 创建Vue项目完整过程

一、软件下载 VSCode官网下载地址&#xff1a;https://code.visualstudio.com/ 二、下载开发环境 1. 安装 [Node.js](https://nodejs.org/)&#xff1b; 2. 安装 [npm](https://www.npmjs.com/) 依赖管理工具&#xff1b; 注&#xff1a;node.js安装完后会同步安装npm,一般…...

【C++】详解C++的模板

目录 概念 ​编辑 语法 函数模板 类模板 非类型模板参数 模板的特化 函数模板特化 类模板特化 全特化 偏特化 分离编译 概念 模板是C中非常厉害的设计&#xff0c;模板把通用的逻辑剥离出来&#xff0c;让不同的数据类型可以复用同一种模板的逻辑&#xff0c;甚至可以…...

1146 -Table ‘performance schema.session variables‘ doesn‘t exist的错误解决

一、问题出现 今天在本地连数据库的时候&#xff0c;发现这个问题&#xff0c;哎呦我擦&#xff0c;差点吓死了 二、解决办法 1&#xff09;找文件 用everything搜一下MySQL Server 5.7 然后去Windows服务找一下MySQL配置文件的具体路径 如果知道那最好&#xff0c;不知道那…...

练习题(2024/5/13)

1移除链表元素 给你一个链表的头节点 head 和一个整数 val &#xff0c;请你删除链表中所有满足 Node.val val 的节点&#xff0c;并返回 新的头节点 。 示例 1&#xff1a; 输入&#xff1a;head [1,2,6,3,4,5,6], val 6 输出&#xff1a;[1,2,3,4,5]示例 2&#xff1a; …...

LeetCode—设计循环队列(两种方法)

1.题目 2.思路一&#xff08;数组&#xff09; 通过数组进行模拟&#xff0c;通过操作数组的索引构建一个虚拟的首尾相连的环。再循环队列结构中&#xff0c;设置一个队首head和队尾tail&#xff0c;数组的大小固定为k。 初步分析&#xff1a;存在缺陷 改善假溢出问题&#…...

python “名称空间和作用域” 以及 “模块的导入和使用”

七、名称空间和作用域 可以简单理解为存放变量名和变量值之间绑定关系的地方。 1、名称空间 在 Python 中有各种各样的名称空间&#xff1a; 全局名称空间&#xff1a;每个程序的主要部分定义了全局的变量名和变量值的对应关系&#xff0c;这样就叫做全局名称空间 局部名称…...

Pycharm导入自定义模块报红

文章目录 Pycharm导入自定义模块报红1.问题描述2.解决办法 Pycharm导入自定义模块报红 1.问题描述 Pycharm 导入自定义模块报红&#xff0c;出现红色下划线。 2.解决办法 打开【File】->【Setting】->【Build,Execution,Deployment】->【Console】->【Python Con…...

LLMs之KG-RAG:KG-RAG(基于知识图谱的RAG系统)的简介(可以解决多跳问题/同时支持结构化和非结构化数据查询)、经验技巧、案例应用之详细攻略

LLMs之KG-RAG&#xff1a;KG-RAG(基于知识图谱的RAG系统)的简介(可以解决多跳问题/同时支持结构化和非结构化数据查询)、经验技巧、案例应用之详细攻略 背景痛点&#xff1a;传统的基于向量相似度检索的RAG模型回答多环(多步)问题的能力有限&#xff0c;无法同时处理来自多个文…...

微信小程序之bind和catch

这两个呢&#xff0c;都是绑定事件用的&#xff0c;具体使用有些小区别。 官方文档&#xff1a; 事件冒泡处理不同 bind&#xff1a;绑定的事件会向上冒泡&#xff0c;即触发当前组件的事件后&#xff0c;还会继续触发父组件的相同事件。例如&#xff0c;有一个子视图绑定了b…...

(十)学生端搭建

本次旨在将之前的已完成的部分功能进行拼装到学生端&#xff0c;同时完善学生端的构建。本次工作主要包括&#xff1a; 1.学生端整体界面布局 2.模拟考场与部分个人画像流程的串联 3.整体学生端逻辑 一、学生端 在主界面可以选择自己的用户角色 选择学生则进入学生登录界面…...

golang循环变量捕获问题​​

在 Go 语言中&#xff0c;当在循环中启动协程&#xff08;goroutine&#xff09;时&#xff0c;如果在协程闭包中直接引用循环变量&#xff0c;可能会遇到一个常见的陷阱 - ​​循环变量捕获问题​​。让我详细解释一下&#xff1a; 问题背景 看这个代码片段&#xff1a; fo…...

大型活动交通拥堵治理的视觉算法应用

大型活动下智慧交通的视觉分析应用 一、背景与挑战 大型活动&#xff08;如演唱会、马拉松赛事、高考中考等&#xff09;期间&#xff0c;城市交通面临瞬时人流车流激增、传统摄像头模糊、交通拥堵识别滞后等问题。以演唱会为例&#xff0c;暖城商圈曾因观众集中离场导致周边…...

Go 语言接口详解

Go 语言接口详解 核心概念 接口定义 在 Go 语言中&#xff0c;接口是一种抽象类型&#xff0c;它定义了一组方法的集合&#xff1a; // 定义接口 type Shape interface {Area() float64Perimeter() float64 } 接口实现 Go 接口的实现是隐式的&#xff1a; // 矩形结构体…...

基础测试工具使用经验

背景 vtune&#xff0c;perf, nsight system等基础测试工具&#xff0c;都是用过的&#xff0c;但是没有记录&#xff0c;都逐渐忘了。所以写这篇博客总结记录一下&#xff0c;只要以后发现新的用法&#xff0c;就记得来编辑补充一下 perf 比较基础的用法&#xff1a; 先改这…...

Java 加密常用的各种算法及其选择

在数字化时代&#xff0c;数据安全至关重要&#xff0c;Java 作为广泛应用的编程语言&#xff0c;提供了丰富的加密算法来保障数据的保密性、完整性和真实性。了解这些常用加密算法及其适用场景&#xff0c;有助于开发者在不同的业务需求中做出正确的选择。​ 一、对称加密算法…...

Android15默认授权浮窗权限

我们经常有那种需求&#xff0c;客户需要定制的apk集成在ROM中&#xff0c;并且默认授予其【显示在其他应用的上层】权限&#xff0c;也就是我们常说的浮窗权限&#xff0c;那么我们就可以通过以下方法在wms、ams等系统服务的systemReady()方法中调用即可实现预置应用默认授权浮…...

python执行测试用例,allure报乱码且未成功生成报告

allure执行测试用例时显示乱码&#xff1a;‘allure’ &#xfffd;&#xfffd;&#xfffd;&#xfffd;&#xfffd;ڲ&#xfffd;&#xfffd;&#xfffd;&#xfffd;ⲿ&#xfffd;&#xfffd;&#xfffd;Ҳ&#xfffd;&#xfffd;&#xfffd;ǿ&#xfffd;&am…...

laravel8+vue3.0+element-plus搭建方法

创建 laravel8 项目 composer create-project --prefer-dist laravel/laravel laravel8 8.* 安装 laravel/ui composer require laravel/ui 修改 package.json 文件 "devDependencies": {"vue/compiler-sfc": "^3.0.7","axios": …...