OLT 您所在的位置:网站首页 华为5800命令手册 OLT

OLT

2024-07-04 09:49| 来源: 网络整理| 查看: 265

一、基本业务配置 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.2.1 查看某port下所有onu注册信息 MA5683T#display ont info ? --------------------------------------------- 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 frameid Frame ID MA5683T#display ont info 0 ? --------------------------------------------- Command of privilege Mode: --------------------------------------------- all All ONTs slotid Slot ID MA5683T#display ont info 0 0 ? --------------------------------------------- Command of privilege Mode: --------------------------------------------- all All ONTs portid Port ID MA5683T#display ont info 0 0 0 ? --------------------------------------------- Command of privilege Mode: --------------------------------------------- all All ONTs ontid ONT ID MA5683T#display ont info 0 0 0 all ----------------------------------------------------------------------------- F/S/P ONT SN Control Run Config Match Protect ID flag state state state side ----------------------------------------------------------------------------- 0/ 0/0 0 ---------------- active offline initial initial no 0/ 0/0 38 XXXXXXXXXXXXXXXX active online normal mismatch no 2.2.2 查看某port下所有onu配置信息 MA5683T#display current-configuration port 0/0/0 [MA5600V800R015: 5800] # [gpon] interface gpon 0/0 port 0 ont-auto-find enable ont add 0 1 sn-auth "XXXXXXXXXXXXXXXXX" omci ont-lineprofile-id 111 ont-srvprofile-id 111 desc "ONT_NO_DESCRIPTION" 2.2.3 查看某onu配置信息 MA5683T#display current-configuration ont 0/0/0 1 [MA5600V800R015: 5800] # [gpon] interface gpon 0/0 ont add 0 1 sn-auth "XXXXXXXXXXXXXXXXX" omci ont-lineprofile-id 111 ont-srvprofile-id 111 desc "ONT_NO_DESCRIPTION" 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.3.1 查看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.4 查看线路模板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.4.1 查看线路模板配置 MA5683T#display current-configuration | begin ont-lineprofile gpon profile-id 194 It will take a long time if the content you search is too much or the string you input is too long, you can press CTRL_C to break ont-lineprofile gpon profile-id 194 profile-name "194" tcont 1 dba-profile-id 194 gem add 1 eth tcont 1 gem mapping 1 0 vlan 146 gem mapping 1 1 vlan 250 gem mapping 1 2 vlan 94 gem mapping 1 3 vlan 46 commit quit 2.5 查看业务模板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.5.1 查看业务模板配置 MA5683T#display current-configuration | begin ont-srvprofile gpon profile-id 194 It will take a long time if the content you search is too much or the string you input is too long, you can press CTRL_C to break ont-srvprofile gpon profile-id 194 profile-name "194" ont-port pots adaptive eth adaptive commit 2.6 查看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.6.1 查看DBA配置 MA5683T#display current-configuration | begin dba-profile add profile-id 194 It will take a long time if the content you search is too much or the string you input is too long, you can press CTRL_C to break dba-profile add profile-id 194 profile-name "194" type3 assure 10240 max 2400000 2.7 查看上联接口透传vlan MA5683T#display port vlan 0/8/0 --------------------------------------- 1 40 42 45 100 109 233 985 1119 1314 --------------------------------------- Total: 10 Native VLAN: 40 2.7.1 查看上联接口透传vlan配置 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 # 三、查看GPON ONU状态 3.1 查看GPON ONU光模块信息

需要先进入PON板卡再查询,如下是查询GPON 0 0 0 4的信息

MA5683T#config MA5683T(config)#interface gpon 0/0 MA5683T(config-if-gpon-0/0)#display ont optical-info 0 4 ----------------------------------------------------------------------------- ONU NNI port ID : - Module type : - Module sub-type : - Used type : - Encapsulation Type : - Optical power precision(dBm) : - Vendor name : - Vendor rev : - Vendor PN : - Vendor SN : - Date Code : - Rx optical power(dBm) : -10.88 Rx power current warning threshold(dBm): [-,-] Rx power current alarm threshold(dBm) : [-,-] Tx optical power(dBm) : 3.53 Tx power current warning threshold(dBm): [-,-] Tx power current alarm threshold(dBm) : [-192.0,-192.0] Laser bias current(mA) : 13 Tx bias current warning threshold(mA) : [-,-] Tx bias current alarm threshold(mA) : [-,-] Temperature(C) : 46 Temperature warning threshold(C) : [-,-] Temperature alarm threshold(C) : [-,-] Voltage(V) : 3.200 Supply voltage warning threshold(V) : [-,-] Supply voltage alarm threshold(V) : [-,-] OLT Rx ONT optical power(dBm) : -7.60 CATV Rx optical power(dBm) : - CATV Rx power alarm threshold(dBm) : [-,-] ----------------------------------------------------------------------------- MA5683T(config-if-gpon-0/0)# 四、配置二层组播

上联接口vlan,上联接口仅放行组播vlan即可

MA5683T#display port vlan 0/8/0 --------------------------------------- 499 598 108 --------------------------------------- Total: 3 Native VLAN: 108 MA5683T#

查看ONU ID

MA5683T#display ont info by-loid test499 ----------------------------------------------------------------------------- F/S/P : 0/0/0 ONT-ID : 95 MA5683T#display current-configuration ont 0/0/0 95 [MA5600V800R015: 5800] # [gpon] interface gpon 0/0 ont add 0 95 loid-auth "test499" always-on omci ont-lineprofile-id 499 ont-srvprofile-id 499 desc "499" # return

查看ONU service-port

MA5683T#display service-port port 0/0/0 ont 95 { |e2e|gemport|sort-by }: Command: display service-port port 0/0/0 ont 95 Switch-Oriented Flow List ----------------------------------------------------------------------------- INDEX VLAN VLAN PORT F/ S/ P VPI VCI FLOW FLOW RX TX STATE ID ATTR TYPE TYPE PARA ----------------------------------------------------------------------------- 4307 499 common gpon 0/0 /0 95 1 vlan 499 - - up 4309 598 common gpon 0/0 /0 95 1 vlan 599 - - up ----------------------------------------------------------------------------- 4.1 同vlan组播:接口vlan499,组播vlan499 MA5683T#display current-configuration service-port 4307 [MA5600V800R015: 5800] # [bbs-config] service-port 4307 vlan 499 gpon 0/0/0 ont 95 gemport 1 multi-service user-vlan 499 tag-transform translate # [btv-config] btv igmp user add service-port 4307 no-auth multicast-vlan 499 igmp multicast-vlan member service-port-list 4307 # return MA5683T#config MA5683T(config)#btv MA5683T(config-btv)#igmp user add service-port 4307 no-auth MA5683T(config-btv)#quit MA5683T(config)# MA5683T(config)#multicast-vlan 499 MA5683T(config-mvlan499)#igmp multicast-vlan member service-port 4307 MA5683T(config-mvlan499)#igmp mode snooping Are you sure to change IGMP mode? (y/n)[n]:y Command is being executed. Please wait... Command has been executed successfully MA5683T(config-mvlan499)#igmp program add ip 239.0.0.49 { |bandwidth|grade|host|hostip|index|log|name|prejoin|preview-profile|priority|sourceip|unsolicited|video-mode }: Command: igmp program add ip 239.0.0.49 MA5683T(config-mvlan499)#igmp uplink-port 0/8/0 MA5683T(config-mvlan499)#quit MA5683T(config)#

4.2 跨vlan组播:接口vlan599,组播vlan598 MA5683T#display current-configuration service-port 4309 [MA5600V800R015: 5800] # [bbs-config] service-port 4309 vlan 598 gpon 0/0/0 ont 95 gemport 1 multi-service user-vlan 599 tag-transform translate # [btv-config] btv igmp user add service-port 4309 no-auth multicast-vlan 598 igmp multicast-vlan member service-port-list 4309 # return MA5683T# MA5683T#config MA5683T(config)#btv MA5683T(config-btv)#igmp user add service-port 4309 no-auth MA5683T(config-btv)#quit MA5683T(config)# MA5683T(config)#multicast-vlan 598 MA5683T(config-mvlan598)#igmp multicast-vlan member service-port 4309 MA5683T(config-mvlan598)#igmp mode snooping Are you sure to change IGMP mode? (y/n)[n]:y Command is being executed. Please wait... Command has been executed successfully MA5683T(config-mvlan598)#igmp program add ip 239.0.0.59 { |bandwidth|grade|host|hostip|index|log|name|prejoin|preview-profile|priority|sourceip|unsolicited|video-mode }: Command: igmp program add ip 239.0.0.59 MA5683T(config-mvlan598)#igmp uplink-port 0/8/0 MA5683T(config-mvlan598)#quit MA5683T(config)# 五、流氓ONU检测 开启长发光 MA5683T(config)#anti-rogueont autodetect on 查询开启长发光 MA5683T#display anti-rogueont autodetect switch The switch of rogue ONT auto detection: on 长发光告警 MA5683T# ! FAULT MAJOR 2024-02-29 11:33:32+08:00 ALARM NAME :There are illegal incursionary rogue ONTs under the port PARAMETERS :FrameID: 0, SlotID: 1, PortID: 0 长发光告警清除 MA5683T# ! RECOVERY CLEARED 2024-02-29 11:35:27+08:00 ALARM NAME :The illegal incursionary rogue ONTs under the port have been cleared PARAMETERS :FrameID: 0, SlotID: 1, PortID: 0 六、FAQ 6.1 查看某DBA绑定的线路模版 MA5683T#display dba-profile all { |detail }: Command: display dba-profile all ---------------------------------------------------------------------------- Profile-ID type Bandwidth Fix Assure Max Bind compensation (kbps) (kbps) (kbps) times ---------------------------------------------------------------------------- 369 1 No 2400000 0 0 1 ---------------------------------------------------------------------------- 比如DBA 369的Bind times是1,如下查询可以看到其绑定线路模版GPON 369 MA5683T#display dba-profile bound-info profile-id 369 ------------------------------------------------------------------------------ Bound by line profile ------------------------------------------------------------------------------ Access-type Profile List ------------------------------------------------------------------------------ GPON 369 ------------------------------------------------------------------------------ Bound by ONT, including bound by line profile indirectly ------------------------------------------------------------------------------ F/S/P Bind Type ONT List ------------------------------------------------------------------------------ 0/ 0/1 By profile 0 ------------------------------------------------------------------------------ 6.2 修改ONU认证模式和认证字段 OLT配置好了发现认证模式用错了怎么办,从后往前一个个删除太麻烦了。可以用如下命令: 改变鉴权模式: MA5683T(config)#interface gpon 0/0 MA5683T(config-if-gpon-0/0)#ont modify 1 0 authtype ? --------------------------------------------- Command of gpon-0/0 Mode: --------------------------------------------- loid-auth Logic ONU identifier authentication mode password-auth Password authentication type sn-auth SN authentication type 改变鉴权字段: MA5683T(config-if-gpon-0/0)#ont modify 1 0 ? --------------------------------------------- Command of gpon-0/0 Mode: --------------------------------------------- authtype ONT authentication type desc ONT description discovery-mode ONT discovery mode loid Logic ONU identifier manage-mode ONT management mode ont-lineprofile-id ONT line profile ID ont-lineprofile-name ONT line profile name ont-srvprofile-id ONT service profile ID ont-srvprofile-name ONT service profile name password ONT password sn ONT serial number MA5683T(config-if-gpon-0/0)#ont modify 1 0 password ? --------------------------------------------- Command of gpon-0/0 Mode: --------------------------------------------- hex Hex ONT Password password-value ONT password 6.3 查看OLTport剩余背板带宽 添加一个ONU提示剩余带宽不足,太恶心了。以下方式说明如何使用恰好的模版 如下查询GPON 0/0/0port带宽信息,“Left guaranteed bandwidth(kbps):234496”是剩余背板带宽 MA5683T#config MA5683T(config)#interface gpon 0/0 MA5683T(config-if-gpon-0/0)#display port info 0 ----------------------------------------------------------- F/S/P 0/0/0 Min distance(km) 0 Max distance(km) 20 Left guaranteed bandwidth(kbps) 234496 Number of T-CONTs 216 Autofind Enable FEC check Enable Admin State On ONT encryption key switching interval(m) 123 PON-ID switch Disable PON-ID identifier 0 Jumbo frame switch Enable Surplus bandwidth assignment Disable Best-effort bandwidth assignment - Multicast encrypt mode Disable ----------------------------------------------------------- 增加ONU要绑定线路模版,增加线路模版要绑定DBA,增加DBA要比较剩余背板带宽是否足够。而DBA有5种类型,不同类型的DBA占用的背板带宽逻辑和大小都是不一样的,具体如下:以下是根据实际配置查看的,不一定符合真实情况和设计逻辑,因为不能排除OLT某些神奇配置导致结果不完全一致,所以仅供参考。 Fixed:固定带宽 Assured:保证带宽 Maximum:最大带宽 DBA1:234496-122880=Left guaranteed bandwidth(kbps)降低111616 MA5683T#display dba-profile profile-id 32 ----------------------------------------------------------------- Profile-name : dba-profile_32 Profile-ID: 32 type: 1 Bandwidth compensation: No Fix-delay: No Fix(kbps): 102400 Assure(kbps): 0 Max(kbps): 0 Additional-bandwidth: - Best-effort-priority: - Best-effort-weight: - bind-times: 1 ----------------------------------------------------------------- MA5683T(config-if-gpon-0/0)#display port info 0 ----------------------------------------------------------- F/S/P 0/0/0 Min distance(km) 0 Max distance(km) 20 Left guaranteed bandwidth(kbps) 122880 Number of T-CONTs 218 Autofind Enable FEC check Enable Admin State On ONT encryption key switching interval(m) 123 PON-ID switch Disable PON-ID identifier 0 Jumbo frame switch Enable Surplus bandwidth assignment Disable Best-effort bandwidth assignment - Multicast encrypt mode Disable ----------------------------------------------------------- DBA2:234496-122624=Left guaranteed bandwidth(kbps)降低111872 MA5683T#display dba-profile profile-id 32 ----------------------------------------------------------------- Profile-name : dba-profile_32 Profile-ID: 32 type: 2 Bandwidth compensation: No Fix-delay: No Fix(kbps): 0 Assure(kbps): 102400 Max(kbps): 0 Additional-bandwidth: - Best-effort-priority: - Best-effort-weight: - bind-times: 1 ----------------------------------------------------------------- MA5683T(config-if-gpon-0/0)#display port info 0 ----------------------------------------------------------- F/S/P 0/0/0 Min distance(km) 0 Max distance(km) 20 Left guaranteed bandwidth(kbps) 122624 Number of T-CONTs 218 Autofind Enable FEC check Enable Admin State On ONT encryption key switching interval(m) 123 PON-ID switch Disable PON-ID identifier 0 Jumbo frame switch Enable Surplus bandwidth assignment Disable Best-effort bandwidth assignment - Multicast encrypt mode Disable ----------------------------------------------------------- DBA3:234496-214784=Left guaranteed bandwidth(kbps)降低19712 MA5683T#display dba-profile profile-id 32 ----------------------------------------------------------------- Profile-name : dba-profile_32 Profile-ID: 32 type: 3 Bandwidth compensation: No Fix-delay: No Fix(kbps): 0 Assure(kbps): 10240 Max(kbps): 1000000 Additional-bandwidth: - Best-effort-priority: - Best-effort-weight: - bind-times: 1 ----------------------------------------------------------------- MA5683T(config-if-gpon-0/0)#display port info 0 ----------------------------------------------------------- F/S/P 0/0/0 Min distance(km) 0 Max distance(km) 20 Left guaranteed bandwidth(kbps) 214784 Number of T-CONTs 218 Autofind Enable FEC check Enable Admin State On ONT encryption key switching interval(m) 123 PON-ID switch Disable PON-ID identifier 0 Jumbo frame switch Enable Surplus bandwidth assignment Disable Best-effort bandwidth assignment - Multicast encrypt mode Disable ----------------------------------------------------------- DBA4:234496-224000=Left guaranteed bandwidth(kbps)降低10496 MA5683T#display dba-profile profile-id 32 ----------------------------------------------------------------- Profile-name : dba-profile_32 Profile-ID: 32 type: 4 Bandwidth compensation: No Fix-delay: No Fix(kbps): 0 Assure(kbps): 0 Max(kbps): 1000000 Additional-bandwidth: - Best-effort-priority: 0 Best-effort-weight: 128 bind-times: 1 ----------------------------------------------------------------- MA5683T(config-if-gpon-0/0)#display port info 0 ----------------------------------------------------------- F/S/P 0/0/0 Min distance(km) 0 Max distance(km) 20 Left guaranteed bandwidth(kbps) 224000 Number of T-CONTs 218 Autofind Enable FEC check Enable Admin State On ONT encryption key switching interval(m) 123 PON-ID switch Disable PON-ID identifier 0 Jumbo frame switch Enable Surplus bandwidth assignment Disable Best-effort bandwidth assignment - Multicast encrypt mode Disable ----------------------------------------------------------- DBA5:234496-194304=Left guaranteed bandwidth(kbps)降低40192 MA5683T#display dba-profile profile-id 32 ----------------------------------------------------------------- Profile-name : dba-profile_32 Profile-ID: 32 type: 5 Bandwidth compensation: No Fix-delay: No Fix(kbps): 10240 Assure(kbps): 20480 Max(kbps): 1000000 Additional-bandwidth: best-effort Best-effort-priority: 0 Best-effort-weight: 128 bind-times: 1 ----------------------------------------------------------------- MA5683T(config-if-gpon-0/0)#display port info 0 ----------------------------------------------------------- F/S/P 0/0/0 Min distance(km) 0 Max distance(km) 20 Left guaranteed bandwidth(kbps) 194304 Number of T-CONTs 218 Autofind Enable FEC check Enable Admin State On ONT encryption key switching interval(m) 123 PON-ID switch Disable PON-ID identifier 0 Jumbo frame switch Enable Surplus bandwidth assignment Disable Best-effort bandwidth assignment - Multicast encrypt mode Disable -----------------------------------------------------------



【本文地址】

公司简介

联系我们

今日新闻

    推荐新闻

    专题文章
      CopyRight 2018-2019 实验室设备网 版权所有