一、初级指导

1.1 配置DBA,DBA不区分GPON/EPON

MA5683T(config)#dba-profile add profile-id 369 profile-name xingneng type1 fix 2400000

dba-profile add profile-id 369 profile-name xingneng type1 fix 2400000

//以上红色部分是添加DBA模板的固定格式

//369是给此DBA模板分配的id

//xingneng是给此DBA模板的命名

//type1是此DBA模板的带宽分配方法

1.2 配置线路模板ont-lineprofile gpon

MA5683T(config)#ont-lineprofile gpon profile-id 369 profile-name xingneng

MA5683T(config-gpon-lineprofile-369)#tcont 1 dba-profile-id 369

MA5683T(config-gpon-lineprofile-369)#gem add 1 eth tcont 1

MA5683T(config-gpon-lineprofile-369)#gem mapping 1 0 vlan 108

MA5683T(config-gpon-lineprofile-369)#commit

MA5683T(config-gpon-lineprofile-369)#quit

MA5683T(config)#

MA5683T(config)#ont-lineprofile gpon profile-id 369 profile-name xingneng

//进入线路模板369的配置视图,红色是固定格式,id是线路模板的id,name是线路模板的名称 MA5683T(config-gpon-lineprofile-369)#tcont 1 dba-profile-id 369

//配置tcont,绑定DBA模板,红色是固定格式 MA5683T(config-gpon-lineprofile-369)#gem add 1 eth tcont 1

//配置gem,绑定tcont,红色是固定格式

MA5683T(config-gpon-lineprofile-369)#gem mapping 1 0 vlan 108

//配置mapping绑定gem,一个gem最多绑定0-7共8个gem mapping,每个maping映射一个vlan

MA5683T(config-gpon-lineprofile-369)#commit

//commit提交配置

MA5683T(config-gpon-lineprofile-369)#quit

//quit即退出,退出线路模板369的配置视图

MA5683T(config)#

1.3 配置业务模板ont-srvprofile gpon

MA5683T(config)#ont-srvprofile gpon profile-id 369 profile-name xingneng

MA5683T(config-gpon-srvprofile-369)#ont-port pots adaptive eth adaptive

MA5683T(config-gpon-srvprofile-369)#commit

MA5683T(config-gpon-srvprofile-369)#quit

MA5683T(config)#

MA5683T(config)#ont-srvprofile gpon profile-id 369 profile-name xingneng

//进入业务模板369的配置视图,红色是固定格式,id是业务模板的id,name是业务模板的名称 MA5683T(config-gpon-srvprofile-369)#ont-port pots adaptive eth adaptive

//指定此业务模板绑定的onu数据接口和语音接口数量,adaptive表示自适应 MA5683T(config-gpon-srvprofile-369)#commit

//commit提交配置 MA5683T(config-gpon-srvprofile-369)#quit

//quit即退出,退出业务模板369的配置视图 MA5683T(config)#

1.4 在OLT的port添加ONU认证信息

MA5683T(config)#interface gpon 0/0

MA5683T(config-if-gpon-0/0)#ont add 1 0 loid-auth xingneng always-on omci ont-lineprofile-id 369 ont-srvprofile-id 369 desc xingneng

MA5683T(config-if-gpon-0/0)#quit

MA5683T(config)#

MA5683T(config)#interface gpon 0/0

//进入olt的port的配置视图,port指OLT下联光模块接口,第一个0表示机框,第二个0表示板卡 MA5683T(config-if-gpon-0/0)#ont add 1 0 loid-auth xingneng always-on omci ont-lineprofile-id 369 ont-srvprofile-id 369 desc xingneng

//添加onu认证信息,1表示第1个port口,0表示第0个ONU。结合上条命令说明,此次添加的是0 0 1这个port的第0个ONU。认证方式是loid认证,loid字符串是xingneng ,线路模板绑定369,业务模板绑定369。 MA5683T(config-if-gpon-0/0)#quit

//quit即退出,退出port的配置视图 MA5683T(config)#

1.5 添加虚接口service-port

MA5683T(config)#service-port vlan 108 gpon 0/0/1 ont 0 gemport 1 multi-service user-vlan 108 tag-transform translate

MA5683T(config)#service-port vlan 108 gpon 0/0/1 ont 0 gemport 1 multi-service user-vlan 108 tag-transform translate

//给单独的ONU添加虚接口,ONU是0 0 1 0,绑定gemport 1(这个是根据线路模板的gem mapping来的,如果在虚接口这里要配置多少vlan,则这里就写和线路模板gem mapping对应的gem)。vlan是108

1.6 配置上联接口透传vlan

MA5683T(config)#vlan 108 smart

MA5683T(config)#port vlan 108 0/8 0

MA5683T(config)#vlan 108 smart

//在OLT创建vlan108 MA5683T(config)#port vlan 108 0/8 0

//将vlan108以trunk方式绑定到OLT上联端口0 8 0上

二、初中级指导

2.1 查看未注册ONU

MA5683T#display ont autofind all

Failure: The automatically found ONTs do not exist

MA5683T#

MA5683T#display ont autofind all

----------------------------------------------------------------------------

Number : 1

F/S/P : 0/0/0

Ont SN : 48484848740E6583 (HHHH-740E6583)

Password : 0x313233343536373839300000000000000000000000000000

000000000000000000000000(1234567890)

Loid : test-gpons

Checkcode : xxxxxxxx

VendorID : XXXX

Ont Version : A.00

Ont SoftwareVersion : XXXX

Ont EquipmentID : XXXX

Ont autofind time : 2023-07-22 16:51:12+08:00

----------------------------------------------------------------------------

The number of GPON autofind ONT is 1

MA5683T#

2.2 查看已注册ONU

MA5683T#display ont info by-?

---------------------------------------------

Command of privilege Mode:

---------------------------------------------

by-desc By description

by-ip By IP address

by-loid By logic ONU identifier

by-mac By MAC

by-password By password

by-sn By serial number

MA5683T#display ont info by-loid xupon

-----------------------------------------------------------------------------

F/S/P : 0/0/0

ONT-ID : 91

Control flag : active

Run state : online

Config state : normal

Match state : match

DBA type : SR

ONT distance(m) : 15

ONT battery state : holding state

Memory occupation : -

CPU occupation : -

Temperature : -

Authentic type : loid-auth

Discovery mode : always-on mode

Discovery state : on

SN : 484848485451B1E8 (HHHH-5451B1E8)

Loid : xupon

Management mode : OMCI

Software work mode : normal

Isolation state : normal

ONT IP 0 address/mask : -

Description : xupon

Last down cause : LOSi/LOBi

Last up time : 2023-07-22 11:58:12+08:00

Last down time : 2023-07-22 11:56:18+08:00

Last dying gasp time : 2023-07-18 14:09:20+08:00

ONT online duration : 0 day(s), 4 hour(s), 57 minute(s), 25 second(s)

Type C support : Not support

Interoperability-mode : ITU-T

-----------------------------------------------------------------------------

VoIP configure method : Default

-----------------------------------------------------------------------------

Line profile ID : 194

Line profile name : 194

-----------------------------------------------------------------------------

FEC upstream switch :Disable

OMCC encrypt switch :Off

Qos mode :PQ

Mapping mode :VLAN

TR069 management :Disable

TR069 IP index :0

-----------------------------------------------------------------------------

Notes: * indicates Discrete TCONT(TCONT Unbound)

-----------------------------------------------------------------------------

DBA Profile-ID:1

DBA Profile-ID:194

--------------------------------------------------------------------

|Serv-Type:ETH |Encrypt:off |Cascade:off |GEM-CAR:- |

|Upstream-priority-queue:0 |Downstream-priority-queue:- |

--------------------------------------------------------------------

Mapping VLAN Priority Port Port Bundle Flow Transparent

index type ID ID CAR

--------------------------------------------------------------------

0 146 - - - - - -

1 250 - - - - - -

2 94 - - - - - -

3 46 - - - - - -

--------------------------------------------------------------------

-----------------------------------------------------------------------------

Notes: Run the display traffic table ip command to query

traffic table configuration

-----------------------------------------------------------------------------

Service profile ID : 194

Service profile name : 194

-----------------------------------------------------------------------------

Port-type Port-number

-----------------------------------------------------------------------------

POTS adaptive

ETH adaptive

VDSL 0

TDM 0

MOCA 0

CATV 0

-----------------------------------------------------------------------------

TDM port type : E1

TDM service type : TDMoGem

MAC learning function switch : Enable

ONT transparent function switch : Disable

Ring check switch : Disable

Ring port auto-shutdown : Enable

Ring detect frequency : 8 (pps)

Ring resume interval : 300 (s)

Multicast forward mode : Unconcern

Multicast forward VLAN : -

Multicast mode : Unconcern

Upstream IGMP packet forward mode : Unconcern

Upstream IGMP packet forward VLAN : -

Upstream IGMP packet priority : -

Native VLAN option : Concern

Upstream PQ color policy : -

Downstream PQ color policy : -

-----------------------------------------------------------------------------

Port-type Port-ID QinQmode PriorityPolicy Inbound Outbound

-----------------------------------------------------------------------------

ETH 1 unconcern unconcern unconcern unconcern

ETH 2 unconcern unconcern unconcern unconcern

ETH 3 unconcern unconcern unconcern unconcern

ETH 4 unconcern unconcern unconcern unconcern

ETH 5 unconcern unconcern unconcern unconcern

ETH 6 unconcern unconcern unconcern unconcern

ETH 7 unconcern unconcern unconcern unconcern

ETH 8 unconcern unconcern unconcern unconcern

-----------------------------------------------------------------------------

Notes: * indicates the discretely configured traffic profile,

run the display traffic table ip command to query

traffic table configuration.

-----------------------------------------------------------------------------

Port-type Port-ID DownstreamMode MismatchPolicy

-----------------------------------------------------------------------------

ETH 1 operation discard

ETH 2 operation discard

ETH 3 operation discard

ETH 4 operation discard

ETH 5 operation discard

ETH 6 operation discard

ETH 7 operation discard

ETH 8 operation discard

-----------------------------------------------------------------------------

Port-type Port-ID Dscp-mapping-table-index

-----------------------------------------------------------------------------

ETH 1 0

ETH 2 0

ETH 3 0

ETH 4 0

ETH 5 0

ETH 6 0

ETH 7 0

ETH 8 0

IPHOST 1 0

-----------------------------------------------------------------------------

Port-type Port-ID IGMP-mode IGMP-VLAN IGMP-PRI Max-MAC-Count

-----------------------------------------------------------------------------

ETH 1 - - - Unlimited

ETH 2 - - - Unlimited

ETH 3 - - - Unlimited

ETH 4 - - - Unlimited

ETH 5 - - - Unlimited

ETH 6 - - - Unlimited

ETH 7 - - - Unlimited

ETH 8 - - - Unlimited

-----------------------------------------------------------------------------

Alarm policy profile ID : 0

Alarm policy profile name : alarm-policy_0

-----------------------------------------------------------------------------

-----------------------------------------------------------------------------

The number of required ONTs : 1

-----------------------------------------------------------------------------

MA5683T#

2.3 查看ONU的service-port

MA5683T#display service-port port 0/0/0 ont 91

{ |e2e|gemport|sort-by }:

Command:

display service-port port 0/0/0 ont 91

Switch-Oriented Flow List

-----------------------------------------------------------------------------

INDEX VLAN VLAN PORT F/ S/ P VPI VCI FLOW FLOW RX TX STATE

ID ATTR TYPE TYPE PARA

-----------------------------------------------------------------------------

2177 146 common gpon 0/0 /0 91 1 vlan 146 - - up

2178 94 common gpon 0/0 /0 91 1 vlan 94 - - up

2179 250 common gpon 0/0 /0 91 1 vlan 250 - - up

2201 46 common gpon 0/0 /0 91 1 vlan 46 - - up

-----------------------------------------------------------------------------

Total : 4 (Up/Down : 4/0)

Note : F--Frame, S--Slot, P--Port,

VPI indicates ONT ID for PON, VCI indicates GEM index for GPON,

v/e--vlan/encap, pritag--priority-tagged,

ppp--pppoe, ip--ipoe, ip4--ipv4oe, ip6--ipv6oe.

When FLOW TYPE is plist, the value of FLOW PARA is a byte in

hexadecimal format and indicates a priority list. Eight bits

of its binary value indicate priorities 0-7 from the least

significant bit to the most significant bit. Value 1 indicates

that the priority is used. For example, if FLOW PARA is 0x23 and

its binary format is 0010 0011, priorities 0, 1 and 5 are used

MA5683T#

2.4 查看service-port配置

MA5683T#display current-configuration service-port 2201

[MA5600V800R015: 5800]

#

[bbs-config]

service-port 2201 vlan 46 gpon 0/0/0 ont 91 gemport 1 multi-service user-vlan 46 tag-transform translate

#

return

MA5683T#

2.5 查看线路模板ont-lineprofile gpon

MA5683T#display ont-lineprofile gpon profile-id 194

-----------------------------------------------------------------------------

Profile-ID :194

Profile-name :194

Access-type :GPON

-----------------------------------------------------------------------------

FEC upstream switch :Disable

OMCC encrypt switch :Off

Qos mode :PQ

Mapping mode :VLAN

TR069 management :Disable

TR069 IP index :0

-----------------------------------------------------------------------------

DBA Profile-ID:1

DBA Profile-ID:194

--------------------------------------------------------------------

|Serv-Type:ETH |Encrypt:off |Cascade:off |GEM-CAR:- |

|Upstream-priority-queue:0 |Downstream-priority-queue:- |

--------------------------------------------------------------------

Mapping VLAN Priority Port Port Bundle Flow Transparent

index type ID ID CAR

--------------------------------------------------------------------

0 146 - - - - - -

1 250 - - - - - -

2 94 - - - - - -

3 46 - - - - - -

--------------------------------------------------------------------

-----------------------------------------------------------------------------

Notes: Run the display traffic table ip command to query

traffic table configuration

-----------------------------------------------------------------------------

Binding times :1

-----------------------------------------------------------------------------

MA5683T#

2.6 查看业务模板ont-srvprofile gpon

MA5683T#display ont-srvprofile gpon profile-id 194

-----------------------------------------------------------------------------

Profile-ID : 194

Profile-name: 194

Access-type : GPON

-----------------------------------------------------------------------------

Port-type Port-number

-----------------------------------------------------------------------------

POTS adaptive

ETH adaptive

VDSL 0

TDM 0

MOCA 0

CATV 0

-----------------------------------------------------------------------------

TDM port type : E1

TDM service type : TDMoGem

MAC learning function switch : Enable

ONT transparent function switch : Disable

Ring check switch : Disable

Ring port auto-shutdown : Enable

Ring detect frequency : 8 (pps)

Ring resume interval : 300 (s)

Multicast forward mode : Unconcern

Multicast forward VLAN : -

Multicast mode : Unconcern

Upstream IGMP packet forward mode : Unconcern

Upstream IGMP packet forward VLAN : -

Upstream IGMP packet priority : -

Native VLAN option : Concern

Upstream PQ color policy : -

Downstream PQ color policy : -

-----------------------------------------------------------------------------

Port-type Port-ID QinQmode PriorityPolicy Inbound Outbound

-----------------------------------------------------------------------------

ETH 1 unconcern unconcern unconcern unconcern

ETH 2 unconcern unconcern unconcern unconcern

ETH 3 unconcern unconcern unconcern unconcern

ETH 4 unconcern unconcern unconcern unconcern

ETH 5 unconcern unconcern unconcern unconcern

ETH 6 unconcern unconcern unconcern unconcern

ETH 7 unconcern unconcern unconcern unconcern

ETH 8 unconcern unconcern unconcern unconcern

-----------------------------------------------------------------------------

Notes: Run the display traffic table ip command to query

traffic table configuration

-----------------------------------------------------------------------------

Port-type Port-ID DownstreamMode MismatchPolicy

-----------------------------------------------------------------------------

ETH 1 operation discard

ETH 2 operation discard

ETH 3 operation discard

ETH 4 operation discard

ETH 5 operation discard

ETH 6 operation discard

ETH 7 operation discard

ETH 8 operation discard

-----------------------------------------------------------------------------

Port-type Port-ID Dscp-mapping-table-index

-----------------------------------------------------------------------------

ETH 1 0

ETH 2 0

ETH 3 0

ETH 4 0

ETH 5 0

ETH 6 0

ETH 7 0

ETH 8 0

IPHOST 1 0

-----------------------------------------------------------------------------

Port-type Port-ID IGMP-mode IGMP-VLAN IGMP-PRI Max-MAC-Count

-----------------------------------------------------------------------------

ETH 1 - - - Unlimited

ETH 2 - - - Unlimited

ETH 3 - - - Unlimited

ETH 4 - - - Unlimited

ETH 5 - - - Unlimited

ETH 6 - - - Unlimited

ETH 7 - - - Unlimited

ETH 8 - - - Unlimited

-----------------------------------------------------------------------------

Binding times : 1

-----------------------------------------------------------------------------

MA5683T#

2.7 查看DBA

MA5683T#display dba-profile Profile-id 194

-----------------------------------------------------------------

Profile-name : 194

Profile-ID: 194

type: 3

Bandwidth compensation: No

Fix-delay: No

Fix(kbps): 0

Assure(kbps): 10240

Max(kbps): 2400000

Additional-bandwidth: -

Best-effort-priority: -

Best-effort-weight: -

bind-times: 1

-----------------------------------------------------------------

MA5683T#

2.8 查看上联接口透传vlan

MA5683T#display port vlan 0/8/0

---------------------------------------

1 40 42 45 100 109

233 985 1119 1314

---------------------------------------

Total: 10

Native VLAN: 40

MA5683T#display current-configuration port 0/8/0

[MA5600V800R015: 5800]

#

[vlan-config]

port vlan 40 0/8 0

port vlan 42 0/8 0

port vlan 45 0/8 0

port vlan 100 0/8 0

port vlan 109 0/8 0

port vlan 233 0/8 0

port vlan 985 0/8 0

port vlan 1119 0/8 0

port vlan 1314 0/8 0

#

[giu]

interface giu 0/8

undo traffic-suppress 0 broadcast

undo traffic-suppress 0 multicast

native-vlan 0 vlan 40

#

查看原文