接入串口(console)或者远程登入(telnet...)执行如下命令即可
>>User name:root
>>User password:mduadmin
MA5821>enable
MA5821#config
MA5821(config)#vlan service-profile profile-id 1
MA5821(config-vlan-srvprof-1)#user-bridging enable
MA5821(config-vlan-srvprof-1)#commit
MA5821(config-vlan-srvprof-1)#quit
MA5821(config)#vlan bind service-profile 1 profile-id 1
MA5821(config)#multi-service-port vlan 1 port 0/1 1-8 user-vlan untagged rx-cttr 6 tx-cttr 6
MA5821(config)#save
MA5821(config)#reboot system
打印内容如下
>>User name:
>>User password:
Username or password invalid.
>>User name:root
>>User password:
Huawei Integrated Access Software (MA5821).
Copyright(C) Huawei Technologies Co., Ltd. 2002-2016. All rights reserved.
-----------------------------------------------------------------------------
User last login information:
-----------------------------------------------------------------------------
Access Type : Serial
IP-Address : --
Login Time : 2000-01-02 15:55:17+08:00
Logout Time : 2000-01-02 16:04:30+08:00
-----------------------------------------------------------------------------
-----------------------------------------------------------------------------
All user fail login information:
-----------------------------------------------------------------------------
Access Type IP-Address Time Login Times
-----------------------------------------------------------------------------
Serial -- 2000-01-02 16:09:23+08:00 6
-----------------------------------------------------------------------------
MA5821>
Warning: Using the default user password is not recommended. Please change the password.
MA5821>enable
MA5821#config
MA5821(config)#vlan service-profile profile-id 1
{ <cr>|profile-name<K> }:
Command:
vlan service-profile profile-id 1
MA5821(config-vlan-srvprof-1)#user-bridging enable
Info: Please use the commit command to make modifications take effect
MA5821(config-vlan-srvprof-1)#commit
MA5821(config-vlan-srvprof-1)#quit
MA5821(config)#vlan bind service-profile 1 profile-id
{ profile-id<U><1,64> }:1
Command:
vlan bind service-profile 1 profile-id 1
Binding will last for several minutes, please do not delete the VLAN.
MA5821(config)#multi-service-port vlan 1 port 0/1 1-8 user-vlan untagged rx-cttr 6 tx-cttr 6
It will take several minutes, and console may timeout, please use command
idle-timeout to set time limit
Are you sure to create service virtual port(s)? (y/n)[n]:y
The number of total board in this operation: 1
The number of total service virtual port in this operation: 8
Creating start...
Creating end:
The number of total service virtual port which need be created: 8
The number of total service virtual port which have been created: 8
MA5821(config)#save
{ <cr>|configuration<K>|data<K> }:
Command:
save
MA5821(config)#
It will take several minutes to save configuration file, please wait...
MA5821(config)#
Configuration file had been saved successfully
MA5821(config)#
The data is being saved, please wait a moment...
MA5821(config)#
MA5821(config)#
1 [2000-01-02 16:14:51+08:00]:The percentage of saved data on 0 slot's control board is: 21%
MA5821(config)#
1 [2000-01-02 16:14:55+08:00]:The percentage of saved data on 0 slot's control board is: 66%
MA5821(config)#
1 [2000-01-02 16:14:58+08:00]:The percentage of saved data on 0 slot's control board is: 100%
MA5821(config)#
MA5821(config)#
1 [2000-01-02 16:14:59+08:00]:The data of 0 slot's control board is saved
completely
MA5821(config)#