hwti
J'ai repris la variable sfp_info_a2 modifié en rajoutant begin-base64
puis j'ai effectué ceci :
ETAPE 5 : Paramétrer la nouvelle valeur de la variable sfp_a2_info
Dans un premier temps, on va coller le contenu de la variable modifiée dans le fichier /tmp/sfp
Code: [Sélectionner]
cat > /tmp/sfp
Puis coller le contenu de la variable. Taper ensuite sur la touche "Entrée" pour terminer la ligne, et taper la combinaison de touche Contrôle+D pour terminer la saisie.
Contrôler que la variable modifiée est correctement saisie dans le fichier :
Code: [Sélectionner]
cat /tmp/sfp
Tu es maintenant prêt à configurer la nouvelle valeur dans la variable sfp_a2_info :
Code: [Sélectionner]
fw_setenv sfp_a2_info `cat /tmp/sfp`
Attention à utiliser les bonnes apostrophes, c'est important.
Pour contrôler que la variable a été correctement définie, tu peux afficher sa nouvelle valeur en entrant à nouveau la commande :
Code: [Sélectionner]
fw_printenv sfp_a2_info
ETAPE 6 : Optimisation des performances
Dans mon cas, les performances en upload étaient décevantes. Le problème a été réglé en appliquant ce paramétrage :
Code: [Sélectionner]
fw_setenv mib_file data_1g_8q_us1280_ds512.ini
ETAPE 7 : Reboot + test
Pour prendre en compte le nouveau paramétrage, un reboot est nécessaire :
Code: [Sélectionner]
reboot
puis
root@SFP:/home/ONTUSER# onu gtccg
errorcode=0 bip_error_interval=4095 sf_threshold=5 sd_threshold=9 serial_number_request_threshold=10 rogue_msg_id_upstream_reset=255 rogue_msg_repeat_upstream_reset=3 rogue_msg_id_device_reset=255 rogue_msg_repeat_device_reset=3 rogue_msg_enable=0 ploam_timeout_1=11000 ploam_timeout_2=100 emergency_stop_state=0 password="0 0 X XX XX XX XX XX XX XX"
Cette fois X XX XX XX XX XX XX XX correspond bien à mon ploam
root@SFP:/home/ONTUSER# omci_pipe.sh meg 131 0
Class ID = 131 (OLT-G)
Instance ID = 0
Upload = yes
Alarms = -
-------------------------------------------------------------------------------
0 OLT vendor id 4b STR RW-----P---
0x20 0x20 0x20 0x20
-------------------------------------------------------------------------------
1 Equipment id 20b STR RW-----P---
0x20 0x20 0x20 0x20 0x20 0x20 0x20 0x20 0x20 0x20 0x20 0x20 0x20 0x20 0x20 0x20 0x20 0x20 0x20 0x20
-------------------------------------------------------------------------------
2 Version 14b STR RW-----P---
0x20 0x20 0x20 0x20 0x20 0x20 0x20 0x20 0x20 0x20 0x20 0x20 0x20 0x20
-------------------------------------------------------------------------------
3 Time of day information 14b STR RW--O--P---
0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00
-------------------------------------------------------------------------------
R - Readable O - Not supported (optional)
W - Writable E - Excluded from MIB upload (template)
S - set-by-create T - Table
A - Send AVC V - Volatile
U - No upload P - No swap
N - Not suported Y - Partly supported
N - No swap
errorcode=0
root@SFP:/home/ONTUSER# omci_pipe.sh meg 171 0
errorcode=-11
R - Readable O - Not supported (optional)
W - Writable E - Excluded from MIB upload (template)
S - set-by-create T - Table
A - Send AVC V - Volatile
U - No upload P - No swap
N - Not suported Y - Partly supported
N - No swap
errorcode=0
"gtop" puis "c" et "v"
GPE VLAN
Name: ONU_GPE_VLAN_TABLE
ID: 18
no;pcp;dei;vid;vlan_meter_enable;vlan_meter_id;end
Le ploam password ==> OK
Le S/N ==> OK
Vendor ID ==> OK
Adresse MAC ONT ==> OK
Il reste :
Si ça ne fonctionne pas, l'étape suivante serait de mettre Hardware Version (les OLT ALCL Orange font la vérification, mais pas ceux de Bouygues normalement).
C'est dans /etc/mibs/data_1g_8q.ini (ou data_1g_8q_us1280_ds512.ini si tu as changé mib_file).
256 0 HWTC 3FE47211DHAA\0 ...
sa je n'ai pas fait