10 2022 档案
摘要:正常状态 编辑状态 代码 <template> <div> <el-table :data="tableData" border @cell-dblclick="editCell" @cell-click="cellClick"> <el-table-column prop="date" label
阅读全文
摘要:交换机配置 [SW1]vlan batch 100 200 [SW1]int g0/0/1 [SW1-GigabitEthernet0/0/1]port link-type access [SW1-GigabitEthernet0/0/1]port default vlan 100 [SW1-Gig
阅读全文
摘要:1、配置路由器AR1 [Huawei]sysname RouterA [RouterA]int g0/0/0.200 [RouterA-GigabitEthernet0/0/0.200]dot1q termination vid 200 [RouterA-GigabitEthernet0/0/0.2
阅读全文
摘要:1、配置路由器R1 <Huawei>system-view [Huawei]sysname AR1 [AR1]int s 0/0/0 [AR1-Serial0/0/0]ip add 12.1.1.1 24 [AR1-Serial0/0/0]q [AR1]int LoopBack 0 [AR1-Loo
阅读全文
摘要:1、配置路由器 [Huawei]sysname AR1 [AR1]int g 0/0/1 [AR1-GigabitEthernet0/0/1]ip add 192.168.200.1 24 [AR1-GigabitEthernet0/0/0]int g 0/0/0 [AR1-GigabitEther
阅读全文
摘要:在字段上添加注释 class Data { private String status; @JsonDeserialize(using = LocalDateTimeDeserializer.class) @JsonSerialize(using = LocalDateTimeSerializer.
阅读全文
摘要:1、Access端口配置 [Huawei]vlan 10 //创建VLAN10 [Huawei]dis vlan //查看VLAN信息 The total number of vlans is : 2 U: Up; D: Down; TG: Tagged; UT: Untagged; MP: Vla
阅读全文
摘要:1、携带IEEE802.1q标签得数据帧格式 TPID(Tag Protocol Identifier):长度为2字节,固定值为0x8100,该字段的作用等同于以太网数据帧类型,标识这是一个携带IEEE802.1q标签的数据帧。如果不支持IEEE802.1q的设备收到这样的数据帧,会将其丢弃。 PR
阅读全文
摘要:1、根桥选举 首先比较网桥ID优先级,越小则越优,默认优先级是32768.如果优先级一样,则比较系统MAC地址(非接口MAC地址),MAC地址越小越优先。 2、根端口选举 ① 比较BPDU报文中的根桥ID(RID),优选RID小的(在一个网络中只能存在一个根桥,所以RID都是一致的) ② 比较到达根
阅读全文
摘要:1.开启和禁用STP [SWA]stp disable //手动关闭交换机的STP Warning: The global STP state will be changed. Continue? [Y/N]y Info: This operation may take a few seconds.
阅读全文
摘要:2.7 VRP基本配置 2.7.1 配置系统时钟 <R1>clock timezone BJ add 8 //调整时区为北京+8区 <R1>clock datetime 15:22:00 2022-10-8 //设置时间,读者需要注意时间的格式 <R1>display clock //验证时间已经调
阅读全文
摘要:package com.example.demo.controller; import com.example.demo.model.User; import org.springframework.web.bind.annotation.*; import org.springframework.
阅读全文
摘要:public class Person { private String name = "小张"; public void say(String c) { System.out.println(c); } public void say() { System.out.println("hello,"
阅读全文
摘要:1.静态代理 package proxy; public interface Greeting { void sayHello(String name); } package proxy; public class GreetingImpl implements Greeting { @Overri
阅读全文
摘要:1.获取类信息 class Student { static { System.out.println("加载Student类"); } public Student() { System.out.println("Construct Student"); } } public class Clas
阅读全文