[huawei]int
[huawei]interface g0/0/0.1
[huawei-GigabitEthernet0/0/0.1]dot
[huawei-GigabitEthernet0/0/0.1]dot1q ter
[huawei-GigabitEthernet0/0/0.1]dot1q termination vid 2
[huawei-GigabitEthernet0/0/0.1]ip ad
[huawei-GigabitEthernet0/0/0.1]ip address 12.1.1.1 24
Nov 23 2022 15:52:09-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]quit
[huawei]inter
[huawei]interface g0/0/0.2
[huawei-GigabitEthernet0/0/0.2]dot
[huawei-GigabitEthernet0/0/0.2]dot1q ter
[huawei-GigabitEthernet0/0/0.2]dot1q termination vid 3
[huawei-GigabitEthernet0/0/0.2]ip ad
[huawei-GigabitEthernet0/0/0.2]ip address 23.1.1.1 24
Nov 23 2022 15:58:50-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]quit
[huawei]ip p
[huawei]ip policy-based-route
[huawei]ip pool 1
Info: It's successful to create an IP address pool.
[huawei-ip-pool-1]netw
[huawei-ip-pool-1]network 12.1.1.0 m
[huawei-ip-pool-1]network 12.1.1.0 mask 24
[huawei-ip-pool-1]g
[huawei-ip-pool-1]gateway-list 12.1.1.1
[huawei-ip-pool-1]dn
[huawei-ip-pool-1]dns-list 8.8.8.8
[huawei-ip-pool-1]quit
[huawei-ip-pool-1]quit
[huawei]ip p
[huawei]ip policy-based-route
[huawei]ip pool 2
Info: It's successful to create an IP address pool.
[huawei-ip-pool-2]netw
[huawei-ip-pool-2]network 23.1.1.0 m
[huawei-ip-pool-2]network 23.1.1.0 mask 24
[huawei-ip-pool-2]g
[huawei-ip-pool-2]gateway-list 23.1.1.1
[huawei-ip-pool-2]dn
[huawei-ip-pool-2]dns-list 8.8.8.8
[huawei-ip-pool-2]quit
[huawei]int
[huawei]interface g0/0/0.1
[huawei-GigabitEthernet0/0/0.1]dhcp s
[huawei-GigabitEthernet0/0/0.1]dhcp select g
[huawei-GigabitEthernet0/0/0.1]dhcp select global
[huawei-GigabitEthernet0/0/0.1]quit
[huawei]int
[huawei]interface g0/0/0.2
[huawei-GigabitEthernet0/0/0.2]dhcp select global
[huawei-GigabitEthernet0/0/0.2]
<Huawei>
<Huawei>sys
<Huawei>system-view
Enter system view, return user view with Ctrl+Z.
[Huawei]user-i
[Huawei]user-interface c0
[Huawei-ui-console0]id
[Huawei-ui-console0]idle-timeout 0 0
[Huawei-ui-console0]qu
[Huawei-ui-console0]quit
[Huawei]
Nov 23 2022 15:31:04-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]vla
[Huawei]vlan b
[Huawei]vlan batch 2 3
Info: This operation may take a few seconds. Please wait for a moment...done.
[Huawei]dis
[Huawei]display vl
[Huawei]display vlan
Nov 23 2022 15:35:24-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.
The total number of vlans is : 3
--------------------------------------------------------------------------------
U: Up; D: Down; TG: Tagged; UT: Untagged;
MP: Vlan-mapping; ST: Vlan-stacking;
#: ProtocolTransparent-vlan; *: Management-vlan;
--------------------------------------------------------------------------------
VID Type Ports
--------------------------------------------------------------------------------
1 common UT:Eth0/0/1(U) Eth0/0/2(U) Eth0/0/3(U) Eth0/0/4(D)
Eth0/0/5(D) Eth0/0/6(D) Eth0/0/7(D) Eth0/0/8(D)
Eth0/0/9(D) Eth0/0/10(D) Eth0/0/11(D) Eth0/0/12(D)
Eth0/0/13(D) Eth0/0/14(D) Eth0/0/15(D) Eth0/0/16(D)
Eth0/0/17(D) Eth0/0/18(D) Eth0/0/19(D) Eth0/0/20(D)
Eth0/0/21(D) Eth0/0/22(D) GE0/0/1(D) GE0/0/2(D)
2 common
3 common
VID Status Property MAC-LRN Statistics Description
--------------------------------------------------------------------------------
1 enable default enable disable VLAN 0001
2 enable default enable disable VLAN 0002
3 enable default enable disable VLAN 0003
[Huawei]int
[Huawei]interface e0/0/2
[Huawei-Ethernet0/0/2]port li
[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]po
[Huawei-Ethernet0/0/2]portde
[Huawei-Ethernet0/0/2]portde
Nov 23 2022 15:37:04-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 de
[Huawei-Ethernet0/0/2]port default vl
[Huawei-Ethernet0/0/2]port default vlan 2
[Huawei-Ethernet0/0/2]qui
Nov 23 2022 15:37:24-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.
[Huawei]
[Huawei]quit
[Huawei]quit
<Huawei>sys
Enter system view, return user view with Ctrl+Z.
[Huawei]int
[Huawei]interface e0/0/3
[Huawei-Ethernet0/0/3]po
[Huawei-Ethernet0/0/3]port li
[Huawei-Ethernet0/0/3]port link-t
[Huawei-Ethernet0/0/3]port link-type a
[Huawei-Ethernet0/0/3]port link-type access
[Huawei-Ethernet0/0/3]
Nov 23 2022 15:42:44-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 8, th
e change loop count is 0, and the maximum number of records is 4095.
[Huawei-Ethernet0/0/3]po
[Huawei-Ethernet0/0/3]port de
[Huawei-Ethernet0/0/3]port default
[Huawei-port-group-default]qi
Nov 23 2022 15:43:34-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-port-group-default]qu
[Huawei-port-group-default]quit
[Huawei]int
[Huawei]interface
[Huawei]interface e0/0/3
[Huawei-Ethernet0/0/3]po
[Huawei-Ethernet0/0/3]port li
[Huawei-Ethernet0/0/3]port link-t
[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 vl
[Huawei-Ethernet0/0/3]port default vlan 3
[Huawei-Ethernet0/0/3]
Nov 23 2022 15:44:24-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.
[Huawei-Ethernet0/0/3]quit
[Huawei]int
[Huawei]interface e0/0/1
[Huawei-Ethernet0/0/1]po
[Huawei-Ethernet0/0/1]port li
[Huawei-Ethernet0/0/1]port link-t
[Huawei-Ethernet0/0/1]port t
[Huawei-Ethernet0/0/1]port tr
[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 tr
[Huawei-Ethernet0/0/1]port link-type trunk
[Huawei-Ethernet0/0/1]po
[Huawei-Ethernet0/0/1]port
Nov 23 2022 15:45:54-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/1]port tr
[Huawei-Ethernet0/0/1]port trunk al
[Huawei-Ethernet0/0/1]port trunk allow-pass vl
[Huawei-Ethernet0/0/1]port trunk allow-pass vlan al
[Huawei-Ethernet0/0/1]port trunk allow-pass vlan all
[Huawei-Ethernet0/0/1]
Nov 23 2022 15:46:24-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.