[solved] User owned ONU project 2016/06/10


石光上林 wrote:
deactive是...(恕刪)


這是fw ,ctpid 1有一部分被截掉了

us_pri:0
us_eth_type:0
us_ip_ver:0
us_dscp:0
us_spec_type:0
rule_pre:65535
action:0

----------fw com cla l2_cla_hash print:i=2--------:

-------fw pkt com cla print------:
ui_ctpid:2
cla_id: 2
fw rule print:
ui_mask:0x1
ui_ing_port:2
us_vlan:0
us_pri:0
us_eth_type:0
us_ip_ver:0
us_dscp:0
us_spec_type:0
rule_pre:65535
action:0

----------fw com cla l2_cla_hash print:i=3--------:

-------fw pkt com cla print------:
ui_ctpid:3
cla_id: 3
fw rule print:
ui_mask:0x1
ui_ing_port:3
us_vlan:0
us_pri:0
us_eth_type:0
us_ip_ver:0
us_dscp:0
us_spec_type:0
rule_pre:65535
action:0

----------fw com cla l2_cla_hash print:i=4--------:

-------fw pkt com cla print------:
ui_ctpid:4
cla_id: 9

success!
WAP> fw rule print:
ui_mask:0x2
ui_ing_port:0
us_vlan:500
us_pri:0
us_eth_type:0
us_ip_ver:0
us_dscp:0
us_spec_type:0
rule_pre:4294967294
action:0

-------fw pkt com cla print------:
ui_ctpid:4
cla_id: 4
fw rule print:
ui_mask:0x1
ui_ing_port:4
us_vlan:0
us_pri:0
us_eth_type:0
us_ip_ver:0
us_dscp:0
us_spec_type:0
rule_pre:65535
action:0

----------fw com cla l2_cla_hash print:i=5--------:

-------fw pkt com cla print------:
ui_ctpid:5
cla_id: 5
fw rule print:
ui_mask:0x1
ui_ing_port:5
us_vlan:0
us_pri:0
us_eth_type:0
us_ip_ver:0
us_dscp:0
us_spec_type:0
rule_pre:65535
action:0

----------fw com cla l2_cla_hash print:i=6--------:

-------fw pkt com cla print------:
ui_ctpid:6
cla_id: 6
fw rule print:
ui_mask:0x1
ui_ing_port:6
us_vlan:0
us_pri:0
us_eth_type:0
us_ip_ver:0
us_dscp:0
us_spec_type:0
rule_pre:65535
action:0

----------fw com cla l2_cla_hash print:i=7--------:

-------fw pkt com cla print------:
ui_ctpid:7
cla_id: 8
fw rule print:
ui_mask:0x2
ui_ing_port:0
us_vlan:500
us_pri:0
us_eth_type:0
us_ip_ver:0
us_dscp:0
us_spec_type:0
rule_pre:0
action:0

-------fw pkt com cla print------:
ui_ctpid:7
cla_id: 7
fw rule print:
ui_mask:0x2
ui_ing_port:0
us_vlan:4082
us_pri:0
us_eth_type:0
us_ip_ver:0
us_dscp:0
us_spec_type:0
rule_pre:0
action:0

----------fw com cla l2_cla_hash print:i=8--------:

-------fw pkt com cla print------:
ui_ctpid:8
cla_id: 12
fw rule print:
ui_mask:0x1
ui_ing_port:8
us_vlan:0
us_pri:0
us_eth_type:0
us_ip_ver:0
us_dscp:0
us_spec_type:0
rule_pre:65535
action:0

----------fw com cla l2_cla_hash print:i=10--------:

-------fw pkt com cla print------:
ui_ctpid:10
cla_id: 13
fw rule print:
ui_mask:0x1
ui_ing_port:10
us_vlan:0
us_pri:0
us_eth_type:0
us_ip_ver:0
us_dscp:0
us_spec_type:0
rule_pre:65535
action:0

----------fw com cla l2_cla_hash print:i=12--------:

-------fw pkt com cla print------:
ui_ctpid:12
cla_id: 14
fw rule print:
ui_mask:0x1
ui_ing_port:12
us_vlan:0
us_pri:0
us_eth_type:0
us_ip_ver:0
us_dscp:0
us_spec_type:0
rule_pre:65535
action:0

----------fw com cla l2_cla_hash print:i=14--------:

-------fw pkt com cla print------:
ui_ctpid:14
cla_id: 15
fw rule print:
ui_mask:0x1
ui_ing_port:14
us_vlan:0
us_pri:0
us_eth_type:0
us_ip_ver:0
us_dscp:0
us_spec_type:0
rule_pre:65535
action:0

----------fw com cla l2_cla_hash print:i=16--------:

-------fw pkt com cla print------:
ui_ctpid:16
cla_id: 16
fw rule print:
ui_mask:0x1
ui_ing_port:16
us_vlan:0
us_pri:0
us_eth_type:0
us_ip_ver:0
us_dscp:0
us_spec_type:0
rule_pre:65535
action:0

************fw spec cla print *************:

------------fw spec cla print-----------:
spec type:0x4
fw rule print:
ui_mask:0x80
ui_ing_port:0
us_vlan:0
us_pri:0
us_eth_type:0
us_ip_ver:0
us_dscp:0
us_spec_type:4
rule_pre:0
action:0

------------fw spec cla print-----------:
spec type:0x1f
fw rule print:
ui_mask:0x80
ui_ing_port:0
us_vlan:0
us_pri:0
us_eth_type:0
us_ip_ver:0
us_dscp:0
us_spec_type:31
rule_pre:0
action:0

------------fw spec cla print-----------:
spec type:0x22
fw rule print:
ui_mask:0x80
ui_ing_port:0
us_vlan:0
us_pri:0
us_eth_type:0
us_ip_ver:0
us_dscp:0
us_spec_type:34
rule_pre:0
action:0

------------fw spec cla print-----------:
spec type:0x23
fw rule print:
ui_mask:0x80
ui_ing_port:0
us_vlan:0
us_pri:0
us_eth_type:0
us_ip_ver:0
us_dscp:0
us_spec_type:35
rule_pre:0
action:0

--------fw pkt stats print-----:
rx_pkts:215649
tx_pkts:98286
rx_errors:0
tx_errors:0
rx_dropped:0
tx_dropped:0

--------CPU215649 fw pkt stats print-----:
rx_pkts:98286 tx_pkts:0 rx_errors:0 tx_errors:0 rx_dropped:0 tx_dropped:321023
2236

--------CPU0 fw pkt stats print-----:
rx_pkts:0 tx_pkts:0 rx_errors:0 tx_errors:0 rx_dropped:0 tx_dropped:3210232236

也许是一场难圆的梦 一场没有结局的梦 多少的笑语飞散在风中 又围绕在我耳边

石光上林 wrote:
這是fw ,ctpi...(恕刪)


WAP>omcicmd show flow 0


============================================================
+++++++++++++++++++++++ AniPort +++++++++++++++++++++++
============================================================

GlobalMapMode: 0
AniPortObjNum: 2

success!
WAP>AniPortEntry:


******************************
********* Index:0 **********
******************************
PortID: 33025
BridgeID: 1
ForwardOper: 0
VlanNum: 0
VlanEntry:
MapGemID: 65535
UntagMapGemID: 128
TagFrameOption: 0
PbitMap:

Pbit GemID
--------------
0 128
1 129
2 130
3 131
4 132
5 133
6 134
7 135

FlowEntry:

Index FlowID BridgeID GemID MapMode UniPort Vlan Pri UniType Status Trans Pir(0x) Sir(0x)
------------------------------------------------------------------------------------------------------
0 0 1 128 2 255 65535 0 0 1 0 00000000 00000000
1 1 1 129 2 255 65535 1 0 1 0 00000000 00000000
2 2 1 130 2 255 65535 2 0 1 0 00000000 00000000
3 3 1 131 2 255 65535 3 0 1 0 00000000 00000000
4 4 1 132 2 255 65535 4 0 1 0 00000000 00000000
5 5 1 133 2 255 65535 5 0 1 0 00000000 00000000
6 6 1 134 2 255 65535 6 0 1 0 00000000 00000000
7 7 1 135 2 255 65535 7 0 1 0 00000000 00000000
8 8 1 128 11 255 65535 255 0 1 0 00000000 00000000


******************************
********* Index:1 **********
******************************
PortID: 65281
BridgeID: 1
ForwardOper: 0
VlanNum: 0
VlanEntry:
MapGemID: 4095
UntagMapGemID: 65535
TagFrameOption: 0
PbitMap:

Pbit GemID
--------------
0 65535
1 65535
2 65535
3 65535
4 65535
5 65535
6 65535
7 65535

FlowEntry:

Index FlowID BridgeID GemID MapMode UniPort Vlan Pri UniType Status Trans Pir(0x) Sir(0x)
------------------------------------------------------------------------------------------------------
0 0 1 4095 2 255 65535 0 0 2 0 00000000 00000000
1 0 1 4095 2 255 65535 1 0 2 0 00000000 00000000
2 0 1 4095 2 255 65535 2 0 2 0 00000000 00000000
3 0 1 4095 2 255 65535 3 0 2 0 00000000 00000000
4 0 1 4095 2 255 65535 4 0 2 0 00000000 00000000
5 0 1 4095 2 255 65535 5 0 2 0 00000000 00000000
6 0 1 4095 2 255 65535 6 0 2 0 00000000 00000000
7 0 1 4095 2 255 65535 7 0 2 0 00000000 00000000
8 0 1 4095 11 255 65535 255 0 2 0 00000000 00000000



============================================================
+++++++++++++++++++++++ UniPort +++++++++++++++++++++++
============================================================

UniPortObjNum: 4
UniPortEntry:

Index PortID BridgeID UniPort UniType
-----------------------------------------
0 257 1 1 0
1 258 1 2 0
2 259 1 3 0
3 260 1 4 0



============================================================
+++++++++++++++++++++++ Gemport +++++++++++++++++++++++
============================================================

GemportObj Num: 10
GemportEntry:

GemID TcontID PqUp PqDn GemType Loopback PirUp CirUp PbsUp CbsUp PirDn CirDn PbsDn CbsDn
-----------------------------------------------------------------------------------------------------
128 0 32775 8 0 0 268431360 268431360 -1610653696 -1610653696 0 0 0 0
129 0 32774 7 0 0 0 0 0 0 0 0 0 0
130 0 32773 6 0 0 0 0 0 0 0 0 0 0
131 0 32772 5 0 0 0 0 0 0 0 0 0 0
132 0 32771 4 0 0 136000 136000 1360000 1360000 0 0 0 0
133 0 32770 3 0 0 0 0 0 0 0 0 0 0
134 0 32769 2 0 0 0 0 0 0 0 0 0 0
135 0 32768 0 0 0 0 0 0 0 0 0 0 0
4095 0 65535 0 2 0 0 0 0 0 0 0 0 0
4094 0 65534 0 1 0 0 0 0 0 0 0 0 0



============================================================
+++++++++++++++++++++++ FlowCfg +++++++++++++++++++++++
============================================================

FlowCfg Num: 0



============================================================
+++++++++++++++++++++++ FlowID +++++++++++++++++++++++
============================================================

0 1 2 3 4 5 6 7 8
也许是一场难圆的梦 一场没有结局的梦 多少的笑语飞散在风中 又围绕在我耳边

石光上林 wrote:
WAP>omcicmd...(恕刪)


WAP>omcicmd pm show 65535 65535

Me(129)(VIDEO STAT) doesn't create any instance!

-------------------------------------------------------
Me(267)(GEM Port PM History Data) has 10 instances
-------------------------------------------------------
Instance ID(0x0080), Interval end time(5), Time(1442963825)
-------------------------------------------------------
AttrID CurValue HisValue LastPointValue
3 0 0 0
4 0 0 0
5 0 0 0
6 0 0 0
7 965 55 965
8 0 0 0
-------------------------------------------------------
Instance ID(0x0081), Interval end time(5), Time(1442963825)
-------------------------------------------------------
AttrID CurValue HisValue LastPointValue
3 0 0 0
4 0 0 0
5 0 0 0
6 0 0 0
7 245 0 245
8 0 0 0
-------------------------------------------------------
Instance ID(0x0082), Interval end time(5), Time(1442963825)
-------------------------------------------------------
AttrID CurValue HisValue LastPointValue
3 0 0 0
4 0 0 0
5 0 0 0
6 0 0 0
7 0 0 0
8 0 0 0
-------------------------------------------------------
Instance ID(0x0083), Interval end time(5), Time(1442963825)
-------------------------------------------------------
AttrID CurValue HisValue LastPointValue
3 0 0 0
4 0 0 0
5 0 0 0
6 0 0 0
7 0 0 0
8 0 0 0
-------------------------------------------------------
Instance ID(0x0084), Interval end time(5), Time(1442963825)
-----------------------------
success!
WAP>--------------------------
AttrID CurValue HisValue LastPointValue
3 0 0 0
4 0 0 0
5 0 0 0
6 0 0 0
7 600 0 600
8 0 0 0
-------------------------------------------------------
Instance ID(0x0085), Interval end time(5), Time(1442963825)
-------------------------------------------------------
AttrID CurValue HisValue LastPointValue
3 0 0 0
4 0 0 0
5 0 0 0
6 0 0 0
7 0 0 0
8 0 0 0
-------------------------------------------------------
Instance ID(0x0086), Interval end time(5), Time(1442963825)
-------------------------------------------------------
AttrID CurValue HisValue LastPointValue
3 0 0 0
4 0 0 0
5 0 0 0
6 0 0 0
7 0 0 0
8 0 0 0
-------------------------------------------------------
Instance ID(0x0087), Interval end time(5), Time(1442963825)
-------------------------------------------------------
AttrID CurValue HisValue LastPointValue
3 0 0 0
4 0 0 0
5 0 0 0
6 0 0 0
7 16 0 16
8 0 0 0
-------------------------------------------------------
Instance ID(0x0fff), Interval end time(5), Time(1442963825)
-------------------------------------------------------
AttrID CurValue HisValue LastPointValue
3 0 0 0
4 0 0 0
5 821894 138156 821894
6 22424221 3769575 22424221
7 0 0 0
8 0 0 0
-------------------------------------------------------
Instance ID(0x0ffe), Interval end time(5), Time(1442963825)
-------------------------------------------------------
AttrID CurValue HisValue LastPointValue
3 0 0 0
4 0 0 0
5 72 15 72
6 99 21 99
7 0 0 0
8 0 0 0
-------------------------------------------------------
-------------------------------------------------------
Me(341)(GEM Port CTP PM History Data) has 10 instances
-------------------------------------------------------
Instance ID(0x0080), Interval end time(5), Time(1442963825)
-------------------------------------------------------
AttrID CurValue HisValue LastPointValue
3 604 42 604
4 0 0 0
5 0 0 0
6 965 55 965
7 0 0 0
-------------------------------------------------------
Instance ID(0x0081), Interval end time(5), Time(1442963825)
-------------------------------------------------------
AttrID CurValue HisValue LastPointValue
3 175 0 175
4 0 0 0
5 0 0 0
6 245 0 245
7 0 0 0
-------------------------------------------------------
Instance ID(0x0082), Interval end time(5), Time(1442963825)
-------------------------------------------------------
AttrID CurValue HisValue LastPointValue
3 0 0 0
4 0 0 0
5 0 0 0
6 0 0 0
7 0 0 0
-------------------------------------------------------
Instance ID(0x0083), Interval end time(5), Time(1442963825)
-------------------------------------------------------
AttrID CurValue HisValue LastPointValue
3 0 0 0
4 0 0 0
5 0 0 0
6 0 0 0
7 0 0 0
-------------------------------------------------------
Instance ID(0x0084), Interval end time(5), Time(1442963825)
-------------------------------------------------------
AttrID CurValue HisValue LastPointValue
3 295 0 295
4 0 0 0
5 0 0 0
6 600 0 600
7 0 0 0
-------------------------------------------------------
Instance ID(0x0085), Interval end time(5), Time(1442963825)
-------------------------------------------------------
AttrID CurValue HisValue LastPointValue
3 0 0 0
4 0 0 0
5 0 0 0
6 0 0 0
7 0 0 0
-------------------------------------------------------
Instance ID(0x0086), Interval end time(5), Time(1442963825)
-------------------------------------------------------
AttrID CurValue HisValue LastPointValue
3 0 0 0
4 0 0 0
5 0 0 0
6 0 0 0
7 0 0 0
-------------------------------------------------------
Instance ID(0x0087), Interval end time(5), Time(1442963825)
-------------------------------------------------------
AttrID CurValue HisValue LastPointValue
3 6 0 6
4 0 0 0
5 0 0 0
6 16 0 16
7 0 0 0
-------------------------------------------------------
Instance ID(0x0fff), Interval end time(5), Time(1442963825)
-------------------------------------------------------
AttrID CurValue HisValue LastPointValue
3 0 0 0
4 821894 138156 821894
5 22424221 3769575 22424221
6 0 0 0
7 0 0 0
-------------------------------------------------------
Instance ID(0x0ffe), Interval end time(5), Time(1442963825)
-------------------------------------------------------
AttrID CurValue HisValue LastPointValue
3 0 0 0
4 72 15 72
5 99 21 99
6 0 0 0
7 0 0 0
-------------------------------------------------------
Me(312)(FEC PM history data) doesn't create any instance!

Me(24)(Ethernet PM History Data) doesn't create any instance!

Me(89)(Ethernet PM History Data2) doesn't create any instance!

Me(296)(Ethernet PM3 history data) doesn't create any instance!

Me(351)(Ethernet PM4 history data) doesn't create any instance!

-------------------------------------------------------
Me(321)(Ethernet PM downstream) has 4 instances
-------------------------------------------------------
Instance ID(0x0101), Interval end time(5), Time(1442963825)
-------------------------------------------------------
AttrID CurValue HisValue LastPointValue
3 0 0 0
4 5663016 170951 5663016
5 8711 784 8711
6 166 73 166
7 1652 669 1652
8 0 0 0
9 0 0 0
10 0 0 0
11 1844 17 1844
12 2214 342 2214
13 990 273 990
14 87 35 87
15 330 117 330
16 3246 0 3246
-------------------------------------------------------
Instance ID(0x0102), Interval end time(5), Time(1442963825)
-------------------------------------------------------
AttrID CurValue HisValue LastPointValue
3 0 0 0
4 7902472 1176845 7902472
5 32454 4155 32454
6 1119 36 1119
7 1547 218 1547
8 0 0 0
9 0 0 0
10 0 0 0
11 9759 1018 9759
12 14777 1669 14777
13 991 161 991
14 3550 893 3550
15 495 31 495
16 2882 383 2882
-------------------------------------------------------
Instance ID(0x0103), Interval end time(5), Time(1442963825)
-------------------------------------------------------
AttrID CurValue HisValue LastPointValue
3 0 0 0
4 2488094 148173 2488094
5 9083 616 9083
6 2442 109 2442
7 6641 507 6641
8 0 0 0
9 0 0 0
10 0 0 0
11 319 47 319
12 4031 136 4031
13 1526 301 1526
14 797 33 797
15 2266 99 2266
16 144 0 144
-------------------------------------------------------
Instance ID(0x0104), Interval end time(5), Time(1442963825)
-------------------------------------------------------
AttrID CurValue HisValue LastPointValue
3 0 0 0
4 64 0 64
5 1 0 1
6 0 0 0
7 1 0 1
8 0 0 0
9 0 0 0
10 0 0 0
11 1 0 1
12 0 0 0
13 0 0 0
14 0 0 0
15 0 0 0
16 0 0 0
-------------------------------------------------------
-------------------------------------------------------
Me(322)(Ethernet PM upstream) has 4 instances
-------------------------------------------------------
Instance ID(0x0101), Interval end time(5), Time(1442963825)
-------------------------------------------------------
AttrID CurValue HisValue LastPointValue
3 0 0 0
4 683299 16476 683299
5 6154 215 6154
6 1013 172 1013
7 278 28 278
8 0 0 0
9 0 0 0
10 0 0 0
11 4822 187 4822
12 605 0 605
13 198 28 198
14 23 0 23
15 505 0 505
16 1 0 1
-------------------------------------------------------
Instance ID(0x0102), Interval end time(5), Time(1442963825)
-------------------------------------------------------
AttrID CurValue HisValue LastPointValue
3 0 0 0
4 18133493 1766460 18133493
5 37153 4357 37153
6 2195 73 2195
7 6842 479 6842
8 0 0 0
9 0 0 0
10 0 0 0
11 7877 1689 7877
12 11037 926 11037
13 2012 348 2012
14 3743 298 3743
15 4318 280 4318
16 8166 816 8166
-------------------------------------------------------
Instance ID(0x0103), Interval end time(5), Time(1442963825)
-------------------------------------------------------
AttrID CurValue HisValue LastPointValue
3 0 0 0
4 0 0 0
5 0 0 0
6 0 0 0
7 0 0 0
8 0 0 0
9 0 0 0
10 0 0 0
11 0 0 0
12 0 0 0
13 0 0 0
14 0 0 0
15 0 0 0
16 0 0 0
-------------------------------------------------------
Instance ID(0x0104), Interval end time(5), Time(1442963825)
-------------------------------------------------------
AttrID CurValue HisValue LastPointValue
3 0 0 0
4 0 0 0
5 0 0 0
6 0 0 0
7 0 0 0
8 0 0 0
9 0 0 0
10 0 0 0
11 0 0 0
12 0 0 0
13 0 0 0
14 0 0 0
15 0 0 0
16 0 0 0
-------------------------------------------------------
Me(334)(Ethernet frame extended PM) doesn't create any instance!

Me(52)(MAC Bridge Port PM History Data) doesn't create any instance!

Me(51)(MAC Bridge PM History Data) doesn't create any instance!

Me(140)(Call control PM history data) doesn't create any instance!

Me(144)(RTP monitoring data) doesn't create any instance!

Me(151)(SIP agent monitoring data) doesn't create any instance!

Me(152)(SIP call initiation performance) doesn't create any instance!
也许是一场难圆的梦 一场没有结局的梦 多少的笑语飞散在风中 又围绕在我耳边
石光上林 wrote:
由於已經取得經國家...(恕刪)


經過一段時間,終於把一台BCM68380的ONU tune到可以取得OMCI之外的TCON ID和GEM port了,7342與7360均成功
(樓上那些是華為+海思CPU的)

徵求各一路局端ALU7342和ALU7360的電路協助測試,需要有ssh 或console介面(+遠端桌面)以供遠端抓取資料。

目前還在看是不是順序有錯,使得上層data穿不過去
感恩




另外補上I040GW本來的ME

omci:12> me
2 ONT_data[1]: 0x0(0)
5 Cardholder[3]: 0x180(384), 0x101(257), 0x103(259)
6 Circuit_pack[3]: 0x180(384), 0x101(257), 0x103(259)
7 Software_image[2]: 0x0(0), 0x1(1)
11 Pptp_Ethernet_UNI[5]: 0x101(257)-0x104(260), 0x107(263)
45 MAC_bridge_service_profile[1]: 0x301(769)
46 MAC_bridge_configuration_data[1]: 0x301(769)
47 MAC_bridge_port_configuration_data[10]: 0x301(769), 0x3102(12546), 0x310a(12554), 0x310b(12555), 0x3103(12547), 0xffe0(65504)-0xffe4(65508)
48 MAC_bridge_port_designation_data[10]: 0x301(769), 0x3102(12546), 0x310a(12554), 0x310b(12555), 0x3103(12547), 0xffe0(65504)-0xffe4(65508)
49 MAC_bridge_port_filter_table_data[10]: 0x301(769), 0x3102(12546), 0x310a(12554), 0x310b(12555), 0x3103(12547), 0xffe0(65504)-0xffe4(65508)
50 MAC_bridge_port_bridge_table_data[10]: 0x301(769), 0x3102(12546), 0x310a(12554), 0x310b(12555), 0x3103(12547), 0xffe0(65504)-0xffe4(65508)
79 MAC_bridge_port_filter_preassign_table[10]: 0x301(769), 0x3102(12546), 0x310a(12554), 0x310b(12555), 0x3103(12547), 0xffe0(65504)-0xffe4(65508)
84 VLAN_tagging_filter_data[4]: 0x3102(12546), 0x310a(12554), 0x310b(12555), 0x3103(12547)
130 802.1p_mapper_service_profile[2]: 0x3102(12546), 0x3103(12547)
131 OLT_G[1]: 0x0(0)
133 ONT_power_shedding[1]: 0x0(0)
134 IP_host_config_data[1]: 0x401(1025)
160 Equipment_extension_package[1]: 0x0(0)
171 Extended_VLAN_tagging_operation[1]: 0x301(769)
256 ONT_G[1]: 0x0(0)
257 ONT2_G[1]: 0x0(0)
262 T_CONT[32]: 0x8001(32769)-!0x8020(32800)
263 ANI_G[1]: 0x8001(32769)
264 UNI_G[4]: 0x1(1), 0x2(2), 0x201(513), 0x202(514)
266 GEM_IWTP[3]: 0x8001(32769), 0x7fe(2046), 0x8002(32770)
268 GEM_port_network_CTP[4]: 0x7ff(2047), 0x100(256), 0x7fe(2046), 0x102(258)
272 GAL_Ethernet_profile[1]: 0x1(1)
273 Threshold_data_1[1]: 0x0(0)
274 Threshold_data_2[1]: 0x0(0)
277 Priority_queue_G[216]: 0x8001(32769)-0x8080(32896), 0x81(129)-0xd8(216)
278 Traffic_scheduler_G[256]: 0x8001(32769)-0x80db(32987), 0x80cc(32972), 0x80dd(32989)-0x8100(33024)
281 Multicast_GEM_IWTP[1]: 0x1(1)
287 OMCI[1]: 0x0(0)
288 Managed_entity[1]: 0x0(0)
289 Attribute[1]: 0x0(0)
301 Dot1ag_default_MD_level[3]: 0x301(769), 0x3102(12546), 0x3103(12547)
305 Dot1ag_CFM_stack[3]: 0x301(769), 0x3102(12546), 0x3103(12547)
306 Dot1ag_chassis_management_info[1]: 0x0(0)
309 Multicast_operations_profile[1]: 0x301(769)
310 Multicast_subscriber_config_info[1]: 0x301(769)
329 Virtual_Ethernet_interface_point[1]: 0x301(769)
340 BBF_TR-069_management_server[1]: 0x1(1)
401 Downstream_pseudo_obj[1]: 0x0(0)
402 Upstream_pseudo_obj[1]: 0x0(0)
403 Inbound_pseudo_obj[1]: 0x0(0)
404 Outbound_pseudo_obj[1]: 0x0(0)
413 Internal_pptp_ethernet_uni[7]: 0x0(0)-0x6(6)
414 Internal_software_image[2]: 0x0(0), 0x1(1)
421 Internal_gemport[128]: 0x0(0)-0x7f(127)
422 Internal_bridge_port[80]: 0x0(0)-0x4f(79)
65281 ONT_Aggregate_GEM_Port_PM[1]: 0x0(0)
65295 ONT_Optical_Supervision_Status[1]: 0x8001(32769)
65296 ONT_Generic_V2[1]: 0x0(0)
65297 UNI_Supplemental_1_V2[6]: 0x101(257)-0x104(260), 0x107(263), 0x301(769)
65301 IP/MAC/VLAN_Address_Anti-Spoof_List_V2[6]: 0x101(257)-0x104(260), 0x107(263), 0x301(769)
65302 Non-ALU_ONT_Generic_1[1]: 0x0(0)
65304 NTP_Configuration_V2_ME[1]: 0x0(0)
65305 Downstream_VLAN_Tag_Egress_Behavior_Supplemental_1[6]: 0x101(257)-0x104(260), 0x107(263), 0x301(769)
65306 Upstream_VLAN_Tag_Policer[6]: 0x101(257)-0x104(260), 0x107(263), 0x301(769)
65308 Dot3ah_EFM_Local_Config_Data[6]: 0x101(257)-0x104(260), 0x107(263), 0x301(769)
65309 Dot3ah_EFM_Remote_Config_Data[6]: 0x101(257)-0x104(260), 0x107(263), 0x301(769)
65310 Dot3ah_EFM_Local_Statistics[6]: 0x101(257)-0x104(260), 0x107(263), 0x301(769)
65312 ANI-G_Supplemental_1[1]: 0x8001(32769)
65529 ONU_capability[1]: 0x0(0)
65530 LOID_authentication[1]: 0x0(0)
total class: 65, total me: 884
omci:13> me check
WARN: 47 MAC_bridge_port_configuration_data: 0x301(769)@11(Outbound_TD_pointer): 0xffff(65535)
WARN: 47 MAC_bridge_port_configuration_data: 0x301(769)@12(Inbound_TD_pointer): 0xffff(65535)
WARN: 47 MAC_bridge_port_configuration_data: 0x3102(12546)@11(Outbound_TD_pointer): 0xffff(65535)
WARN: 47 MAC_bridge_port_configuration_data: 0x3102(12546)@12(Inbound_TD_pointer): 0xffff(65535)
WARN: 47 MAC_bridge_port_configuration_data: 0x310a(12554)@11(Outbound_TD_pointer): 0xffff(65535)
WARN: 47 MAC_bridge_port_configuration_data: 0x310a(12554)@12(Inbound_TD_pointer): 0xffff(65535)
WARN: 47 MAC_bridge_port_configuration_data: 0x310b(12555)@11(Outbound_TD_pointer): 0xffff(65535)
WARN: 47 MAC_bridge_port_configuration_data: 0x310b(12555)@12(Inbound_TD_pointer): 0xffff(65535)
WARN: 47 MAC_bridge_port_configuration_data: 0x3103(12547)@11(Outbound_TD_pointer): 0xffff(65535)
WARN: 47 MAC_bridge_port_configuration_data: 0x3103(12547)@12(Inbound_TD_pointer): 0xffff(65535)
WARN: 257 ONT2_G: 0x0(0)@2(OMCC_version): 0xa1(161)
WARN: 268 GEM_port_network_CTP: 0x7ff(2047)@2(T_CONT_pointer): 0x0(0)
WARN: 268 GEM_port_network_CTP: 0x7ff(2047)@4(Traffic_management_pointer_for_upstream): 0x0(0)
WARN: 268 GEM_port_network_CTP: 0x7ff(2047)@5(Traffic_descriptor_profile_pointer): 0x0(0)
WARN: 268 GEM_port_network_CTP: 0x7ff(2047)@7(Priority_queue_pointer_for_downstream): 0x0(0)
WARN: 268 GEM_port_network_CTP: 0x7ff(2047)@9(Traffic_descriptor_profile_pointer_for_downstream): 0x0(0)
WARN: 268 GEM_port_network_CTP: 0x100(256)@5(Traffic_descriptor_profile_pointer): 0x0(0)
WARN: 268 GEM_port_network_CTP: 0x100(256)@7(Priority_queue_pointer_for_downstream): 0x0(0)
WARN: 268 GEM_port_network_CTP: 0x100(256)@9(Traffic_descriptor_profile_pointer_for_downstream): 0x0(0)
WARN: 268 GEM_port_network_CTP: 0x7fe(2046)@2(T_CONT_pointer): 0x0(0)
WARN: 268 GEM_port_network_CTP: 0x7fe(2046)@4(Traffic_management_pointer_for_upstream): 0x0(0)
WARN: 268 GEM_port_network_CTP: 0x7fe(2046)@5(Traffic_descriptor_profile_pointer): 0x0(0)
WARN: 268 GEM_port_network_CTP: 0x7fe(2046)@7(Priority_queue_pointer_for_downstream): 0x0(0)
WARN: 268 GEM_port_network_CTP: 0x7fe(2046)@9(Traffic_descriptor_profile_pointer_for_downstream): 0x0(0)
WARN: 268 GEM_port_network_CTP: 0x102(258)@5(Traffic_descriptor_profile_pointer): 0x0(0)
WARN: 268 GEM_port_network_CTP: 0x102(258)@7(Priority_queue_pointer_for_downstream): 0x0(0)
WARN: 268 GEM_port_network_CTP: 0x102(258)@9(Traffic_descriptor_profile_pointer_for_downstream): 0x0(0)
WARN: 278 Traffic_scheduler_G: 0x8001(32769)@2(Traffic_scheduler_pointer): 0x0(0)
WARN: 278 Traffic_scheduler_G: 0x8002(32770)@2(Traffic_scheduler_pointer): 0x0(0)
WARN: 278 Traffic_scheduler_G: 0x8003(32771)@2(Traffic_scheduler_pointer): 0x0(0)
WARN: 278 Traffic_scheduler_G: 0x8004(32772)@2(Traffic_scheduler_pointer): 0x0(0)
WARN: 278 Traffic_scheduler_G: 0x8005(32773)@2(Traffic_scheduler_pointer): 0x0(0)
WARN: 278 Traffic_scheduler_G: 0x8006(32774)@2(Traffic_scheduler_pointer): 0x0(0)
WARN: 278 Traffic_scheduler_G: 0x8007(32775)@2(Traffic_scheduler_pointer): 0x0(0)
WARN: 278 Traffic_scheduler_G: 0x8008(32776)@2(Traffic_scheduler_pointer): 0x0(0)
WARN: 278 Traffic_scheduler_G: 0x8009(32777)@2(Traffic_scheduler_pointer): 0x0(0)
WARN: 278 Traffic_scheduler_G: 0x800a(32778)@2(Traffic_scheduler_pointer): 0x0(0)
WARN: 278 Traffic_scheduler_G: 0x800b(32779)@2(Traffic_scheduler_pointer): 0x0(0)
WARN: 278 Traffic_scheduler_G: 0x800c(32780)@2(Traffic_scheduler_pointer): 0x0(0)
WARN: 278 Traffic_scheduler_G: 0x800d(32781)@2(Traffic_scheduler_pointer): 0x0(0)
WARN: 278 Traffic_scheduler_G: 0x800e(32782)@2(Traffic_scheduler_pointer): 0x0(0)
WARN: 278 Traffic_scheduler_G: 0x800f(32783)@2(Traffic_scheduler_pointer): 0x0(0)
WARN: 278 Traffic_scheduler_G: 0x8010(32784)@2(Traffic_scheduler_pointer): 0x0(0)
WARN: 278 Traffic_scheduler_G: 0x8011(32785)@2(Traffic_scheduler_pointer): 0x0(0)
WARN: 278 Traffic_scheduler_G: 0x8012(32786)@2(Traffic_scheduler_pointer): 0x0(0)
WARN: 278 Traffic_scheduler_G: 0x8013(32787)@2(Traffic_scheduler_pointer): 0x0(0)
WARN: 278 Traffic_scheduler_G: 0x8014(32788)@2(Traffic_scheduler_pointer): 0x0(0)
WARN: 278 Traffic_scheduler_G: 0x8015(32789)@2(Traffic_scheduler_pointer): 0x0(0)
WARN: 278 Traffic_scheduler_G: 0x8016(32790)@2(Traffic_scheduler_pointer): 0x0(0)
WARN: 278 Traffic_scheduler_G: 0x8017(32791)@2(Traffic_scheduler_pointer): 0x0(0)
WARN: 278 Traffic_scheduler_G: 0x8018(32792)@2(Traffic_scheduler_pointer): 0x0(0)
WARN: 278 Traffic_scheduler_G: 0x8019(32793)@2(Traffic_scheduler_pointer): 0x0(0)
WARN: 278 Traffic_scheduler_G: 0x801a(32794)@2(Traffic_scheduler_pointer): 0x0(0)
WARN: 278 Traffic_scheduler_G: 0x801b(32795)@2(Traffic_scheduler_pointer): 0x0(0)
WARN: 278 Traffic_scheduler_G: 0x801c(32796)@2(Traffic_scheduler_pointer): 0x0(0)
WARN: 278 Traffic_scheduler_G: 0x801d(32797)@2(Traffic_scheduler_pointer): 0x0(0)
WARN: 278 Traffic_scheduler_G: 0x801e(32798)@2(Traffic_scheduler_pointer): 0x0(0)
WARN: 278 Traffic_scheduler_G: 0x801f(32799)@2(Traffic_scheduler_pointer): 0x0(0)
WARN: 278 Traffic_scheduler_G: 0x8020(32800)@2(Traffic_scheduler_pointer): 0x0(0)
WARN: 278 Traffic_scheduler_G: 0x8021(32801)@2(Traffic_scheduler_pointer): 0x0(0)
WARN: 278 Traffic_scheduler_G: 0x8022(32802)@2(Traffic_scheduler_pointer): 0x0(0)
WARN: 278 Traffic_scheduler_G: 0x8023(32803)@2(Traffic_scheduler_pointer): 0x0(0)
WARN: 278 Traffic_scheduler_G: 0x8024(32804)@2(Traffic_scheduler_pointer): 0x0(0)
WARN: 278 Traffic_scheduler_G: 0x8025(32805)@2(Traffic_scheduler_pointer): 0x0(0)
WARN: 278 Traffic_scheduler_G: 0x8026(32806)@2(Traffic_scheduler_pointer): 0x0(0)
WARN: 278 Traffic_scheduler_G: 0x8027(32807)@2(Traffic_scheduler_pointer): 0x0(0)
WARN: 278 Traffic_scheduler_G: 0x8028(32808)@2(Traffic_scheduler_pointer): 0x0(0)
WARN: 278 Traffic_scheduler_G: 0x8029(32809)@2(Traffic_scheduler_pointer): 0x0(0)
WARN: 278 Traffic_scheduler_G: 0x802a(32810)@2(Traffic_scheduler_pointer): 0x0(0)
WARN: 278 Traffic_scheduler_G: 0x802b(32811)@2(Traffic_scheduler_pointer): 0x0(0)
WARN: 278 Traffic_scheduler_G: 0x802c(32812)@2(Traffic_scheduler_pointer): 0x0(0)
WARN: 278 Traffic_scheduler_G: 0x802d(32813)@2(Traffic_scheduler_pointer): 0x0(0)
WARN: 278 Traffic_scheduler_G: 0x802e(32814)@2(Traffic_scheduler_pointer): 0x0(0)
WARN: 278 Traffic_scheduler_G: WARN: 65281 ONT_Aggregate_GEM_Port_PM: 0x0(0)@2(Threshold_data_1/2_id): 0xffff(65535)
WARN: 65309 Dot3ah_EFM_Remote_Config_Data: 0x101(257)@5(Peer_Entity_Max_Pdu_Size): 0x0(0)
WARN: 65309 Dot3ah_EFM_Remote_Config_Data: 0x102(258)@5(Peer_Entity_Max_Pdu_Size): 0x0(0)
WARN: 65309 Dot3ah_EFM_Remote_Config_Data: 0x103(259)@5(Peer_Entity_Max_Pdu_Size): 0x0(0)
WARN: 65309 Dot3ah_EFM_Remote_Config_Data: 0x104(260)@5(Peer_Entity_Max_Pdu_Size): 0x0(0)
WARN: 65309 Dot3ah_EFM_Remote_Config_Data: 0x107(263)@5(Peer_Entity_Max_Pdu_Size): 0x0(0)
WARN: 65309 Dot3ah_EFM_Remote_Config_Data: 0x301(769)@5(Peer_Entity_Max_Pdu_Size): 0x0(0)
me chekced:884, attr valid:6521, warning:302, invalid:1
也许是一场难圆的梦 一场没有结局的梦 多少的笑语飞散在风中 又围绕在我耳边
好東西不能沉了
我家也是光纖
如何確認是ALU7342和ALU7360的電路協助測試?

話說學校光纖就可以用SFP進線
那代表中華是有可以開放自備ONU阿
只是看你繳的錢多不多
http://k12cc.tw/tools/page/show_page.php?page_url=/Site/gotanet/Meetings/dir_XKNYNz/file_SevfPU.pdf&mode=download

中華就是欠電
MOD 100M的到現在還是不多開頻寬
說是技術問題
那FTTH供裝的100M總能多開吧
原因很簡單 就是100M的腳本只寫了一套
所以沒有去區分VDSL還是FTTH
其他頻寬都有多開 就當100M白癡

PING會飄來飄去也是阿
同一條線路設備都沒更動的情況下
你把速率換到雙向100M以上的就不會飆了
原因是什麼?
又是研究所故意本身設定寫爛
阻礙台灣進步的元兇
yuan0715 wrote:
好東西不能沉了我家...(恕刪)


已經在今天成功與ALU7360互通了

版本為BROADCOM BCM68380 SDK 4.14L05
所以如果是新的BCM68480應該也可以互通

有興趣可以上通信人家園,找業者訂購BROADCOM GPON解決方案


其中得關鍵還是中華電信的版本管控,其稱為自動升級

ALCATEL系統只要版本管控以外的版本ONU上線,就不會派發GEM和TCONT


北分的線為中心裝成蟲,不同意解除版本管控,使得用戶無法依照電信自由化精神自備終端
實在是有違民主法治的精神
也许是一场难圆的梦 一场没有结局的梦 多少的笑语飞散在风中 又围绕在我耳边
yuan0715 wrote:
好東西不能沉了我家...(恕刪)


upstream trace
大略解釋: veip0是我在UI建立給HGU的service,可見為一條pppoe和vlan 4082

gpon0.0是局端service profile建立的服務和vlan,以及轉換方式
可見為一條vlan 4082,將set成43(2B),priority 0
另外兩條是給0x8863 0x8864走的VLAN 0(untag),將set成43(2B),priority 0

gpon0是局端line profile建立的gem port mapping,因為只有vlan 43沒有指定pbit,所以建立8個rule 根據所有priority
可見每一條vlan 43都被設定成同一個gem port index 2(從bs /b/e gem看出是index2是256)和同一個priority 7(最低)

# vlanctl --if veip0 --tx --tags 0 --show-table

VLAN Rule Table : veip0, Tx, nbrOfTags 0, default DROP

--------------------------------------------------------------------------------
===> veip0 (RG) : TX, 0 tag(s)
Tag Rule ID : 0
Rx VLAN Device : DEFAULT

Filters
Rx REALIF :
Tx VLANIF : veip0.1

Commands
00:[PUSH_TAG, 0x00008100, 0x00000001]
01:[SET_VID, 0x00000FF2, 0x00000000]
02:[SET_PBITS, 0x00000000, 0x00000000]
03:[SET_ETHERTYPE, 0x00000000, 0x00000000]

Rule Type : Flow
Hit Count : 1153

--------------------------------------------------------------------------------
# vlanctl --if gpon0.0 --tx --tags 1 --show-table

VLAN Rule Table : gpon0.0, Tx, nbrOfTags 1, default DROP

--------------------------------------------------------------------------------
===> gpon0.0 (ONT) : TX, 1 tag(s)
Tag Rule ID : 0
Rx VLAN Device : DEFAULT

Filters
Rx REALIF :
Tx VLANIF : veip0
EtherType : 0x00008100
VLAN Tag 0 : pbits -, cfi -, vid 4082, (tci 0x0FFF/0x0FF2), ether -

Commands
00:[SET_PBITS, 0x00000000, 0x00000000]
01:[SET_VID, 0x0000002B, 0x00000000]

Rule Type : Flow
Hit Count : 1179

--------------------------------------------------------------------------------
===> gpon0.0 (ONT) : TX, 1 tag(s)
Tag Rule ID : 1
Rx VLAN Device : DEFAULT

Filters
Rx REALIF :
Tx VLANIF : veip0
EtherType : 0x00008100
VLAN Tag 0 : pbits -, cfi -, vid 0, (tci 0x0FFF/0x0000), ether 0x00008863

Commands
00:[SET_PBITS, 0x00000000, 0x00000000]
01:[SET_VID, 0x0000002B, 0x00000000]

Rule Type : Flow
Hit Count : 0

--------------------------------------------------------------------------------
===> gpon0.0 (ONT) : TX, 1 tag(s)
Tag Rule ID : 2
Rx VLAN Device : DEFAULT

Filters
Rx REALIF :
Tx VLANIF : veip0
EtherType : 0x00008100
VLAN Tag 0 : pbits -, cfi -, vid 0, (tci 0x0FFF/0x0000), ether 0x00008864

Commands
00:[SET_PBITS, 0x00000000, 0x00000000]
01:[SET_VID, 0x0000002B, 0x00000000]

Rule Type : Flow
Hit Count : 0

--------------------------------------------------------------------------------
# vlanctl --if gpon0 --tx --tags 1 --show-table

VLAN Rule Table : gpon0, Tx, nbrOfTags 1, default DROP

--------------------------------------------------------------------------------
===> gpon0 (ONT) : TX, 1 tag(s)
Tag Rule ID : 0
Rx VLAN Device : DEFAULT

Filters
Rx REALIF :
Tx VLANIF : gpon0.0
VLAN Tag 0 : pbits 0, cfi 0, vid 43, (tci 0xFFFF/0x002B), ether -

Commands
00:[SET_SKB_MARK_PORT, 0x00000002, 0x00000000]
01:[SET_SKB_MARK_QUEUE, 0x00000007, 0x00000000]

Rule Type : Flow
Hit Count : 1196

--------------------------------------------------------------------------------
===> gpon0 (ONT) : TX, 1 tag(s)
Tag Rule ID : 1
Rx VLAN Device : DEFAULT

Filters
Rx REALIF :
Tx VLANIF : gpon0.0
VLAN Tag 0 : pbits 1, cfi 0, vid 43, (tci 0xFFFF/0x202B), ether -

Commands
00:[SET_SKB_MARK_PORT, 0x00000002, 0x00000000]
01:[SET_SKB_MARK_QUEUE, 0x00000007, 0x00000000]

Rule Type : Flow
Hit Count : 0

--------------------------------------------------------------------------------
===> gpon0 (ONT) : TX, 1 tag(s)
Tag Rule ID : 2
Rx VLAN Device : DEFAULT

Filters
Rx REALIF :
Tx VLANIF : gpon0.0
VLAN Tag 0 : pbits 2, cfi 0, vid 43, (tci 0xFFFF/0x402B), ether -

Commands
00:[SET_SKB_MARK_PORT, 0x00000002, 0x00000000]
01:[SET_SKB_MARK_QUEUE, 0x00000007, 0x00000000]

Rule Type : Flow
Hit Count : 0

--------------------------------------------------------------------------------
===> gpon0 (ONT) : TX, 1 tag(s)
Tag Rule ID : 3
Rx VLAN Device : DEFAULT

Filters
Rx REALIF :
Tx VLANIF : gpon0.0
VLAN Tag 0 : pbits 3, cfi 0, vid 43, (tci 0xFFFF/0x602B), ether -

Commands
00:[SET_SKB_MARK_PORT, 0x00000002, 0x00000000]
01:[SET_SKB_MARK_QUEUE, 0x00000007, 0x00000000]

Rule Type : Flow
Hit Count : 0

--------------------------------------------------------------------------------
===> gpon0 (ONT) : TX, 1 tag(s)
Tag Rule ID : 4
Rx VLAN Device : DEFAULT

Filters
Rx REALIF :
Tx VLANIF : gpon0.0
VLAN Tag 0 : pbits 4, cfi 0, vid 43, (tci 0xFFFF/0x802B), ether -

Commands
00:[SET_SKB_MARK_PORT, 0x00000002, 0x00000000]
01:[SET_SKB_MARK_QUEUE, 0x00000007, 0x00000000]

Rule Type : Flow
Hit Count : 0

--------------------------------------------------------------------------------
===> gpon0 (ONT) : TX, 1 tag(s)
Tag Rule ID : 5
Rx VLAN Device : DEFAULT

Filters
Rx REALIF :
Tx VLANIF : gpon0.0
VLAN Tag 0 : pbits 5, cfi 0, vid 43, (tci 0xFFFF/0xA02B), ether -

Commands
00:[SET_SKB_MARK_PORT, 0x00000002, 0x00000000]
01:[SET_SKB_MARK_QUEUE, 0x00000007, 0x00000000]

Rule Type : Flow
Hit Count : 0

--------------------------------------------------------------------------------
===> gpon0 (ONT) : TX, 1 tag(s)
Tag Rule ID : 6
Rx VLAN Device : DEFAULT

Filters
Rx REALIF :
Tx VLANIF : gpon0.0
VLAN Tag 0 : pbits 6, cfi 0, vid 43, (tci 0xFFFF/0xC02B), ether -

Commands
00:[SET_SKB_MARK_PORT, 0x00000002, 0x00000000]
01:[SET_SKB_MARK_QUEUE, 0x00000007, 0x00000000]

Rule Type : Flow
Hit Count : 0

--------------------------------------------------------------------------------
===> gpon0 (ONT) : TX, 1 tag(s)
Tag Rule ID : 7
Rx VLAN Device : DEFAULT

Filters
Rx REALIF :
Tx VLANIF : gpon0.0
VLAN Tag 0 : pbits 7, cfi 0, vid 43, (tci 0xFFFF/0xE02B), ether -

Commands
00:[SET_SKB_MARK_PORT, 0x00000002, 0x00000000]
01:[SET_SKB_MARK_QUEUE, 0x00000007, 0x00000000]

Rule Type : Flow
Hit Count : 0

--------------------------------------------------------------------------------
-----------
也许是一场难圆的梦 一场没有结局的梦 多少的笑语飞散在风中 又围绕在我耳边
yuan0715 wrote:
好東西不能沉了我家...(恕刪)


downstream trace


大略解釋:

gpon0是局端line profile建立的gem port mapping,因為只有vlan 43沒有指定pbit,所以建立8個rule 根據所有priority
可見每一條從gem port index 2(從bs /b/e gem看出是index2是256)出來的vlan 43包含priority,都不經過修改NOP

gpon0.0是局端service profile建立的服務和vlan,以及轉換方式
可見為一條vlan 43,將set成4082(0xFF2),vlan的eth type 0x8100,priority 不動作
另外兩條是給vlan 43,將set成untag
###這邊我覺得有很大的問題,何以filter都依樣?? 這樣如何識別走哪個rule?

veip0是我在UI建立給HGU的service,可見為一條將vlan 4082 untag

# vlanctl --if gpon0 --rx --tags 1 --show-table

VLAN Rule Table : gpon0, Rx, nbrOfTags 1, default DROP

--------------------------------------------------------------------------------
===> gpon0 (ONT) : RX, 1 tag(s)
Tag Rule ID : 0
Rx VLAN Device : gpon0.0

Filters
VlanDev MacAddr : No
SKB : priority -, mark->flowId -, mark->port 2
VLAN Tag 0 : pbits 0, cfi 0, vid 43, (tci 0xFFFF/0x002B), ether -

Commands
00:[NOP, 0x00000000, 0x00000000]

Rule Type : Flow
Hit Count : 4450

--------------------------------------------------------------------------------
===> gpon0 (ONT) : RX, 1 tag(s)
Tag Rule ID : 1
Rx VLAN Device : gpon0.0

Filters
VlanDev MacAddr : No
SKB : priority -, mark->flowId -, mark->port 2
VLAN Tag 0 : pbits 1, cfi 0, vid 43, (tci 0xFFFF/0x202B), ether -

Commands
00:[NOP, 0x00000000, 0x00000000]

Rule Type : Flow
Hit Count : 0

--------------------------------------------------------------------------------
===> gpon0 (ONT) : RX, 1 tag(s)
Tag Rule ID : 2
Rx VLAN Device : gpon0.0

Filters
VlanDev MacAddr : No
SKB : priority -, mark->flowId -, mark->port 2
VLAN Tag 0 : pbits 2, cfi 0, vid 43, (tci 0xFFFF/0x402B), ether -

Commands
00:[NOP, 0x00000000, 0x00000000]

Rule Type : Flow
Hit Count : 0

--------------------------------------------------------------------------------
===> gpon0 (ONT) : RX, 1 tag(s)
Tag Rule ID : 3
Rx VLAN Device : gpon0.0

Filters
VlanDev MacAddr : No
SKB : priority -, mark->flowId -, mark->port 2
VLAN Tag 0 : pbits 3, cfi 0, vid 43, (tci 0xFFFF/0x602B), ether -

Commands
00:[NOP, 0x00000000, 0x00000000]

Rule Type : Flow
Hit Count : 0

--------------------------------------------------------------------------------
===> gpon0 (ONT) : RX, 1 tag(s)
Tag Rule ID : 4
Rx VLAN Device : gpon0.0

Filters
VlanDev MacAddr : No
SKB : priority -, mark->flowId -, mark->port 2
VLAN Tag 0 : pbits 4, cfi 0, vid 43, (tci 0xFFFF/0x802B), ether -

Commands
00:[NOP, 0x00000000, 0x00000000]

Rule Type : Flow
Hit Count : 0

--------------------------------------------------------------------------------
===> gpon0 (ONT) : RX, 1 tag(s)
Tag Rule ID : 5
Rx VLAN Device : gpon0.0

Filters
VlanDev MacAddr : No
SKB : priority -, mark->flowId -, mark->port 2
VLAN Tag 0 : pbits 5, cfi 0, vid 43, (tci 0xFFFF/0xA02B), ether -

Commands
00:[NOP, 0x00000000, 0x00000000]

Rule Type : Flow
Hit Count : 0

--------------------------------------------------------------------------------
===> gpon0 (ONT) : RX, 1 tag(s)
Tag Rule ID : 6
Rx VLAN Device : gpon0.0

Filters
VlanDev MacAddr : No
SKB : priority -, mark->flowId -, mark->port 2
VLAN Tag 0 : pbits 6, cfi 0, vid 43, (tci 0xFFFF/0xC02B), ether -

Commands
00:[NOP, 0x00000000, 0x00000000]

Rule Type : Flow
Hit Count : 0

--------------------------------------------------------------------------------
===> gpon0 (ONT) : RX, 1 tag(s)
Tag Rule ID : 7
Rx VLAN Device : gpon0.0

Filters
VlanDev MacAddr : No
SKB : priority -, mark->flowId -, mark->port 2
VLAN Tag 0 : pbits 7, cfi 0, vid 43, (tci 0xFFFF/0xE02B), ether -

Commands
00:[NOP, 0x00000000, 0x00000000]

Rule Type : Flow
Hit Count : 0

--------------------------------------------------------------------------------
# vlanctl --if gpon0.0 --rx --tags 1 --show-table

VLAN Rule Table : gpon0.0, Rx, nbrOfTags 1, default DROP

--------------------------------------------------------------------------------
===> gpon0.0 (ONT) : RX, 1 tag(s)
Tag Rule ID : 0
Rx VLAN Device : veip0

Filters
VlanDev MacAddr : No
VLAN Tag 0 : pbits 0, cfi -, vid 43, (tci 0xEFFF/0x002B), ether -

Commands
00:[SET_VID, 0x00000FF2, 0x00000000]
01:[SET_ETHERTYPE, 0x00008100, 0x00000000]

Rule Type : Flow
Hit Count : 4481

--------------------------------------------------------------------------------
===> gpon0.0 (ONT) : RX, 1 tag(s)
Tag Rule ID : 1
Rx VLAN Device : veip0

Filters
VlanDev MacAddr : No
VLAN Tag 0 : pbits 0, cfi -, vid 43, (tci 0xEFFF/0x002B), ether -

Commands
00:[POP_TAG, 0x00000000, 0x00000000]

Rule Type : Flow
Hit Count : 0

--------------------------------------------------------------------------------
===> gpon0.0 (ONT) : RX, 1 tag(s)
Tag Rule ID : 2
Rx VLAN Device : veip0

Filters
VlanDev MacAddr : No
VLAN Tag 0 : pbits 0, cfi -, vid 43, (tci 0xEFFF/0x002B), ether -

Commands
00:[POP_TAG, 0x00000000, 0x00000000]

Rule Type : Flow
Hit Count : 0

--------------------------------------------------------------------------------
===> gpon0.0 (ONT) : RX, 1 tag(s)
Tag Rule ID : 3
Rx VLAN Device : veip0

Filters
VlanDev MacAddr : No
VLAN Tag 0 : pbits 0, cfi -, vid 43, (tci 0xEFFF/0x002B), ether -

Commands
00:[SET_VID, 0x00000000, 0x00000000]
01:[SET_ETHERTYPE, 0x00008100, 0x00000000]

Rule Type : Flow
Hit Count : 0

--------------------------------------------------------------------------------
===> gpon0.0 (ONT) : RX, 1 tag(s)
Tag Rule ID : 4
Rx VLAN Device : veip0

Filters
VlanDev MacAddr : No
VLAN Tag 0 : pbits 0, cfi -, vid 43, (tci 0xEFFF/0x002B), ether -

Commands
00:[SET_VID, 0x00000000, 0x00000000]
01:[SET_ETHERTYPE, 0x00008100, 0x00000000]

Rule Type : Flow
Hit Count : 0

--------------------------------------------------------------------------------
# vlanctl --if veip0 --rx --tags 1 --show-table

VLAN Rule Table : veip0, Rx, nbrOfTags 1, default DROP

--------------------------------------------------------------------------------
===> veip0 (RG) : RX, 1 tag(s)
Tag Rule ID : 0
Rx VLAN Device : veip0.1

Filters
VlanDev MacAddr : No
VLAN Tag 0 : pbits -, cfi -, vid 4082, (tci 0x0FFF/0x0FF2), ether -

Commands
00:[POP_TAG, 0x00000000, 0x00000000]

Rule Type : Flow
Hit Count : 4513

--------------------------------------------------------------------------------
也许是一场难圆的梦 一场没有结局的梦 多少的笑语飞散在风中 又围绕在我耳边
yuan0715 wrote:
好東西不能沉了我家...(恕刪)


補上bs /b/e資訊

# bs /b/e gpon. Object type: gpon. Owned by: system
==============================
link_activate : activate_O1
link_cfg : {to1_timeout=20000,to2_timeout=100,ber_interval=1000,min_response_time=35,tx_data_polarity=active_low,dv_setup_pattern=0xfff,dv_hold_pattern=0xfff0,dv_polarity=active_high,power_calibration_mode=no,power_calibration_pattern=0xaaaaaaaa,power_calibration_size=256,rx_din_polarity=active_low,ber_threshold_for_sd_assertion=4,ber_threshold_for_sf_assertion=3,number_of_psyncs_for_lof_assertion=4,number_of_psyncs_for_lof_clear=1}
pon_link_state : {admin_state=active,sub_state=operational,link_operational_state=operational o5}
onu_id : 6
onu_sn : {vendor_id=0x414c434c,vendor_specific=0xf2b17591}
password :
user_ic : c1c47bbc
link_stat : {bip_errors=0,crc_errors=0,rx_ploam_onu_id=0,rx_broadcast_ploam=24951665,rx_unknown=0,tx_illegal_access=0,tx_idle_ploam=15987,tx_ploam=3111}
overhead_cfg : {overhead=ff[16],overhead_len=0,overhead_repetition=-86,overhead_repetition_len=54}
transceiver_power_level : 2
equalization_delay : 531430
encryption_key : 6399e741f398d76a524bd20ef0feb82b
tcont_counter_assigment : 0
ds_fec_state : no
fec_stat : {corrected_bytes=0,corrected_codewords=0,uncorrectable_codewords=0}
dba_interval : 2msec
prbs : {prbs_mode=alternate,us_cfg=disable,ds_comparator_cfg={cfg=no,status=no}}
rogue_onu : {enable=no,mode=tx_monitor,clock_cycle=0,gpio_pin=0}
gem_block_size : 48
gem_enable[{gem/index=2}] : yes
gem_enable[{gem/index=1}] : yes
gem_enable[{gem/index=0}] : yes
gem_ds_cfg[{tcont/index=1}] : {port=2047,discard_prty=low,encryption=no}
gem_ds_cfg[{tcont/index=0}] : {port=1,discard_prty=high,encryption=yes}
gem_encryption[{gem/index=2}] : yes
gem_encryption[{gem/index=1}] : no
gem_encryption[{gem/index=0}] : yes
tcont_alloc_id[{tcont/index=1}] : 256
tcont_alloc_id[{tcont/index=0}] : 6
tcont_assign_ploam_flag[{tcont/index=1}] : yes
tcont_assign_ploam_flag[{tcont/index=0}] : yes
tcont_stat[{tcont/index=1}] : {idle_gems=164778620,non_idle_gems=20320,packets=19605,valid_accesses=65535}
tcont_stat[{tcont/index=0}] : {idle_gems=32632550,non_idle_gems=1,packets=1,valid_accesses=65535}
#
# bs /b/e gem
Object: gem/index=2. Object type: gem. Owned by: system
==============================
index : 2
gem_port : 256
flow_type : ethernet
us_cfg : {tcont={tcont/index=1}}
ds_cfg : {discard_prty=low,destination=eth}
stat : {rx_packets=44,rx_bytes=5355,tx_packets=32,tx_bytes=4950,rx_packets_discard=0,tx_packets_discard=0}
accumulate_stat : {rx_packets=69907,rx_bytes=62741328,tx_packets=43517,tx_bytes=12882211,rx_packets_discard=54,tx_packets_discard=67}
Object: gem/index=1. Object type: gem. Owned by: system
==============================
index : 1
gem_port : 2047
flow_type : ethernet
us_cfg : {tcont=null}
ds_cfg : {discard_prty=low,destination=iptv}
stat : {rx_packets=0,rx_bytes=0,tx_packets=0,tx_bytes=0,rx_packets_discard=0,tx_packets_discard=0}
accumulate_stat : {rx_packets=0,rx_bytes=0,tx_packets=0,tx_bytes=0,rx_packets_discard=0,tx_packets_discard=0}
Object: gem/index=0. Object type: gem. Owned by: system
==============================
index : 0
gem_port : 1
flow_type : omci
us_cfg : {tcont={tcont/index=0}}
ds_cfg : {discard_prty=high,destination=omci}
stat : {rx_packets=0,rx_bytes=0,tx_packets=0,tx_bytes=0,rx_packets_discard=0,tx_packets_discard=0}
accumulate_stat : {rx_packets=672,rx_bytes=32256,tx_packets=672,tx_bytes=34944,rx_packets_discard=0,tx_packets_discard=0}
# bs /b/e tcont
Object: tcont/index=1. Object type: tcont. Owned by: system
==============================
index : 1
management : no
egress_tm : {egress_tm/dir=us,index=10}
enable : yes
orl_prty : low
Object: tcont/index=0. Object type: tcont. Owned by: system
==============================
index : 0
management : yes
egress_tm : {egress_tm/dir=us,index=0}
enable : yes
orl_prty : low

# bs /b/e vlan_action
Object: vlan_action/dir=us,index=127. Object type: vlan_action. Owned by: system
==============================
dir : us
index : 127
action : {cmd=0,ovid=0,opbit=0,otpid=0x0,ivid=0,ipbit=0,itpid=0x0}
Object: vlan_action/dir=ds,index=127. Object type: vlan_action. Owned by: system
==============================
dir : ds
index : 127
action : {cmd=0,ovid=0,opbit=0,otpid=0x0,ivid=0,ipbit=0,itpid=0x0}



另外附上正文的RD給我的I040GW omci config和specs
日後有RD需要可以自取

附加壓縮檔: 201606/mobile01-0a1fdb5a0dfad930a0f4cbf1173114dd.zip
也许是一场难圆的梦 一场没有结局的梦 多少的笑语飞散在风中 又围绕在我耳边
最近看到RouterBoard有出GPON ONU module
GPON ONU module


相容性資訊裡有提到能跟ALU、華為這類大廠的OLT下正常運作
只是不知是否包含7342跟7360...
相容性資訊
關閉廣告
文章分享
評分
評分
複製連結
請輸入您要前往的頁數(1 ~ 25)

今日熱門文章 網友點擊推薦!