华为MA5620、MA5626 ONU改交换机详细配置(小白级教程) | 您所在的位置:网站首页 › crt导出华为交换机配置 › 华为MA5620、MA5626 ONU改交换机详细配置(小白级教程) |
网上的教程零零碎碎,弄了好久才弄明白 username:root 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 }: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 |
CopyRight 2018-2019 实验室设备网 版权所有 |