华为MA5620、MA5626 ONU改交换机详细配置(小白级教程)_ma5626改交换机

阿里云国内75折 回扣 微信号:monov8
阿里云国际,腾讯云国际,低至75折。AWS 93折 免费开户实名账号 代冲值 优惠多多 微信号:monov8 飞机:@monov6

网上的教程零零碎碎,弄了好久才弄明白
usernameroot
password:mduadmin
#输入密码的时候不显示内容输入完按回车即可
ma5626>enable
#进入用户视图
ma5626#config
#进入配置视图下面参数配置都在该视图下
ma5626(config)#erase flash data
#回车后选择y然后重启设备输入
ma5626(config)reboot system
#输入y确定重启即可重启后里面的数据会被清空恢复到出厂默认配置。

vlan 10 smart
#创建VLAN

huawei(config)#vlan service-profile profile-id 10
huawei(config-vlan-srvprof-10)#user-bridging
{ disable|enable }:enable

Command:
user-bridging enable
Info: Please use the commit command to make modifications take effect
huawei(config-vlan-srvprof-10)#commit
huawei(config-vlan-srvprof-10)#quit
huawei(config)#vlan bind service-profile 10 profile-id 10

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

save
#保存配置

型号同为EA5821的MDU设备 一些设备可以通过user-bridging命令打开下行口的二层互通功能但另一些设备确无法输入user-bridging命令无法通过vlan模板方式打开二层互通。

解决方案
EA5821根据主控板不同打开二层互通功能的命令不同。

如果主控板为H825XCWA的设备不支持user-bridging 命令无法通过vlan模板的方式打开下行端口的二层互通功能。需要使用 undo isolate port 命令。配置如下

举例解除下行端口0/1/1的隔离。

huawei(config)#undo isolate
{ port }:port
{ frameid/slotid/portid<Length 5-18> }:0/1/1

Command:
undo isolate port 0/1/1

如果主控板为其他类型(非H825XCWA)的EA5821使用user-bridging 命令。配置如下

举例VLAN 100作为企业专线业务的业务VLAN使能VLAN 100的二层互通功能使同一EA5821上VLAN 100中的用户之间实现二层互通。

huawei(config)#vlan service-profile profile-id 10
huawei(config-vlan-srvprof-10)#user-bridging
{ disable|enable }:enable

Command:
user-bridging enable
Info: Please use the commit command to make modifications take effect
huawei(config-vlan-srvprof-10)#commit
huawei(config-vlan-srvprof-10)#quit
huawei(config)#vlan bind service-profile 100 profile-id 10

阿里云国内75折 回扣 微信号:monov8
阿里云国际,腾讯云国际,低至75折。AWS 93折 免费开户实名账号 代冲值 优惠多多 微信号:monov8 飞机:@monov6