Bootstrap

【OMCI实践】ONT上线过程的omci消息(四)

引言

在前三篇文章中,主要介绍了ONT上线过程的OMCI交互的第一个阶段和第二个阶段omci消息,本篇介绍第三个阶段,ONT上报受管实体类型表的过程。

OMCI受管实体分类

OMCI受管实体编号为两个字节,最大支持定义65535个受管实体类型,根据标准定义情况可以划分以下三类
  • 已定义的标准受管实体:编号范围是1~171,256~349,400~466,在ITU G.984.4和G.988中定义,在最新的2022年的G.988,已经定义到编号466(Precision Time Protocol status),参考附录;
  • 预留的标准受管实体:编号范围172~239,467~65279,ITU预留的未定义的;
  • 厂商自行定义的私有受管实体:编号范围是240-255,350~399,65280-65535,主要是各OLT局端厂商定义的私有受管实体,用于实现厂商私有的协议和功能等。

疑问

  • OMCI标准定义的受管实体一直在增加,OLT局端如何知道ONT支持哪些标准受管实体?
  • OLT局端需要对接不同厂商的ONT,如何知道ONT支持哪些私有的受管实体?
答案是,在ONT上线过程中,ONT通过OMC类的实例向OLT上报自身支持的所有受管实体列表,包括标准的受管实体和私有的受管实体。

ONT上报受管实体类型表的过程

1、OLT下发OMCI实例的GET操作
OMCI(Get, 0x0000)
Message Type = Get
Managed Entity Class: OMCI (011f)
该受管实体描述了ONT支持OMCI受管实体和消息的能力程度。该受管实体不包括在MIB upload过程中。
Managed Entity Instance: 0x0000
受管实体ID:该属性为OMCI受管实体的每个实例提供一个唯一编码。该实例仅有一个并且编码为0。
Attribute List
01: ME Type Table (0000),
受管实体类型表:该属性列出了ONT支持的受管实体类型。每个表项包含一个受管实体的类型值,长度是N×2字节,N是表项数目
2、ONT回复受管实体类型表长度,0x00cc表示204个字节,即102个受管实体类型需要上报;
由于OMCI消息长度限制,每次只能上报29个字节,即14.5个受管实体编号。204字节除29字节等于7.03,表示要分成8个片段上传
3、OLT下发OMCI GET Next操作,要求ONT上传第0个片段(即前14.5个受管实体编号)
4、ONT恢复消息,上报第0个片段(前14.5个受管实体编号)
上图中,在0x8000后的红色框住的15个字节是7个受管实体编号,以及第8个受管实体编号的高字节,依次是0002 0005 0006 0007 000b 0018 002d 002e 002f 0030 0031 0032 0033 0034 00
前三个受管实体类型,查看OMCI标准文档可以得知,正是在第一个和第二阶段上报过的受管实体:
0x0002:ONU data
0x0005:Cardholder
0x0006:Circuit pack
5、重复步骤3和4,ONT共上报102个受管实体编号;最后一个是0x0166,即编号460,说明ONT只支持标准定义的受管实体

小结

抓取解析受管实体类型表有两个好处:
  • 可以快速了解自身产品支持受管实体类型是否满足客户需求
  • 可以快速了解竞品支持受管实体类型,对比分析出自身产品不支持受管实体类型,进而排查问题和针对性开发

附录:OMCI受管实体列表

2022年版G.988的受管实体标识符列表.xlsx

链接: 百度网盘 请输入提取码 提取码: uxv1

受管实体标识符列表

受管实体类型值

受管实体名

1

ONTB-PON

2

ONU data

3

PON IF line cardholder

4

PON IF line card

5

Cardholder

6

Circuit pack

7

Software image

8

UNIB-PON

9

TC AdapterB-PON

10

Physical path termination point ATM UNI

11

Physical path termination point Ethernet UNI

12

Physical path termination point CES UNI

13

Logical N X 64 kbit/s sub-port connection termination point

14

Interworking VCC termination point

15

AAL1 profileB-PON

16

AAL5 profile

17

AAL1 protocol monitoring history dataB-PON

18

AAL5 performance monitoring history data

19

AAL2 profile

20

(Intentionally left blank)

21

CES service profile

22

(Reserved)

23

CES physical interface performance monitoring history data

24

Ethernet performance monitoring history data

25

VP network CTPBPON

26

ATM VP cross-connection

27

Priority queueB-PON

28

DBR/CBR traffic descriptor

29

UBR traffic descriptor

30

SBR1/VBR1 traffic descriptor

31

SBR2/VBR2 traffic descriptor

32

SBR3/VBR3 traffic descriptor

33

ABR traffic descriptor

34

GFR traffic descriptor

35

ABT/DT/IT traffic descriptor

36

UPC disagreement monitoring history dataB-PON

37

(Intentionally left blank)

38

ANI (B-PON)

39

PON TC adapter

40

PON physical path termination point

41

TC adapter protocol monitoring history data

42

Threshold dataB-PON

43

Operator specific

44

Vendor specific

45

MAC bridge service profile

46

MAC bridge configuration data

47

MAC bridge port configuration data

48

MAC bridge port designation data

49

MAC bridge port filter table data

50

MAC bridge port bridge table data

51

MAC bridge performance monitoring history data

52

MAC bridge port performance monitoring history data

53

Physical path termination point POTS UNI

54

Voice CTP

55

Voice PM history data

56

AAL2 PVC profileB-PON

57

AAL2 CPS protocol monitoring history dataB-PON

58

Voice service profile

59

LES service profile

60

AAL2 SSCS parameter profile1

61

AAL2 SSCS parameter profile2

62

VP performance monitoring history data

63

Traffic schedulerB-PON

64

T-CONT buffer

65

UBR+ traffic descriptor

66

AAL2 SSCS protocol monitoring history dataB-PON

67

IP port configuration data

68

IP router service profile

69

IP router configuration data

70

IP router performance monitoring history data 1

71

IP router performance monitoring history data 2

72

ICMP performance monitoring history data 1

73

ICMP performance monitoring history data 2

74

IP route table

75

IP static routes

76

ARP service profile

77

ARP configuration data

78

VLAN tagging operation configuration data

79

MAC bridge port filter pre-assign table

80

Physical path termination point ISDN UNI

81

(Reserved)

82

Physical path termination point video UNI

83

Physical path termination point LCT UNI

84

VLAN tagging filter data

85

ONUB-PON

86

ATM VC cross-connection

87

VC network CTPB-PON

88

VC PM history data

89

Ethernet performance monitoring history data 2

90

Physical path termination point video ANI

91

Physical path termination point IEEE 802.11 UNI

92

IEEE 802.11 station management data 1

93

IEEE 802.11 station management data 2

94

IEEE 802.11 general purpose object

95

IEEE 802.11 MAC and PHY operation and antenna data

96

IEEE 802.11 performance monitoring history data

97

IEEE 802.11 PHY FHSS DSSS IR tables

98

Physical path termination point xDSL UNI part 1

99

Physical path termination point xDSL UNI part 2

100

xDSL line inventory and status data part 1

101

xDSL line inventory and status data part 2

102

xDSL channel downstream status data

103

xDSL channel upstream status data

104

xDSL line configuration profile part 1

105

xDSL line configuration profile part 2

106

xDSL line configuration profile part 3

107

xDSL channel configuration profile

108

xDSL subcarrier masking downstream profile

109

xDSL subcarrier masking upstream profile

110

xDSL PSD mask profile

111

xDSL downstream RFI bands profile

112

xDSL xTU-C performance monitoring history data part 1

113

xDSL xTU-R performance monitoring history data

114

xDSL xTU-C channel performance monitoring history data

115

xDSL xTU-R channel performance monitoring history data

116

TC adaptor performance monitoring history data xDSL

117

Physical path termination point VDSL UNI (ITU-T G.993.1 VDSL1)

118

VDSL VTU-O physical data

119

VDSL VTU-R physical data

120

VDSL channel data

121

VDSL line configuration profile

122

VDSL channel configuration profile

123

VDSL band plan configuration profile

124

VDSL VTU-O physical interface monitoring history data

125

VDSL VTU-R physical interface monitoring history data

126

VDSL VTU-O channel performance monitoring history data

127

VDSL VTU-R channel performance monitoring history data

128

Video return path service profile

129

Video return path performance monitoring history data

130

IEEE 802.1p mapper service profile

131

OLT-G

132

Multicast interworking VCC termination point

133

ONU power shedding

134

IP host config data

135

IP host performance monitoring history data

136

TCP/UDP config data

137

Network address

138

VoIP config data

139

VoIP voice CTP

140

Call control performance monitoring history data

141

VoIP line status

142

VoIP media profile

143

RTP profile data

144

RTP performance monitoring history data

145

Network dial plan table

146

VoIP application service profile

147

VoIP feature access codes

148

Authentication security method

149

SIP config portal

150

SIP agent config data

151

SIP agent performance monitoring history data

152

SIP call initiation performance monitoring history data

153

SIP user data

154

MGC config portal

155

MGC config data

156

MGC performance monitoring history data

157

Large string

158

ONU remote debug

159

Equipment protection profile

160

Equipment extension package

161

Port-mapping packageBPON(B-PON only; use 297 for G-PON)

162

Physical path termination point MoCA UNI

163

MoCA Ethernet performance monitoring history data

164

MoCA interface performance monitoring history data

165

VDSL2 line configuration extensions

166

xDSL line inventory and status data part 3

167

xDSL line inventory and status data part 4

168

VDSL2 line inventory and status data part 1

169

VDSL2 line inventory and status data part 2

170

VDSL2 line inventory and status data part 3

171

Extended VLAN tagging operation configuration data

172..239

Reserved for future B-PON managed entities

240-255

Reserved for vendor-specific managed entities

256

ONU-G (NOTE – In [ITU-T G.984.4] this was called ONT-G)

257

ONU2-G (NOTE – In [ITU-T G.984.4] this was called ONT2-G)

258

ONU-G (deprecated – note that the name is re-used for code point 256)

259

ONU2-G (deprecated – note that the name is re-used for code point 257)

260

PON IF line card-G

261

PON TC adapter-G

262

T-CONT

263

ANI-G

264

UNI-G

265

ATM interworking VCC termination point

266

GEM interworking termination point

267

GEM port performance monitoring history data (obsolete)

268

GEM port network CTP

269

VP network CTP

270

VC network CTP-G

271

GAL TDM profile (deprecated)

272

GAL Ethernet profile

273

Threshold data 1

274

Threshold data 2

275

GAL TDM performance monitoring history data (deprecated)

276

GAL Ethernet performance monitoring history data

277

Priority queue

278

Traffic scheduler

279

Protection data

280

Traffic descriptor

281

Multicast GEM interworking termination point

282

Pseudowire termination point

283

RTP pseudowire parameters

284

Pseudowire maintenance profile

285

Pseudowire performance monitoring history data

286

Ethernet flow termination point

287

OMCI

288

Managed entity

289

Attribute

290

Dot1X port extension package

291

Dot1X configuration profile

292

Dot1X performance monitoring history data

293

Radius performance monitoring history data

294

TU CTP

295

TU performance monitoring history data

296

Ethernet performance monitoring history data 3

297

Port-mapping package

298

Dot1 rate limiter

299

Dot1ag maintenance domain

300

Dot1ag maintenance association

301

Dot1ag default MD level

302

Dot1ag MEP

303

Dot1ag MEP status

304

Dot1ag MEP CCM database

305

Dot1ag CFM stack

306

Dot1ag chassis-management info

307

Octet string

308

General purpose buffer

309

Multicast operations profile

310

Multicast subscriber config info

311

Multicast subscriber monitor

312

FEC performance monitoring history data

313

RE ANI-G

314

Physical path termination point RE UNI

315

RE upstream amplifier

316

RE downstream amplifier

317

RE config portal

318

File transfer controller

319

CES physical interface performance monitoring history data 2

320

CES physical interface performance monitoring history data 3

321

Ethernet frame performance monitoring history data downstream

322

Ethernet frame performance monitoring history data upstream

323

VDSL2 line configuration extensions 2

324

xDSL impulse noise monitor performance monitoring history data

325

xDSL line inventory and status data part 5

326

xDSL line inventory and status data part 6

327

xDSL line inventory and status data part 7

328

RE common amplifier parameters

329

Virtual Ethernet interface point

330

Generic status portal

331

ONU-E

332

Enhanced security control

333

MPLS pseudowire termination point

334

Ethernet frame extended PM

335

SNMP configuration data

336

ONU dynamic power management control

337

PW ATM configuration data

338

PW ATM performance monitoring history data

339

PW Ethernet configuration data

340

BBF TR-069 management server

341

GEM port network CTP performance monitoring history data

342

TCP/UDP performance monitoring history data

343

Energy consumption performance monitoring history data

344

XG-PON TC performance monitoring history data

345

XG-PON downstream management performance monitoring history data

346

XG-PON upstream management performance monitoring history data

347

IPv6 host config data

348

MAC bridge port ICMPv6 process pre-assign table

349

PoE control

350-399

Reserved for vendor-specific use

400

Ethernet pseudowire parameters

401

Physical path termination point RS232/RS485 UNI

402

RS232/RS485 port operation configuration data

403

RS232/RS485 performance monitoring history data

404

L2 multicast GEM interworking termination point

405

ANI-E

406

EPON downstream performance monitoring configuration

407

SIP agent config data 2

408

xDSL xTU-C performance monitoring history data part 2

409

PTM performance monitoring history data xDSL

410

VDSL2 line configuration extensions 3

411

Vectoring line configuration extensions

412

xDSL channel configuration profile part 2

413

xTU data gathering configuration

414

xDSL line inventory and status data part 8

415

VDSL2 line inventory and status data part 4

416

Vectoring line inventory and status data

417

Data gathering line test, diagnostic and status

418

EFM bonding group

419

EFM bonding link

420

EFM bonding group performance monitoring history data

421

EFM bonding group performance monitoring history data part 2

422

EFM bonding link performance monitoring history data

423

EFM bonding port performance monitoring history data

424

EFM bonding port performance monitoring history data part 2

425

Ethernet frame extended PM 64 bit

426

Threshold data 64 bit

427

Physical path termination point UNI part 3 (FAST)

428

FAST line configuration profile part 1

429

FAST line configuration profile part 2

430

FAST line configuration profile part 3

431

FAST line configuration profile part 4

432

FAST channel configuration profile, part 1

433

FAST data path configuration profile

434

FAST vectoring line configuration extensions

435

FAST line inventory and status data

436

FAST line inventory and status data part 2

437

FAST xTU-C performance monitoring history data

438

FAST xTU-R performance monitoring history data

439

OpenFlow config data

440

Time Status Message

441

ONU3-G

442

TWDM System Profile managed entity

443

TWDM channel managed entity

444

TWDM channel PHY/LODS performance monitoring history data

445

TWDM channel XGEM performance monitoring history data

446

TWDM channel PLOAM performance monitoring history data part 1

447

TWDM channel PLOAM performance monitoring history data part 2

448

TWDM channel PLOAM performance monitoring history data part 3

449

TWDM channel tuning performance monitoring history data part 1

450

TWDM channel tuning performance monitoring history data part 2

451

TWDM channel tuning performance monitoring history data part 3

452

TWDM channel OMCI performance monitoring history data

453

Enhanced FEC performance monitoring history data

454

Enhanced TC performance monitoring history data

455

Link aggregation service profile

456

ONU manufacturing data

457

ONU time configuration

458

IP host performance monitoring history data part 2

459

ONU operational performance monitoring history data

460

ONU4-G

461

BBF TR-369 USP agent

462

FAST channel configuration profile, part 2

463

FAST line failures performance monitoring data

464

Synchronous Ethernet operation

465

Precision Time Protocol

466

Precision Time Protocol status

467-65279

Reserved for future standardization

65280-65535

Reserved for vendor-specific use


原创不易,你的支持是我最大的动力,欢迎大家点赞,收藏,关注!

;