华为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
{ <cr>|profile-name<K> }: 回车
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
以上配好就可以当交换机去用了。
温馨提示:答案为网友推荐,仅供参考
相似回答