华为MA5821 ONU 配置为普通交换机

接入串口(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)#

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值