交换机配置
The device is running!
<Huawei>
<Huawei>sy
<Huawei>system-view
Enter system view, return user view with Ctrl+Z.
[Huawei]sy
[Huawei]sysname jiaohuan
[jiaohuan]
Nov 23 2022 18:49:46-08:00 jiaohuan 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 change loop count is 0, and the maximum number of records is 4095.
[jiaohuan]vl
[jiaohuan]vlan ba
[jiaohuan]vlan batch 1 to 3
Info: This operation may take a few seconds. Please wait for a moment...done.
[jiaohuan]
Nov 23 2022 18:50:16-08:00 jiaohuan 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 change loop count is 0, and the maximum number of records is 4095.
[jiaohuan]
[jiaohuan]int
[jiaohuan]interface e0/0/2
[jiaohuan-Ethernet0/0/2]po
[jiaohuan-Ethernet0/0/2]port lin
[jiaohuan-Ethernet0/0/2]port link-ty
[jiaohuan-Ethernet0/0/2]port link-type acc
[jiaohuan-Ethernet0/0/2]port link-type access
[jiaohuan-Ethernet0/0/2]por
[jiaohuan-Ethernet0/0/2]port
Nov 23 2022 18:51:16-08:00 jiaohuan 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 change loop count is 0, and the maximum number of records is 4095.
^
Error:Incomplete command found at '^' position.
[jiaohuan-Ethernet0/0/2]po
[jiaohuan-Ethernet0/0/2]port de
[jiaohuan-Ethernet0/0/2]port default v
[jiaohuan-Ethernet0/0/2]port default vlan 3
[jiaohuan-Ethernet0/0/2]
Nov 23 2022 18:51:36-08:00 jiaohuan 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 change loop count is 0, and the maximum number of records is 4095.qu
[jiaohuan-Ethernet0/0/2]quit
[jiaohuan]int
[jiaohuan]interface e0/0/3
[jiaohuan-Ethernet0/0/3]por
[jiaohuan-Ethernet0/0/3]port lin
[jiaohuan-Ethernet0/0/3]port link-ty
[jiaohuan-Ethernet0/0/3]po
路由器配置
The device is running!
<Huawei>sy
<Huawei>system-view
Enter system view, return user view with Ctrl+Z.
[Huawei]int
[Huawei]interface g0/0/0
[Huawei-GigabitEthernet0/0/0]qu
[Huawei-GigabitEthernet0/0/0]quit
[Huawei]int
[Huawei]interface
^
Error:Incomplete command found at '^' position.
[Huawei]int
[Huawei]interface g0/0/0.1
[Huawei-GigabitEthernet0/0/0.1]do
[Huawei-GigabitEthernet0/0/0.1]dot1q ter
[Huawei-GigabitEthernet0/0/0.1]dot1q termination vid 1
[Huawei-GigabitEthernet0/0/0.1]ip add
[Huawei-GigabitEthernet0/0/0.1]ip address 12.1.1.1 24
Nov 23 2022 18:55:35-08:00 Huawei %%01IFNET/4/LINK_STATE(l)[0]:The line protocol
IP on the interface GigabitEthernet0/0/0.1 has entered the UP state.
[Huawei-GigabitEthernet0/0/0.1]
[Huawei-GigabitEthernet0/0/0.1]qu
[Huawei-GigabitEthernet0/0/0.1]quit
[Huawei]int
[Huawei]interface g0/0/0.2
[Huawei-GigabitEthernet0/0/0.2]do
[Huawei-GigabitEthernet0/0/0.2]dot1q ter
[Huawei-GigabitEthernet0/0/0.2]dot1q termination vid 2
[Huawei-GigabitEthernet0/0/0.2]ip add
[Huawei-GigabitEthernet0/0/0.2]ip address 34.1.1.2 24
Nov 23 2022 18:56:29-08:00 Huawei %%01IFNET/4/LINK_STATE(l)[1]:The line protocol
IP on the interface GigabitEthernet0/0/0.2 has entered the UP state.
[Huawei-GigabitEthernet0/0/0.2]qu
[Huawei-GigabitEthernet0/0/0.2]quit
[Huawei]int
[Huawei]interface g0/0/0.3
[Huawei-GigabitEthernet0/0/0.3]do
[Huawei-GigabitEthernet0/0/0.3]dot1q ter
[Huawei-GigabitEthernet0/0/0.3]dot1q termination vid 3
[Huawei-GigabitEthernet0/0/0.3]ip add
[Huawei-GigabitEthernet0/0/0.3]ip address 23.1.1.3 24
[Huawei-GigabitEthernet0/0/0.3]
Nov 23 2022 18:57:04-08:00 Huawei %%01IFNET/4/LINK_STATE(l)[2]:The line protocol
IP on the interface GigabitEthernet0/0/0.3 has entered the UP state.
[Huawei-GigabitEthernet0/0/0.3]