通信人家园

 找回密码
 注册

只需一步,快速开始

短信验证,便捷登录

搜索

军衔等级:

  新兵

注册:2016-9-25
跳转到指定楼层
1#
发表于 2019-12-20 10:29:18 |只看该作者 |倒序浏览

华为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 启用用户桥接

Infolease 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,通过配置线连接


举报本楼

您需要登录后才可以回帖 登录 | 注册 |

版规|手机版|C114 ( 沪ICP备12002291号-1 )|联系我们 |网站地图  

GMT+8, 2025-8-3 17:48 , Processed in 0.267805 second(s), 17 queries , Gzip On.

Copyright © 1999-2025 C114 All Rights Reserved

Discuz Licensed

回顶部