<Huawei>
<Huawei>
<Huawei>sy
<Huawei>system-view
Enter system view, return user view with Ctrl+Z.
[Huawei]
[Huawei]u t m
[Huawei]
[Huawei]sy
[Huawei]sysname Sw1
[Sw1]v
[Sw1]vlan 10
[Sw1-vlan10]q
[Sw1]
[Sw1]
[Sw1]
[Sw1]int
[Sw1]interface ethe
[Sw1]interface Ethernet 0/0/1
[Sw1-Ethernet0/0/1]
[Sw1-Ethernet0/0/1]port l
[Sw1-Ethernet0/0/1]port link-t
[Sw1-Ethernet0/0/1]port link-type a
[Sw1-Ethernet0/0/1]port link-type access
[Sw1-Ethernet0/0/1]
[Sw1-Ethernet0/0/1]
[Sw1-Ethernet0/0/1]
[Sw1-Ethernet0/0/1]por
[Sw1-Ethernet0/0/1]port de
[Sw1-Ethernet0/0/1]port default v
[Sw1-Ethernet0/0/1]port default vlan 10
[Sw1-Ethernet0/0/1]
[Sw1-Ethernet0/0/1]
[Sw1-Ethernet0/0/1]dis this
#
interface Ethernet0/0/1
port link-type access
port default vlan 10
#
return
[Sw1-Ethernet0/0/1]
[Sw1-Ethernet0/0/1]q
[Sw1]
[Sw1]int
[Sw1]interface g
[Sw1]interface GigabitEthernet 0/0/1
[Sw1-GigabitEthernet0/0/1]
[Sw1-GigabitEthernet0/0/1]por
[Sw1-GigabitEthernet0/0/1]port l
[Sw1-GigabitEthernet0/0/1]port link-t
[Sw1-GigabitEthernet0/0/1]port link-type t
[Sw1-GigabitEthernet0/0/1]port link-type trunk
[Sw1-GigabitEthernet0/0/1]
[Sw1-GigabitEthernet0/0/1]port t
[Sw1-GigabitEthernet0/0/1]port trunk a
[Sw1-GigabitEthernet0/0/1]port trunk allow-pass v
[Sw1-GigabitEthernet0/0/1]port trunk allow-pass vlan 10
[Sw1-GigabitEthernet0/0/1]
[Sw1-GigabitEthernet0/0/1]
[Sw1-GigabitEthernet0/0/1]dis this
#
interface GigabitEthernet0/0/1
port link-type trunk
port trunk allow-pass vlan 10
#
return
[Sw1-GigabitEthernet0/0/1]
[Sw1-GigabitEthernet0/0/1]q
[Sw1]
[Sw1]q
<Sw1>
<Sw1>
<Sw1>
<Sw1>
<Sw1>
<Sw1>
<Sw1>dis por
<Sw1>dis port v
<Sw1>dis port vlan
Port Link Type PVID Trunk VLAN List
-------------------------------------------------------------------------------
Ethernet0/0/1 access 10 -
Ethernet0/0/2 hybrid 1 -
Ethernet0/0/3 hybrid 1 -
Ethernet0/0/4 hybrid 1 -
Ethernet0/0/5 hybrid 1 -
Ethernet0/0/6 hybrid 1 -
Ethernet0/0/7 hybrid 1 -
Ethernet0/0/8 hybrid 1 -
Ethernet0/0/9 hybrid 1 -
Ethernet0/0/10 hybrid 1 -
Ethernet0/0/11 hybrid 1 -
Ethernet0/0/12 hybrid 1 -
Ethernet0/0/13 hybrid 1 -
Ethernet0/0/14 hybrid 1 -
Ethernet0/0/15 hybrid 1 -
Ethernet0/0/16 hybrid 1 -
Ethernet0/0/17 hybrid 1 -
Ethernet0/0/18 hybrid 1 -
Ethernet0/0/19 hybrid 1 -
Ethernet0/0/20 hybrid 1 -
Ethernet0/0/21 hybrid 1 -
Ethernet0/0/22 hybrid 1 -
GigabitEthernet0/0/1 trunk 1 1 10
GigabitEthernet0/0/2 hybrid 1 -
<Sw1> User interface con0 is available
Please Press ENTER.
<Sw1>
<Sw1>
<Sw1>
<Sw1>
<Sw1>sa
The current configuration will be written to the device.
Are you sure to continue?[Y/N]y
Info: Please input the file name ( *.cfg, *.zip ) [vrpcfg.zip]:
Mar 14 2017 22:19:18-08:00 Sw1 %%01CFM/4/SAVE(l)[0]:The user chose Y when decidi
ng whether to save the configuration to the device.
<Sw1>