发表于 2018-7-14 12:31 | 来自
51CTO网页
引用:原帖由 semivowels 于 2018-7-14 02:04 发表
HUAWEI> system-view
[HUAWEI] vlan batch 10 20 30 //批量创建VLAN 10 20 30
[HUAWEI] port-group group-member gigabitethernet 0/0/1 to gigabitethernet 0/0/8 //配置临时端口组 1-8端口
[HUAWEI-port-group] ...Username:
Username:
#Easy-Operation: Stop upgrading because of the input in the console.
#Easy-Operation: Enter the status of running normally.
Username:huawei
Password:
Error: Authentication fail
Username:admin
Password:
Error: Authentication fail
Username:admin
Password:
Error: The password times out.
User interface con0 is available
Please Press ENTER.
Login authentication
Username:admin
Password:
Warning: The default password poses security risks.
The password needs to be changed. Change now? [Y/N]: y
Please enter old password:
Please enter new password:
Please confirm new password:
The password has been changed successfully.
sys
Enter system view, return user view with Ctrl+Z.
[HUAWEI]vlan batch 10 20 30
Info: This operation may take a few seconds. Please wait for a moment...done.
[HUAWEI]
Apr 2 2000 00:43:54 HUAWEI DS/4/DATASYNC_CFGCHANGE:OID 1.3.6.1.4.1.2011.5.25.19
1.3.1 configurations have been changed. The current change number is 4, the chan
ge loop count is 0, and the maximum number of records is 4095.
[HUAWEI]port-group group-menber gigabitethernet 0/0/1 to gigabitethernet 0/0/8
^
Error:Too many parameters found at '^' position.
[HUAWEI]por- group group-member gigabitethernet 0/0/1 to gigabitethernet 0/0/8
^
Error: Unrecognized command found at '^' position.
[HUAWEI]port-group group-member gigabitethernet 0/0/1 to gigabitethernet 0/0/8
[HUAWEI-port-group]port link-type access
[HUAWEI-GigabitEthernet0/0/1]port link-type access
Info: This operation may take a few seconds. Please wait for a moment...done.
[HUAWEI-GigabitEthernet0/0/2]port link-type access
Info: This operation may take a few seconds. Please wait for a moment...done.
[HUAWEI-GigabitEthernet0/0/3]port link-type access
Info: This operation may take a few seconds. Please wait for a moment...done.
[HUAWEI-GigabitEthernet0/0/4]port link-type access
Info: This operation may take a few seconds. Please wait for a moment...done.
[HUAWEI-GigabitEthernet0/0/5]port link-type access
Info: This operation may take a few seconds. Please wait for a moment...done.
[HUAWEI-GigabitEthernet0/0/6]port link-type access
Info: This operation may take a few seconds. Please wait for a moment...done.
[HUAWEI-GigabitEthernet0/0/7]port link-type access
Info: This operation may take a few seconds. Please wait for a moment...done.
[HUAWEI-GigabitEthernet0/0/8]port link-type access
Info: This operation may take a few seconds. Please wait for a moment...done.
[HUAWEI-port-group]
Apr 2 2000 00:50:34 HUAWEI DS/4/DATASYNC_CFGCHANGE:OID 1.3.6.1.4.1.2011.5.25.19
1.3.1 configurations have been changed. The current change number is 12, the cha
nge loop count is 0, and the maximum number of records is 4095.
[HUAWEI-port-group]port default vlan 10
[HUAWEI-GigabitEthernet0/0/1]port default vlan 10
[HUAWEI-GigabitEthernet0/0/2]port default vlan 10
[HUAWEI-GigabitEthernet0/0/3]port default vlan 10
[HUAWEI-GigabitEthernet0/0/4]port default vlan 10
[HUAWEI-GigabitEthernet0/0/5]port default vlan 10
[HUAWEI-GigabitEthernet0/0/6]port default vlan 10
[HUAWEI-GigabitEthernet0/0/7]port default vlan 10
[HUAWEI-GigabitEthernet0/0/8]port default vlan 10
[HUAWEI-port-group]
Apr 2 2000 00:51:04 HUAWEI DS/4/DATASYNC_CFGCHANGE:OID 1.3.6.1.4.1.2011.5.25.19
1.3.1 configurations have been changed. The current change number is 20, the cha
nge loop count is 0, and the maximum number of records is