第二次作业
sw2配置
Huawei]sys
[Huawei]sysname sw2
[sw2]s
Jul 28 2026 01:18:58-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]
Jul 28 2026 01:19:09-08:00 sw2 SNMP/4/WARMSTART:OID 1.3.6.1.6.3.1.1.5.2 warmStar
t
[sw2]vlan
Jul 28 2026 01:19:18-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.
^
Error:Incomplete command found at '^' position.
[sw2]vlan
[sw2]vlan b
[sw2]vlan batch 10 20
Info: This operation may take a few seconds. Please wait for a moment...done.
[sw2]
[sw2]int g 0/0/2
[sw2-GigabitEthernet0/0/2]po
[sw2-GigabitEthernet0/0/2]port li
[sw2-GigabitEthernet0/0/2]port link-ty
[sw2-GigabitEthernet0/0/2]port link-type ac
[sw2-GigabitEthernet0/0/2]port link-type access
[sw2-GigabitEthernet0/0/2]
[sw2-GigabitEthernet0/0/2]po
[sw2-GigabitEthernet0/0/2]port v
[sw2-GigabitEthernet0/0/2]port de
[sw2-GigabitEthernet0/0/2]port default va
[sw2-GigabitEthernet0/0/2]port default vl
[sw2-GigabitEthernet0/0/2]port default vlan 10
[sw2-GigabitEthernet0/0/2]int g
Error: Unrecognized command found at '^' position.
[sw2-GigabitEthernet0/0/2]int g 0/0/3
[sw2-GigabitEthernet0/0/3]po
[sw2-GigabitEthernet0/0/3]port li
[sw2-GigabitEthernet0/0/3]port link-t
[sw2-GigabitEthernet0/0/3]port link-type ac
[sw2-GigabitEthernet0/0/3]port link-type access
[sw2-GigabitEthernet0/0/3]p
[sw2-GigabitEthernet0/0/3]port
Error:Incomplete command found at '^' position.
[sw2-GigabitEthernet0/0/3]p
[sw2-GigabitEthernet0/0/3]port de
[sw2-GigabitEthernet0/0/3]port default vl
[sw2-GigabitEthernet0/0/3]port default vlan 20
[sw2-GigabitEthernet0/0/3]
[sw2-GigabitEthernet0/0/3]int g 0/0/1
[sw2-GigabitEthernet0/0/1]po
[sw2-GigabitEthernet0/0/1]port tr
[sw2-GigabitEthernet0/0/1]port trun
[sw2-GigabitEthernet0/0/1]port trunk all
[sw2-GigabitEthernet0/0/1]port trunk a
[sw2-GigabitEthernet0/0/1]port trunk allow
[sw2-GigabitEthernet0/0/1]port trunk allow-pa
[sw2-GigabitEthernet0/0/1]port trunk allow-pass vl
[sw2-GigabitEthernet0/0/1]port trunk allow-pass vlan 10 20
[sw2-GigabitEthernet0/0/1]po
[sw2-GigabitEthernet0/0/1]port li
[sw2-GigabitEthernet0/0/1]port link-t
[sw2-GigabitEthernet0/0/1]port link-type tr
[sw2-GigabitEthernet0/0/1]port link-type trunk
[sw2-GigabitEthernet0/0/1]
[sw2-GigabitEthernet0/0/1]po
[sw2-GigabitEthernet0/0/1]port tr
[sw2-GigabitEthernet0/0/1]port trunk a
[sw2-GigabitEthernet0/0/1]port trunk allow-pass v
[sw2-GigabitEthernet0/0/1]port trunk allow-pass vlan 10 20
fw配置
[FW-zone-Trust_A]set
Jul 27 2026 17:32:07 FW 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 change l
oop count is 0, and the maximum number of records is 4095.
[FW-zone-Trust_A]setp
[FW-zone-Trust_A]set p
[FW-zone-Trust_A]set priority 70
[FW-zone-Trust_A]
Jul 27 2026 17:32:27 FW 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.
[FW-zone-Trust_A]ad
[FW-zone-Trust_A]add int
[FW-zone-Trust_A]add interface g
[FW-zone-Trust_A]add interface GigabitEthernet 1/0/1.1
[FW-zone-Trust_A]q
[FW]f
[FW]firewall z
[FW]firewall zone
Jul 27 2026 17:32:57 FW 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.
[FW]firewall zone Trust_B
^
Error: Wrong parameter found at '^' position.
[FW]firewall zone na
[FW]firewall zone name z
[FW]firewall zone name Trust_B
[FW-zone-Trust_B]s
Jul 27 2026 17:33:47 FW 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.
[FW-zone-Trust_B]s
[FW-zone-Trust_B]set p
[FW-zone-Trust_B]set priority 80
[FW-zone-Trust_B]
Jul 27 2026 17:33:57 FW 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.
[FW-zone-Trust_B]add in
[FW-zone-Trust_B]add interface g
[FW-zone-Trust_B]add interface GigabitEthernet 1/0/1.2
[FW-zone-Trust_B]
Jul 27 2026 17:34:37 FW 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.
[FW-zone-Trust_B]q
[FW]f
[FW]firewall z
[FW]firewall zone name DMZ
[FW-zone-DMZ]int g
[FW-zone-DMZ]add in
Jul 27 2026 17:35:57 FW 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.
[FW-zone-DMZ]add int g 1/0/0
[FW-zone-DMZ]
Jul 27 2026 17:36:07 FW 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.
[FW-zone-DMZ]q
[FW]f
[FW]firewall z
[FW]firewall zone n
[FW]firewall zone name Untrust
[FW-zone-Untrust]add
Jul 27 2026 17:36:27 FW 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.
[FW-zone-Untrust]add in
[FW-zone-Untrust]add interface g
[FW-zone-Untrust]add interface GigabitEthernet 1/0/2
[FW-zone-Untrust]
Jul 27 2026 17:36:37 FW 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.
[FW-zone-Untrust]
Jul 27 2026 17:45:37 FW 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 46, the change
loop count is 0, and the maximum number of records is 4095.
[FW-zone-Untrust]
[FW-zone-Untrust]dh
[FW-zone-Untrust]int g 1/0/1.1
[FW-GigabitEthernet1/0/1.1]d
[FW-GigabitEthernet1/0/1.1]dhcp se
[FW-GigabitEthernet1/0/1.1]dhcp select int
[FW-GigabitEthernet1/0/1.1]dhcp select interface
[FW-GigabitEthernet1/0/1.1]
Jul 27 2026 17:46:47 FW 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 47, the change
loop count is 0, and the maximum number of records is 4095.
[FW-GigabitEthernet1/0/1.1]
Jul 27 2026 17:47:17 FW 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 57, the change
loop count is 0, and the maximum number of records is 4095.
[FW-GigabitEthernet1/0/1.1]
Jul 27 2026 17:48:07 FW 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 67, the change
loop count is 0, and the maximum number of records is 4095.
[FW-GigabitEthernet1/0/1.1]
Jul 27 2026 17:50:47 FW 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 76, the change
loop count is 0, and the maximum number of records is 4095.
[FW-GigabitEthernet1/0/1.1]
Jul 27 2026 17:52:17 FW 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 85, the change
loop count is 0, and the maximum number of records is 4095.
[FW-GigabitEthernet1/0/1.1]
Jul 27 2026 17:52:27 FW 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 95, the change
loop count is 0, and the maximum number of records is 4095.
[FW-GigabitEthernet1/0/1.1]
Jul 27 2026 17:54:57 FW 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 110, the change
loop count is 0, and the maximum number of records is 4095.
[FW-GigabitEthernet1/0/1.1]int g 1/0/1.2
[FW-GigabitEthernet1/0/1.2]s
[FW-GigabitEthernet1/0/1.2]d
[FW-GigabitEthernet1/0/1.2]dhcp s
[FW-GigabitEthernet1/0/1.2]dhcp select i
[FW-GigabitEthernet1/0/1.2]dhcp select interface
[FW-GigabitEthernet1/0/1.2]
Jul 27 2026 17:55:37 FW 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 125, the change
loop count is 0, and the maximum number of records is 4095.
[FW-GigabitEthernet1/0/1.2]
User interface con0 is available
Please Press ENTER.
Login authentication
Username:admin
Password:
*************************************************************************
* Copyright (C) 2014-2018 Huawei Technologies Co., Ltd. *
* All rights reserved. *
* Without the owner's prior written consent, *
* no decompiling or reverse-engineering shall be allowed. *
*************************************************************************
<FW>sys
Enter system view, return user view with Ctrl+Z.
[FW]te
[FW]telnetcse
[FW]telnet s
[FW]telnet server e
[FW]telnet server enable
Warning: Telnet is not a secure protocol, and it is recommended to use Stelnet.
[FW]
Jul 27 2026 18:27:18 FW 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 269, the change
loop count is 0, and the maximum number of records is 4095.
[FW]u
[FW]us
[FW]user-
[FW]user-manage v
[FW]user-manage v
[FW]user-i
[FW]user-interface v
[FW]user-interface vty 0 4
[FW-ui-vty0-4]pr
[FW-ui-vty0-4]protocol in
[FW-ui-vty0-4]protocol inbound t
[FW-ui-vty0-4]protocol inbound telnet







DAMO开发者矩阵,由阿里巴巴达摩院和中国互联网协会联合发起,致力于探讨最前沿的技术趋势与应用成果,搭建高质量的交流与分享平台,推动技术创新与产业应用链接,围绕“人工智能与新型计算”构建开放共享的开发者生态。
更多推荐



所有评论(0)