Details
-
Add New Device / OS
-
Resolution: Fixed
-
Minor
-
None
-
Professional Edition
-
None
Description
Hello,
Would it be possible to add display of MAC addresses on port on a ZTE C620 OLT?
The output of snmpwalk looks like this:
.1.3.6.1.4.1.3902.1082.40.10.2.1.5.1.1.31.285279233.0.1.208.126.40.43.116.235 = STRING: d0:7e:28:2b:74:eb
.1.3.6.1.4.1.3902.1082.40.10.2.1.5.1.1.31.285279233.0.1.212.1.195.29.109.12 = STRING: d4:1:c3:1d:6d:c
.1.3.6.1.4.1.3902.1082.40.10.2.1.5.1.1.4000.285278465.268501248.3.0.235.216.90.187.180 = STRING: 0:eb:d8:5a:bb:b4
.1.3.6.1.4.1.3902.1082.40.10.2.1.5.1.1.4000.285278465.268632320.3.140.144.45.54.190.176 = STRING: 8c:90:2d:36:be:b0
.1.3.6.1.4.1.3902.1082.40.10.2.1.5.1.1 is the base OID (ZTE-AN-MAC-MIB::zxAnMacFwdVlanMacAddr)
Next is the vlan (in this case 31 or 4000)
After that is interface ID.
After that it's either 0 for non-gpon interfaces or onu service ID for gpon interfaces.
ONU vport ID is made up like this (ZxAnSubIfIndex):
2 - ONU vport sub-interface
| MSB | Byte 2 | Byte 1 | LSB |
|--------------------------------------+-----------|
| 2 | ONU No. | VPort No. | 0 |
| (5bits) | (11bits) | (8bits) | (8bits) |
-------------------------------------------------+
after that its the type of MAC entry -
1 - dynamic
2 - permanent
3 - static
After that it's the MAC address.
So, .1.3.6.1.4.1.3902.1082.40.10.2.1.5.1.1.31.285279233.0.1.212.1.195.29.109.12 = STRING: d4:1:c3:1d:6d:c
can be decoded as such:
vlan 31, interface id 285279233, type dynamic, address d4:1:c3:1d:6d:c
.1.3.6.1.4.1.3902.1082.40.10.2.1.5.1.1.4000.285278465.268632320.3.140.144.45.54.190.176 = STRING: 8c:90:2d:36:be:b0
can be decoded as such:
vlan 4000, interface 285278465, vport 1/1/1.3:1 (ONU 1/1/1:3, vport 1), type static. address 8c:90:2d:36:be:b0
I can attach larger SNMP walks if needed.