hcip作业

HCIP作业1 在做实验的时候要逻辑清晰,一步一步的循序渐进,要知道我现在的需求,然后解决需求,可以将一大块内容分割成多个小内容,再整合到一起。AR2: GE0/0/1: 192.168.1.66 /27 GE0/0/2: 192.168.1.34 /27 其中GE0/0/0接口需要接入VLAN2 3虚拟局域网所以不对其配置IP转而对其虚拟子接口配置IP。1.对学校网络进行基于192.168.1.0/24的子网划分,对运营商、百度网络进行基于3/3/3/0/24的子网划分。先将所有的IP规划好可以方便我们后续的作业。 阅读详情

sw1配置

<Huawei>
<Huawei>sys
Enter system view, return user view with Ctrl+Z.
[Huawei]sys sw1
[sw1]
Apr 14 2026 21:51:09-08:00 sw1 DS/4/DATASYNC_CFGCHANGE:OID 1.3.6.1.4.1.2011.5.25
.191.3.1 configurations have been changed. The current change number is 4, the c
hange loop count is 0, and the maximum number of records is 4095.
[sw1]vlan batch 10 20 
Info: This operation may take a few seconds. Please wait for a moment...done.
[sw1]vlan batch 10 
Apr 14 2026 21:51:39-08:00 sw1 DS/4/DATASYNC_CFGCHANGE:OID 1.3.6.1.4.1.2011.5.25
.191.3.1 configurations have been changed. The current change number is 5, the c
hange loop count is 0, and the maximum number of records is 4095.20 
Info: This operation may take a few seconds. Please wait for a moment...done.
[sw1]vlan batch 
Apr 14 2026 21:51:49-08:00 sw1 DS/4/DATASYNC_CFGCHANGE:OID 1.3.6.1.4.1.2011.5.25
.191.3.1 configurations have been changed. The current change number is 6, the c
hange loop count is 0, and the maximum number of records is 4095.10 20 
Info: This operation may take a few seconds. Please wait for a moment...done.
[sw1]
Apr 14 2026 21:51:59-08:00 sw1 DS/4/DATASYNC_CFGCHANGE:OID 1.3.6.1.4.1.2011.5.25
.191.3.1 configurations have been changed. The current change number is 7, the c
hange loop count is 0, and the maximum number of records is 4095.
[sw1]dis th
#
sysname sw1
#
vlan batch 10 20
#
cluster enable
ntdp enable
ndp enable
#
drop illegal-mac alarm
#
return
[sw1]interface vlanif 10
[sw1-Vlanif10]ip address 192.168.1.1 24
[sw1-Vlanif10]
Apr 14 2026 21:52:39-08:00 sw1 DS/4/DATASYNC_CFGCHANGE:OID 1.3.6.1.4.1.2011.5.25
.191.3.1 configurations have been changed. The current change number is 8, the c
hange loop count is 0, and the maximum number of records is 4095.
[sw1-Vlanif10]interface vlanif 20
[sw1-Vlanif20]ip address 192.168.2.1 24
[sw1-Vlanif20]
Apr 14 2026 21:53:09-08:00 sw1 DS/4/DATASYNC_CFGCHANGE:OID 1.3.6.1.4.1.2011.5.25
.191.3.1 configurations have been changed. The current change number is 9, the c
hange loop count is 0, and the maximum number of records is 4095.
[sw1-Vlanif20]	
[sw1-Vlanif20]vrrp vrid 2 virtual-ip 192.168.2.254 24
                                                   ^
Error:Too many parameters found at '^' position.
[sw1-Vlanif20]vrrp vrid 2 virtual-ip 192.168.2.254
[sw1-Vlanif20]
Apr 14 2026 21:53:49-08:00 sw1 DS/4/DATASYNC_CFGCHANGE:OID 1.3.6.1.4.1.2011.5.25
.191.3.1 configurations have been changed. The current change number is 10, the 
change loop count is 0, and the maximum number of records is 4095.
[sw1-Vlanif20]
[sw1-Vlanif20]
[sw1-Vlanif20]int vlanif 10
[sw1-Vlanif10]vrrp vrid 1 virtual-ip 192.168.1.254
[sw1-Vlanif10]
Apr 14 2026 21:54:19-08:00 sw1 DS/4/DATASYNC_CFGCHANGE:OID 1.3.6.1.4.1.2011.5.25
.191.3.1 configurations have been changed. The current change number is 11, the 
change loop count is 0, and the maximum number of records is 4095.
[sw1-Vlanif10]vrrp vrid 1 priority 120
[sw1-Vlanif10]
Apr 14 2026 21:54:49-08:00 sw1 DS/4/DATASYNC_CFGCHANGE:OID 1.3.6.1.4.1.2011.5.25
.191.3.1 configurations have been changed. The current change number is 12, the 
change loop count is 0, and the maximum number of records is 4095.
[sw1-Vlanif10]
[sw1-Vlanif10]
[sw1-Vlanif10]int g 0/0/2
[sw1-GigabitEthernet0/0/2]port link-t	
[sw1-GigabitEthernet0/0/2]port link-type t	
[sw1-GigabitEthernet0/0/2]port link-type trunk 
[sw1-GigabitEthernet0/0/2]port t	
[sw1-GigabitEthernet0/0/2]port trunk
Apr 14 2026 21:55:19-08:00 sw1 DS/4/DATASYNC_CFGCHANGE:OID 1.3.6.1.4.1.2011.5.25
.191.3.1 configurations have been changed. The current change number is 13, the 
change loop count is 0, and the maximum number of records is 4095.	
[sw1-GigabitEthernet0/0/2]port type	
[sw1-GigabitEthernet0/0/2]port trunk a	
[sw1-GigabitEthernet0/0/2]port trunk allow-pass vlan 10 20
[sw1-GigabitEthernet0/0/2]
Apr 14 2026 21:55:45-08:00 sw1 %%01IFNET/4/IF_STATE(l)[0]:Interface Vlanif10 has
 turned into UP state.
Apr 14 2026 21:55:45-08:00 sw1 %%01IFNET/4/LINK_STATE(l)[1]:The line protocol IP
 on the interface Vlanif10 has entered the UP state.
Apr 14 2026 21:55:45-08:00 sw1 %%01IFNET/4/IF_STATE(l)[2]:Interface Vlanif20 has
 turned into UP state.
Apr 14 2026 21:55:45-08:00 sw1 %%01IFNET/4/LINK_STATE(l)[3]:The line protocol IP
 on the interface Vlanif20 has entered the UP state.
[sw1-GigabitEthernet0/0/2]int 
Apr 14 2026 21:55:49-08:00 sw1 DS/4/DATASYNC_CFGCHANGE:OID 1.3.6.1.4.1.2011.5.25
.191.3.1 configurations have been changed. The current change number is 14, the 
change loop count is 0, and the maximum number of records is 4095.vlanif
Apr 14 2026 21:55:53-08:00 sw1 %%01VRRP/4/STATEWARNINGEXTEND(l)[4]:Virtual Route
r state BACKUP changed to MASTER, because of protocol timer expired. (Interface=
Vlanif10, VrId=1, InetType=IPv4)
Apr 14 2026 21:55:53-08:00 sw1 %%01VRRP/4/STATEWARNINGEXTEND(l)[5]:Virtual Route
r state BACKUP changed to MASTER, because of protocol timer expired. (Interface=
Vlanif20, VrId=2, InetType=IPv4) 10
[sw1-Vlanif10]vrrp vrid 1 preempt-mode timer delay 20
[sw1-Vlanif10]
Apr 14 2026 21:56:09-08:00 sw1 DS/4/DATASYNC_CFGCHANGE:OID 1.3.6.1.4.1.2011.5.25
.191.3.1 configurations have been changed. The current change number is 15, the 
change loop count is 0, and the maximum number of records is 4095.
[sw1-Vlanif10]
[sw1-Vlanif10]
[sw1-Vlanif10]
[sw1-Vlanif10]q
[sw1]vlan batch 100
Info: This operation may take a few seconds. Please wait for a moment...done.
[sw1]
Apr 14 2026 21:56:29-08:00 sw1 DS/4/DATASYNC_CFGCHANGE:OID 1.3.6.1.4.1.2011.5.25
.191.3.1 configurations have been changed. The current change number is 16, the 
change loop count is 0, and the maximum number of records is 4095.
[sw1]
[sw1]int vlanif 100
[sw1-Vlanif100]ip ad	
[sw1-Vlanif100]ip address 12.0.0.2 24
[sw1-Vlanif100]
Apr 14 2026 21:58:09-08:00 sw1 DS/4/DATASYNC_CFGCHANGE:OID 1.3.6.1.4.1.2011.5.25
.191.3.1 configurations have been changed. The current change number is 17, the 
change loop count is 0, and the maximum number of records is 4095.
[sw1-Vlanif100]
[sw1-Vlanif100]
[sw1-Vlanif100]int g 0/0/1
[sw1-GigabitEthernet0/0/1]port link-type access
[sw1-GigabitEthernet0/0/1]
Apr 14 2026 21:58:39-08:00 sw1 DS/4/DATASYNC_CFGCHANGE:OID 1.3.6.1.4.1.2011.5.25
.191.3.1 configurations have been changed. The current change number is 18, the 
change loop count is 0, and the maximum number of records is 4095.
[sw1-GigabitEthernet0/0/1]
[sw1-GigabitEthernet0/0/1]
[sw1-GigabitEthernet0/0/1]port default vlan 100
[sw1-GigabitEthernet0/0/1]
Apr 14 2026 21:58:47-08:00 sw1 %%01IFNET/4/IF_STATE(l)[6]:Interface Vlanif100 ha
s turned into UP state.
Apr 14 2026 21:58:47-08:00 sw1 %%01IFNET/4/LINK_STATE(l)[7]:The line protocol IP
 on the interface Vlanif100 has entered the UP state.
[sw1-GigabitEthernet0/0/1]
[sw1-GigabitEthernet0/0/1]
Apr 14 2026 21:58:49-08:00 sw1 DS/4/DATASYNC_CFGCHANGE:OID 1.3.6.1.4.1.2011.5.25
.191.3.1 configurations have been changed. The current change number is 19, the 
change loop count is 0, and the maximum number of records is 4095.
[sw1-GigabitEthernet0/0/1]
[sw1-GigabitEthernet0/0/1]
[sw1-GigabitEthernet0/0/1]q
[sw1]rip 1
[sw1-rip-1]version 2
[sw1-rip-1]
Apr 14 2026 21:59:19-08:00 sw1 DS/4/DATASYNC_CFGCHANGE:OID 1.3.6.1.4.1.2011.5.25
.191.3.1 configurations have been changed. The current change number is 21, the 
change loop count is 0, and the maximum number of records is 4095.net 	
[sw1-rip-1]network 	
[sw1-rip-1]network 12.0.0.0
[sw1-rip-1]
Apr 14 2026 21:59:29-08:00 sw1 DS/4/DATASYNC_CFGCHANGE:OID 1.3.6.1.4.1.2011.5.25
.191.3.1 configurations have been changed. The current change number is 22, the 
change loop count is 0, and the maximum number of records is 4095.
[sw1-rip-1]net 	
[sw1-rip-1]network 192.168.1.0
[sw1-rip-1]net	
[sw1-rip-1]network 
Apr 14 2026 21:59:49-08:00 sw1 DS/4/DATASYNC_CFGCHANGE:OID 1.3.6.1.4.1.2011.5.25
.191.3.1 configurations have been changed. The current change number is 23, the 
change loop count is 0, and the maximum number of records is 4095.192.168.2.0
[sw1-rip-1]
Apr 14 2026 21:59:59-08:00 sw1 DS/4/DATASYNC_CFGCHANGE:OID 1.3.6.1.4.1.2011.5.25
.191.3.1 configurations have been changed. The current change number is 24, the 
change loop count is 0, and the maximum number of records is 4095.	
[sw1-rip-1]	
[sw1-rip-1]dis th
#
rip 1
 version 2
 network 12.0.0.0
 network 192.168.1.0
 network 192.168.2.0
#
return
[sw1-rip-1]

sw2配置

<Huawei>sys
Enter system view, return user view with Ctrl+Z.
[Huawei]sys sw2
[sw2]
Apr 14 2026 22:01:59-08:00 sw2 DS/4/DATASYNC_CFGCHANGE:OID 1.3.6.1.4.1.2011.5.25
.191.3.1 configurations have been changed. The current change number is 4, the c
hange loop count is 0, and the maximum number of records is 4095.
[sw2]vlan ba	
[sw2]vlan batch 10 20
Info: This operation may take a few seconds. Please wait for a moment...done.
[sw2]
Apr 14 2026 22:02:09-08:00 sw2 DS/4/DATASYNC_CFGCHANGE:OID 1.3.6.1.4.1.2011.5.25
.191.3.1 configurations have been changed. The current change number is 5, the c
hange loop count is 0, and the maximum number of records is 4095.
[sw2]
[sw2]
[sw2]int g 0/0/2
[sw2-GigabitEthernet0/0/2]port l	
[sw2-GigabitEthernet0/0/2]port link-t	
[sw2-GigabitEthernet0/0/2]port link-type t	
[sw2-GigabitEthernet0/0/2]port link-type trunk 
[sw2-GigabitEthernet0/0/2]
Apr 14 2026 22:02:39-08:00 sw2 DS/4/DATASYNC_CFGCHANGE:OID 1.3.6.1.4.1.2011.5.25
.191.3.1 configurations have been changed. The current change number is 6, the c
hange loop count is 0, and the maximum number of records is 4095.
[sw2-GigabitEthernet0/0/2]
[sw2-GigabitEthernet0/0/2]port trunk allow-pass vlan 10 20
[sw2-GigabitEthernet0/0/2]
[sw2-GigabitEthernet0/0/2]
[sw2-GigabitEthernet0/0/2]
[sw2-GigabitEthernet0/0/2]int 
Apr 14 2026 22:02:59-08:00 sw2 DS/4/DATASYNC_CFGCHANGE:OID 1.3.6.1.4.1.2011.5.25
.191.3.1 configurations have been changed. The current change number is 7, the c
hange loop count is 0, and the maximum number of records is 4095.
                          ^
Error: Unrecognized command found at '^' position.
[sw2-GigabitEthernet0/0/2]int v	
[sw2-GigabitEthernet0/0/2]int vl	
[sw2-GigabitEthernet0/0/2]int v 10
[sw2-Vlanif10]
Apr 14 2026 22:03:28-08:00 sw2 %%01IFNET/4/IF_STATE(l)[0]:Interface Vlanif10 has
 turned into UP state.
[sw2-Vlanif10]
[sw2-Vlanif10]ip a	
[sw2-Vlanif10]ip address 	
[sw2-Vlanif10]ip address 192.168.1.2 24
[sw2-Vlanif10]
Apr 14 2026 22:04:04-08:00 sw2 %%01IFNET/4/LINK_STATE(l)[1]:The line protocol IP
 on the interface Vlanif10 has entered the UP state.
[sw2-Vlanif10]
Apr 14 2026 22:04:09-08:00 sw2 DS/4/DATASYNC_CFGCHANGE:OID 1.3.6.1.4.1.2011.5.25
.191.3.1 configurations have been changed. The current change number is 8, the c
hange loop count is 0, and the maximum number of records is 4095.	
[sw2-Vlanif10]int v 20
[sw2-Vlanif20]
Apr 14 2026 22:04:19-08:00 sw2 %%01IFNET/4/IF_STATE(l)[2]:Interface Vlanif20 has
 turned into UP state.
[sw2-Vlanif20]ip ad	
[sw2-Vlanif20]ip address 192.168.2.2 24
[sw2-Vlanif20]
Apr 14 2026 22:04:36-08:00 sw2 %%01IFNET/4/LINK_STATE(l)[3]:The line protocol IP
 on the interface Vlanif20 has entered the UP state.
[sw2-Vlanif20]
Apr 14 2026 22:04:39-08:00 sw2 DS/4/DATASYNC_CFGCHANGE:OID 1.3.6.1.4.1.2011.5.25
.191.3.1 configurations have been changed. The current change number is 9, the c
hange loop count is 0, and the maximum number of records is 4095.
[sw2-Vlanif20]vrrp vrid 2 virtual-ip 192.168.2.254
[sw2-Vlanif20]
Apr 14 2026 22:04:59-08:00 sw2 DS/4/DATASYNC_CFGCHANGE:OID 1.3.6.1.4.1.2011.5.25
.191.3.1 configurations have been changed. The current change number is 10, the 
change loop count is 0, and the maximum number of records is 4095.
[sw2-Vlanif20]vrrp vrid 2 priority 120
[sw2-Vlanif20]
Apr 14 2026 22:05:13-08:00 sw2 %%01VRRP/4/STATEWARNINGEXTEND(l)[4]:Virtual Route
r state BACKUP changed to MASTER, because of priority calculation. (Interface=Vl
anif20, VrId=2, InetType=IPv4)
[sw2-Vlanif20]
[sw2-Vlanif20]
[sw2-Vlanif20]
[sw2-Vlanif20]
Apr 14 2026 22:05:19-08:00 sw2 DS/4/DATASYNC_CFGCHANGE:OID 1.3.6.1.4.1.2011.5.25
.191.3.1 configurations have been changed. The current change number is 11, the 
change loop count is 0, and the maximum number of records is 4095.
[sw2-Vlanif20]
[sw2-Vlanif20]vrrp vrid 2 preempt-mode timer delay 20
[sw2-Vlanif20]
Apr 14 2026 22:05:29-08:00 sw2 DS/4/DATASYNC_CFGCHANGE:OID 1.3.6.1.4.1.2011.5.25
.191.3.1 configurations have been changed. The current change number is 12, the 
change loop count is 0, and the maximum number of records is 4095.
[sw2-Vlanif20]
[sw2-Vlanif20]int v 10
[sw2-Vlanif10]vrrp vrid 1 virtual-ip 192.168.1.254
[sw2-Vlanif10]
[sw2-Vlanif10]
[sw2-Vlanif10]
Apr 14 2026 22:05:59-08:00 sw2 DS/4/DATASYNC_CFGCHANGE:OID 1.3.6.1.4.1.2011.5.25
.191.3.1 configurations have been changed. The current change number is 13, the 
change loop count is 0, and the maximum number of records is 4095.
[sw2-Vlanif10]
[sw2-Vlanif10]q
[sw2]int v 200
Error: The VLAN does not exist.
[sw2]int b 200
         ^
Error: Wrong parameter found at '^' position.
[sw2]int b	
[sw2]vlan batch 200
Info: This operation may take a few seconds. Please wait for a moment...done.
[sw2]
Apr 14 2026 22:07:09-08:00 sw2 DS/4/DATASYNC_CFGCHANGE:OID 1.3.6.1.4.1.2011.5.25
.191.3.1 configurations have been changed. The current change number is 14, the 
change loop count is 0, and the maximum number of records is 4095.
[sw2]
[sw2]
[sw2]int v 200
[sw2-Vlanif200]ip a	
[sw2-Vlanif200]ip address 13.0.0.2 24
[sw2-Vlanif200]
[sw2-Vlanif200]i
Apr 14 2026 22:07:49-08:00 sw2 DS/4/DATASYNC_CFGCHANGE:OID 1.3.6.1.4.1.2011.5.25
.191.3.1 configurations have been changed. The current change number is 15, the 
change loop count is 0, and the maximum number of records is 4095	
[sw2-Vlanif200]	
[sw2-Vlanif200]int g 0/0/1
[sw2-GigabitEthernet0/0/1]port link-type access
[sw2-GigabitEthernet0/0/1]
Apr 14 2026 22:08:09-08:00 sw2 DS/4/DATASYNC_CFGCHANGE:OID 1.3.6.1.4.1.2011.5.25
.191.3.1 configurations have been changed. The current change number is 16, the 
change loop count is 0, and the maximum number of records is 4095.
[sw2-GigabitEthernet0/0/1]
[sw2-GigabitEthernet0/0/1]port default vlan 200
[sw2-GigabitEthernet0/0/1]
Apr 14 2026 22:08:18-08:00 sw2 %%01IFNET/4/IF_STATE(l)[5]:Interface Vlanif200 ha
s turned into UP state.
Apr 14 2026 22:08:18-08:00 sw2 %%01IFNET/4/LINK_STATE(l)[6]:The line protocol IP
 on the interface Vlanif200 has entered the UP state.
[sw2-GigabitEthernet0/0/1]
[sw2-GigabitEthernet0/0/1]
[sw2-GigabitEthernet0/0/1]
Apr 14 2026 22:08:19-08:00 sw2 DS/4/DATASYNC_CFGCHANGE:OID 1.3.6.1.4.1.2011.5.25
.191.3.1 configurations have been changed. The current change number is 17, the 
change loop count is 0, and the maximum number of records is 4095.
[sw2-GigabitEthernet0/0/1]
[sw2-GigabitEthernet0/0/1]rip 1
[sw2-rip-1]
Apr 14 2026 22:08:39-08:00 sw2 DS/4/DATASYNC_CFGCHANGE:OID 1.3.6.1.4.1.2011.5.25
.191.3.1 configurations have been changed. The current change number is 18, the 
change loop count is 0, and the maximum number of records is 4095.
[sw2-rip-1]
[sw2-rip-1]
[sw2-rip-1]
[sw2-rip-1]version 2
[sw2-rip-1]
Apr 14 2026 22:08:49-08:00 sw2 DS/4/DATASYNC_CFGCHANGE:OID 1.3.6.1.4.1.2011.5.25
.191.3.1 configurations have been changed. The current change number is 19, the 
change loop count is 0, and the maximum number of records is 4095.net	
[sw2-rip-1]network 	
[sw2-rip-1]network 13.0.0.0
[sw2-rip-1]n	
[sw2-rip-1]network 19
Apr 14 2026 22:08:59-08:00 sw2 DS/4/DATASYNC_CFGCHANGE:OID 1.3.6.1.4.1.2011.5.25
.191.3.1 configurations have been changed. The current change number is 20, the 
change loop count is 0, and the maximum number of records is 4095.2.168.1.0
[sw2-rip-1]	
[sw2-rip-1]	
[sw2-rip-1]n	
[sw2-rip-1]network 19.
Apr 14 2026 22:09:09-08:00 sw2 DS/4/DATASYNC_CFGCHANGE:OID 1.3.6.1.4.1.2011.5.25
.191.3.1 configurations have been changed. The current change number is 21, the 
change loop count is 0, and the maximum number of records is 40952.168.2.0
[sw2-rip-1]	
[sw2-rip-1]dis th
#
rip 1
 version 2
 network 13.0.0.0
 network 192.168.1.0
 network 192.168.2.0
#
return
[sw2-rip-1]
Apr 14 2026 22:09:19-08:00 sw2 DS/4/DATASYNC_CFGCHANGE:OID 1.3.6.1.4.1.2011.5.25
.191.3.1 configurations have been changed. The current change number is 22, the 
change loop count is 0, and the maximum number of records is 4095.
[sw2-rip-1]

sw3配置

The device is running!

<Huawei>
<Huawei>sys
Enter system view, return user view with Ctrl+Z.
[Huawei]sys sw3
[sw3]
Apr 14 2026 21:40:19-08:00 sw3 DS/4/DATASYNC_CFGCHANGE:OID 1.3.6.1.4.1.2011.5.25
.191.3.1 configurations have been changed. The current change number is 4, the c
hange loop count is 0, and the maximum number of records is 4095.
[sw3]vlan batch 10 20
Info: This operation may take a few seconds. Please wait for a moment...done.
[sw3]
Apr 14 2026 21:40:39-08:00 sw3 DS/4/DATASYNC_CFGCHANGE:OID 1.3.6.1.4.1.2011.5.25
.191.3.1 configurations have been changed. The current change number is 5, the c
hange loop count is 0, and the maximum number of records is 4095.	
[sw3]int g 0/0/3
[sw3-GigabitEthernet0/0/3]port l	
[sw3-GigabitEthernet0/0/3]port link-t	
[sw3-GigabitEthernet0/0/3]port link-type a	
[sw3-GigabitEthernet0/0/3]port link-type access 
[sw3-GigabitEthernet0/0/3]
Apr 14 2026 21:41:09-08:00 sw3 DS/4/DATASYNC_CFGCHANGE:OID 1.3.6.1.4.1.2011.5.25
.191.3.1 configurations have been changed. The current change number is 6, the c
hange loop count is 0, and the maximum number of records is 4095.
[sw3-GigabitEthernet0/0/3]port de	
[sw3-GigabitEthernet0/0/3]port default 10
                                       ^
Error: Unrecognized command found at '^' position.
[sw3-GigabitEthernet0/0/3]port de	
[sw3-GigabitEthernet0/0/3]port default vlan 10
[sw3-GigabitEthernet0/0/3]int g 
Apr 14 2026 21:41:39-08:00 sw3 DS/4/DATASYNC_CFGCHANGE:OID 1.3.6.1.4.1.2011.5.25
.191.3.1 configurations have been changed. The current change number is 7, the c
hange loop count is 0, and the maximum number of records is 4095.0/0/4
[sw3-GigabitEthernet0/0/4]port ;in	
[sw3-GigabitEthernet0/0/4]port l	
[sw3-GigabitEthernet0/0/4]port link-t	
[sw3-GigabitEthernet0/0/4]port link-type a	
[sw3-GigabitEthernet0/0/4]port link-type access 
[sw3-GigabitEthernet0/0/4]
Apr 14 2026 21:41:59-08:00 sw3 DS/4/DATASYNC_CFGCHANGE:OID 1.3.6.1.4.1.2011.5.25
.191.3.1 configurations have been changed. The current change number is 8, the c
hange loop count is 0, and the maximum number of records is 4095.port de	
[sw3-GigabitEthernet0/0/4]port default vlan 20
[sw3-GigabitEthernet0/0/4]
Apr 14 2026 21:42:09-08:00 sw3 DS/4/DATASYNC_CFGCHANGE:OID 1.3.6.1.4.1.2011.5.25
.191.3.1 configurations have been changed. The current change number is 9, the c
hange loop count is 0, and the maximum number of records is 4095.q
[sw3]int g 0/01
           ^
Error: Wrong parameter found at '^' position.
[sw3]int g 0/0/1
[sw3-GigabitEthernet0/0/1]port l	
[sw3-GigabitEthernet0/0/1]port link-t	
[sw3-GigabitEthernet0/0/1]port link-type t	
[sw3-GigabitEthernet0/0/1]port link-type trunk 
[sw3-GigabitEthernet0/0/1]port 
Apr 14 2026 21:43:09-08:00 sw3 DS/4/DATASYNC_CFGCHANGE:OID 1.3.6.1.4.1.2011.5.25
.191.3.1 configurations have been changed. The current change number is 10, the 
change loop count is 0, and the maximum number of records is 4095.tr	
[sw3-GigabitEthernet0/0/1]port trunk al	
[sw3-GigabitEthernet0/0/1]port trunk allow-pass vlan 10 20
[sw3-GigabitEthernet0/0/1]
[sw3-GigabitEthernet0/0/1]
[sw3-GigabitEthernet0/0/1]
[sw3-GigabitEthernet0/0/1]
[sw3-GigabitEthernet0/0/1]
Apr 14 2026 21:43:29-08:00 sw3 DS/4/DATASYNC_CFGCHANGE:OID 1.3.6.1.4.1.2011.5.25
.191.3.1 configurations have been changed. The current change number is 11, the 
change loop count is 0, and the maximum number of records is 4095.
[sw3-GigabitEthernet0/0/1]int g 0/0/2
[sw3-GigabitEthernet0/0/2]port l	
[sw3-GigabitEthernet0/0/2]port link-t	
[sw3-GigabitEthernet0/0/2]port link-type t	
[sw3-GigabitEthernet0/0/2]port link-type trunk 
[sw3-GigabitEthernet0/0/2]por
Apr 14 2026 21:43:49-08:00 sw3 DS/4/DATASYNC_CFGCHANGE:OID 1.3.6.1.4.1.2011.5.25
.191.3.1 configurations have been changed. The current change number is 12, the 
change loop count is 0, and the maximum number of records is 4095.t	
[sw3-GigabitEthernet0/0/2]portswitch	
[sw3-GigabitEthernet0/0/2]port-auto-sleep	
[sw3-GigabitEthernet0/0/2]port-security	
[sw3-GigabitEthernet0/0/2]portal	
[sw3-GigabitEthernet0/0/2]port-isolate	
[sw3-GigabitEthernet0/0/2]port-mirroring	
[sw3-GigabitEthernet0/0/2]port	
[sw3-GigabitEthernet0/0/2]port t	
[sw3-GigabitEthernet0/0/2]port trunk a	
[sw3-GigabitEthernet0/0/2]port trunk allow-pass vlan 10 20
[sw3-GigabitEthernet0/0/2]
Apr 14 2026 21:44:19-08:00 sw3 DS/4/DATASYNC_CFGCHANGE:OID 1.3.6.1.4.1.2011.5.25
.191.3.1 configurations have been changed. The current change number is 13, the 
change loop count is 0, and the maximum number of records is 4095.
[sw3-GigabitEthernet0/0/2]

ar1配置

The device is running!

<Huawei>sys
Enter system view, return user view with Ctrl+Z.
[Huawei]sys ar1
[ar1]int l	
[ar1]int LoopBack 0
[ar1-LoopBack0]ip a	
[ar1-LoopBack0]ip address 1.1.1.1 24
[ar1-LoopBack0]int g 0/0/0
[ar1-GigabitEthernet0/0/0]ip a	
[ar1-GigabitEthernet0/0/0]ip accounting
[ar1-GigabitEthernet0/0/0]ip address12.0.0.1 24
                             ^
Error: Unrecognized command found at '^' position.
[ar1-GigabitEthernet0/0/0]ip a	
[ar1-GigabitEthernet0/0/0]ip accounting
[ar1-GigabitEthernet0/0/0]ip address 12.0.0.1 24
Apr 14 2026 22:11:11-08:00 ar1 %%01IFNET/4/LINK_STATE(l)[0]:The line protocol IP
 on the interface GigabitEthernet0/0/0 has entered the UP state. 
[ar1-GigabitEthernet0/0/0]int g 0/0/1
[ar1-GigabitEthernet0/0/1]ip a	
[ar1-GigabitEthernet0/0/1]ip accounting
[ar1-GigabitEthernet0/0/1]ip address 13.0.0.1 24
Apr 14 2026 22:11:35-08:00 ar1 %%01IFNET/4/LINK_STATE(l)[1]:The line protocol IP
 on the interface GigabitEthernet0/0/1 has entered the UP state. 
[ar1-GigabitEthernet0/0/1]
[ar1-GigabitEthernet0/0/1]q
[ar1]rip 1
[ar1-rip-1]ver	
[ar1-rip-1]verify-source
[ar1-rip-1]version 2
[ar1-rip-1]n	
[ar1-rip-1]network 1.0.0.0
[ar1-rip-1]net	
[ar1-rip-1]network 12.0.0.0
[ar1-rip-1]n	
[ar1-rip-1]network 13.0.0.0
[ar1-rip-1]dis th
[V200R003C00]
#
rip 1
 version 2
 network 1.0.0.0
 network 12.0.0.0
 network 13.0.0.0
#
return
[ar1-rip-1]

验证

【华为OD机试真题E卷】300、 出租车计费 、靠谱的车 | 机试真题+思路参考+代码分析(C++、Java、Py、C语言、JS) 题目描述 >程序员小明打了一辆出租车去上班,出于职业敏感,他注意到这辆出租车的计费表有点问题,总是偏大,出租车司机解释说他不喜欢数字4,所以改装了计费表,任何数字位置遇到数字4就直接跳过,其余功能都正常 >  比如: 1、23再多一块钱就变为25; 2、39再多一块钱变为50; 3、399再多一块钱变为500; >  小明识破了司机的伎俩,准备利用自己的学识打败司机的阴谋,给出计费表的表面读数,返回实际产生的费用 阅读详情

相关推荐

LM358实战:手把手教你搭建电流检测电路(附电阻选型计算)

本文详细解析了使用LM358运算放大器搭建电流检测电路的全过程,包括基础原理、采样电阻选型、放大电路设计及PCB布局技巧。通过实战案例和精确计算,帮助工程师快速掌握低成本、高精度的电流检测方案,适用于电源管理、电机控制等多种应用场景。

weixin_30872157的博客 451

HCIP作业

1

2301_80438544的博客 170

SLG大地图实战:从Tilemap到Shader的地表渲染与数据分层架构

本文深入探讨了SLG大地图开发中的关键技术挑战与解决方案,包括Tilemap系统的深度改造、地表渲染的Shader优化以及数据分层架构设计。通过实战案例,展示了如何实现视觉表现丰富、性能开销可控的SLG大地图,特别适合Unity开发者和游戏技术美术参考。

weixin_28693309的博客 521

HCIP作业6

HCIP作业

YQY1106的博客 102

Python爬虫实战:基于最新技术栈的政府招标采购数据抓取与分析

对于企业、研究人员和数据分析师来说,能够高效地获取这些数据意味着可以获得宝贵的商业洞察和市场先机。随着反爬技术的不断升级和网站结构的日益复杂,传统的爬虫方法已经难以满足需求。我们将采用Selenium、Playwright等现代浏览器自动化工具,结合Scrapy框架和异步请求库,构建一个能够应对各种反爬措施的强大爬虫系统。Playwright是微软开发的浏览器自动化工具,支持Chromium、WebKit和Firefox,比Selenium更快速、更稳定。

2201_76125261的博客 1312

仿真学习系列(三十八):Sigrity仿真之单端S参数提取

S 参数(Scattering Parameters)是高速信号分析中最基础也最常用的指标,能够全面表征走线、过孔、连接器等互连结构的高频行为。在 Sigrity PowerSI 中,Model Extraction 是最常用的 S 参数提取方式,适用于高速差分线、单端线、过孔、参考平面等各种拓扑结构。 本节将通过示例讲解如何在 PowerSI 中完成一次完整的 S 参数提取流程,包括:对象选择、端口设置、频率范围配置以及结果查看。掌握此方法后,即可对任意高速网络执行阻抗、插损、回损、串扰分析,为进一步的

案例文章,高速信号 838

hcip课后作业

2302_81057673的博客 144

Qt Creator 下载和安装

在线安装程序是一个小型的安装程序,它将在您的计算机上下载和安装 Qt Creator。离线安装程序是一个较大的安装包,您可以将其保存在本地,并在没有网络连接的情况下安装 Qt Creator。在 Qt 官方网站上,您可以找到 Qt Creator 的下载页面。Qt Creator 是一款跨平台的集成开发环境(IDE),用于开发基于 Qt 框架的应用程序。在这一步中,您可以选择是否安装 Qt Creator 的附加组件。一旦您完成了组件的选择,安装程序将开始将 Qt Creator 安装到您的计算机上。

HackLogic的博客 6823

HCIP第一天作业

weixin_50931715的博客 150

Linux驱动学习--HCI框架及源码分析

目录 一、引言 二、HCI框架 三、pcm_read简要分析 一、引言 最近一直在分析蓝牙驱动,发现在底层驱动与上层协议栈间还有一层HCI,主机控制层,两者之间通过HCI协议通讯 而Linux也将HCI协议抽象层了一个框架。 为上层提供一个统一的接口,让上层协议不依赖于具体硬件的实现。HCI在硬件中的固件与HCI在主机端的驱动通信方式有多种,比如像 UART、USB和PC Card等等。hci_core.c相当于一个框架,用于把各种具体通信方式绞合起来,并提供一些公共函数的实现。 今天就来简单的分析一下 二

文艺小少年的博客 2003

Python爬虫零基础入门【第九章:实战项目教学·第17节】内容指纹去重:URL 变体/重复正文的识别!

我长期专注 Python 爬虫工程化实战,主理专栏 👉 《Python爬虫实战》:从采集策略到反爬对抗,从数据清洗到分布式调度,持续输出可复用的方法论与可落地案例。内容主打一个“能跑、能用、能扩展”,让数据价值真正做到——抓得到、洗得净、用得上。

喵手的博客 826

hcip第二次作业

fulangxisikexi的博客 347

GNSS/RTK定位失效时的替代方案:视觉惯性里程计(VIO)

GNSS/RTK定位失效时的替代方案:视觉惯性里程计(VIO)​ ,人工智能,计算机视觉,大模型,AI,本文详细介绍了视觉惯性里程计(VIO)作为GNSS/RTK定位失效时的替代方案。阐述了VIO的定义、优势及与其他定位技术的区别,讲解了视觉传感器和IMU的工作原理及数据融合原理,分析了时间同步、标定等关键技术,介绍了VINS-Mono等常用框架、简单代码示例、应用场景,还探讨了VIO面临的挑战与未来发展趋势,展现了其在多个领域的重要性与应用潜力。

不踩坑,不知道坑有多深;不总结,踩过的坑白踩。 16万+

HCIP作业一

HCIP

2402_85171273的博客 242

C# WinForm 基于DirectShow.dll编写的程序,可边预览边保存视频,音频和图片

基于微软的DirectShow.dll的二次开发1.自动识别连接的摄像头跟麦克风且可以对其进行选择(默认选中第一个)2.可录制wmv和avi两种格式的视频并且都带有音频,avi可以录制的分辨率和帧数进行选择,wmv默认进行了淸晰度优化如不喜欢可去除代码中有相关提示3.可在预览点开之后进行拍照,也可边录制视频边拍照4.添加了视频和音频的压缩功能(酌情使用)这次二次开发发现C#对DirectShow的相关信息太少,这次做完也不敢藏私共享出来,还望大家指正

文档:亲测可用解决vnc灰屏,黑屏,鼠标大黑叉情况

主要解决vnc-viewer灰屏,黑屏,鼠标大黑叉等现象,详细见文档。

hcip—作业

【代码】hcip—作业。

lxw2023027116的博客 200

win10 跳过U8环境检测的IE WebControls.rar

win10 安装u8的时候 提示IE WebControls 不通过,这个工具可以欺骗u8的检查。 跳过U8环境检测的IE WebControls。提示导入失败后,重新检测通过。

hcip 第二天作业

hababi的博客 169

汉书HE8,好用的汇编代码编写工具

汉书HE8,好用的汇编代码编写工具早期编写汇编代码所用功能强大

上一篇: vlan实验
下一篇: 园区网实验
虾仁不加盐-
博客等级 码龄2年 27粉丝 36原创
评论
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

个

红包个数最小为10个

元

红包金额最低5元

当前余额3.43元 前往充值 >
需支付:10.00元
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付元
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值