PROCESOS DE COMISIONAMIENTO DE TCU - SIU

+++++Upgrade

TCU
OSmon> admin             ( Usuario para Inicio de Sesion)
OSmon> hidden            (Password para Inicio de Sesion)
OSmon> startSWSession s1 (Iniciar session de carga de sw)
OSmon> uselocalsftp on   (encender SFTP para transferencia de SW)
OSmon> downloadSW s1 sftp://anonymous:anonymous@192.168.1.5/siu02_sw.tar (comando para ser usado en SIU)
OSmon> downloadSW s1 sftp://anonymous:anonymous@192.168.1.5/tcu02_sw.tar (comando para ser usado en TCU)
OSmon> getSWSessionstatus s1 (revisar estado de upgrade y cuando esperas que aparezca el downlaodcomplete)
OSmon> activateSW s1 (activas el upgrade cargado)
OSmon> endSWSession s1 (finalizas la sesion de carga)
OSmon> rev (revisas el sw cargado y solo te aparece el primarybakcup)
OSmon> startSWSession s1  (inicias session para activar el backup de sw)
OSmon> approveSW s1 (con este comando activas el backup del sw y te muestra esta barra de progreso luego finalizas la session)
[==================================================]
OperationSucceeded
OSmon> endSWSession s1 (finalizas la sesion)
OSmon> rev (te muestra tanto el primary como el backup cargados)

********CARGA DE SCRIPTS

OSmon> startSession bcm1
OSmon> uselocalsftp on
OSmon> download bcm1 sftp://anonymous:anonymous@192.168.1.5/SIU_2VEL_ETH_RevD.xml (Nombre con extension xml es unico por sitio)                                                                                                          MUY ESPECIFICO EN EL NOMBRE !!!!!!!!!! 
OSmon> getSessionstatus bcm1
OSmon> activate bcm1
OSmon> endSession bcm1

+++++++DESCARGAR BACKUP DE SIU/TCU
 
OSmon> startSession bcm1
OSmon> uselocalsftp on
OSmon> backup bcm1 sftp://anonymous:anonymous@192.168.1.5/backup_GBCNMXC0059.xml admin
OSmon> getSessionstatus bcm1
OSmon> endSession bcm1

+++++++DESCARGAR CM DE SIU/TCU este se descarga en XML pero en forma de scripts no editable solo informativo (NO SE CONSIDERA BACKUP por lo que no puedes cargarlo en la TCU

OSmon> startSession bcm1
OSmon> uselocalsftp on
OSmon> upload bcm1 sftp://anonymous:anonymous@192.168.1.5/Upload_GBCNMXC0059.xml CM 30
OSmon> getSessionstatus bcm1
OSmon> endSession bcm1

********Revision de Tx por VLAN en Orden. proyecto ATT
getmoattribute STN=0, VLANGroup=TCU_WAN
getmoattribute STN=0, VLANGroup=TCU_WAN,VLAN=ABIS
getmoattribute STN=0, VLANGroup=TCU_WAN,VLAN=IuB_WAN
getmoattribute STN=0, VLANGroup=TCU_WAN,VLAN=MuB_WAN
getmoattribute STN=0, VLANGroup=TCU_WAN,VLAN=S1X2_WAN
getmoattribute STN=0, VLANGroup=TCU_WAN,VLAN=MuL_WAN  
getmoattribute STN=0, VLANGroup=TCU_WAN,VLAN=OAM
getmoattribute STN=0,TGTransport=all

+++++++++++
getmoattribute STN=0,EthernetInterface=TCU_WAN
showtable interface STN=0,EthernetInterface=TCU_WAN
showtable interface STN=0,EthernetInterface=TCU_3G
showtable interface STN=0,EthernetInterface=TCU_4G 

*******REVISION GENERALES Y ESTADOS DE PUERTOS E IPs (ENABLE/DISABLE)

OSmon> getMOAttribute STN=0, ethernetinterface=all   (REVISION DE ESTADO DE PUERTOS)
OSmon> rev                                           (REVISAR SW DE SIU)
OSmon> getalarmlist                                  (REVISAR ALARMAS)
OSmon> getmoattribute stn=0, ipinterface=all         (REVISAR INTERFACES DE IP EN SIU)
getmoattribute STN=0,TGTransport=all                 (REVISAR TG y IP de la BSC)


SETEAR EL GATEWAY DE OAM

BCNMXC0077-OSmon> starttransaction asdf
BCNMXC0077-OSmon> setmoattribute asdf STN=0, IPInterface=TCU_OAM defaultgateway 10.246.239.49
BCNMXC0077-OSmon> commit asdf
BCNMXC0077-OSmon> endtransaction asdf


CAMBIOS DE ASIGNACION EN PUERTOS ELECTRICO/OPTICO E IP DE OAM

OSmon> starttransaction bcm1
OSmon> setmoattribute STN=0,IPInterface=INT_OAM primaryIP_Address 172.27.149.158 (LA IP PUEDE VARIAR SEGUN ASIGNACION)
OSmon> checkconsistency bcm1
OSmon> commit bcm1 forcedCommit 
OSmon> endtransaction bcm1     

OSmon> starttransaction bcm1
OSmon> setmoattribute STN=0,wakeUpRegistration 172.27.105.136     (LA IP PUEDE VARIAR SEGUN ASIGNACION)
OSmon> checkconsistency bcm1
OSmon> commit bcm1 forcedCommit 
OSmon> endtransaction bcm1           

*****CAMBIAR A ELECTRICO

OSmon> starttransaction 1
OSmon> setmoattribute 1 STN=0,Ethernetinterface=SITE_LAN_0 port Gigabit
OSmon> setmoattribute 1 STN=0,EthernetInterface= SITE_LAN_0 mode 100MBitfullduplex o AUTO
OSmon> checkconsistency 1
OSmon> commit 1 forcedcommit
OSmon> endtransaction 1

*****CAMBIAR A OPTICO

OSmon> starttransaction 1
OSmon> setmoattribute 1 stn=0,Ethernetinterface=SITE_LAN_0 port SFP
OSmon> setmoattribute 1 STN=0,EthernetInterface= SITE_LAN_0 mode Gigabitfullduplex
OSmon> checkconsistency 1
OSmon> commit 1 forcedcommit
OSmon> endtransaction 1


*******ASIGNAR NOMBRE A PROMP DE SIU

OSmon> startTransaction trans1
OSmon> setMOAttribute trans1 STN=0 promptPrefix COKAPAJA2-0 sustituir por el nombre del sitio
OSmon> checkconsistency trans1 
OSmon> commit trans1 forcedcommit
OSmon> endtransaction trans1

+++++++QUITAR ALARMA DE SYNC EN SIU SOLO CON CAMBIAR LA FECHA

settime Year(1970->) Mon(1-12) Day(1-31)
OSmon>  settime  2009 06 01 12 12 4 6

++++++++RESTAURAR SIU/TCU

OSmon> startSession s1
OSmon> uselocalsftp on
OSmon> download s1 sftp://anonymous:anonymous@192.168.1.5/SIU_BCKUP_GUALOSO.xml 15
OSmon> getsessionstatus s1
OSmon> restore s1 admin
OSmon> endsession s1
OSmon> getMOAttribute STN=0, Equipment=0 serialNumber

++++++Resetear TCU-SIU
OSmon> resettofactorysetting
OSmon> deleteAiMo

*******Revision de Configuracion de TCU
getmoattribute
getmoattribute STN=0
getcontainment STN=0
traceallmoattributeinlog
syslog read -s event -n1000
showmacfwtable all  ver mac de equipos y vlan

*******revisar temperatura 

getmoattribute STN=0,TempSensor=0; currentTemp
gettemperature

******Test de Tx por Vlan
simpleping 10.246.239.230 10.246.239.229
ping -c 25 -s 1450 -l 10.246.239.230 -q 10.246.239.229 (esta ips varian de acuerdo a cada sitio este ejemplo es de ping al gateway OAM)
ping -c 25 -s 1450 -l 10.246.239.230 -q 10.36.1.200 (esta ips varian de acuerdo a cada sitio este ejemplo es de ping al OSS desde el OAM)
ping -c 25 -s 1450 -l 10.247.239.230 -q 10.38.116.131 (esta ips varian de acuerdo a cada sitio este ejemplo es de ping a la BSC desde el ABI
traceroute 172.27.254.

+++++comandos tips+++

getmoattribute stn=0,ethernetinterface=all                       **revisar la interfaces ethernet 
getmoattribute stn=0,ethernetinterface=all Mode                  **velocidad de puerto configurado
getmoattribute stn=0,ethernetinterface=all currentMode           **muestra velocidad del puerto actualmente
getmoattribute stn=0,ethernetinterface=all operationalState      **para verificar si esta enable o disable
getmoattribute stn=0,ethernetinterface=all portId                **se utiliza para leer cul puerto est asociado con la interface
timeservertest  start  **Revisar Sincronia
ping -c 1000 -s 1400 10.26.0.103
traceroute -s 10.20.117.154 192.168.160.67
getneighbors   (Status network)
showMACFwTable all (Mac de transito de la red)
getmoattribute STN=0,RoutingTable=0,IpRoute=all (tabla de ruta)
uptime  ** (tiempo que la TCU a estado en servicio)
getlinkoam interfacestatus STN=0,EthernetInterface=SITE_LAN_0,LinkOAM=0
getTransactionStatus (confirma que esta trabajando el performance)
GetIRPVersion (Verificar Version de SW)
getTemperature (verificar temperatura
gettime (verificar fecha y hora de la TCU-SIU)
restart (Reiniciar la TCU sin borrar datos)
getlinkoam interfacestatus STN=0,EthernetInterface=0,LinkOAM=0                                                   
getlinkoam interfacestatus STN=0,EthernetInterface=SITE_LAN_0,LinkOAM=0
startsw <tab>
getsessionst <tab>
getmo <tab>
getcontai <tab>
gettime
gettemperature
repeat <cerrarlo con control+c>
show bridge <muestra el protocolo de bridge> **ATP**
show arp <muestra el protocolo de internet>
show ip route <muestra la ruta>
show ip interface brief <muestra las intrface>
showInterfaceMapping <muestra el mapa de interface y puertos
showtable route <muestra tabla de rutas asignadas>
showtable route ipv4 connected <muestra tabla de rutas asignadas> **ATP**
showtable route ipv4 static <muestra tabla de rutas asignadas>
tracepath <ip-address>
traceroute_ethernet AC:60:B6:20:4D:1E level 0 vlan 847 < ping a macaddress por vlan>
getMOAttribute STN=0,IPInterface=all MTU
getMOAttribute STN=0,VLANGroup=all depLinkLayer
getMOAttribute STN=0,EthernetInterface=all -c
getMOAttribute -c
getcounters STN=0,EthernetInterface=TCU_3G - 4G - WAN
gettransactionid
getTransactionStatus <id>
getsessionids
getSWSessionIds

ATP ATT

*****ENTRA A LA TU
show bridge <VLAN O&M y SERVICIO>
showtable route ipv4 connected <IP`s O&M y SERVICIO>
ping -c 25 10.36.1.200 <ping extendido al OSS>
ping -c 25 10.36.1.228 <ping extendido al OSS>

