在线讲课-alon

参考于MA5680T配置指导(适用于V800R006C02版本)
一、常用命令
登陆用户名root,密码 admin123
MA5800T>enable
打开特权EXEC
MA5800T#config 进入终端配置模式
MA5800T(config)#sysname SJZ-HW-OLT-1
设备命名 (一般为开局配置)
MA5800T(config)#switch
language-mode 切换语言,可以在中英文语言中转换。
MA5800T
(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? (yn)[n]:
MA5800T(config)#display board 0
检查设备单板状态,此命令最常用。
---------------------------
----------------------------------------------
SlotID BoardName Status SubType0
SubType1 OnlineOffline
------------------
--------------------------------------------------
-----
0
1 H802EPBC Normal
2 H802EPBC Normal
3 H802EPBC Normal
4 H802EPBC Auto_find
5
6
7 H801SCUL
Active_normal
8
H801SCUL Standby_normal
9
10
11
12
13
14
15
16
17 H801GICF Normal
18 H801X2CA Normal
19
19
20
--------------------------------------------
-----------------------------
MA5800T(config)#board confirm 0
对于自动发现的单板,需要确认后,单板才能使用。
对于未确认的单板,单板硬件运行指示灯正常,但是业务端口无法工作。
二、开局配置命令
MA5800T (config)#vlan 99 smart
增加设备管理VLAN (一般为开局配置)
MA5800T (config)#vlan 10
smart 增加语音业务VLAN (一般为开局配置)
MA5800T
(config)#port vlan 99 018 0 将管理VLAN透传到上行端口.
(一般为开局配置)
MA5800T (config)#port vlan 10 017
1 将语音业务VLAN透传到上行端口(一般为开局配置)
018 0
意思为第0框(默认框号) 第18槽位(槽位编号,一般在机框上都有标出) 0端口(上行口编号)
MA5800T (config)#vlan desc 99 description
NMS VLAN 添加vlan的描述, (一般为开局配置)
MA5800T
(config)#vlan desc 10 description NGN-VPN
配置设备管理地址,(一般为开局配置)
MA5800T
(config)#interface vlanif 99
MA5800T
(config-if-vlanif99)#ip address 172.16.21.2
255.255.255.0
MA5800T (config-if-
vlanif99)#quit
MA5800T (config)#ip
route-static 0.0.0.0 0.0.0.0 172.16.21.1
配置设备缺省路由 (一般为开局配置)
MA5800T (config)#ip route-
static 10.0.0.0 255.0.0.0 10.50.42.1 配置语音部分路由
(一般为开局配置)
设置上行端口速率以及双工模式 (一般为开局配置)
MA5800T (config)#interface mpu 017 或者
interface mpu 010
MA5800T (config-if-
MPU-017)#speed 0 1000 配置端口速率,GE口只能配置成1000,
10GE口只能配置成10000
MA5800T (config-if-
MPU-017)#speed 1 1000
MA5800T (config-if-
MPU-017)#duplex 0 full 配置双工模式,half为半双工,full为全双工
MA5800T (config-if-MPU-017)#duplex 1 full
MA5800T (config-if-MPU-017)#auto-neg 0 disable
配置自协商模式,disable为禁止自协商,enable为允许
MA5800T
(config-if-MPU-017)#auto-neg 1 disable
MA5800T
(config-if-MPU-017)#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电源监控信息.如果没有需要新建系统环境监控模块
MA5800T
(config)# display emu 0
MA5800T (config)#
emu del 0 如果EMU电源模块添加不正确,需要删除EMU重新添加。此为删除命令
Are you sure to delete this EMU?(yn)[n]:y
MA5800T (config)# emu add 0 FAN 0 1 H801FCBC
新建EMU环境监控电源模块.
MA5800T (config)#display emu 0
EMU被正确装入的情况下,查看后显示信息如下:
EMU ID: 0
--------------------------------------------
--------------------------------
EMU name
: H801FCBC
EMU type : FAN
Used or
not : Used
EMU state : Normal
Frame ID : 0
Subnode : 1
------
--------------------------------------------------
--------------------
MA5800T
(config)#interface emu 0 进入电源模块0.
MA5800T
(config-if-fan-0)# fan speed mode automatic
修改电源风扇速度.
MA5800T (config-if-fan-0)#quit
配置业务单板数据,需要打开ONU自动发现功能.否则下挂设备之后无法在OLT上查看到新发现的设
备。
MA5800T (config)#interface gpon 02
进入GPON命令模式
MA5800T (config-if-gpon-02)#port 0
ont-auto-find enable 打开OLT2槽位单板各端口的ONT自动发现功能
MA5800T (config-if-gpon-02)#port 1 ont-auto-
find enable
MA5800T (config-if-gpon-02)#port 2
ont-auto-find enable
MA5800T (config-if-
gpon-02)#port 3 ont-auto-find enable
MA5800T
(config-if-gpon-02)#port 4 ont-auto-find enable
MA5800T (config-if-gpon-02)#port 5 ont-auto-
find enable
MA5800T (config-if-gpon-02)#port
6 ont-auto-find enable
MA5800T (config-if-
gpon-02)#port 7 ont-auto-find enable
MA5800T
(config-if-gpon-02)#quit
……
设置完成进行保存
MA5800T (config)#save 保存配置信息。
切记操作完成之后保存。
三、业务配置命令
1、创建业务vlan,并在上行口作透传
MA5800T (config)#vlan
2223 smart 增加业务VLAN。所有业务vlan均采用SMART VLAN属性
MA5800T (config)#vlan 200 smart 增加专线VLAN
MA5800T (config)#port vlan 2223 018 0
将业务VLAN透传到上行端口
MA5800T (config)#port vlan 200
018 0 将专线VLAN透传到上行口
MA5800T (config-
mpu-010)#native-vlan 1 vlan 100
MA5800T
(config-mpu-010)#native-vlan 2 vlan 300
如果不确定上行口,可以通过以下命令查询上行口配置进行参考。
MA5800T(config)# display current-configuration
section vlan 查看配置文件中的VLAN配置,参考端口配置部分
……
Port vlan xxx 018 0
……
MA5800T
(config)#vlan desc 2223 description
604-MianSiXiaoQu 添加业务描述
2、查看DBA模板,如果没有,需要创建
MA5800T
(config)#display dba-profile all 查看OLT的 DBA能力集模板。
1-9 为系统自带的DBA能力集模板。
DBA是基于整个ON
T调度的,需根据ONT的业务类型和用户数选择适合的带宽类型和带宽大小。
注意fix带宽和assure带宽之和不能大于PON接口总带宽。
关于开局DBA模板的选择
当前设备默认的dba模板是保证10M,最大15M
,这对于一般的ONU设备以及通用场景,是没有问题的,但是对于
某些特殊场景,需要注意DBA模板
的设置。
高密度设备:如UA5000或者MA5600使用EPON上行的,设备用户数超过300以上。
同时在线用户较多的:如MA5616设备,最大接入用户128个,而同时在线用户超过90个。
高带宽需求的:部分地方的用户对上行带宽需求较多(提供下载等)
上述场景对于15M的设备上行总带宽已经明显不足。
针对上述问题,对DBA模板的配置做如下要求:
一般场景下,配置dba模板为type3,保证带宽20M,最大带宽50M
包括但不限于上述场景下,配置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,t
ype2,type3,type4,type5.其中:
type1 为固定带宽模式;
type2 为保证带宽模式;
type3 为保证带宽的同时设置最大带宽值;
type4 为仅设定最大带宽模式;
type5
为3种模式的综合,即设置最大带宽,在保证带宽的同时采用固定带宽模式。
MA5800T (config)#display dba-profile profile-
id 20 查看DBA模板20
--------------------------
---------------------------------------
Profile-name : 20M
Profile-ID:
20
type: 3
Bandwidth compensation: No
Fix(kbps):
0
Assure(kbps): 20480
Max(kbps): 40960
bind-
times: 1
---------------------
--------------------------------------------
MA5800T (config)# dba-profile delete profile-
id 20 删除DBA模板,前提是此DBA模板没有被任何线路模板绑定。
MA5800T
(config)# dba-profile modify profile-id 20
修改DBA模板,前提是此DBA模板没有被任何线路模板绑定。
3、查看线路模板,如果没有,需要创建
MA5800T(config)#display ont-lineprofile gpon
all 查看GPON业务线路模板
系统默认没有线路模板,需创建线路模板1并进入到线路模板模式,系统最多支持4096个线路模板
每个模板均可被ONU终端重复绑定。
Interface gpon
01
Display ont info 0 5
添加GPON线路模板,这里针对普通业务的线路模板,采用优先级配置的方式实现.
>严格优先级队列调度
给每个队列赋予不同的优先级,每次调度时,最先对具有最高优先级
的非空队列中的报文进行服务。严格优先级队列
调度严格按照优先级从高到低的次序优先发送较高优先级
队列中的报文,当较高优先级队列为空时,再发送较低优先
级队列中的报文。
Priority参数: VLAN优先级
0: Best effort 1:
Background 2: Spare 3: Excellent effort 4:
Controlled load 5: Video 6: Voice 7: Network
control
GPON中的TCONT是建立在line-profile模板下的一个
容器,用于绑定DBA模板(动态带宽分配,即限定了最大的上
行带宽)和GEM-
port(用于承载业务),当GEM-port与vlan进行匹配之后(mapping),针对该vlan
的业务流上行
就由该TCONT绑定的DBA模板进行限定,同时下行就由全局建立的traffic模
板限定。
从另外一个角度来说,可以定义一个TCONT对应一种业务类型,由于一个ONT只能由一
个line-profile激活,而在
line-profile下最多有0-7个TCONT索引号
,故可以满足最多一个用户终端同时拥有8种不同的业务。GEM port 编号
取值范围:
0-127 映射索引号: 0-7 (这个定义待确认)
ONU0使用了TCONT1,那ONU1还可以使用TCONT1,TCONT是ONU的资源。
PON口下的ONU 0使用了gemport 128,那ONU 1不可以使用gemport
128,gemport是PON口上的资源
TCOUNT绑定了DBA模板才可以通过DBA动态分配带宽,承载业务数据
GEM
por 绑定了TCOUNT,才能通过业务虚通道传输数据
GEM index映射了VLAN
就可能区分不同的用户或者不同的业务数据
SERVICE-PORT 通过引用GEM
port,GEM index, ONU id, VLAN,唯一确定一条数据流
MA5800T(config)# ont-lineprofile gpon profile-
name gpon-onu profile-id 20
MA5800T(config-
gpon-lineprofile-20)# mapping-mode priority Gem
port端口映射为优先级映射(默认为vlan映射)
MA5800T(config-gpon-
lineprofile-20)#tcont 1 dba-profile-id 2 Tcont
1用于管理通道,和dba模板2绑定
MA5800T(config-gpon-
lineprofile-20)# tcont 2 dba-profile-id 1 Tcont
2用于语音通道,和dba模板1绑定
MA5800T(config-gpon-
lineprofile-20)# tcont 3 dba-profile-id 50 Tcont
3用于数据业务,和dba模板50绑定
MA5800T(config-gpon-
lineprofile-20)# gem add 0 eth tcont 1 priority-
queue 5 建立Gem port,绑定相应的Tcont通道。
MA5800T(config-gpon-lineprofile-20)# gem add 1
eth tcont 2 priority-queue 6
MA5800T(config-
gpon-lineprofile-20)# gem add 2 eth tcont 3
priority-queue 0
MA5800T(config-gpon-
lineprofile-20)# gem mapping 0 0 priority 5
建立GEM Port端口映射,这里使用优先级映射。
MA5800T(config-gpon-lineprofile-20)#
gem mapping 1 0 priority 6
MA5800T(config-
gpon-lineprofile-20)# gem mapping 2 0 priority 0
MA5800T(config-gpon-lineprofile-20)#commit
MA5800T(config-gpon-lineprofile-20)#quit
添加GPON线路模板,这里针对FTTH业务的线路模板
MA5800T(config)# ont-lineprofile gpon profile-
name hg8240 profile-id 24
MA5800T(config-gpon-
lineprofile-24)# mapping-mode vlan 设置映射模式为vlan映射
MA5800T(config-gpon-lineprofile-24)# qos-mode
gem-car 设置qos模式为gem-car方式
绑定tcont和dba模板,缺省情况下,tcont 0和dba模板1绑定,不需配置。
MA5800T(config-gpon-lineprofile-24)# tcont 1
dba-profile-id 2 Tcont 1用于管理通道,和dba模板2绑定
MA5800T(config-gpon-lineprofile-24)# tcont 2
dba-profile-id 2 Tcont 2用于语音通道,和dba模板2绑定
MA5800T(config-gpon-lineprofile-24)# tcont 3
dba-profile-id 10 Tcont 3用于数据业务,和dba模板10绑定
TCONT0仅用于OMCI管理使用。如果管理业务和其他业务使用Tcont0,会导致业务不通。
HG8240可以实现宽窄带业务,配置3条TCONT通道,分别承载不同的业务。1用于管理,2用
于语音,3用于数据。
MA5800T(config-gpon-
lineprofile-24)# gem add 0 eth tcont 1 gem-car 6
添加GEM PORT,使用流量模板6
MA5800T(config-gpon-
lineprofile-24)# gem add 1 eth tcont 2 gem-car 6
MA5800T(config-gpon-lineprofile-24)# gem add 2
eth tcont 3 gem-car 6
设置映射关系,建立业务通道和GEM
PORT的映射。GEMPORT 1 对应语音业务,GEMPORT 2 对应宽带业务。
MA5800T(config-gpon-lineprofile-24)# gem
mapping 0 0 vlan 100 设置映射关系,这里的GEMPORT 0 用于管理。
MA5800T(config-gpon-lineprofile-24)# gem
mapping 1 0 vlan 10
MA5800T(config-gpon-
lineprofile-24)# gem mapping 2 0 vlan 11
MA5800T(config-gpon-lineprofile-24)# gem
mapping 2 1 vlan 12
MA5800T(config-gpon-
lineprofile-24)# gem mapping 2 2 vlan 13
MA5800T(config-gpon-lineprofile-24)# gem
mapping 2 3 vlan 14
MA5800T(config-gpon-
lineprofile-24)# commit
MA5800T(config-gpon-
lineprofile-24)#quit
查看线路模板和业务模板配置:
MA5800T(config)#display ont-lineprofile epon
profile-id 50
MA5800T(config)#display
ont-lineprofile gpon profile-id 24
删除线路模板或业务模板
MA5800T(config)#undo ont-
lineprofile epon profile-id 50 删除线路模板50
MA5800T(config)#undo ont-lineprofile gpon
profile-name hg8240 删除线路模板hg8240
4、查看业务模板,如果没有,需要创建
业务模板是针对ONT的上的业务,涉及到设备接口
相关的配置。对于MA561X和MA562X这类SNMP管理模式的终
端涉及接口相关配置一般在设
备上去完成,因此不需配置业务模板。而对于81X,82X系列等家庭终端设备则需要配置
相关的业务
模板。
MA5800T(config)#display ont-
srvprofile epon all 查询ONU业务模板。
Failure: The service profile does not exist
添加GPON业务模板,这里针对HG850AHG8240为例配置相应的业务模板
MA5800T(config)# ont-srvprofile gpon profile-
name hg8240 profile-id 24
MA5800T(config-gpon-
srvprofile-24)# ont-port pots 2 eth 4
设置中断端口数量。850A8240固定提供4FE+2POTS
MA5800T(config-
gpon-srvprofile-24)# multicast-forward untag
划分端口vlan,HG850HG8240的管理报文和语音报文通过IPHOST虚拟端口承载
MA5800T(config-gpon-srvprofile-24)#
port vlan iphost 100
MA5800T(config-gpon-
srvprofile-24)# port vlan iphost 10
划分端口vlan,O
NT的eth用于承载宽带业务,如果采用双层vlan,各端口和vlan对应。
MA5800T(config-gpon-srvprofile-24)# port vlan
eth 1 11
MA5800T(config-gpon-srvprofile-24)#
port vlan eth 2 12
MA5800T(config-gpon-
srvprofile-24)# port vlan eth 3 13
MA5800T(config-gpon-srvprofile-24)# port vlan
eth 4 14
MA5800T(config-gpon-srvprofile-24)#
commit
MA5800T(config-gpon-srvprofile-24)#
quit
MA5800T(config)# undo ont-srvprofile
epon profile-id 1 删除业务模板
5、检查SNMP模板参数,检查ONU注册情况。
MA5800T(config)#display snmp-profile all
查看olt的SNMP能力集模板.没有需要添加。
注
:对于HG系列以及MA5606T,UA5000等通过OAM管理模式配置的,不需要考虑此参数。
对于MA561X和MA562X,因为是通过SNMP管理模式配置的,需要设置此参数,可以远程下达SN
MP网管参数。
添加olt的SNMP能力集模板
MA5800T(config)#snmp-profile add profile-id 1
profile-name n2000 v1 public private 172.16.255.2
161 n2000
查看自动返现的ONU信息:
MA5800T(config)#display ont autofind all
查看OLT自动发现的ONU信息.
--------------------------
----------------------------------------------
Number : 1
FSP
: 021
Ont Mac : 001D-6A3C-6614
Password :
VenderID
: HWTC
Ontmodel : 810e
OntSoftwareVersion : V100R001C01B020
OntHardwareVersion : HG810e
Ont autofind
time : 2010-06-06 15:01:52
--------------
--------------------------------------------------
--------
Number : 2
FSP : 010
Ont Mac
: 0000-0000-0000
Password :
00000000
VenderID : HWTC
Ontmodel : 5620
OntSoftwareVersion : V8R307 C00
OntHardwareVersion : MA5620
Ont autofind
time : 2010-06-09 00:17:17
--------------
--------------------------------------------------
--------
Number : 3
FSP
: 040
Ont Mac : 0018-82EB-51B3
Password : 00000000
VenderID : HWTC
Ontmodel
: MDU
OntSoftwareVersion : V8R306C01B053
OntHardwareVersion : MA5616
Ont autofind time : 2010-6-31 16:40:54
--
--------------------------------------------------
--------------------
The number of EPON
autofind ONT is 3
注 : 对于某些新开局的OLT,要特别注意是否
开局启用了ONU自动发现功能.否则始终无法查看到上报的ONU信息.见
开局配置
6、添加业务数据
情景二:普通业务,GPON组网,下挂ONU终端。
MA5800T(config)#interface gpon 01
进入到GPON单板模式。
注册或者确认ONU终端,可以实现离线添加数据,但要清楚设备上联端口和地址码信息。
>GPON MA562xMA561x系列设备:
ont add 0 0 sn-
auth 0000 snmp ont-lineprofile-id 1 des To_
添加SNMP参数,(凡通过SNMP管理方式注册的ONU终端,需要远程下发SNMP)
ont snmp-profile 0 0 profile-id 1
配置ONU的管理信息,(凡通过SNMP管理方式注册的ONU终端,需要配置远程管理)
ont ipconfig 0 0 static ip-address 172.16.21.3
mask 255.255.255.0 gateway 172.16.21.1 vlan 99
priority 0
退出PON板模式
quit
配置业务流PVC,创建vlan交换
service-port vlan 10
gpon 010 ont 0 gemport 1 multi-service user-vlan
10 rx-cttr 6 tx-cttr 6
service-port vlan 99
gpon 010 ont 0 gemport 1 multi-service user-vlan
99 rx-cttr 6 tx-cttr 6
service-port vlan 222
gpon 010 ont 0 gemport 2 multi-service user-vlan
222 rx-cttr 6 tx-cttr 6
保存数据
save
情景三:FTTH业务,GPON组网,下挂ONT终端。
MA5800T(config)#interface gpon 01
进入到GPON单板模式。
注册或者确认ONT终端,可以实现离线添加数据,但要清楚设备上联端口和地址码信息。
ont add 0 0 sn-auth 0000 omci ont-lineprofile-
id 24 ont-srvprofile-id 24 des To_
添加ONT的native-vlan
ont port native-vlan 0 0
iphost vlan 10 iphost是个虚拟端口,是ONT的管理通道和语音通道
ont port native-vlan 0 0 eth 1 vlan 11
ont
port native-vlan 0 0 eth 2 vlan 12
ont port
native-vlan 0 0 eth 3 vlan 13
ont port native-
vlan 0 0 eth 4 vlan 14
quit
添加业务虚接口,这里数据业务采用了地址转换。
service-port vlan
10 gpon 010 ont 0 gemport 1 multi-service user-
vlan 10 rx-cttr 6 tx-cttr 6
service-port vlan
222 gpon 010 ont 0 gemport 2 multi-service user-
vlan 11 tag-transform translate-and-add inner-vlan
501
inner-priority 0 rx-cttr 6 tx-cttr 6
service-port vlan 222 gpon 010 ont 0 gemport 2
multi-service user-vlan 12 tag-transform
translate-and-add inner-vlan 502
inner-
priority 0 rx-cttr 6 tx-cttr 6
service-port
vlan 222 gpon 010 ont 0 gemport 2 multi-service
user-vlan 13 tag-transform translate-and-add
inner-vlan 503
inner-priority 0 rx-cttr 6 tx-
cttr 6
service-port vlan 222 gpon 010 ont 0
gemport 2 multi-service user-vlan 14 tag-transform
translate-and-add inner-vlan 504
inner-
priority 0 rx-cttr 6 tx-cttr 6
save
>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>
维护类操作:
查看设备单板状态:
display board 0
------------------------
-------------------------------------------------
SlotID BoardName Status SubType0
SubType1 OnlineOffline
------------------
--------------------------------------------------
-----
0
1 H802EPBC Normal
EPBC单板,默认为4个端口,从0-3
2 H801EPBA
Normal EPBA单板,默认为4个端口,从0-3
3
H802GPBD Normal GPBD单板,默认为8个端口,从0-7
4 H801GPBC Normal
GPBC单板,默认为8个端口,从0-7
5
6
7 H801SCUL Active_normal
SCUL主控板,管理控制系统的运行。配置信息都保存在此板中
8
H801SCUL Standby_normal
SCUL为主备用,一般设备都带2块SCUL板
9
10
11
12
13
14
15
16
17 H801GICF
Normal OLT的千兆口上行板GICF,带2个GE 光口,端口0-1
18 H801X2CA Normal
OLT的万兆口上行板X2CA,带2个10GE光口,端口0-1
19
20
--------
--------------------------------------------------
---------------
查看设备端口状态
display
board 01
---------------------------------------
Board Name : H802EPBC
Board Status : Normal
---------------------------------------
------------------------------------------
Port Port type
------------------------------------------
0 EPON
1 EPON
2 EPON
3 EPON
------------------------------------------
--------------------------------------------
----------------------------------
FSP
ONT-ID MAC Control Run
Config Match
flag state state state
------
--------------------------------------------------
----------------------
0130 1
0025-9E09-84F1 active up normal
match 正常的设备状态.
0130 2
0025-9E09-8C03 active up normal
match
0130 3 0025-9E09-8B6B
active up normal match
0130 4 0025-9E09-8C07 active up
normal match
0130 5
0025-9E09-8A47 active up normal
match
0130 6 0025-9E09-8B43
active up normal match
---
--------------------------------------------------
-------------------------
In port 0, the
total of ONTs are: 6
-----------------------
--------------------------------------------------
-----
FSP ONT-ID MAC
Control Run Config Match
flag state state state
------
--------------------------------------------------
----------------------
0131 1
0025-9E89-E637 active up normal
match
0131 2 0025-9E50-56D7
active up normal match
0131 3 0025-9E78-37F8 active
down initial initial 故障的设备状态.
0131
4 0025-9E50-56CF active down initial
initial
0131 5 0025-9E89-E63D
active down initial initial
0131 6 0025-9E09-6859 active up
normal match
0131 7
0025-9E50-56AB active up normal
match
-----------------------------------
-------------------------------------------
In port 1, the total of ONTs are: 7
In port
2, the total of ONTs are: 0
In port 3, the
total of ONTs are: 0
有故障的设备,引起故障的原因可能是因为光
路不通,或者设备掉电与设备故障.需要根据实际情况排查.
ONU通过单芯联到分光器,
再通过分光器联结至OLT的PON口,通过MAC地址注册到OLT.通过各PON口下的ONU
ID识别区分.
查看全局配置命令,也可以通过匹配符或者section细节查看具体配置信息
display current-configuration
匹配符| 后面通过 include 匹配字母,列出配置信息:
display
current-configuration | include vlan
section细节比较具体.OLT配置信息分以下几个细节:
包括注册的MAC地址,分配的ONU ID,采用的线路模板,设备管理地址,管理vlan等.
举例,查看配置中所有的vlan配置细节.
display current-
configuration section vlan
进入EPON单板,查看设备注册的情况
interface epon 01
display ont info 0 1
-------------------
--------------------------------------------------
FSP : 010
设备机框槽位端口
ONT-ID : 1
ONU注册到OLT,分配的ONU ID. 为开局手动添加的.
Control flag
: active 配置状态,激活可用.
Run state
: down 设备状态 离线. 原因可能为光路不通,或者设备down机
Config state : initial
配置状态为 初始状态(initial),待设备上线之后方能正常.
Match state
: initial 配置状态为 初始状态(initial)
ONT
LLID : -
Authentic type :
MAC-auth 认证方式(即注册到OLT的方式),通过MAC地址注册.
MAC : 0025-9E8E-90AA
上报的MAC地址信息.
Management mode : SNMP
对于MA561X和 MA562X,都是通过SNMP管理方式实现OLT
对ONU的管理.
Multicast mode : CTC
SNMP
profile ID : 1
SNMP profile name :
MDU ONU采用的SNMP模板名称.
Description : 603-2_TZJY-3#1DY-F7-MA5620
设备描述,手动添加的部分.
Last down cause : dying-
gasp 最后一次离线原因.
Last
up time : 2010-03-24 17:11:14
最后一次上线时间
Last down time : 2010-03-28
08:52:14 最后一次下线时间
Last dying
gasp time : 2010-03-28 08:52:14
最后一次dying gasp时间
---------------------------
------------------------------------------
Line profile ID : 1
所采用的线路模板编号
Line profile name : MDU
所采用的线路模板名称
---------------------------------
------------------------------------
FEC switch :Disable
FEC开关关闭状态.
Encrypt type :off
加密类型
DBA Profile-ID :9
采用的DBA模板编号.9为系统自带的模板.
Traffic-table-index :6
采用的流量控制模板索引.6一般为不限速流量控制
Dba-threshold
: DBA序列,暂无实际意义.
---------
--------------------------------------------------
----------
Queue-set-index Q1 Q2 Q3
Q4 Q5 Q6 Q7 Q8
-----------------
--------------------------------------------------
--
1 - - - -
- - - -
2 -
- - - - - - -
3 - - - - - -
- -
--------------------------------
-------------------------------------
查看用户mac地址上报情况.
display mac-address all
查看vlan
XXX下学习到的地址信息,对于断定ONU用户故障,一般不要采用此方法.会查不出来.
display mac-address vlan XXX.
而应该采用查询端口下MAC地址学习情况,需要知道用户所在ONU具体注册的PON口信息.
display mac-address port 010
对于配置错误的onu,如何添加删除或者更改配置资料,可以参考以下命令.
1.因为ONU故障,用其他相同设备类型的ONU替换.通过自动发现命令,查看新上报的ONU
地址信息.按:
display ont autofind all
目的:记录新的ONU 的MAC地址 1111-1111-1111
进入待替换的故障ONU所注册的单板
interface epon 01
此处可以通过查看PON口下设备状态来获取需要替换的ONU
ID.假设故障设备位于2端
口,ID为6
ont modify 2 6
mac 1111-1111-1111 替换设备.
结束后需要通过旧的管理
地址(管理地址不变)登陆到设备中,补全设备信息.添加业务数据.结果注意保存(OLT上以及
ON
U上的)
2.因为设备迁移,设备所注册的PON口有变,则旧数据需要删除,重新添加到新上报的端口中.
MAC地址在OLT内不可冲突,否则添加不成功;因此需要删除与设备端口ID有关的相关配置,
再进行添加操作.
需要查询到此设备MAC地址原有的注册端口和ONU
ID,删除与此有关的所有信息(包括pvc和原有PON口下的ONU
ID信息)
假设已知设备原来注册端口为 022, ONU ID 为6 首先查询pvc信息.
display service-port port 022 查看022
ID为6的所有pvc id
--------------------------
--------------------------------------------------
INDEX VLAN VLAN PORT F S P VPI VCI
FLOW FLOW RX TX STATE
ID
ATTR TYPE TYPE PARA
-
--------------------------------------------------
-------------------------
8 99 common
epon 02 1 3 - vlan 99 - -
down
9 99 common epon 02 1 4
- vlan 99 - - up
10
99 common epon 02 2 5 - vlan 99
- - up
11 99 common epon 02 2
6 - vlan 99 - - down
12 99 common epon 02 2 7 - vlan 99
- - up
undo service-port 11
需要将所有与022 onu id为6的pvc信息都删除,否则无法执行后面的操作.
interface epon 02 进入原来注册的PON口下
ont
delete 2 6 删除ONU注册信息.
interface epon 01 进入新的pon口下,添加ONU信息(略)
service-port vlan 99 epon 010 ont 1
multi-service user-vlan 99 添加新的pvc信息.
保存数据,至此设备添加完毕.登陆到设备上去,添加新的业务数据.
四、设备数据配置及查询
查看10槽位EPON板配置
MA5800T(config)#display current-configuration
section
epon-010
{
Command:
display current-
configuration section epon-010
[MA5600V800R105: 5033]
#
[epon]
interface epon 010
port 0
ont-auto-find enable
ont add 0 0 mac-auth
0025-9E64-5C46 profile-id 12 desc
ont add 0 1
mac-auth 0025-9E64-5B43 profile-id 12 desc
ont snmp 0 1 v1
ont add 0 2 mac-auth
0025-9E62-7E0B profile-id 12 desc
ont snmp 0
2 v1
ont add 0 3 mac-auth 0025-9E8D-F5ED
profile-id 12 desc
ont add 0 4 mac-auth
0025-9E8D-F5A8 profile-id 12 desc
ont add 0 5
mac-auth 0025-9E8D-F5C9 profile-id 12 desc
ont ipconfig 0 0 ip-address 10.50.234.66 mask
255.255.255.0 gateway 10.50.234.1 manage-vlan 3334
ont ipconfig 0 1 ip-address 10.50.234.67 mask
255.255.255.0 gateway 10.50.234.1 manage-vlan 3334
ont ipconfig 0 2 ip-address 10.50.234.68 mask
255.255.255.0 gateway 10.50.234.1 manage-vlan 3334
ont ipconfig 0 3 ip-address 10.50.234.74 mask
255.255.255.0 gateway 10.50.234.1 manage-vlan 3334
ont ipconfig 0 4 ip-address 10.50.234.75 mask
255.255.255.0 gateway 10.50.234.1 manage-vlan 3334
ont ipconfig 0 5 ip-address 10.50.234.76 mask
255.255.255.0 gateway 10.50.234.1 manage-vlan 3334
port 1 ont-auto-find enable
ont add 1 0
mac-auth 0025-9E8E-7969 profile-id 12 desc
ont ipconfig 1 0 ip-address 10.50.234.70 mask
255.255.255.0 gateway 10.50.234.1 manage-vlan 3334
port 2 ont-auto-find enable
ont add 2 1
mac-auth 0018-82EB-3814 profile-id 12 desc
ont add 2 2 mac-auth 0018-82E7-002B profile-id 12
desc
ont ipconfig 2 1 ip-address
10.50.234.72 mask 255.255.255.0 gateway
10.50.234.1 manage-vlan 3334
ont ipconfig 2 2
ip-address 10.50.234.73 mask 255.255.255.0 gateway
10.50.234.1 manage-vlan 3334
port 3 ont-auto-
find enable
#
return
MA5800T(config)#
查看10槽位下ONU
MA5800T(config)#display board 010
---------------------------------------
Board Name : H801EPBA
Board Status : Normal
---------------------------------------
------------------------------------------
Port Port type
------------------------------------------
0 EPON
1 EPON
2 EPON
3 EPON
------------------------------------------
--------------------------------------------
---------------------------------
FSP ONT-
ID MAC Control Run Config
Match Loopback
Flag State State State State
--------------------------------------------
---------------------------------
0100 0
0025-9E64-5C46 active up normal
match disable
0100 1 0025-9E64-5B43
active up normal match disable
0100 2 0025-9E62-7E0B active up
normal match disable
0100 3
0025-9E8D-F5ED active up normal
match disable
0100 4 0025-9E8D-F5A8
active up normal match disable
0100 5 0025-9E8D-F5C9 active up
normal match disable
----------------
--------------------------------------------------
-----------
In port 0, the total of ONTs
are: 6
-------------------------------------
----------------------------------------
FSP
ONT-ID MAC Control Run Config
Match Loopback
Flag State State State State
--------------------------------------------
---------------------------------
0101 0
0025-9E8E-7969 active up normal
match disable
---------------------------
--------------------------------------------------
In port 1, the total of ONTs are: 1
--
--------------------------------------------------
-------------------------
FSP ONT-ID MAC
Control Run Config Match Loopback
Flag State
State State State
--------------
--------------------------------------------------
-------------
0102 1 0018-82EB-3814
active down initial initial disable
0102 2 0018-82E7-002B active down
initial initial disable
----------------
--------------------------------------------------
-----------
In port 2, the total of
ONTs are: 2
In port 3, the total of ONTs
are: 0
MA5800T(config)#
查看10槽位、0号PON口、2号ONU信息
MA5800T(config)#interface epon 010
MA5800T(config-if-epon-010)#display ont info 0
2
------------------------------------------
----------------------------------
FSP
: 0100
ONT-ID : 2
Control flag : active
Run state
: up
Config state : normal
Match state : match
Ont Profile ID
: 12
Authentic type : MAC-Auth
MAC : 0025-9E62-7E0B
Description : ONT_NO_DESCRIPTION
DBA Profile ID : 11
CIR Value (Kbps)
: off
Encrypt : off
FEC
: disable
Manage mode : SNMP
Multicast Fast Leave : --
Multicast mode
: Default
----------------------------------
------------------------------------------
MA5800T上其他常用的查看命令
配置查看:
1、查看snmp配置
MA5800T(config)# display
current-configuration section public
1、
查看vlan配置
MA5800T(config)# display current-
configuration section vlan
2、 查看所有epon单板下配置
MA5800T(config)# display current-configuration
section
epon
3、 查看模块epon单板下的配置
MA5800T(config)# display current-configuration
section
epon-01
4、 查看service-port配置
MA5800T(config)# display current-configuration
section bbs
5、 查看service-port状态
MA5800T(config)# display service-port all
6、 查看ONU信息
MA5800T(config-if-epon-01)#
display ont info 0 0
7、 查看系统模板配置信息
MA5800T(config)# display current-configuration
section global
dba-profile
add profile-id 102 profile-name
dba-profile
add profile-id 104 profile-name
ont-
srvprofile gpon profile-id 79 profile-name
ont-port pots adaptive 32 eth adaptive 8
port vlan eth 1 translation 100 user-vlan 100
port vlan eth 3 translation 100 user-vlan 100
port vlan eth 3 translation 300 user-vlan 300
Commit
ont-lineprofile gpon profile-id
300 profile-name
tcont 1 dba-profile-id 104
gem add 0 eth tcont 1
gem add 1 eth
tcont 1
gem add 2 eth tcont 1
gem
mapping 0 0 vlan 100
gem
mapping 1 1 vlan 200
gem mapping 2 2 vlan
300
vlan 100 smart
vlan 300 smart
port vlan 100 010 2
port vlan 300 010 2
native-vlan 2 vlan 300
native-vlan 2
vlan 100
ont add 3 33 sn-auth
ont-srvprofile-id 79 desc
service-
port 23 vlan 300 gpon 0143 ont 33 gemport 2 multi-
service user-vlan
300 tag-transform
transparent