admin管理员组

文章数量:1531416

2024年1月24日发(作者:)

华为MA5626如何配置成交换机模式

开光口级联:

root

密码mduadmin

(这是默认的用户名和密码)

登陆onu后输入的命令:

enable ---回车

erase flash data ---回车

Y ---回车

reboot system---回车

Y---回车

回车后等待片刻onu重启后以前所配置的数据即可全部删除

MA5626>

enable

config

port mode 0/0/1 ge

port mode 0/0/2 ge 指定1,2光口为GE模式。然后把业务口透传到光口,真要命,找好久还搞明白。

vlan service-profile profile-id 1

user-bridging enable 用户桥接使能

commit 加载

quit

vlan 4000 smart 定义业务vlan

定义管理vlan

vlan bind service-profile 4000 profile-id 1 将vlan邦定1号模板

multi-service-port vlan 4000 port 0/1 1-8 user-vlan untagged rx-cttr 6 tx-cttr 6

加载业务口

interface vlanif4000 带内管理vlan

ip address 111.111.111.1 255.255.255.0 带内管理ip地址

quit

port vlan 4000 0/0 1 ETH口 vlan1 透传到上行口1

port vlan 4000 0/0 2 ETH口 vlan1 透传到上行口2

批量

save

reboot system

MA5626(config)#undo service-port all

MA5626(config)#interface eth 0/1

MA5626(config-if-eth-0/1)#traffic-suppress all unicast value 1

MA5626(config-if-eth-0/1)#traffic-suppress all broadcast value 1

MA5626(config-if-eth-0/1)#quit

MA5626(config)#multi-service-port vlan transparent board 1 other-all rx-cttr 6 tx-cttr 6

确实要批量增加业务虚端口? (y/n)[n]:y

本次批增操作涉及业务单板总数: 1

本次批增操作涉及业务虚端口总数: 24

批量增加开始......

批量增加结束:

本次批增需要增加业务虚端口总数: 24

其中, 增加成功总数: 24

MA5626(config)#save data

数据正在保存,请稍候...

开端口直通:

通过串口线用超级终端登录

用户名root

密码mduadmin

(这是默认的用户名和密码)

登陆onu后输入的命令:

enable ---回车

erase flash data ---回车

Y ---回车

reboot system---回车

Y---回车

回车后等待片刻onu重启后以前所配置的数据即可全部删除

MA5626>enable 打开交换机

MA5626#config 进入配置模式

MA5626(config)#vlan service-profile profile-id 1 创建一个ID为1的VLAN

{ |profile-name }: 回车

Command:

Vlan service-profile profile-id 1

:user-bridging enable 启用用户桥接

Info:Please use the commit command to make modifications take effect

#commit

commit

quit

vlan bind service-profile 1 profile-id 1

multi-service-port vlan 1 port 0/1 1-8 user-vlan untagged rx-cttr 6 tx-cttr 6

在敲一遍:multi-service-port vlan 1 port 0/1 1-15 user-vlan untagged rx-cttr 6 tx-cttr 6

save

以上配好就可以当交换机去用了。

附图:

如果出现的是15 15,则需要再敲一遍该命令。

硬件连接方式

首先连接电脑与onu,通过配置线连接

图为配置线,“网线头”插入onu的CONSOLE口,另一端与电脑的串口接。

图为onu上对应的CONSOLE接口(插入“网线头”即可)

电脑端操作

首先打开超级终端:

开始—程序—附件---通信—超级终端

打开超级中断后出现如下提示

点否进入如下界面

名称随便写,图标选择默认的即可,然后点击确定出现如下界面

连接口选择COM1或者COM2根据自己的机器选择,1不行就2,点击确定,然后按照下图设置

点击确定

然后到文件—属性—设置中按下图方式

此处必须设置

一定要设置ASCII码

按照图中行延迟和字符延迟都设置为200毫秒,然后点击确定即可

在超级终端出点击回车即可出现要求输入用户名和密码

华为onu 登陆用户名root

密码 mduadmin

登陆后界面如下

登陆onu后输入的命令:

enable ---回车

erase flash data ---回车

Y ---回车

reboot system---回车

Y---回车

回车后等待片刻onu重启后以前所配置的数据即可全部删除

Board's LAN IP address is 10.11.104.2

之前在我这买过的,加10元远程帮你调成千兆交换机。请qq联系我!673395357

华为MA5626配置成普通交换机的方法

华为MA5626如何配置成交换机模式

本文以16口MA5626为例

通过串口线用超级终端登录

用户名root

密码mduadmin

(这是默认的用户名和密码)

MA5626>enable

MA5626#config

MA5626(config)#vlan service-profile profile-id 1

user-bridging enable

commit

quit

vlan bind service-profile 1 profile-id 1

multi-service-port vlan 1 port 0/1 1-15 user-vlan untagged rx-cttr 6 tx-cttr 6

在敲一遍:multi-service-port vlan 1 port 0/1 1-15 user-vlan untagged rx-cttr 6 tx-cttr 6

save

以上配好就可以当交换机去用了。

附图:

MA5626>enable

MA5626#config

MA5626(config)#vlan service-profile profile-id 1

{ |profile-name }:

Command:

vlan service-profile profile-id 1

MA5626(config-vlan-srvprof-1)#user-bridging enable

Info: Please use the commit command to make modifications take effect

MA5626(config-vlan-srvprof-1)#commit

MA5626(config-vlan-srvprof-1)#quit

MA5626(config)#vlan bind service-profile 1 profile-id 1

MA5626(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 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

MA5626(config)#save

{ |configuration|data }:

Command:

save

本文标签: 配置交换机业务增加出现