Reference: GitHub Issue Comment by rajkosto
The flash set OMCI_VEIP_SLOT_ID
command controls the Virtual Ethernet Interface Point (VEIP) Slot ID within the Optical Network Unit (ONU) configuration. While your initial description provides a starting point, the GitHub user has contributed additional insights to enhance the understanding and usage of this command.
- VEIP EntityID Calculation: The value for
OMCI_VEIP_SLOT_ID
should be set to the Most Significant Bit (MSB) of the desired VEIP EntityID. For example, if the VEIP EntityID is0x0e01
, setOMCI_VEIP_SLOT_ID
to0x0e
or14
(decimal).
The GitHub user emphasizes that the feature to apply the custom VEIP Slot ID is not enabled by default. To activate this feature, follow these steps:
- Set bit
0x100
inOMCI_CUSTOM_ME
to enable thecf_apply_customized_veip_slot_id
feature. - The default value in SFU firmwares for
OMCI_CUSTOM_ME
is65536
. Set it to65792
to enable the feature.
# omcicli mib get 329
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
VEIP
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
=================================
EntityId: 0x0601
AdminState: 1
OperState: 1
InterDomainName: 0x00000000000000000000000000000000000000000000000000
TcpUdpPtr: 0x0000
IansAssignPort: 0
CustomizedSlotId: 0xff
=================================
# omcicli mib get 329
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
VEIP
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
=================================
EntityId: 0x0e01
AdminState: 1
OperState: 1
InterDomainName: 0x00000000000000000000000000000000000000000000000000
TcpUdpPtr: 0x0000
IansAssignPort: 0
CustomizedSlotId: 0x0e
=================================
Take note on EntityId
and CustomizedSlotId
In the context of configuring the Optical Network Unit (ONU) using the flash set OMCI_VEIP_SLOT_ID
command, there is a specific parameter called OMCI_CUSTOM_ME
that plays a crucial role. The GitHub user @rajkosto recommends setting a bit, specifically bit 0x100
, in the OMCI_CUSTOM_ME
to enable a particular feature (cf_apply_customized_veip_slot_id
).
The default value for OMCI_CUSTOM_ME
in SFU firmwares is given as 65536
. This value is represented in hexadecimal as 0x10000
.
To enable the cf_apply_customized_veip_slot_id
feature, it is necessary to set bit 0x100
in OMCI_CUSTOM_ME
. Adding 0x100
to the initial value transforms it as follows:
Initial Value: 0x10000 (65536 in decimal)
+ Bit Addition: 0x00100
_______________________
Result: 0x10100 (65792 in decimal)
Therefore, by adding 0x100
to the default value of OMCI_CUSTOM_ME
, the final value becomes 65792
. This modified value activates the feature, allowing the cf_apply_customized_veip_slot_id
functionality in the ONU configuration.
Understanding this transformation is crucial for users who wish to customize and enable specific features related to the VEIP Slot ID configuration.
More ME feature bits can get here
This has been processed by ChatGPT for more easy to understand, you need to understand Hexadecimal first.