03 October 2022

third party SFP disabled in cisco

if third party SFP disabled in CISCO then you can enable by using this command 


#service unsupported-transceiver and #no errdisable detect cause gbic-invalid article contains information regarding:

 

1. When to use #service unsupported-transceiver and #no errdisable detect cause gbic-invalid commands?

 

#service unsupported-transceiver and #no errdisable detect cause gbic-invalid can be used when one of the these following error messages show up after you insert optical transceiver in your Cisco router or switch port:

 

#1

%PLATFORM-SFP-3-DEV_ SFP_PID_NOT_SUPPORTED
PID: DWDM-10G-SFP-31.90,

 

#2

%PHY-4-UNSUPPORTED_TRANSCEIVER: Unsupported transceiver found in Gi1/0/0

 

#3

%GBIC_SECURITY_CRYPT-4-VN_DATA_CRC_ERROR: GBIC in port 65538 has bad crc

 

#4

gbic-invalid

 

#5

Warning: SFP gbic-security check fail

 

In many of the cases above messages could indicate that 3rd party optical transceivers are used in Cisco switches or routers and there are some deviations from the original modules which would be expected in the port which triggers the device for an alarm.

 

2. What #service unsupported-transceiver and #no errdisable detect cause gbic-invalid commands do?

 

When we see above mentioned alarm messages in Cisco devices, in most of the cases they can be fixed with use of:

#service unsupported-transceiver
#no errdisable detect cause gbic-invalid

 

Side note about the use of the commands: The commands are global commands, but some CISCO equipment may require it to be used as an interface command, for example:

#interface gi0/0/1
#service unsupported-transceiver
#no errdisable detect cause gbic-invalid

 

Using both commands allows the switch to ignore wrong Part ID`s in the optical module coding.

After this remove the SFP or other form-factor module, shutdown/no shutdown the port and insert back the module. This resolves the issue and helps to bring a third party optical transceiver to life.

 

 

3. Why are the #service unsupported-transceiver and #no errdisable detect cause gbic-invalid commands hidden?

 

#service unsupported-transceiver and #no errdisable detect cause gbic-invalid are old commands that previously were visible, for example in Cisco support section there is Catalyst 3850 Switch article mentioning these commands, however, with the newer Cisco IOS and newer switch/router models these commands have become undocumented and are among Cisco “hidden” commands.

 

 

4. Cisco TAC and #service unsupported-transceiver and #no errdisable detect cause gbic-invalid commands?

 

#service unsupported-transceiver and #no errdisable detect cause gbic-invalid require attention if Cisco TAC (Technical Assistance Centre) help is needed as commands are present in switch/router global configuration file. This is because Cisco TAC will be able to fully assist when the port has a genuine CISCO transceiver.

Nevertheless, if the switch/router is in a critical location, which might require Cisco TAC support, and uses the third party optical transceiver – We recommend: Contacting Us.  Once information regarding the problem will be received –  we will check and try best to assist in solving the problem so that equipment is functional, system is up and running and works perfect without the need of any of below commands:

#service unsupported-transceiver

#no errdisable detect cause gbic-invalid

09 November 2021

cek password zte f460 epon

 cek password zte F460 epon

telnet:

root

Zte521

sendcmd 1 DB p UserInfo

sendcmd 1 DB p DevAuthInfo

12 May 2021

Serial write variable

 char temp[20];

    sprintf (temp, "%1OK",thevar);

    Serial2.write(temp);

03 March 2021

Arduino Json create json object

  DynamicJsonBuffer jsonBuffer3;

JsonObject &akar = jsonBuffer3.createObject();

akar["acctype"] = AccType;

// akar["access"] = type;  

akar["user"] = username;

akar["uid"] = uid;

akar["lokasi"] = deviceHostname;

String mqttBuffer;

String cobacoba;

akar.printTo(cobacoba);

//Serial.print("[ INFO ] Serial Publish:");

Serial.println(cobacoba);

01 March 2021

how to mqttClient.publish a variable string

 void bacaserial(){

     if (Serial.available() > 0)

  {

    bt = Serial.readString();    //get data

    char charBuf[bt.length() + 1];   //modify it

    bt.toCharArray(charBuf,bt.length() + 1);

    mqttClient.publish("TAG/pesan", charBuf); // send

    Serial.println(bt);

    bt="";

    Serial.flush();

   }  

 }

26 February 2021

CLI setting ONT F609 di OLT ZTE C320 V2.1

con ter
int gpon-olt_1/2/@Port
onu @Onu type jte sn @SerialNumber
exit
int gpon-onu_1/2/@Port:@Onu
name iSerius_@Nomer
description @Deskripsi
tcont 1 name BR profile 50M
tcont 2 name SUPER profile 50M
gemport 1 name BR tcont 1
gemport 1 traffic-limit upstream UP-20M downstream DOWN-20M
gemport 2 name SUPER tcont 2
gemport 2 traffic-limit upstream UP-20M downstream DOWN-20M
service-port 1 vport 1 user-vlan 177 vlan 177
service-port 2 vport 2 user-vlan @VLAN vlan @VLAN
port-identification format DSL-FORUM-PON sport 1
pppoe-intermediate-agent enable sport 1
exit
pon-onu-mng gpon-onu_1/2/@Port:@Onu
service BR gemport 1 vlan 177
service SUPER gemport 2 vlan @VLAN
wan-ip 1 mode pppoe username @User password @Password vlan-profile @VLAN host 1
wan-ip 1 ping-response enable traceroute-response enable
vlan port eth_0/4 mode tag vlan 177
vlan port wifi_0/4 mode tag vlan 177
interface wifi wifi_0/1 state unlock
interface wifi wifi_0/4 state unlock
security-mgmt 1 state enable mode forward protocol web
ssid auth wpa wifi_0/1 wpa2-psk key @PassWifi
ssid auth wpa wifi_0/4 wpa2-psk key silahkanmasuk
ssid ctrl wifi_0/1 name @Wifi
ssid ctrl wifi_0/4 name iSerius_MQTT
exit
exit
wr
x
x

26 November 2020

Setup Jellyfin css

 /*Narrow the login form*/

#loginPage .readOnlyContent, #loginPage form {max-width: 22em;}


/*Hide "please login" text, margin is to prevent login form moving too far up*/

#loginPage h1 {display: none}

#loginPage .padded-left.padded-right.padded-bottom-page {margin-top: 50px}


/*Hide "manual" and "forgot" buttons*/

#loginPage .raised.cancel.block.btnManual.emby-button {display: none}

#loginPage .raised.cancel.block.btnForgotPassword.emby-button {display: none}

24 August 2020

ZTE C320 catatan

sumber : dari berbagai blog orang lain

== Check Status ONT==  

iSerius(config)#show gpon onu state gpon-olt_1/2/3


OnuIndex               Admin State  OMCC State   O7 State     Phase State
----------------------------------------------------------------------------
gpon-onu_1/2/7:1       enable       disable      unknown      OffLine
gpon-onu_1/2/7:2       enable       enable       operation    working
gpon-onu_1/2/7:3       enable       enable       operation    working
gpon-onu_1/2/7:4       enable       enable       operation    working
gpon-onu_1/2/7:5       enable       disable       operation    DyingGasp
gpon-onu_1/2/7:6       enable       enable       operation    working
gpon-onu_1/2/7:7       enable       enable       operation    working
gpon-onu_1/2/7:8       enable       disable      unknown      LOS
gpon-onu_1/2/7:9       enable       enable       operation    working
gpon-onu_1/2/7:10      enable       enable       operation    working
ONU Number: 8/10


== Check ONT power ==

iSerius(config)#show pon power attenuation gpon-onu_1/2/3:1

           OLT                  ONU              Attenuation
--------------------------------------------------------------------------
 up      Rx :-15.810(dbm)      Tx:2.594(dbm)        18.404(dB)

 down    Tx :5.276(dbm)        Rx:-13.233(dbm)      18.509(dB)


== CHECKING ONT MAC ADDRESS ==

iSerius(config)#show mac gpon onu gpon-onu_1/2/3:1

Total mac address : 5

Mac address      Vlan   Type      Port                         Vc
------------------------------------------------------------------------
807d.3a17.87f2   1000   Dynamic   gpon-onu_1/2/9:25         vport 1
807d.3a46.5dda   1000   Dynamic   gpon-onu_1/2/9:25         vport 1
807d.3a46.60b7   1000   Dynamic   gpon-onu_1/2/9:25         vport 1
a020.a625.225c   1000   Dynamic   gpon-onu_1/2/9:25         vport 1
0488.5fdc.e433   999    Dynamic   gpon-onu_1/2/9:25         vport 3


== CHEKING ONT UPTIME AND ONT HISTORY LOGS ==

iSerius(config)#show gpon onu detail-info gpon-onu_1/2/9:25


ONU interface:         gpon-onu_1/2/9:25
  Name:                   iSerius_999
  Type:                     jte
  State:                    ready
  Admin state:          enable
  Phase state:           working
  Authentication mode: sn
  SN Bind:                 enable with SN check
  Serial number:       HWTC6315FF9E
  Password:
  Device ID:
  Description:         iSerius_TailQuarter
  Vport mode:         gemport
  DBA Mode:            Hybrid
  ONU Status:          enable
  OMCI BW Profile:   enable
  Line Profile:          N/A
  Service Profile:      N/A
  Alarm Profile:        N/A
  Performance Profile: N/A
  ONU Distance:        1m
  Online Duration:     9h 26m 14s
  FEC:                      none
  1PPS+ToD:             disable
------------------------------------------
       Authpass Time          OfflineTime             Cause
   1   2020-08-15 10:06:20    2020-08-15 18:00:51     DyingGasp
   2   2020-08-15 18:01:35    2020-08-16 07:14:22     DyingGasp
   3   2020-08-16 07:16:14    2020-08-24 11:07:51     DyingGasp
   4   2020-08-24 11:08:56    2020-08-28 00:52:38     LOSi
   5   2020-08-28 00:53:27    0000-00-00 00:00:00
   6   0000-00-00 00:00:00    0000-00-00 00:00:00
   7   0000-00-00 00:00:00    0000-00-00 00:00:00
   8   0000-00-00 00:00:00    0000-00-00 00:00:00
   9   0000-00-00 00:00:00    0000-00-00 00:00:00
  10   0000-00-00 00:00:00    0000-00-00 00:00:00

==  FINDING ONT BY SN NUMBER ==

iSerius(config)#show gpon onu by sn ZTEGC223344A

SearchResult
-----------------
gpon-onu_1/2/7:1
gpon-onu_1/2/9:25


== CHECKING ONT VERSION ==


iSerius(config)#show gpon remote-onu equip gpon-onu_1/2/3:1


== CHECKING OLT UPTIME ==

iSerius(config)#show system-group


== CHECKING OLT BOARD ==

GPON#show card

== CHECKING OLT PROCESSOR AND MEMORY ==

GPON#show processor

== CHECKING OLT CARD TEMPERATURE ==

GPON#show card-temperature


== CHECKING OLT PER SLOT ==

GPON#show card slotno 2

GPON#show card slotno 3

GPON#show card slotno 4



== CHECKING ONT IP ROUTING MODE ==

gpon# show gpon remote-onu ip-host  gpon-onu_1/2/1:3


== CHECKING ONT CONFIGURATION ==

GPON#show run int gpon-onu_1/4/1:2

== REBOOT ONT ==

gpon#config t
gpon#pon-onu-mng gpon-onu_1/2/1:3
gpon(gpon-onu-mng)#reboot


== RESET FACTORY ONT ==

gpon#config t
gpon#pon-onu-mng gpon-onu_1/2/1:3
gpon(gpon-onu-mng)#restore factory


### DISABLE/SHUTDOWN PORT ONT

gpon#config t
gpon#pon-onu-mng gpon-onu_1/2/1:3
gpon(gpon-onu-mng)#interface eth eth_0/2 state lock --> disable/shutdown port number 2


### ENABLE/SHUTDOWN PORT ONT

gpon#config t
gpon#pon-onu-mng gpon-onu_1/2/1:3
gpon(gpon-onu-mng)#interface eth eth_0/2 state unlock --> enable port number 2



###  RELEASE RENEW ONT AS DHCP CLIENT

GPON#config t
Enter configuration commands, one per line.  End with CTRL/Z.
GPON(config)#pon-onu
GPON(config)#pon-onu-mng gpon-onu_1/2/1:3
GPON(gpon-onu-mng)#ip-host 1 dhcp-enable false ping-response false traceroute-response false
GPON(gpon-onu-mng)#ip-host 1 dhcp-enable true ping-response true traceroute-response true



### CHECKING RX/TX LEVEL UPLINK PORT

GPON#sho int optical-module-info xgei_1/21/1


### RESET SLOT CARD

GPON#reset-card slotno 2



### SWAP

Use This for First Level Handling when you get Anomaly Process.
sometimes it can help you, but sometime isn’t

GPON#swap



### SHOW VLAN SUMMARY

GPON# show vlan summary
All created vlan num: 3
Details are following:
111, 222 , 333
GPON#
GPON#show vlan 111
vlanid          :111
name            :VLAN00111
description     :N/A
multicast-packet:flood-unknown
tpid:0x8100
port(untagged):
port(tagged):
gpon-onu_1/2/1:3:6
xgei_1/3/4
sg1



### CHECKING BANDWIDTH PROFLE

GPON#show gpon profile traffic


1. Cek Detail Config di Interface ke arah ONT
OLT-ZTE_C320#show run interface gpon-onu_1/2/5:4
Building configuration…
!
interface gpon-onu_1/2/5:4
  name Customer-1
  description Internet-Customer-1
  tcont 1 name acsata profile UP-50M
  gemport 1 name Internet unicast tcont 1 dir both
  gemport 1 traffic-limit upstream DOWN-50M downstream DOWN-50M
  switchport mode hybrid vport 1
  service-port 1 vport 1 user-vlan 1247 vlan 1247 svlan 1402
!
end


OLT-ZTE_C320#show run interface gpon-onu_1/2/5:5
Building configuration…
!
interface gpon-onu_1/2/5:5
  name Customer-2
  description Internet-Customer-2
  tcont 1 name acsata profile UP-60M
  tcont 1 gap mode2
  gemport 1 name Internet unicast tcont 1 dir both
  gemport 1 traffic-limit upstream DOWN-60M downstream DOWN-60M
  switchport mode hybrid vport 1
  service-port 1 vport 1 user-vlan 1245 vlan 1245 svlan 1402
!
end


2. Cek Status Interface ONT

OLT-ZTE_C320#show gpon onu state gpon-olt_1/2/5 4      
 

OLT_ZTE_C320#show gpon onu state gpon-olt_1/2/5 5

OLT-ZTE_C320#show pon power attenuation gpon-onu_1/2/5:4           

4. Cek Utilisasi Bandwith Link ONT Real Time

OLT-ZTE_C320#show interface gpon-onu_1/2/5:4

OLT-ZTE_C320#show interface gpon-onu_1/2/5:5

5. Cek ONT Uptime dan History:

OLT-ZTE_C320#show gpon onu detail-info gpon-onu_1/2/5:5

6. Cek Mac Address Perangkat yang terkoneksi ke ONT

OLT-ZTE_C320#show mac gpon onu gpon-onu_1/2/5:5

7. Cek ONT Version

OLT-ZTE_C320#show gpon remote-onu equip gpon-onu_1/2/5:5

8. Cek Status Port di ONT

OLT-ZTE_C320#show gpon remote-onu interface eth gpon-onu_1/2/5:5

9. Reboot/Restart ONT

OLT-ZTE_C320(config)#pon-onu-mng gpon-onu_1/2/5:5
OLT-ZTE_C320(gpon-onu-mng)#reboot


10. Shutdown Port 1 di ONT

OLT-ZTE_C320(config)#pon-onu-mng gpon-onu_1/2/5:5
OLT-ZTE_C320(gpon-onu-mng)#interface eth eth_0/1 state lock

11. Cek Konfigurasi PON ONU
OLT_ZTE_C320#show onu running config gpon-onu_1/2/11:8
pon-onu-mng gpon-onu_1/2/11:8
  service Internet-Customer1 gemport 1 vlan 671
  service OAM gemport 2 vlan 1450
  service Internet-Customer2 gemport 3 vlan 1490
  vlan port eth_0/1 mode tag vlan 671
  vlan port eth_0/3 mode tag vlan 1490

28 March 2019

bridge setting gpon f660 f609 di zte olt c320

    interface gpon-olt_1/2/13
    onu 1 type jte sn ZTEGxxxxxxx
    exit
   
   
iSerius(config)#interface gpon-onu_1/2/13:3
iSerius(config-if)#name iSerius_072
iSerius(config-if)#description bridge di tib36b
iSerius(config-if)#vport-mode gemport def-map-type 1:1
iSerius(config-if)#tcont 1 name BR profile 50M
iSerius(config-if)#tcont 1 gap mode2
iSerius(config-if)#gemport 1 name BR unicast tcont 1 dir both queue 1
iSerius(config-if)#gemport 1 traffic-limit upstream UP-20M downstream DOWN-20M
iSerius(config-if)#switchport mode hybrid vport 1
iSerius(config-if)#switchport vlan 177 tag vport 1
iSerius(config-if)#exit


iSerius(config)#pon-onu-mng gpon-onu_1/2/13:3
iSerius(gpon-onu-mng)#service BR gemport 1 vlan 177

##(ini bridge vlan wifi portnya..)

iSerius(gpon-onu-mng)#vlan port wifi_0/1 mode tag vlan 177
iSerius(gpon-onu-mng)#vlan port wifi_0/2 mode tag vlan 177
iSerius(gpon-onu-mng)#vlan port wifi_0/3 mode tag vlan 177
iSerius(gpon-onu-mng)#vlan port wifi_0/4 mode tag vlan 177

##(ini bridge vlan eth portnya..)

iSerius(gpon-onu-mng)#vlan port eth_0/1 mode tag vlan 177
iSerius(gpon-onu-mng)#vlan port eth_0/2 mode tag vlan 177
iSerius(gpon-onu-mng)#vlan port eth_0/3 mode tag vlan 177
iSerius(gpon-onu-mng)#vlan port eth_0/4 mode tag vlan 177

##(ini setting dhcp to wan di web confignya)

iSerius(gpon-onu-mng)#dhcp-ip ethuni eth_0/1 from-internet
iSerius(gpon-onu-mng)#dhcp-ip ethuni eth_0/2 from-internet
iSerius(gpon-onu-mng)#dhcp-ip ethuni eth_0/3 from-internet
iSerius(gpon-onu-mng)#dhcp-ip ethuni eth_0/4 from-internet
iSerius(gpon-onu-mng)#switchport-bind switch_0/1 iphost 1
iSerius(gpon-onu-mng)#pppoe 1 nat enable user bridge_tib36b password bridge
iSerius(gpon-onu-mng)#onu-vlan iphost 1 up-mode add up-prio 0 up-vid 177 down-mode transparent
iSerius(gpon-onu-mng)#security-mng 1 ingress-type wan mode permit state enable protocol web
## make ont reachable from wan side

iSerius(gpon-onu-mng)#exit
iSerius(gpon-onu-mng)#exit
iSerius(config)#exit
iSerius#wr


beres




fungsi dibawah untuk setting enable /disable wifi dan ganti nama SSID , tapi hanya bisa di F609 di F660 tidak berfungsi

ssid ctrl wifi_0/1 name iSerius_hiji hide enable max-users 20 user-isolation enable
ssid ctrl wifi_0/2 name iSerius_dua hide enable max-users 20 user-isolation enable
ssid ctrl wifi_0/3 name iSerius_tiga hide enable max-users 20 user-isolation enable
ssid ctrl wifi_0/4 name iSerius_fiberglass hide disable max-users 20 user-isolation disable

interface wifi wifi_0/2 state unlock
interface wifi wifi_0/3 state unlock
interface wifi wifi_0/4 state unlock

23 January 2019

add root raspberry

HOW HOW
Step 1 -Set root password
sudo passwd root

Step 2 - allow root login
go to /etc/ssh/sshd_config  
sudo vi /etc/ssh/sshd_config  
add the last line as below
PermitRootLogin yes #

enable thingsboard to auto start
sudo systemctl enable thingsboard


install mosqwuito

pi@raspberry:~ $ sudo apt update

pi@raspberry:~ $ sudo apt install -y mosquitto mosquitto-clients

make it auto start
pi@raspberry:~ $ sudo systemctl enable mosquitto.service

test the installation
pi@raspberry:~ $ mosquitto -v



install APACHE
sudo apt install apache2 -y

install PHP
sudo apt install php libapache2-mod-php -y

14 December 2018

list password modem gpon

sekedar catatan username dan password untuk berbagai modem gpon yang digunakan

ZTE F660
ZTE F609
ZTE F670L

username : admin

password : zep2kjzol

username : user
password : user

username : admin
password : Telkomdso123

username : admin
password : Pq@54r!e8ow&q#u

username : admin
password : Dj9@t!n03g4r6#f
                  D0j@t6!n3g64rf#

username : admin
password : admin

username : admin
password : telkomjatineg4r4

username : admin
password : Qc!80ebor3#to#b

username : admin
password : Yu9j#4qa!rth#y

username : admin
password : Mn@lh4!nk9#m


username : playmedia
password : pl4ym3d14

----------------------------------------------

FIBERSTAR

username : admin
password : Fs@1500879

username : user
password : Web@0763

username : admin
password : Web@0063

---------------------------------------------------

modem HUAWEI update june 2020

username: Support
password: theworldinyourhand

username : telecomadmin
password : admintelecom

Username: Admin
Password: admin

Username: Root
Password: admin

Username : Support
Password : theworldinyourhand

Username: telecomadmin
Password : zep2kjzol

---------------------------------------------------------

Modem YOTC epon

cmccadmin
aDm8H%MdA

super
opticalink

user : admin
Password.: YotGr3e@18#

ID: admin
PW: stdONUi0i / stdONUin9

username : superadmin
password : @fibernut

----------------------------------------------------------

Modem Nokia G240-WF 

user = admin
pass = admin 

user = support 
pass = theworldinyourhand

----------------------------------------------------------------
telnet :

User default > root
Password default > Zte521

rubah password telnet :

sendcmd 1 DB set TelnetCfg 0 TS_UPwd Passwordbaru
sendcmd 1 DB save
reboot

lihat password web

grep -E 'Password|Username' /userconfig/cfg/db_user_cfg.xml

ganti password web

sed -i -e 's/passlama/passbaru/g' /userconfig/cfg/db_user_cfg.xml

third party SFP disabled in cisco

if third party SFP disabled in CISCO then you can enable by using this command  #service unsupported-transceiver  and  #no errdisable detect...