C114门户论坛百科APPEN| 举报 切换到宽版

亚星游戏官网

 找回密码
 注册

只需一步,快速开始

短信验证,便捷登录

搜索

军衔等级:

亚星游戏官网-yaxin222  新兵

注册:2015-7-8
发表于 2017-4-24 16:25:40 |显示全部楼层
MA5680T配置引导(适用于V800R006C02版本)
1-常用命令》
//登陆用户名root,密码 admin
MA5680T>enable      //打开特权EXEC
MA5680T#config       //进入终端配置模式
MA5680T(config)#sysname  [url=]SJZ-HW-OLT-1[/url][C.T1]        //设备命名 (一般为开局配置)
MA5680T(config)#switch language-mode  //切换语言,可以在中英文语言中转换。
MA5680T (config) #terminal user name   //添加操作用户huawei
  User Name(length<6,15>):huawei      //设置用户名
  User Password(length<6,15>):huawei123     //要求输入密码.输入部分实际为不可见的
  Confirm Password(length<6,15>): huawei123       //要求再次确认一遍密码
  User profile name(<=15 chars)[root]:root         //输入用户管理级别
  User's Level:                              
     1. Common User  2. Operator  3. Administrator:3        //选择用户权限
  Permitted Reenter Number(0--4):1      //设置此用户名可重复登录次数,一般要求为1
  User's Appended Info(<=30 chars):HuaweiAdm   //添加描述,可不设置。
  Adding user succeeds
Repeat this operation? (y/n)[n]:
MA5680T(config)#display board 0  //检查设备单板状态,此命令最常用。
  -------------------------------------------------------------------------
  [url=]SlotID[/url][C.T2]   [url=]BoardName[/url][C.T3]   [url=]Status[/url][C.T4]          SubType0 SubType1    Online/Offline
  -------------------------------------------------------------------------
  0     
  1       [url=]H802EPBC[/url][C.T5]    Normal                          
  2       H802EPBC   Normal                          
  3       H802EPBC   Normal                     
  4       H802EPBC   [url=]Auto_find[/url][C.T6]                        
  5     
  6     
  7       H801SCUL   Active_normal                  
  8       H801SCUL   Standby_normal                  
  9     
  10   
  11   
  12   
  13   
  14   
  15   
  16   
  17      [url=]H801GICF[/url][C.T7]    Normal                          
  18      [url=]H801X2CA[/url][C.T8]    Normal                       
  19   
  19   
  20                                 
  -------------------------------------------------------------------------
MA5680T(config)#board confirm 0    //对于自动发现的单板,需要确认后,单板才能使用。
                                 //对于未确认的单板,单板硬件运行指示灯正常,但是业务端口无法工作。
2-开局配置命令》
MA5680T (config)#vlan 99 smart      //增加设备管理VLAN (一般为开局配置)
MA5680T (config)#vlan 10 smart     //增加语音业务VLAN (一般为开局配置)
MA5680T (config)#port vlan 99  0/18  0  //将管理VLAN透传到上行端口. (一般为开局配置)
MA5680T (config)#port vlan 10  0/17  1   //将语音业务VLAN透传到上行端口(一般为开局配置)
// 0/18 0  意思为第0(默认框号) / 18槽位(槽位编号,一般在机框上都有标出)  0端口(上行口编号)
MA5680T (config)#vlan desc 99 description NMS VLAN  //添加vlan的描述, (一般为开局配置)
MA5680T (config)#vlan desc 10 description NGN-VPN   
//配置设备管理地址,(一般为开局配置)
MA5680T (config)#interface vlanif 99   
MA5680T (config-if-vlanif99)#ip address 172.16.21.2 255.255.255.0     
MA5680T (config-if-vlanif99)#quit   
MA5680T (config)#ip route-static 0.0.0.0 0.0.0.0 172.16.21.1    //配置设备缺省路由 (一般为开局配置)
MA5680T (config)#ip route-static 10.0.0.0 255.0.0.0 10.50.42.1    //配置语音部分路由 (一般为开局配置)
//设置上行端口速率以及双工模式 (一般为开局配置)
MA5680T (config)#interface giu 0/17
MA5680T (config-if-giu-0/17)#speed 0 1000   //配置端口速率,GE口只能配置成1000, 10GE口只能配置成10000
MA5680T (config-if-giu-0/17)#speed 1 1000
MA5680T (config-if-giu-0/17)#duplex 0 full   //配置双工模式,half为半双工,full为全双工
MA5680T (config-if-giu-0/17)#duplex 1 full
MA5680T (config-if-giu-0/17)#auto-neg 0 disable    //配置自协商模式,disable为禁止自协商,enable为允许
MA5680T (config-if-giu-0/17)#auto-neg 1 disable
MA5680T (config-if-giu-0/17)#quit
//在终端配置模式下添加网管SNMP参数
snmp-agent community read public    //设置读参数
snmp-agent community write private     //设置写参数
snmp-agent sys-info contact HUAWEI TEL:4008302118  //设置SNMP联系信息
snmp-agent sys-info location SHIJIAZHUANG UNIONCOM NETWORKSTATIONM  //设置SNMP本地信息
snmp-agent sys-info version v1  //设置SNMP版本信息
snmp-agent target-host trap-hostname N2000SERVER address 172.16.255.2 udp-port 161 trap-paramsname private
//设置网管参数,N2000SERVER为网管计算机名称,172.16.255.2为网管地址。通信端口一般为161,读串为private
//以下为添加的两个综合网管的管理参数。
snmp-agent target-host trap-hostname public.61.182.202.57 address 61.182.202.57 trap-paramsname public
snmp-agent target-host trap-hostname public.61.182.202.46 address 61.182.202.46 trap-paramsname public
snmp-agent target-host trap-paramsname private v1 securityname private
snmp-agent target-host trap-paramsname public v1 securityname public
snmp-agent trap enable standard  //启用SNMP 标准 trap报文功能
//查看EMU电源监控信息.如果没有需要新建系统环境监控模块
MA5680T (config)# display emu 0
MA5680T (config)# emu del 0    //如果EMU电源模块添加不正确,需要删除EMU重新添加。此为删除命令
Are you sure to delete this EMU?(y/n)[n]:y
MA5680T (config)# emu add 0 FAN 0 1 H801FCBC   //新建EMU环境监控电源模块.
MA5680T (config)#display emu  0         //EMU被正确装入的情况下,查看后显示信息如下:
    EMU ID: 0                             
  ----------------------------------------------------------------------------
  EMU name   : H801FCBC
  EMU type    : FAN
  Used or not   : Used
  EMU state   : [url=]Normal[/url][C.T9]
  Frame ID    : 0
  Subnode     : 1
  ----------------------------------------------------------------------------
MA5680T (config)#interface emu 0   //进入电源模块0.
MA5680T (config-if-fan-0)# fan speed mode automatic  //修改电源风扇速度.
MA5680T (config-if-fan-0)#quit
//配置业务单板数据,需要打开ONU自动发现功能.否则下挂设备之后无法在OLT上查看到新发现的设备。.
MA5680T (config)#interface epon 0/1  //进入EPON命令模式
MA5680T (config-if-epon-0/1)#port 0 ont-auto-find enable   // 打开1槽位各业务端口的ONT自动发现功能
MA5680T (config-if-epon-0/1)#port 1 ont-auto-find enable
MA5680T (config-if-epon-0/1)#port 2 ont-auto-find enable
MA5680T (config-if-epon-0/1)#port 3 ont-auto-find enable
MA5680T (config-if-epon-0/1)#quit
MA5680T (config)#interface gpon 0/2   //进入GPON命令模式
MA5680T (config-if-gpon-0/2)#port 0 ont-auto-find enable   // 打开OLT2槽位单板各端口的ONT自动发现功能
MA5680T (config-if-gpon-0/2)#port 1 ont-auto-find enable
MA5680T (config-if-gpon-0/2)#port 2 ont-auto-find enable
MA5680T (config-if-gpon-0/2)#port 3 ont-auto-find enable
MA5680T (config-if-gpon-0/2)#port 4 ont-auto-find enable
MA5680T (config-if-gpon-0/2)#port 5 ont-auto-find enable
MA5680T (config-if-gpon-0/2)#port 6 ont-auto-find enable
MA5680T (config-if-gpon-0/2)#port 7 ont-auto-find enable
MA5680T (config-if-gpon-0/2)#quit
……
//设置完成进行保存
MA5680T (config)#save       //保存配置信息。 切记操作完成之后保存。
3-业务配置命令》
第一步:创建业务vlan,并在上行口作透传
MA5680T (config)#vlan 2223 smart     //增加业务VLAN。所有业务vlan均采用SMART VLAN属性
MA5680T (config)#vlan 200 smart       //增加专线VLAN
MA5680T (config)#port vlan 2223  0/18  0   //将业务VLAN透传到上行端口
MA5680T (config)#port vlan 200  0/18  0    //将专线VLAN透传到上行口
//如果不确定上行口,可以通过以下命令查询上行口配置进行参考。
MA5680T(config)# display current-configuration section vlan   //查看配置文件中的VLAN配置,参考端口配置部分
……
Port vlan  xxx  0/18 0
……
MA5680T (config)#vlan desc 2223 description  604-MianSiXiaoQu   //添加业务描述
第二步:查看DBA模板,如果没有,需要创建
MA5680T (config)#display dba-profile all  //查看OLT DBA能力集模板.
//1-9 为系统自带的DBA能力集模板。
//DBA是基于整个ONT调度的,需根据ONT的业务类型和用户数选择适合的带宽类型和带宽大小。
//注意fix带宽和assure带宽之和不能大于PON接口总带宽。
关于开局DBA模板的选择
当前设备默认的dba模板是保证10M,最大15M,这对于一般的ONU设备以及通用场景,是没有问题的,但是对于某些特殊场景,需要注意DBA模板的设置。
1、 高密度设备:如UA5000或者MA5600使用EPON上行的,设备用户数超过300以上。
2、 同时在线用户较多的:如MA5616设备,最大接入用户128个,而同时在线用户超过90个。
3、 高带宽需求的:部分地方的用户对上行带宽需求较多(提供下载等)
上述场景对于15M的设备上行总带宽已经明显不足。
针对上述问题,对DBA模板的配置做如下要求:
1) 一般场景下,配置dba模板为type3,保证带宽20M,最大带宽50M
2) 包括但不限于上述场景下,配置dba模板也为type3,保证带宽30M,最大带宽100M
//添加自定义的dba模板.这里分别设置1M,2M,4M,6M,8M,10M,20M,30M,50M,100M的能力集模板,方便日后使用.
dba-profile add profile-id 11 profile-name 1M type3 assure 1024 max 2048
dba-profile add profile-id 12 profile-name 2M type3 assure 2048 max 4096
dba-profile add profile-id 14 profile-name 4M type3 assure 4096 max 8192
dba-profile add profile-id 16 profile-name 6M type3 assure 6144 max 12288
dba-profile add profile-id 18 profile-name 8M type3 assure 8192 max 16384
dba-profile add profile-id 10 profile-name 10M type3 assure 10240 max 20480
dba-profile add profile-id 20 profile-name 20M type3 assure 20480 max 40960
dba-profile add profile-id 30 profile-name 30M type3 assure 30720 max 61440
dba-profile add profile-id 50 profile-name 50M type3 assure 51200 max 102400
dba-profile add profile-id 100 profile-name 100M type3 assure 102400 max 204800
//类型(type)分为5种,分别是type1,type2,type3,type4,type5.其中:
//type1 为固定带宽模式;
//type2 为保证带宽模式;
//type3 为保证带宽的同时设置最大带宽值;
//type4 为仅设定最大带宽模式;
//type5 3种模式的综合,即设置最大带宽,在保证带宽的同时采用固定带宽模式。
MA5680T (config)#display dba-profile profile-id 20   //查看DBA模板20
  -----------------------------------------------------------------
  Profile-name :            20M
  Profile-ID:               20     
  [url=]type[/url][C.T10] :                    3
  Bandwidth compensation:   No
  Fix(kbps):                0      
  [url=]Assure[/url][C.T11] (kbps):             20480  
  [url=]Max[/url][C.T12] (kbps):               40960  
  [url=]bind-times[/url][C.T13] :               1
  -----------------------------------------------------------------
MA5680T (config)# dba-profile delete profile-id 20    //删除DBA模板,前提是此DBA模板没有被任何线路模板绑定。
MA5680T (config)# dba-profile modify profile-id 20    //修改DBA模板,前提是此DBA模板没有被任何线路模板绑定。

举报本楼

本帖有 2 个回帖,您需要登录后才能浏览 登录 | 注册
您需要登录后才可以回帖 登录 | 注册 |

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

GMT+8, 2024-9-23 11:13 , Processed in 1.385825 second(s), 15 queries , Gzip On.

Copyright © 1999-2023 C114 All Rights Reserved

Discuz Licensed

回顶部
XML 地图 | Sitemap 地图