Você está na página 1de 2

1.

Examining attributes in an MO

Can examine all parameters in an MO:


get <mo>
Or a specific one if you know the attribute name
get <mo> <attribute name>
SRX01> get UtranCell=U1281A maximumTransmissionPower
100520-01:36:07 10.128.20.65 8.0a RNC_NODE_MODEL_K_9_115 stopfile=/tmp/14434
==============================================================================================
=============
MO
Attribute
Value
==============================================================================================
===============UtranCell=U1281A
maximumTransmissionPower 475
==============================================================================================
===============Total: 1 MOs

You can also do this with more than 1 attribute by separating them with | e.g.
SRX01> get UtranCell=U1281A maximumTransmissionPower|primaryscramblingcode
100520-01:40:31 10.128.20.65 8.0a RNC_NODE_MODEL_K_9_115 stopfile=/tmp/14434
==============================================================================================
===============MO
Attribute
Value
==============================================================================================
===============UtranCell=U1281A
maximumTransmissionPower 475
UtranCell=U1281A
primaryScramblingCode 165
==============================================================================================
===============Total: 1 MOs

hget is also a nice command, as you get all attributes for an MO on one line, nice if you are
looking at several MOs:
SRX01> hget UtranCell=U1281 maximumTransmissionPower|primaryscramblingcode
100520-01:42:04 10.128.20.65 8.0a RNC_NODE_MODEL_K_9_115 stopfile=/tmp/14434
.
==============================================================================================
===============MO
maximumTransmissionPower primaryScramblingCode
==============================================================================================
===============UtranCell=U1281B 475
166
UtranCell=U1281A 475
165
UtranCell=U1281C 475
167
==============================================================================================
===============Total: 3 MOs
Added 3 MOs to group: hget_group

For faster response, moshell performs the get operation on many MOs at a time and many
attributes at a time.
The drawback is in case one attribute or MO cannot be read then the get response is
corrupted for all MO/attributes that were read in that request.
The command speed can be used to specify the max number of MOs in each get request.
The command sget can be used to read one attribute at a time.
Example: When looking for disabled MOs, it is also recommended to include the !!! to look
for MOs whose state cannot be read
RNC11> st . dis|!!!
===================================================================================
Proxy Adm State
Op. State
MO
===================================================================================
74 1 (UNLOCKED) 0 (DISABLED)
Equipment=1,Subrack=MS,Slot=26,PlugInUnit=1,ExchangeTerminal=1,Os155SpiTtp=1

75
0 (DISABLED)
Equipment=1,Subrack=MS,Slot=26,PlugInUnit=1,ExchangeTerminal=1,Os155SpiTtp=1,Vc4Ttp=1
520 1 (UNLOCKED) 0 (DISABLED)
Equipment=1,Subrack=MS,Slot=7,PlugInUnit=1,ExchangeTerminal=1,Os155SpiTtp=2
521
0 (DISABLED)
Equipment=1,Subrack=MS,Slot=7,PlugInUnit=1,ExchangeTerminal=1,Os155SpiTtp=2,Vc4Ttp=1
522 1 (UNLOCKED) 0 (DISABLED)
Equipment=1,Subrack=MS,Slot=7,PlugInUnit=1,ExchangeTerminal=1,Os155SpiTtp=1
523
0 (DISABLED)
Equipment=1,Subrack=MS,Slot=7,PlugInUnit=1,ExchangeTerminal=1,Os155SpiTtp=1,Vc4Ttp=1
547 1 (UNLOCKED) 0 (DISABLED) Equipment=1,Subrack=MS,Slot=5,PlugInUnit=1,TimingUnit=1,TuSyncRef=1
556 1 (UNLOCKED) 0 (DISABLED) Equipment=1,Subrack=MS,Slot=4,PlugInUnit=1,TimingUnit=1,TuSyncRef=1
1684
0 (DISABLED) TransportNetwork=1,AtmPort=MS-7-2-1
1719
0 (DISABLED) TransportNetwork=1,SccpSp=Iu,SccpScrc=1,SccpApRemote=Iuc-2351-2300
1844
0 (DISABLED) TransportNetwork=1,AtmPort=MS-7-1-1
2473
0 (DISABLED) TransportNetwork=1,Aal2Sp=1,Aal2Ap=Iuc-2351-2300
2561
0 (DISABLED) TransportNetwork=1,AtmPort=MS-26-1-1
2623 !!!! Processing failure :se.ericsson.cello.moframework.FroRequestFailedException
TAG :"FroRequestFailed" VARIABLES :"$MO typename" = "Mtp3bSlItu", "$FRO typename" = "Mtp3bSlItu",
"$Request type" = "GetAttrReq: SCC_MGMT_FRO_NON_EXIST", "$result" = "19" !!!! Processing failure
:se.ericsson.cello.moframework.FroRequestFailedException TAG :"FroRequestFailed" VARIABLES :"$MO
typename" = "Mtp3bSlItu", "$FRO typename" = "Mtp3bSlItu", "$Request type" = "GetAttrReq:
SCC_MGMT_FRO_NON_EXIST", "$result" = "19" TransportNetwork=1,Aal2PathVccTp=Iub-3-51
2624 !!!! Processing failure :se.ericsson.cello.moframework.FroRequestFailedException
TAG :"FroRequestFailed" VARIABLES :"$MO typename" = "Mtp3bSlItu", "$FRO typename" = "Mtp3bSlItu",
"$Request type" = "GetAttrReq: SCC_MGMT_FRO_NON_EXIST", "$result" = "19" !!!! Processing failure
:se.ericsson.cello.moframework.FroRequestFailedException TAG :"FroRequestFailed" VARIABLES :"$MO
typename" = "Mtp3bSlItu", "$FRO typename" = "Mtp3bSlItu", "$Request type" = "GetAttrReq:
SCC_MGMT_FRO_NON_EXIST", "$result" = "19" TransportNetwork=1,Aal2PathVccTp=Iub-3-48
2625 !!!! Processing failure :se.ericsson.cello.moframework.FroRequestFailedException
TAG :"FroRequestFailed" VARIABLES :"$MO typename" = "Mtp3bSlItu", "$FRO typename" = "Mtp3bSlItu",
"$Request type" = "GetAttrReq: SCC_MGMT_FRO_NON_EXIST", "$result" = "19" !!!! Processing failure
:se.ericsson.cello.moframework.FroRequestFailedException TAG :"FroRequestFailed" VARIABLES :"$MO
typename" = "Mtp3bSlItu", "$FRO typename" = "Mtp3bSlItu", "$Request type" = "GetAttrReq:
SCC_MGMT_FRO_NON_EXIST", "$result" = "19" TransportNetwork=1,Aal2PathVccTp=Iub-3-47
2627 !!!! Processing failure :se.ericsson.cello.moframework.FroRequestFailedException
TAG :"FroRequestFailed" VARIABLES :"$MO typename" = "Mtp3bSlItu", "$FRO typename" = "Mtp3bSlItu",
"$Request type" = "GetAttrReq: SCC_MGMT_FRO_NON_EXIST", "$result" = "19" !!!! Processing failure
:se.ericsson.cello.moframework.FroRequestFailedException TAG :"FroRequestFailed" VARIABLES :"$MO
typename" = "Mtp3bSlItu", "$FRO typename" = "Mtp3bSlItu", "$Request type" = "GetAttrReq:
SCC_MGMT_FRO_NON_EXIST", "$result" = "19" TransportNetwork=1,Aal2PathVccTp=Iub-3-39
2628
!!!! Processing failure :se.ericsson.cello.moframework.FroRequestFailedException
TAG :"FroRequestFailed" VARIABLES :"$MO typename" = "Mtp3bSlItu", "$FRO typename" = "Mtp3bSlItu",
"$Request type" = "GetAttrReq: SCC_MGMT_FRO_NON_EXIST", "$result" = "19"
TransportNetwork=1,Aal5TpVccTp=Iub-20-45
.....
7361 0 (LOCKED)
0 (DISABLED) RncFunction=1,UtranCell=Iub-3-3,Hsdsch=1,Eul=1
7377 0 (LOCKED)
0 (DISABLED) RncFunction=1,UtranCell=Iub-3-2,Hsdsch=1,Eul=1
7403 0 (LOCKED)
0 (DISABLED) RncFunction=1,UtranCell=Iub-3-1,Hsdsch=1,Eul=1
7593 0 (LOCKED)
0 (DISABLED) RncFunction=1,UtranCell=Iub-22-3,Hsdsch=1,Eul=1
7620 0 (LOCKED)
0 (DISABLED) RncFunction=1,UtranCell=Iub-22-2,Hsdsch=1,Eul=1
7658 0 (LOCKED)
0 (DISABLED) RncFunction=1,UtranCell=Iub-22-1,Hsdsch=1,Eul=1
7802 0 (LOCKED)
0 (DISABLED) RncFunction=1,UtranCell=Iub-2-3,Hsdsch=1,Eul=1
7829 0 (LOCKED)
0 (DISABLED) RncFunction=1,UtranCell=Iub-2-2,Hsdsch=1,Eul=1
7833 0 (LOCKED)
0 (DISABLED) RncFunction=1,UtranCell=Iub-2-1
7840 1 (UNLOCKED) 0 (DISABLED) RncFunction=1,UtranCell=Iub-2-1,Fach=1028
7845 1 (UNLOCKED) 0 (DISABLED) RncFunction=1,UtranCell=Iub-2-1,Hsdsch=1
7846 0 (LOCKED)
0 (DISABLED) RncFunction=1,UtranCell=Iub-2-1,Hsdsch=1,Eul=1
7850 1 (UNLOCKED) 0 (DISABLED) RncFunction=1,UtranCell=Iub-2-1,Pch=1028
7855 1 (UNLOCKED) 0 (DISABLED) RncFunction=1,UtranCell=Iub-2-1,Rach=1028
===================================================================================
Total: 155 MOs