H3CNE综合实验之机器人

实验拓扑图

在这里插入图片描述

实验需求

1.按照图示配置 IP 地址

2.SW1 和 SW2 之间的直连链路配置链路聚合

3.公司内部业务网段为 Vlan10 和 Vlan20;Vlan10 是市场部,Vlan20 是技术部,要求对 Vlan 进行命名以识别;

​ PC8 属于 Vlan10,PC9 属于 Vlan20,Vlan30 用于 SW1 和 SW2 建立 OSPF 邻居;

​ Vlan111 为 SW1 和 R1 的互 联 Vlan,Vlan222 为 SW2 和 R2 的互联 Vlan

4.所有交换机相连的端口配置为 Trunk,允许相关流量通过

5.交换区域配置生成树,要求SW2为根网桥,闭塞端口在SW3上

6.交换机连接 PC 的端口配置为边缘端口

7.按图示分区域配置 OSPF 实现公司内部网络全网互通,

R1和R2的环回口宣告进骨干区域;业务网段不允许出现协议报文(即配置静默接口)

8.R1 上配置默认路由指向互联网,并引入到 OSPF

9.R1通过双线连接到互联网,配置MP-GROUP,并配置双向chap验证

10.只有业务网段192.168.1.0/24和192.168.2.0/24的数据流可以通过R1访问互联网

11.R1开启TELNET远程管理,使用用户abc登录,密码123456.com

1.按照图示配置 IP 地址(略)
[R1]dis ip int b
*down: administratively down
(s): spoofing  (l): loopback
Interface           Physical Protocol IP address/Mask    VPN instance Description  
GE0/0               up       up       10.0.0.5/30        --           --
GE0/1               up       up       10.0.0.1/30        --           --
GE0/2               up       up       10.0.0.14/30       --           --
GE5/0               down     down     --                 --           --
GE5/1               down     down     --                 --           --
GE6/0               down     down     --                 --           --
GE6/1               down     down     --                 --           --
Loop0               up       up(s)    10.1.1.1/32        --           --
Ser1/0              up       up       --                 --           --
Ser2/0              up       up       --                 --           --
Ser3/0              down     down     --                 --           --
Ser4/0              down     down     --                 --           --
[R2-LoopBack0]dis ip int b
*down: administratively down
(s): spoofing  (l): loopback
Interface           Physical Protocol IP address/Mask    VPN instance Description  
GE0/0               up       up       10.0.0.9/30        --           --
GE0/1               up       up       10.0.0.18/30       --           --
GE0/2               up       up       10.0.0.2/30        --           --
GE5/0               down     down     --                 --           --
GE5/1               down     down     --                 --           --
GE6/0               down     down     --                 --           --
GE6/1               down     down     --                 --           --
Loop0               up       up(s)    10.1.1.2/32        --           --
Ser1/0              down     down     --                 --           --
Ser2/0              down     down     --                 --           --
Ser3/0              down     down     --                 --           --
Ser4/0              down     down     --                 --           --
[R3-LoopBack0]dis ip int b
*down: administratively down
(s): spoofing  (l): loopback
Interface           Physical Protocol IP address/Mask    VPN instance Description  
GE0/0               up       up       10.0.0.13/30       --           --
GE0/1               up       up       10.0.0.17/30       --           --
GE0/2               down     down     192.168.3.254/24   --           --
GE5/0               down     down     --                 --           --
GE5/1               down     down     --                 --           --
GE6/0               down     down     --                 --           --
GE6/1               down     down     --                 --           --
Loop0               up       up(s)    10.1.1.3/32        --           --
Ser1/0              down     down     --                 --           --
Ser2/0              down     down     --                 --           --
Ser3/0              down     down     --                 --           --
Ser4/0              down     down     --                 --           --
[intenet-LoopBack0]dis ip int b
*down: administratively down
(s): spoofing  (l): loopback
Interface           Physical Protocol IP address/Mask    VPN instance Description  
GE0/0               down     down     --                 --           --
GE0/1               down     down     --                 --           --
GE0/2               down     down     --                 --           --
GE5/0               down     down     --                 --           --
GE5/1               down     down     --                 --           --
GE6/0               down     down     --                 --           --
GE6/1               down     down     --                 --           --
Loop0               up       up(s)    100.1.1.1/32       --           --
Ser1/0              up       up       --                 --           --
Ser2/0              up       up       --                 --           --
Ser3/0              down     down     --                 --           --
Ser4/0              down     down     --                 --           --
[SW1]int l0
[SW1-LoopBack0]ip ad 10.1.1.11 32
[SW1]vlan 10
[SW1-vlan10]vlan 20
[SW1-vlan20]vlan 30
[SW1-vlan30]vlan 111
[SW1-vlan111]int vlan 10
[SW1-Vlan-interface10]ip ad 192.168.1.252 24
[SW1-Vlan-interface10]int vlan 20
[SW1-Vlan-interface20]ip ad 192.168.2.252 24
[SW1-Vlan-interface20]int vlan 30
[SW1-Vlan-interface30]ip ad 10.1.2.1 30
[SW1-Vlan-interface30]int vlan 111
[SW1-Vlan-interface111]ip ad 10.0.0.6 30
[SW1-Vlan-interface111]dis ip int b
*down: administratively down
(s): spoofing  (l): loopback
Interface                Physical Protocol IP Address      Description 
Loop0                    up       up(s)    10.1.1.11       --
MGE0/0/0                 down     down     --              --
Vlan10                   down     down     192.168.1.252   --
Vlan20                   down     down     192.168.2.252   --
Vlan30                   down     down     10.1.2.1        --
Vlan111                  down     down     10.0.0.6        --
[SW2]int l0
[SW2-LoopBack0]ip ad 10.1.1.12 32
[SW2]vlan 10
[SW2-vlan10]vlan 20
[SW2-vlan20]vlan 30
[SW2-vlan30]vlan 222
[SW2-vlan222]int vlan 10
[SW2-Vlan-interface10]ip ad 192.168.1.253 24
[SW2-Vlan-interface10]int vlan 20
[SW2-Vlan-interface20]ip ad 192.168.2.253 24
[SW2-Vlan-interface20]int vlan 30
[SW2-Vlan-interface30]ip ad 10.1.2.2 30
[SW2-Vlan-interface30]int vlan 222
[SW2-Vlan-interface222]ip ad 10.0.0.10 30
[SW2-Vlan-interface222]dis ip int b
*down: administratively down
(s): spoofing  (l): loopback
Interface                Physical Protocol IP Address      Description 
Loop0                    up       up(s)    10.1.1.12       --
MGE0/0/0                 down     down     --              --
Vlan10                   down     down     192.168.1.253   --
Vlan20                   down     down     192.168.2.253   --
Vlan30                   down     down     10.1.2.2        --
Vlan222                  down     down     10.0.0.10       --

在这里插入图片描述

在这里插入图片描述

在这里插入图片描述

2.SW1 和 SW2 之间的直连链路配置链路聚合
[SW1]int Bridge-Aggregation 1
[SW1-Bridge-Aggregation1]int range g1/0/1 to g1/0/2
[SW1-if-range]port link-aggregation group 1
[SW1-if-range]dis th
#
interface GigabitEthernet1/0/1port link-mode bridgecombo enable fiberport link-aggregation group 1
#
return
[SW2]interface Bridge-Aggregation 1
[SW2-Bridge-Aggregation1]int range g1/0/1 to g1/0/2
[SW2-if-range]port link-aggregation group 1
[SW2-if-range]dis th
#
interface GigabitEthernet1/0/1port link-mode bridgecombo enable fiberport link-aggregation group 1
#
return
3.划分VLAN

​ 公司内部业务网段为 Vlan10 和 Vlan20;Vlan10 是市场部,Vlan20 是技术部,要求对 Vlan 进行命名以识别;

​ PC1 属于 Vlan10,PC2 属于 Vlan20,Vlan30 用于 SW1 和 SW2 建立 OSPF 邻居;

​ Vlan111 为 SW1 和 R1 的互 联 Vlan,Vlan222 为 SW2 和 R2 的互联 Vlan

(1)在SW3中给g1/0/3接口配置vlan10,给g1/0/4接口配置vlan20,并命名
[Sw3]vlan 10
[Sw3-vlan10]port g1/0/3
[Sw3-vlan10]name shichangbu
[Sw3-vlan10]dis th
#
vlan 10name shichangbu
#
return
[Sw3-vlan10]vlan 20
[Sw3-vlan20]port g1/0/4
[Sw3-vlan20]name jishubu
[Sw3-vlan20]dis th
#
vlan 20name jishubu
#
return
(2)在SW1的g1/0/4接口配置vlan111,在SW2的g1/0/4接口配置vlan222
[SW1]vlan 111
[SW1-vlan111]port g1/0/4
[SW2]vlan 222
[SW2-vlan222]port g1/0/4
4.所有交换机相连的端口配置为 Trunk,允许相关流量通过
[SW1]int Bridge-Aggregation 1
[SW1-Bridge-Aggregation1]port link-type trunk 
Configuring GigabitEthernet1/0/1 done.
Configuring GigabitEthernet1/0/2 done.
[SW1-Bridge-Aggregation1]port trunk permit vlan 10 20 30
[SW1-Bridge-Aggregation1]int g1/0/3
[SW1-GigabitEthernet1/0/3]port link-type trunk 
[SW1-GigabitEthernet1/0/3]port trunk permit vlan 10 20
[SW2]int Bridge-Aggregation 1
[SW2-Bridge-Aggregation1]port link-type trunk 
Configuring GigabitEthernet1/0/1 done.
Configuring GigabitEthernet1/0/2 done.
[SW2-Bridge-Aggregation1]port trunk permit vlan 10 20 30
[SW2-Bridge-Aggregation1]int g1/0/3
[SW2-GigabitEthernet1/0/3]port link-type trunk 
[SW2-GigabitEthernet1/0/3]port trunk permit vlan 10 20
[Sw3]int g1/0/1
[Sw3-GigabitEthernet1/0/1]port link-type trunk 
[Sw3-GigabitEthernet1/0/1]port trunk permit vlan 10 20
[Sw3-GigabitEthernet1/0/1]int g1/0/2
[Sw3-GigabitEthernet1/0/2]port link-type trunk 
[Sw3-GigabitEthernet1/0/2]port trunk permit vlan 10 20
5.交换区域配置生成树,要求SW2为根网桥,闭塞端口在SW3上
(1)查看现在的根网桥和闭塞端口
[SW1]dis stp
-------[CIST Global Info][Mode MSTP]-------Bridge ID           : 32768.56fa-9586-0500Bridge times        : Hello 2s MaxAge 20s FwdDelay 15s MaxHops 20Root ID/ERPC        : 32768.56fa-9586-0500, 0RegRoot ID/IRPC     : 32768.56fa-9586-0500, 0RootPort ID         : 0.0BPDU-Protection     : DisabledBridge Config-Digest-Snooping     : DisabledTC or TCN received  : 8Time since last TC  : 0 days 0h:45m:42s
[SW1]dis stp brief MST ID   Port                                Role  STP State   Protection0        Bridge-Aggregation1                 DESI  FORWARDING  NONE0        GigabitEthernet1/0/3                DESI  FORWARDING  NONE0        GigabitEthernet1/0/4                DESI  FORWARDING  NONE
[SW2]dis stp
-------[CIST Global Info][Mode MSTP]-------Bridge ID           : 32768.56fa-9aca-0600Bridge times        : Hello 2s MaxAge 20s FwdDelay 15s MaxHops 20Root ID/ERPC        : 32768.56fa-9586-0500, 18RegRoot ID/IRPC     : 32768.56fa-9aca-0600, 0RootPort ID         : 128.1409BPDU-Protection     : DisabledBridge Config-Digest-Snooping     : DisabledTC or TCN received  : 6Time since last TC  : 0 days 0h:46m:1s
[SW2]dis stp brief MST ID   Port                                Role  STP State   Protection0        Bridge-Aggregation1                 ROOT  FORWARDING  NONE0        GigabitEthernet1/0/3                DESI  FORWARDING  NONE0        GigabitEthernet1/0/4                DESI  FORWARDING  NONE
[Sw3]dis stp
-------[CIST Global Info][Mode MSTP]-------Bridge ID           : 32768.56fa-a098-0700Bridge times        : Hello 2s MaxAge 20s FwdDelay 15s MaxHops 20Root ID/ERPC        : 32768.56fa-9586-0500, 20RegRoot ID/IRPC     : 32768.56fa-a098-0700, 0RootPort ID         : 128.2BPDU-Protection     : DisabledBridge Config-Digest-Snooping     : DisabledTC or TCN received  : 10Time since last TC  : 0 days 0h:46m:25s
[Sw3]dis stp brief MST ID   Port                                Role  STP State   Protection0        GigabitEthernet1/0/1                ROOT  FORWARDING  NONE0        GigabitEthernet1/0/2                ALTE  DISCARDING  NONE0        GigabitEthernet1/0/3                DESI  FORWARDING  NONE0        GigabitEthernet1/0/4                DESI  FORWARDING  NONE

可以判断出根网桥为SW1,闭塞端口在SW3的g1/0/2上

要让SW2成为根网桥,那么就让SW2的优先级最小,改为4096

[SW2]stp priority 4096
[SW2]%Jul 15 19:19:05:488 2025 SW2 STP/6/STP_NOTIFIED_TC: Instance 0's port GigabitEthernet1/0/3 was notified a topology change.

再次查看SW2的STP运行状态,确认它成为根网桥

[SW2]dis stp brief MST ID   Port                                Role  STP State   Protection0        Bridge-Aggregation1                 DESI  FORWARDING  NONE0        GigabitEthernet1/0/3                DESI  FORWARDING  NONE0        GigabitEthernet1/0/4                DESI  FORWARDING  NONE
[SW2]dis stp
-------[CIST Global Info][Mode MSTP]-------Bridge ID           : 4096.56fa-9aca-0600Bridge times        : Hello 2s MaxAge 20s FwdDelay 15s MaxHops 20Root ID/ERPC        : 4096.56fa-9aca-0600, 0RegRoot ID/IRPC     : 4096.56fa-9aca-0600, 0RootPort ID         : 0.0BPDU-Protection     : DisabledBridge Config-Digest-Snooping     : DisabledTC or TCN received  : 7Time since last TC  : 0 days 0h:1m:29s
[SW1]dis stp brief MST ID   Port                                Role  STP State   Protection0        Bridge-Aggregation1                 ROOT  FORWARDING  NONE0        GigabitEthernet1/0/3                DESI  FORWARDING  NONE0        GigabitEthernet1/0/4                DESI  FORWARDING  NONE
[Sw3]dis stp brief MST ID   Port                                Role  STP State   Protection0        GigabitEthernet1/0/1                ALTE  DISCARDING  NONE0        GigabitEthernet1/0/2                ROOT  FORWARDING  NONE0        GigabitEthernet1/0/3                DESI  FORWARDING  NONE0        GigabitEthernet1/0/4                DESI  FORWARDING  NONE

现在的闭塞端口在SW3的g1/0/1接口上,已经符合题目要求

6.交换机连接 PC 的端口配置为边缘端口
[Sw3]int g1/0/3
[Sw3-GigabitEthernet1/0/3]stp edg
Edge port should only be connected to terminal. It will cause temporary loops if port GigabitEthernet1/0/3 is connected to bridges. Please use it carefully.
[Sw3-GigabitEthernet1/0/3]stp edged-port 
[Sw3-GigabitEthernet1/0/3]int g1/0/4
[Sw3-GigabitEthernet1/0/4]stp edg
Edge port should only be connected to terminal. It will cause temporary loops if port GigabitEthernet1/0/4 is connected to bridges. Please use it carefully.
[Sw3-GigabitEthernet1/0/4]stp edged-port 
7.按图示分区域配置OSPF
(1)配置OSPF实现全网互通
[R1]ospf 1 router-id 10.1.1.1
[R1-ospf-1]area 0
[R1-ospf-1-area-0.0.0.0]network 10.1.1.1 0.0.0.0
[R1-ospf-1-area-0.0.0.0]network 10.0.0.1 0.0.0.0
[R1-ospf-1-area-0.0.0.0]network 10.0.0.14 0.0.0.0
[R1-ospf-1-area-0.0.0.0]dis th
#area 0.0.0.0network 10.0.0.1 0.0.0.0network 10.0.0.14 0.0.0.0network 10.1.1.1 0.0.0.0
#
return
[R1-ospf-1-area-0.0.0.0]quit
[R1-ospf-1]area 1
[R1-ospf-1-area-0.0.0.1]network 10.0.0.5 0.0.0.0
[R1-ospf-1-area-0.0.0.1]dis th
#area 0.0.0.1network 10.0.0.5 0.0.0.0
#
return
[R2]ospf 1 router-id 10.1.1.2
[R2-ospf-1]area 0
[R2-ospf-1-area-0.0.0.0]network 10.1.1.2 0.0.0.0
[R2-ospf-1-area-0.0.0.0]network 10.0.0.18 0.0.0.0
[R2-ospf-1-area-0.0.0.0]network 10.0.0.2 0.0.0.0
[R2-ospf-1-area-0.0.0.0]dis th
#area 0.0.0.0network 10.0.0.2 0.0.0.0network 10.0.0.18 0.0.0.0network 10.1.1.2 0.0.0.0
#
return
[R2-ospf-1-area-0.0.0.0]quit
[R2-ospf-1]area 1
[R2-ospf-1-area-0.0.0.1]network 10.0.0.9 0.0.0.0
[R2-ospf-1-area-0.0.0.1]dis th
#area 0.0.0.1network 10.0.0.9 0.0.0.0
#
return
[R3]ospf 1 router-id 10.1.1.3
[R3-ospf-1]area 0
[R3-ospf-1-area-0.0.0.0]network 10.0.0.13 0.0.0.0
[R3-ospf-1-area-0.0.0.0]%Jul 15 19:42:29:245 2025 R3 OSPF/5/OSPF_NBR_CHG: OSPF 1 Neighbor 10.0.0.14(GigabitEthernet0/0) changed from LOADING to FULL.[R3-ospf-1-area-0.0.0.0]network 10.0.0.17 0.0.0.0
[R3-ospf-1-area-0.0.0.0]network %Jul 15 19:42:58:947 2025 R3 OSPF/5/OSPF_NBR_CHG: OSPF 1 Neighbor 10.0.0.18(GigabitEthernet0/1) changed from LOADING to FULL.
192.168.3.254 0.0.0.255
[R3-ospf-1-area-0.0.0.0]network 10.1.1.3 0.0.0.0
[R3-ospf-1-area-0.0.0.0]dis th
#area 0.0.0.0network 10.0.0.13 0.0.0.0network 10.0.0.17 0.0.0.0network 10.1.1.3 0.0.0.0network 192.168.3.0 0.0.0.255
#
return
[SW1]ospf 1 router-id 10.1.1.11
[SW1-ospf-1]area 1
[SW1-ospf-1-area-0.0.0.1]network 192.168.1.252 0.0.0.255
[SW1-ospf-1-area-0.0.0.1]network 192.168.2.252 0.0.0.255
[SW1-ospf-1-area-0.0.0.1]network 10.1.2.1 0.0.0.0
[SW1-ospf-1-area-0.0.0.1]network 10.0.0.6 0.0.0.0
[SW1-ospf-1-area-0.0.0.1]dis th
#area 0.0.0.1network 10.0.0.6 0.0.0.0network 10.1.2.1 0.0.0.0network 192.168.1.0 0.0.0.255network 192.168.2.0 0.0.0.255
#
return
[SW2]ospf 1 router-id 10.1.1.12
[SW2-ospf-1]area 1
[SW2-ospf-1-area-0.0.0.1]network 192.168.1.253 0.0.0.255
[SW2-ospf-1-area-0.0.0.1]network 192.168.2.253 0.0.0.255
[SW2-ospf-1-area-0.0.0.1]network 10.1.2.2 0.0.0.0
[SW2-ospf-1-area-0.0.0.1]network 10.0.0.10 0.0.0.0
[SW2-ospf-1-area-0.0.0.1]dis th
#area 0.0.0.1network 10.0.0.10 0.0.0.0network 10.1.2.2 0.0.0.0network 192.168.1.0 0.0.0.255network 192.168.2.0 0.0.0.255
#
return
(2)业务网段不允许出现协议报文(即配置静默接口)
[SW1]ospf 1
[SW1-ospf-1]silent-interface vlan 10
[SW1-ospf-1]%Jul 15 20:00:12:803 2025 SW1 OSPF/5/OSPF_NBR_CHG: OSPF 1 Neighbor 192.168.1.253(Vlan-interface10) changed from FULL to DOWN.[SW1-ospf-1]silent-interface vlan 20
[SW1-ospf-1]%Jul 15 20:00:17:851 2025 SW1 OSPF/5/OSPF_NBR_CHG: OSPF 1 Neighbor 192.168.2.253(Vlan-interface20) changed from FULL to DOWN.[SW1-ospf-1]dis th
#
ospf 1 router-id 10.1.1.11silent-interface Vlan-interface10silent-interface Vlan-interface20area 0.0.0.1network 10.0.0.6 0.0.0.0network 10.1.2.1 0.0.0.0network 192.168.1.0 0.0.0.255network 192.168.2.0 0.0.0.255
#
return
[SW2]ospf 1
[SW2-ospf-1]silent-interface vlan 10
[SW2-ospf-1]%Jul 15 20:00:40:654 2025 SW2 OSPF/5/OSPF_NBR_CHG: OSPF 1 Neighbor 192.168.1.252(Vlan-interface10) changed from FULL to DOWN.[SW2-ospf-1]silent-interface vlan 20
[SW2-ospf-1]%Jul 15 20:00:44:159 2025 SW2 OSPF/5/OSPF_NBR_CHG: OSPF 1 Neighbor 192.168.2.252(Vlan-interface20) changed from FULL to DOWN.[SW2-ospf-1]dis th
#
ospf 1 router-id 10.1.1.12silent-interface Vlan-interface10silent-interface Vlan-interface20area 0.0.0.1network 10.0.0.10 0.0.0.0network 10.1.2.2 0.0.0.0network 192.168.1.0 0.0.0.255network 192.168.2.0 0.0.0.255
#
return
[R3]ospf 1
[R3-ospf-1]silent-interface g0/2
[R3-ospf-1]
[R3-ospf-1]dis th
#
ospf 1 router-id 10.1.1.3silent-interface GigabitEthernet0/2area 0.0.0.0network 10.0.0.13 0.0.0.0network 10.0.0.17 0.0.0.0network 10.1.1.3 0.0.0.0network 192.168.3.0 0.0.0.255
#
return
8.R1上配置默认路由指向互联网,并引入到OSPF
[R1]ip route-static 0.0.0.0 0 202.100.1.1
//后面的地址为对端IP地址
[R1-ospf-1]default-route-advertise 
[R1-ospf-1]dis th
#
ospf 1 router-id 10.1.1.1default-route-advertisearea 0.0.0.0network 10.0.0.1 0.0.0.0network 10.0.0.14 0.0.0.0network 10.1.1.1 0.0.0.0area 0.0.0.1network 10.0.0.5 0.0.0.0
#
return
9.R1通过双线连接到互联网,配置MP-GROUP,并配置双向chap验证
[R1]int MP-group 1
[R1]local-user stw class network 
New local user added.
[R1-luser-network-stw]password simple 123456
[R1-luser-network-stw]service-type ppp
[R1]int s1/0
[R1-Serial1/0]ppp mp MP-group 1[R1-Serial1/0]ppp chap user stw
[R1-Serial1/0]int s2/0
[R1-Serial2/0]ppp mp MP-group 1
[R1-Serial2/0]ppp chap user stw
[intenet]int MP-group 1
[intenet]local-user stw class network 
New local user added.
[intenet-luser-network-stw]password simple 123456
[intenet-luser-network-stw]service-type ppp
[intenet-luser-network-stw]quit
[intenet]int s1/0
[intenet-Serial1/0]ppp mp MP-group 1[intenet-Serial1/0]ppp chap user stw
[intenet-Serial1/0]
[intenet-Serial1/0]int s2/0
[intenet-Serial2/0]ppp mp MP-group 1
[intenet-Serial2/0]ppp chap user stw
10.只有业务网段192.168.1.0/24和192.168.2.0/24的数据流可以通过R1访问互联网
根据要求配置EASYIP
[R1]acl basic 2000
[R1-acl-ipv4-basic-2000]rule  permit source 192.168.1.0 0.0.0.255
[R1-acl-ipv4-basic-2000]rule  permit source 192.168.2.0 0.0.0.255
[R1-acl-ipv4-basic-2000]quit
[R1]int MP-group 1
[R1-MP-group1]nat outbound 2000
11.R1开启TELNET远程管理,使用用户abc登录,密码abc
[R1]telnet server enable 
[R1]local-user abc class manage 
New local user added.
[R1-luser-manage-abc]password simple 123456.com
[R1-luser-manage-abc]authorization-attribute user-role level-15
[R1-luser-manage-abc]service-type telnet[R1]user-interface vty 0 5
[R1-line-vty0-5]authentication-mode scheme 
[R1-line-vty0-5]user-role level-15
[R1-line-vty0-5]quit
测试效果
<H3C>telnet 10.1.1.1
Trying 10.1.1.1 ...
Press CTRL+K to abort
Connected to 10.1.1.1 ...******************************************************************************
* Copyright (c) 2004-2021 New H3C Technologies Co., Ltd. All rights reserved.*
* Without the owner's prior written consent,                                 *
* no decompiling or reverse-engineering shall be allowed.                    *
******************************************************************************Login: abc
Password: 
<R1>
<R1>

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

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

相关文章

2025/7/15——java学习总结

Java IO、Stream、异常与 File 全体系总结&#xff1a;从基础到进阶的完整突破一、核心知识深耕&#xff1a;四大模块的体系与底层逻辑&#xff08;一&#xff09;IO 流&#xff1a;数据传输的基础通道体系架构与核心分类按流向&#xff1a;输入流&#xff08;InputStream/Read…

【轨物方案】当补贴退潮,光伏电站如何回归价值本质?

中国光伏产业正站在一个历史性的拐点。过去&#xff0c;国家补贴的“黄金时代”催生了装机量的爆发式增长&#xff0c;许多电站在建设初期将重心放在了快速并网&#xff0c;却忽视了贯穿2-30年生命周期的运维规划。如今&#xff0c;补贴浪潮逐渐退去&#xff0c;各大企业开始从…

群晖Nas - Docker(ContainerManager)上安装SVN Server和库权限设置问题

上次安装了Gitlab&#xff0c;可以参考这篇&#xff08;群晖Nas - Docker&#xff08;ContainerManager&#xff09;上安装GitLab&#xff09;&#xff0c;今天来搞SVN服务器&#xff0c;废话不多说。 下载镜像 还是先下载镜像&#xff08;garethflowers/svn-server&#xff…

前端打包自动压缩为zip--archiver

安装依赖 pnpm add archiver types/archiver/vitePlugins/autoBuildZip.ts import { Plugin } from vite; import archiver from archiver; import fs from fs;const compressFolder (folderPath: string, outputFilePath: string) > {const output fs.createWriteStream(…

React响应式组件范式:从类组件到Hooks

​引言 在UI开发中&#xff0c;"状态变化自动触发UI更新"的响应式机制是构建动态界面的核心。React通过独特的​​单向数据流​​和​​虚拟DOM&#xff08;Virtual DOM&#xff09;​​ 实现这一目标&#xff0c;但类组件&#xff08;Class Components&#xff09;…

com2tcp工具

com2tcp 是 com0com 套件中的一个实用工具&#xff0c;用于将本地串口&#xff08;COM&#xff09;数据转发到 TCP/IP 网络&#xff0c;或者将 TCP/IP 数据转发到本地串口&#xff0c;实现串口数据的网络透传。 1. com2tcp 基本用法 &#xff08;1&#xff09;安装 com0com 从…

MySQL实操:将Word表格数据导入MySQL表

文章目录 1. 提出任务1.1 Word表格数据1.2 查看商品空表1.3 任务要求2. 完成任务2.1 借助AI2.1.1 利用AI生成SQL语句2.1.2 在Navicat里执行查询2.1.3 查看商品表记录2.2 借助Excel2.2.1 将Word表格数据复制到Excel2.2.2 新建商品表2.2.3 利用导入向导将电子表格数据导入商品表2…

什么是Podman?能否替代Docker?Podman快速入门

什么是PodmanPodman&#xff08;POD Manager&#xff09;是一个开源的无守护进程&#xff08;daemonless&#xff09;容器引擎&#xff0c;用于管理容器、容器镜像、容器卷和网络。它兼容 OCI 标准&#xff0c;可以运行 Docker 镜像&#xff0c;并且设计上与 Docker CLI 命令高…

开通保存图片权限

直接粘贴就可以用 上干货 可以的话希望点个start/* 小程序特有相关 */mp-weixin: {appid: VITE_WX_APPID,setting: {urlCheck: false,minified : true //是否压缩js},usingComponents: true,"lazyCodeLoading": "requiredComponents", //按需注入"pe…

【赵渝强老师】大数据交换引擎Sqoop

Sqoop是SQL To Hadoop的简称&#xff0c;它是一款开源的工具&#xff0c;主要用于在Hadoop&#xff08;Hive&#xff09;与传统的数据库&#xff08;Oracle、MySQL等&#xff09;间进行数据的传递。通过使用Sqoop可以将一个关系型数据库中的数据导进到Hadoop的HDFS中&#xff0…

C++进阶-map的应用

目录 1.预备知识 2.map的补充知识 2.1map的插入方式 2.2访问键和值 2.3map::operator[]的补充 2.4另外一些map的成员函数的补充 3.map的应用实践-力扣刷题-前k个高频单词 3.1解法1 3.2解法2 3.3解法3 4.map的应用实践-力扣刷题-随机链表的复制 4.1C语言解法 4.2C解…

【三维重建工具】NeRFStudio、3D GaussianSplatting、Colmap安装与使用指南

目录 一、NeRFStudio安装1.安装&#xff08;ubuntu系统&#xff09;2.安装&#xff08;windows系统&#xff09; 二、安装tinycudann三、Colmap安装与使用1. 安装依赖2. 安装colmap3.使用colmap3.1 可视化界面使用3.2 Nerfstudio命令行调用Colmap3.3 colmap结果不准时的修复3.4…

Mybatis05-动态sql

一、应用场景MyBatis 的 动态 SQL 是指根据不同的条件动态拼接生成 SQL 语句的能力。它的最大优势是&#xff1a;避免写多个 XML 映射语句、避免 SQL 冗余、提升代码复用性和可维护性。示例1&#xff1a;用户可以通过勾选框&#xff0c;勾选不同的数据进行批量删除&#xff0c;…

VSCODE 选中多行 需要同时按住alt键才可以

在 VS Code 中&#xff0c;如果你发现 必须按住 Alt 键才能选中多行&#xff08;即“列选择”或“块选择”模式&#xff09;&#xff0c;而直接拖动鼠标无法多选&#xff0c;可能是由于以下原因导致的&#xff1a;1. 检查是否启用了“列选择模式”VS Code 默认情况下&#xff1…

2025前端面试真题以及答案-不断整理中,问题来源于牛客真题

一、 项目内存泄露react与vue的渲染机制有哪些不同react fiber架构vue2与3&#xff0c;为什么用proxy代替defineproperty性能优化有哪些三栏布局实现方式重排与重绘一个对话聊天框如何减少重排&#xff08;我回答的是绝对定位&#xff0c;将聊天框定位在下面&#xff0c;类似于…

雷军的 IP 革命:人格化力量如何重塑商业规则|创客匠人

小米 YU7 发布会 3 分钟售罄 20 万台的奇迹&#xff0c;撕开了一个时代真相&#xff1a;当商业竞争进入深水区&#xff0c;决定胜负的不再是产品参数&#xff0c;而是创始人 IP 的人格穿透力。雷军仅凭个人影响力撬动数十亿级交易&#xff0c;这绝非偶然&#xff0c;而是人格化…

SpringBoot3:应对C10K并发挑战的优化指南

嘿&#xff0c;哥们&#xff01;还在为服务的并发量上不去而头疼吗&#xff1f;用户量一上来&#xff0c;CPU、内存就告急&#xff0c;接口响应慢得像蜗牛&#xff1f;别慌&#xff0c;今天我们就来盘一盘&#xff0c;怎么用最新的Spring Boot 3&#xff0c;把服务性能调教到极…

响应式编程入门教程第三节:ReactiveCommand 与 UI 交互

响应式编程入门教程第一节&#xff1a;揭秘 UniRx 核心 - ReactiveProperty - 让你的数据动起来&#xff01; 响应式编程入门教程第二节&#xff1a;构建 ObservableProperty&#xff1c;T&#xff1e; — 封装 ReactiveProperty 的高级用法 响应式编程入门教程第三节&#x…

500+技术栈覆盖:Web测试平台TestComplete的对象识别技术解析

在用户界面&#xff08;UI&#xff09;测试领域&#xff0c;传统的测试工具往往依赖于XPath或CSS选择器来定位页面元素。然而&#xff0c;在面对动态变化的界面、多语言支持或是跨越多种技术框架的应用时&#xff0c;这些传统方法常导致脚本失效&#xff0c;增加了维护成本。 …

研究人员利用提示注入漏洞绕过Meta的Llama防火墙防护

Trendyol应用安全团队发现了一系列绕过技术&#xff0c;使得Meta的Llama防火墙在面对复杂的提示注入攻击时防护失效。这一发现引发了人们对现有大语言模型&#xff08;LLM&#xff09;安全措施准备情况的担忧&#xff0c;并凸显出在企业日益将大语言模型嵌入工作流程时&#xf…