通信人家园

 找回密码
 注册

只需一步,快速开始

短信验证,便捷登录

搜索
查看: 3783|回复: 0
打印

[分享]oss常用指令 [复制链接]

军衔等级:

  下士

注册:2011-8-132
跳转到指定楼层
1#
发表于 2012-7-27 13:11:37 |只看该作者 |倒序浏览
1、文件保存及去激活

   ->激活文件存储命令: l+
      
     后进行的操作结果将保存在路径下,路径:o:/var/opt/ericsson/amos/moshell_logfiles/dgzjun/logs_moshell/sessionlog/   (命令保存路径)
     
   ->去激活文件保存命令:l-
         
  
2、参数查看命令
     get ExternalGsmCell=* lac|cellIdentity|ncc|bcc|bcchFrequency  (查看某RNC下所有G网外部邻区相关参数)
   
     get  UtranCell=* cId|primaryCpichPower|primaryScramblingCode|uarfcnDlusedFreqThresh2dRscp  (查看某RNC下所有W小区相关参数)

     get UtranCell=* cId|locationAreaRef|primaryScramblingCode|uarfcnDl     提取W小区的相关信息
      
     文件保存后,可以在路径下打开包含这些参数的文档

     lst utrancell=DG_ZMT1371_A1 (列出DG_ZMT1371_A1详细配置信息及状态)
     
     lpr gsmre    (列出某RNC下所有GSM邻区)


     lpr utranre    (列出某RNC下所有W邻区)

2、显示某小区(以DG_ZMT1371_A1为例)下所有同频/异频邻区
   
    lget UtranCell=DG_ZMT1371_A1,UtranRelation=.* freq 0(显示同频邻区)

    lget UtranCell=DG_ZMT1371_A1,UtranRelation=.* freq 1(显示异频邻区)

3、显示某RNC下所有同频/异频邻区

    get all frequencyRelationType 0  (显示某RNC下所有W同频邻区)


    get all frequencyRelationType 1    (显示某RNC下所有W异频邻区)

    get DG_ZMT1371_A1 primaryCpichPower  (获取小区的某个参数设置值,例如:primaryCpichPower)

3、设置某个小区的参数值(例如:primaryCpichPower)

   set DG_ZMT1371_A1 primaryCpichPower 330

4、取消当前操作
   
   ctrl + z

5、查询RAB及RRC建链情况
   
   pmx utrancell=DG_ZMT1371_A1 rab -m 4 (查询DG_ZMT1371_A1近4个小时的RAB建链情况)
   

   pmx utrancell=DG_ZMT1371_A1 rrc -m 4 (查询DG_ZMT1371_A1近4个小时的RAB建链情况)

6、查询小区当前用户

   uer -c utrancell=DG_ZMT1371_A1

7、查询W站点当前用户数(针对客服反映站点无信号问题)
   
   (1)进入某个(已DG_GB8020为例)基站下
        
        mos dg8020
        
        出现DG8020黑体,输入lt all 后出现闪亮绿色后
   
  (2)查看该基站下各小区当前用户数
      
       输入 get radiolink 即可
        

8、创建不同RNC及GSM邻区

   1)创建GSM邻区(这里以DG_NC8340_C1添加460-01-9558-53923为例)
     进入所属RNC后执行如下步骤:
    (1)创建外部小区(如果已存在,直接进行第(2)步。检查是否存在可以采用get GsmRelation=.*53923方式)
      
        cr ExternalGsmNetwork=GSM_1,ExternalGsmCell=460-01-9570-53923
         
        根据提示,依次输入(CI)cellIdentity(long)、ncc (long)、bcc (long)、bcchFrequency (long)、lac (long)即可创建成功。
      
    (2)创建GSM邻区

         cr RncFunction=1,UtranCell=DG_NC8340_C1,GsmRelation=460-01-9558-53923
         
         提示,输入 Enter mo LDN:ExternalGsmNetwork=GSM_1,ExternalGsmCell=460-01-9558-53923
         
         即可创建成功。
     
   
    2)创建属于不同RNC小区下的邻区(这里以DG_HuM5068_A1添加DG_HuM2017_A1为例)
     
   (1)创建外部小区(如果已存在,直接进行第(2)步。检查是否存在可以采用get .*2017_A1方式)
      
        cr IurLink=IUR_DGRNC02,ExternalUtranCell=DG_HuM2017_A1
         
        根据提示,依次输入cId (long)、lac (long)、rac (long)、primaryScramblingCode (long)、uarfcnDl (long)、uarfcnUl (long):即可创建成功。
      
  (2)创建utrancell邻区

         cr RncFunction=1,UtranCell=DG_HuM5068_A1,UtranRelation=DG_HuM2017_A1
         
         提示,输入 Enter mo LDN:IurLink=IUR_DGRNC02,ExternalUtranCell=DG_HuM2017_A1
         
         即可创建成功。

9、查询及修改邻区级参数时,如qOffset2sn,需要用到lget及lset.get与lget命令不同之处在于,lget能够查询到所有分支下的参数,而get只能查询一级分支下的参数;lset类似。
   
   如:lget RncFunction=1,UtranCell=DG_HuM5068_A1,UtranRelation=DG_HuM2017_A1 qOffset2sn

       lset RncFunction=1,UtranCell=DG_HuM5068_A1,UtranRelation=DG_HuM2017_A1 qOffset2sn 2

10、删除邻区(ldel)
   
    ldel RncFunction=1,UtranCell=DG_HuM5068_A1,UtranRelation=DG_HuM2017_A1

11、获取某站点RSSI等信息
   
    ->首先,进入该站点,以DG_QX1312_C1为例:
      
      mos dg1312
      
      lt all
   
    ->其次,查询
     
      pmr

12、Amos基本命令及用途:

mom[tcd]              Print description of MO classes.
lt/ltc[1-9]           Load MO tree (full or partial) and build proxy table.
lc[1-9]/lcc           Load MO tree (full or partial) and build proxy table.
pr/lpr                Print MO LDNs and proxy ids currently loaded in amos.
ma/lma                Add MO(s) to an MO group.
mr/lmr                Remove an MO group or remove MOs from an MO group.
mp                    Print all defined MO groups.
get/lget              Read CM/FM attribute(s) from MO(s).
hget[c]/lhget[c]      Read CM/FM attribute(s) from MO(s), print horizontally one
                      line per MO (instead of one line per attribute).
kget/lkget            Display CM/FM attributes in exportable printout format.
* fro/lfro[m]           Read MAO data of an MO and/or froid of the MO.
st/lst                Print state of MOs.
prod                  Print productData of MO(s).
lk/llk                View all MO's linked to an MO, and their states.
lko/llko              The old lk.
set[m]/lset[m]        Set an attribute value on one or several MO's.
rset/lrset            Set attribute value on a restricted attribute.
bl/lbl          Lock or soft-lock MO(s).
deb/ldeb              Unlock MO(s).
acl/lacl              Lists available MO actions.
acc/lacc              Execute an MO action.
cr                    Create an MO.
del/ldel              Delete MO(s).
rdel/lrdel            Delete MO(s) together with children and reserving MOs.
u+/u-/u?/u!        Handling of undo mode
                      (for undo of del/rdel/set commands).
run                   Run a command file in amos format.
trun               Run a command file in EMAS/MoTester format.
ctrl-z                Abort an MO command or a "for" loop.
pol[shcu]             Poll the Network Element until the CM service is up.
re                 Disconnect and reconnect to the CM/PM service.
getmom                Check the MOM version currently stored on the
                      Network Element.
parsemom              Parse an xml MOM file.
ld                    Load one MO from the tree and add to the proxy table.
sget/lsget            Read CM/FM attributes from MO(s), one by one ("Slow" get).

13、Amos管理对象( AMOS Managed Object )命令及用途

cvls/cvmk/cvms/cvset/cvrm/cvcu/cvget/cvls1  ConfigurationVersion (CV) handling.
inv
               Complete HW/SW inventory.
cab[slxradgtme]       Display of miscellaneous COLI printouts.
stc[p][r]             Display state and configuration of AtmCrossConnections.
std                   Display state and configuration of devices.
* stv[r]             Display state, user, and bandwidth usage for ATM ports.
stt[r]                Display state and user of Physical Ports and Ds0Bundles.
hc                    Run a general healthcheck on the Network Element.
diff/ldiff            Parameter auditing or MO dump comparisons.
str[12ft]             Print status of the IubLinks/AbisLinks(RNC/BSC only).
lki                   Resource usage and configuration of IubLinks (RNC only).
remod[2]           Remodule an IubLink (RNC only).
tg[r][c][d]           Print Resource Object information for MOs in LmCell.
uer[d][t]             Print UE context data for all active calls (RNC only).
ced[h][r]             Print dynamic cell data or capacity usage <RNC only>
al[atkc]              Print the list of active alarms.
lg[aevsmircdyuolhf]   Fetching and processing of logs (alarm, event, etc)
dcg[mesra]            Fetching data for TR's/CSR's

14、Amos管理者(AMOS Administration)命令及用途

uv                    Print or change amos configuration settings.
pv                    Print scripting variables.
!/l                   Execute a unix command on the PC/workstation.
l+[m][m][o]/l-/l?  Open/close amos logfiles.
ose/coli command      Send a COLI command to the Network Element's OSE shell.
bo[r]/ba[swdp]/br[wd]/bp  Manage board groups.
proglist              List programs on a board or board group
progkill              Restart a program on a board or board group
lh                    Run COLI commands on all boards of a board group.
mon/mon+/mon-/mon?    Start/stop/check the target monitor server on the.
* sql+/sql-/sql?        Start/stop/check the SQL client on the Network Element
                      (CXC1325608).
pgu[c][f][r]          Program Upgrade. For STP use only, eg, to load black LMs.
ftree                 Recursive listing on the Network Element's file system.
ftget[c]/ftput[c]     Transfer files or directories to/from the Network Element,
                      using ftp.
htget                 Transfer files from the Network Element using http.
edit                  Edit a file on the Network Element.
fclean[f|ff|d|e]      Removal of obsolete loadmodules on the Network Element.
hi                    Print history of amos commands entered.
lmid[c]               Print translation of loadmodule product number.
p/w/pw/b              Change amos prompt and/or window title.
prox                  Toggle display of proxy identities in printout.
col                   Toggle display of colors.
ul                    Toggle display of userlabel in st/lst and pget/lpget.
conf[bld]             Toggle confirmation on various MO commands.
gs/gsg                Toggle display of old/new attribute value in set/bl/deb.
ip2d/d2ip             Convert an IP address into the format used in the fRO.
h2d/d2h               Convert an integer to hexadecimal or viceversa.
h2b/b2h               Convert a binary to hexadecimal or viceversa.
wait                  Specify a delay in hrs, mins, secs, or rops.
return                Exit from a command file without exiting from amos.
print                 Print a line or variable (scripting).
alias/unalias         Print or define command aliases.
q/bye/exit/quit        Exit amos.

15、Amos性能管理命令

pmom[acd]/lmom[c]     Print description of PM counters (pmom).
pget/lpget            Read PM attribute(s) from MO(s).
spget/lspget          Read PM attribute(s) from MO(s) one by one (slow pget/lspget)
hpget[c]/lhpget[c]    Read PM attribute(s) from MO(s).
pdiff/lpdiff          Print incrementation of PM attributes.
pmx[hfdn]             Display counter values.
pmr[ag]               Produce PM KPI reports.
pme[fd][cgu]          Fetch/decode event ROP files (RNC/RBS only).
pst                   List all PM scanners and their state.
pgets[n]              Print scanner contents.
emom                  Display list of events for event-based scanners.

16、获取命令帮助

   h <command name>

举报本楼

您需要登录后才可以回帖 登录 | 注册 |

版规|手机版|C114 ( 沪ICP备12002291号-1 )|联系我们 |网站地图  

GMT+8, 2025-8-6 08:18 , Processed in 0.343302 second(s), 17 queries , Gzip On.

Copyright © 1999-2025 C114 All Rights Reserved

Discuz Licensed

回顶部