摘要: 1、安装SNMP服务 yum install net-snmp net-snmp-utils 2、启动SNMP服务 systemctl start snmpd.service 3、设置SNMP服务开机自启 systemctl enable snmpd.service 4、更改团体名 vi /etc/ 阅读全文
posted @ 2023-11-22 17:05 xl4ng 阅读(556) 评论(0) 推荐(0) 编辑
摘要: 1. 在resources目录下新建lib目录,将jar放入 2. 在pom文件中添加依赖 <dependency> <groupId>com.fanruan</groupId> <artifactId>fine-accumulator</artifactId> <version>11.0</ver 阅读全文
posted @ 2023-11-18 16:55 xl4ng 阅读(621) 评论(0) 推荐(0) 编辑
摘要: 1 在华为设备上实施VLAN接入 [SW1]vlan 8 ^ [SW1-vlan8]description QCNA [SW1-vlan8] [SW1-vlan8]display port vlan active T=TAG U=UNTAG Port Link Type PVID VLAN List 阅读全文
posted @ 2023-10-21 15:38 xl4ng 阅读(14) 评论(0) 推荐(0) 编辑
摘要: 1.在华三交换机上查看MAC地址表 [SW1]display mac-address MAC Address VLAN ID State Port/Nickname Aging [SW1]interface Vlan-interface 1 [SW1-Vlan-interface1]ip addre 阅读全文
posted @ 2023-10-21 10:14 xl4ng 阅读(99) 评论(0) 推荐(0) 编辑
摘要: 1.配置交换机SW1作为客户端 [SW1]interface Vlanif 1 [SW1-Vlanif1]ip address 192.168.0.2 30 2.配置路由器R1作为服务端 [R1]int g0/0/0 [R1-GigabitEthernet0/0/0]ip address 192.1 阅读全文
posted @ 2023-10-18 20:43 xl4ng 阅读(10) 评论(0) 推荐(0) 编辑
摘要: 1.在华为设备上配置SSH协议 1.1 按图配置端口的ip地址,并做连通性测试 [R1]interface g0/0/0 [R1-GigabitEthernet0/0/0]ip address 202.100.1.1 255.255.255.252 [R2]int g0/0/0 [R2-Gigabi 阅读全文
posted @ 2023-10-18 20:19 xl4ng 阅读(29) 评论(0) 推荐(0) 编辑
摘要: 1. 选举根桥 1.1 比较优先级 1.2 比较MAC地址 2. 选举根端口 2.1 比较根路径开销 2.2 比较对端交换机的BID 2.3 比较对端交换机端口PID 2.4 比较本交换机端口PID 3. 选举指定端口 3.1 比较根路径开销,根桥上的端口、根端口对端端口都为指定端口 3.2 比较B 阅读全文
posted @ 2023-10-11 22:03 xl4ng 阅读(46) 评论(0) 推荐(0) 编辑
摘要: 1 STP的基本概念 1.1 桥ID IEEE 802.1D标准中规定BID由16位的桥优先级(取值范围0~65535,必须为4096的倍数)和桥MAC地址构成。 每台运行STP的交换机都拥有一个唯一的BID。 BID桥优先级占据高16位,其余的低48位是桥MAC地址。 在STP网络中,BID最小的 阅读全文
posted @ 2023-10-10 21:49 xl4ng 阅读(86) 评论(0) 推荐(0) 编辑
摘要: 1. 华为设备 1.1 配置R1 <Huawei>sys <Huawei>system-view Enter system view, return user view with Ctrl+Z. [Huawei]sysname HW-R1 [HW-R1]int g0/0/1 [HW-R1-Gigab 阅读全文
posted @ 2023-10-09 23:16 xl4ng 阅读(9) 评论(0) 推荐(0) 编辑
摘要: 1. 华为设备 <Huawei> <Huawei>system-view [Huawei]user-interface console 0 [Huawei-ui-console0]authentication-mode password [Huawei-ui-console0]set authent 阅读全文
posted @ 2023-10-09 22:21 xl4ng 阅读(54) 评论(0) 推荐(0) 编辑