<Huawei>sy
Enter system view, return user view with Ctrl+Z.
[Huawei]sy r1
[r1]int g0/0/0.1
[r1-GigabitEthernet0/0/0.1]do
[r1-GigabitEthernet0/0/0.1]dot1q t
[r1-GigabitEthernet0/0/0.1]dot1q termination v
[r1-GigabitEthernet0/0/0.1]dot1q termination vid 2
[r1-GigabitEthernet0/0/0.1]ip ad
[r1-GigabitEthernet0/0/0.1]ip address 12.1.1.1 24
Nov 25 2022 09:26:12-08:00 r1 %%01IFNET/4/LINK_STATE(l)[0]:The line protocol IP
on the interface GigabitEthernet0/0/0.1 has entered the UP state.
[r1-GigabitEthernet0/0/0.1]int g0/0/0.2
[r1-GigabitEthernet0/0/0.2]do
[r1-GigabitEthernet0/0/0.2]dot1q t
[r1-GigabitEthernet0/0/0.2]dot1q termination v
[r1-GigabitEthernet0/0/0.2]dot1q termination vid 3
[r1-GigabitEthernet0/0/0.2]ip ad
[r1-GigabitEthernet0/0/0.2]ip address 34.1.1.1 24
Nov 25 2022 09:27:17-08:00 r1 %%01IFNET/4/LINK_STATE(l)[1]:The line protocol IP
on the interface GigabitEthernet0/0/0.2 has entered the UP state.
[r1-GigabitEthernet0/0/0.2]int g0/0/0.3
[r1-GigabitEthernet0/0/0.3]do
[r1-GigabitEthernet0/0/0.3]dot1q t
[r1-GigabitEthernet0/0/0.3]dot1q termination v
[r1-GigabitEthernet0/0/0.3]dot1q termination vid 4
[r1-GigabitEthernet0/0/0.3]ip ad
[r1-GigabitEthernet0/0/0.3]ip address 23.1.1.1 24
Nov 25 2022 09:27:41-08:00 r1 %%01IFNET/4/LINK_STATE(l)[2]:The line protocol IP
on the interface GigabitEthernet0/0/0.3 has entered the UP state.
[r1-GigabitEthernet0/0/0.3]qu
[r1]dh
[r1]dhcp e
[r1]dhcp enable
Info: The operation may take a few seconds. Please wait for a moment.done.
[r1]ip p
[r1]ip policy-based-route
[r1]ip pool 1
Info: It's successful to create an IP address pool.
[r1-ip-pool-1]n
[r1-ip-pool-1]nbns-list
[r1-ip-pool-1]netbios-type
[r1-ip-pool-1]network 12.1.1.0 m
[r1-ip-pool-1]network 12.1.1.0 mask 24
[r1-ip-pool-1]g
[r1-ip-pool-1]gateway-list 12.1.1.1
[r1-ip-pool-1]d
[r1-ip-pool-1]dialer
[r1-ip-pool-1]display
[r1-ip-pool-1]dns-list 8.8.8.8
[r1-ip-pool-1]ip p 2
Info: It's successful to create an IP address pool.
[r1-ip-pool-2]n
[r1-ip-pool-2]next-server
[r1-ip-pool-2]nbns-list
[r1-ip-pool-2]netbios-type
[r1-ip-pool-2]network 34.1.1.0 m
[r1-ip-pool-2]network 34.1.1.0 mask 24
[r1-ip-pool-2]g
[r1-ip-pool-2]gateway-list 34.1.1.1
[r1-ip-pool-2]d
[r1-ip-pool-2]dialer
[r1-ip-pool-2]display
[r1-ip-pool-2]dns-list 8.8.8.8
[r1-ip-pool-2]ip p 3
Info: It's successful to create an IP address pool.
[r1-ip-pool-3]
[r1-ip-pool-3]n
[r1-ip-pool-3]next-server
[r1-ip-pool-3]nbns-list
[r1-ip-pool-3]netbios-type
[r1-ip-pool-3]network 23.1.1.0 m
[r1-ip-pool-3]network 23.1.1.0 mask 24
[r1-ip-pool-3]g
[r1-ip-pool-3]gateway-list 23.1.1.1
[r1-ip-pool-3]d
[r1-ip-pool-3]dialer
[r1-ip-pool-3]display
[r1-ip-pool-3]dns-list 8.8.8.8
[r1-ip-pool-3]qu
[r1]int g 0/0/0.1
[r1-GigabitEthernet0/0/0.1]d
[r1-GigabitEthernet0/0/0.1]dialer
[r1-GigabitEthernet0/0/0.1]direct-route
[r1-GigabitEthernet0/0/0.1]discard
[r1-GigabitEthernet0/0/0.1]display
[r1-GigabitEthernet0/0/0.1]dlsw
[r1-GigabitEthernet0/0/0.1]dh
[r1-GigabitEthernet0/0/0.1]dhcp s
[r1-GigabitEthernet0/0/0.1]dhcp selectg
[r1-GigabitEthernet0/0/0.1]dhcp select g
[r1-GigabitEthernet0/0/0.1]dhcp select global
[r1-GigabitEthernet0/0/0.1]int
[r1-GigabitEthernet0/0/0.1]int g0/0/0.2
[r1-GigabitEthernet0/0/0.2]d
[r1-GigabitEthernet0/0/0.2]ddns
[r1-GigabitEthernet0/0/0.2]dh
[r1-GigabitEthernet0/0/0.2]dhcp s
[r1-GigabitEthernet0/0/0.2]dhcp select g
[r1-GigabitEthernet0/0/0.2]dhcp select global
[r1-GigabitEthernet0/0/0.2]int
[r1-GigabitEthernet0/0/0.2]int g0/0/0.3
[r1-GigabitEthernet0/0/0.3]dh
[r1-GigabitEthernet0/0/0.3]dhcp s
[r1-GigabitEthernet0/0/0.3]dhcp select g
[r1-GigabitEthernet0/0/0.3]dhcp select global
[r1-GigabitEthernet0/0/0.3]
[r1-GigabitEthernet0/0/0.3]
<Huawei>
<Huawei>sy
Enter system view, return user view with Ctrl+Z.
[Huawei] v
[Huawei]vlan b
[Huawei]vlan batch 2
[Huawei]vlan batch 2 to
[Huawei]vlan batch 2 to 4
Info: This operation may take a few seconds. Please wait for a moment...done.
[Huawei]
Nov 25 2022 09:22:40-08:00 Huawei 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, th
e change loop count is 0, and the maximum number of records is 4095.
[Huawei]vlan batch 2 to 4
Info: This operation may take a few seconds. Please wait for a moment...done.
[Huawei].
^
Error: Unrecognized command found at '^' position.
[Huawei]
Nov 25 2022 09:22:50-08:00 Huawei 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, th
e change loop count is 0, and the maximum number of records is 4095.
[Huawei]
[Huawei]int
[Huawei]interface e 0/0/2
[Huawei-Ethernet0/0/2]po
[Huawei-Ethernet0/0/2]port l
[Huawei-Ethernet0/0/2]port link-t
[Huawei-Ethernet0/0/2]port link-type a
[Huawei-Ethernet0/0/2]port link-type access
[Huawei-Ethernet0/0/2]
[Huawei-Ethernet0/0/2]po
[Huawei-Ethernet0/0/2]port de
[Huawei-Ethernet0/0/2]port default v
[Huawei-Ethernet0/0/2]port default vlan
Nov 25 2022 09:23:40-08:00 Huawei 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, th
e change loop count is 0, and the maximum number of records is 4095.
[Huawei-Ethernet0/0/2]port default vlan
[Huawei-Ethernet0/0/2]port default vlan 2
[Huawei-Ethernet0/0/2]int e0/0/
Nov 25 2022 09:23:50-08:00 Huawei 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, th
e change loop count is 0, and the maximum number of records is 4095.3
[Huawei-Ethernet0/0/2]int e0/0/3
[Huawei-Ethernet0/0/3]po
[Huawei-Ethernet0/0/3]port l
[Huawei-Ethernet0/0/3]port link-t
[Huawei-Ethernet0/0/3]port link-type v
[Huawei-Ethernet0/0/3]port link-type a
[Huawei-Ethernet0/0/3]port link-type access
[Huawei-Ethernet0/0/3]po
[Huawei-Ethernet0/0/3]port de
[Huawei-Ethernet0/0/3]port default v
[Huawei-Ethernet0/0/3]port default vlan 3
[Huawei-Ethernet0/0/3]
Nov 25 2022 09:24:10-08:00 Huawei 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, th
e change loop count is 0, and the maximum number of records is 4095.
[Huawei-Ethernet0/0/3]int e0/0/4
[Huawei-Ethernet0/0/4]po
[Huawei-Ethernet0/0/4]port l
[Huawei-Ethernet0/0/4]port link-t
[Huawei-Ethernet0/0/4]port link-type a
[Huawei-Ethernet0/0/4]port link-type access
[Huawei-Ethernet0/0/4]po
[Huawei-Ethernet0/0/4]port de
[Huawei-Ethernet0/0/4]port default v
[Huawei-Ethernet0/0/4]port default vlan
Nov 25 2022 09:24:30-08:00 Huawei 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, t
he change loop count is 0, and the maximum number of records is 4095.4
[Huawei-Ethernet0/0/4]port default vlan 4
[Huawei-Ethernet0/0/4]int
[Huawei-Ethernet0/0/4]int
Nov 25 2022 09:24:40-08:00 Huawei 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, t
he change loop count is 0, and the maximum number of records is 4095.
[Huawei-Ethernet0/0/4]int e0/0/1
[Huawei-Ethernet0/0/1]po
[Huawei-Ethernet0/0/1]port l
[Huawei-Ethernet0/0/1]port link-t
[Huawei-Ethernet0/0/1]port link-type t
[Huawei-Ethernet0/0/1]port link-type trunk
[Huawei-Ethernet0/0/1]
Nov 25 2022 09:25:10-08:00 Huawei 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, t
he change loop count is 0, and the maximum number of records is 4095.
[Huawei-Ethernet0/0/1]po
[Huawei-Ethernet0/0/1]port t
[Huawei-Ethernet0/0/1]port trunk a
[Huawei-Ethernet0/0/1]port trunk allow-pass v
[Huawei-Ethernet0/0/1]port trunk allow-pass vlan a
[Huawei-Ethernet0/0/1]port trunk allow-pass vlan all
[Huawei-Ethernet0/0/1]
Nov 25 2022 09:25:20-08:00 Huawei 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, t
he change loop count is 0, and the maximum number of records is 4095.
[Huawei-Ethernet0/0/1]