通信人家园

 找回密码
 注册

只需一步,快速开始

短信验证,便捷登录

搜索

军衔等级:

  新兵

注册:2015-1-7
跳转到指定楼层
1#
发表于 2015-5-4 08:52:31 |只看该作者 |倒序浏览
Moshell常用命令RNC
1,  lt/ltc[1-9]Load MO tree (full or partial) and build proxy table.
lt stands for Load MO Types, ltc stands for Load MO Types and their Children. The
numeric option in ltc is for specifying the number of levels of children to load. Without the option, all levels of children are loaded.
lt指令是最常用的指令,进入moshell之后,首先用lt从库中取mo,要不然你就看不到啥东西。通过在lt后面配置不同的过滤器可以有选择的装载mo,例如lt all是全部molt iub只取包含(模糊查找)iubmo。当MO发生变化,例如删除,添加,修改参数。需要lt root更新一下,再用lt all等取mo
2,  pr/lprPrint MO LDNs and proxy ids for all or part of the MO tree currently
            loaded in moshell.
   pr 0-1000 ------- prints the MOs with proxy id 0 to 1000
Prprint RNC中定义了的mo,例如pr pluginunit可以显示RNC中哪些槽位有单板定义。
3,  get/lgetRead CM/FM attribute(s) from MO(s)
get vc trafficdes ------ get traffic descriptors for all VclTp(s)
get cable atten  ------ get attenuation values for all cables (in RBS)
get cell iub   -------  view which cells are connected to which iub’s (in RNC)
get !(utranrel|iub) ----- get all attributes from all MOs except those whose RDN matches utranrel or iub
MO(管理对象)中读取CM(配置管理)和FM(设备管理)的信息。想知道某MO的具体参数设置,用get <proxy>获得,其中proxy可由pr结果获得。
  
4,  st/lstPrint state of MOs (operationalState and administrativeState when applicable)
lst equip dis ------ view all disabled MOs under "Equipment"
St all dis   -------view all disabled MOs
st all 1.*0  ------- view all MOs which are unlocked and disabled
st all ^0   ------ view all MOs which are locked:
查看mo的工作(op)状态和管理(adm)状态。比如我们查K0001站的小区及其信道的状态,可输入lst utrancell=k0001
5,  bl/lbl: Lock or soft-lock MO(s). Works by setting the administrativestate to 0   (hard-lock) or 2 (soft-lock).
deb/ldeb: Unlock MO(s). Works by setting the administrativestate to 1.
   bl aal2.*b40a[12] - block aal2paths b40a1, b40a2
   bl 001500 - block a board. Same as lbl subrack=ms,slot=15,pluginunit=1$.
当没有s时,资源立即被锁定,administrativestate变为0;当s加上时,administrativestate设成230秒过后再变成0。我们经常要对iublink及信令闭解,可以输入lbl iublink=9 ,此时就把此iublink及其下面的NbapcNbapdNodesynch全部闭掉了。
割接前闭塞不用的传输,以免出告警时有效。
6, set[m]/lset[m]: Set an attribute value on one or several MO's.
    set aal2pathvcctp=ga36  aal2QoSAvailableProfiles 15 set an attribute of type struct
Set cell primarycpichpower 60  设置RNC下所有小区公共导频功率为60
Set cell 参数    :设置小区某参数的值。
m是为了在同一个事务transaction中设置多个属性attributes
7,  rset/lrset: Set attribute value on a restricted attribute or change the MOid of an MO.
   Therset command works by deleting the MO (and any MOs by which it is reserved) and
recreating the MO (and its reserved MOs) using the new attribute value.
   例如改小区名:rset utrancell=cell123 utrancellid cell456
8,  del/ldel: Delete MO(s).
rdel/lrdelDelete MO(s) together with children and reserving MOs.
当一个MO没有子mo reservedBy list也是空值时才可能被删除;如果此MO有子MO或者reservedBy attribute非空时,可能需要用rdel/lrdel command 代替。
Eg: ldel %ms,slot=20,plug  will delete the programs first then the piu
proxies 22 to 46 were created by a CREATE script (in run or trun). To undo it:del 46-22
9,  acl/lacl: Lists available MO actions.
   acc/lacc: Execute an MO action.
  acl all restart ------- View all restart actions
acl all [^(restart)(eteloopback)] ------ View all actions except restart and eteloopback
acc 001400 manualrestart- Same as: lacc subrack=ms,slot=14,pluginunit=1$ manualrestart  
  acc 0 manualrestart---Restart the node(RNC or RBS)
lacc AtmPort=ES-1-2-2-ima11 eteloopback-Perform End-To-End loopback on VclTp MOs
  acl列出mo可用的行为,acc执行上述操作。例如:acc sync addSyncRefResource就是增加node的一个同步源。
      
10,   run/trunRun a command file in moshell format. /EMAS/MoTester format
   run/trun***文件名---moshell里运行命令文件
一般使用trun,默认情况下当遇到意外时命令文件运行会中断,当用truni时会忽略所有的处理失败例外,但分析失败或者LDN找不到时仍然会中断。
11,          cvls/cvmk/cvms/cvset/cvrm/cvcu/cvget/cvput/cvls1
显示CV信息和CV清单。
      Cvmk创建CV备份
      Cvset设置CV启动
      Cvms创建CV并设置启动
      Cvrm册除一个或多个CV
      Cvcu 只显示当前CV信息。
12,          l+/l-/l?: Open/close /check moshell logfiles.
    l+ 打开一个log文件,如果没有给出log文件,将创建一个新LOG文件将操作信息保存在其中
      l-关闭创建的LOG文件并保存。
l? 检查是否有一个log文件打开
moshell支持同时打开多个log文件但只有一个是激活的,当一个log文件关闭,之前的log文件会恢复。
  
13,          u+/u-/u?/u!: Handling of undo mode (for undo of bl/del/rdel/set commands). Can  be used for generation of MO scripts as well.
     U+ 开始undo模式  U- 停止undo模式  U?检查undo模式是否激活
     U!转换moshell命令文件到trun/emas格式,或undo log文件到命令文件。
14,          al[atkc]Print the list of active alarms.
Al 查看告警概述           ala 查看告警详细清单
  Alt  al,但可以看时间    alk al,但可以列出告警是否确认。
15,          lk/llkView all MO(s) linked to an MO, and their states.
查看管理对象的连接和状态,例:lk iublink=站号
16,          bo/cabx/vii/inv 软硬件相关
bo:检查RNC中有的单板,打印单板概览。
Cabx:查看RNC硬件信息,指示灯状态,产品号,温度等。
Cabl:看MP/BP的处理器负荷
Cabm:打印MP/BP RAM内存使用率。
Inv:用MO形式显示 HW/SW 详细情况. 包括JVM,RRU,设备SW (spm,dsp,fpga) 都会显示出来,Licensing 的功能和容量以及ISL链路都会显示。
17,          readclock/setclock:查看系统时钟/设置系统时钟
setclock yyyy-mm-dd hh:mm:ss设置时间
18,          str/strt: 在一个node里,看所有或部分小区、iubsnbapsync、信道的状态。
   str -m 7,8,9 - print states only for modules 7, 8, and 9
   str -i 9012 - print states only for iublink 9012 and its connected cells
   str -c 90121,90131 - print states only for the sites connected to cell 90121 and 90131
   strt str 附带对应的atmport
19,          sma all:查看该板所装载程序的状态是activepassive,判断是主用板还是备用板的方法。(lhsh xxxx00 smaall登陆到该板查看程序工作状态)。
mirror stat:只对主框10,11GPB板有效,查看10,11板磁盘镜象FTC状态。MORE: FTC means 'Fault Toerant Core' only on main GPB and in charge of all the hw condition and redundant.
20,          uer[d][t]: Print UE context data (serving or drifting) for all active calls (RNC only).
  • uer -i  0001 -- print UeContext data for all UEs whose IMSI match 0001.
• uer -m 8 --  print UeContext data for all UEs in module 8.
RNC下的用户数量,用户等级,以及用户业务分布等。
21,          facc/Ipac_ping检查RNC上的IP通路。
       ipac_ping -z 10.244.87.2 -d 10.244.73.49:在RNC上用ETMFG板控制平面地址ping SGSN信令平面地址,检查PS通路状态。(-z src -d dst Send echo request from IP)
  Facc ETMFX板地址去ping 基站上FE板的用户平面地址,检查iub_ip是否通路。
22,          ced[h][r]Print dynamic cell data or capacity usage (RNC only).
ced | grep K0001A1 查看某小区数据及无线容量占用情况。
23,          pst:查看定义的统计。
?    pgets:查看定义的统计中具体的counter
?    pmom:查看RNC中所有存在的counters.
?   pcr:定义统计。
24,          capi tot: 显示CPU负荷报告
25,          license lkf:查看license状态
26,          lh ru fui get vswr可以查看3418站的驻波比(RBS侧)
当超过14dB时,驻波比正常。
27,          traceroute host
验证IP路由,通过发送 UDP/IP PDUS到另外一个host。在分析RNC到其他局向IP通路不通时定位故障点。
28,          lhsh xxyy00 <指令>登陆某块板执行指令。(其中xx 是框号,主框xx=00,yy是槽位( 范围是00-27)
lhsh 000100 spaspccinfo   检查主机框SCB板的主/备用状态
lhsh 001700 ueregprint all 查看这块板上有多少个IMSI占用
lhsh 001700 ranap dumpRoTable RANAP的真实状态,如果service availabilityinitial则状态不正常。
lh mod1 drh_ccrh_topdata module1GPB53板)下的ccdevice数目。
29,          Hi: Print history of moshell commands entered during the current session.
30,          lpget e1/vc12ttp: 查看传输质量
pr/lprPrint MO LDNs and proxy ids for all or part of the MO tree currently
            loaded in moshell.
   pr 0-1000 ------- prints the MOs with proxy id 0 to 1000
Prprint RNC中定义了的mo,例如pr pluginunit可以显示RNC中哪些槽位有单板定义。
信息中pmES表示(误码)pmSes表示(严重误码)pmUas表示(闪断)
lpdiff <E1 Proxy >这条命令是查看传输质量的

举报本楼

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

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

GMT+8, 2025-8-3 23:21 , Processed in 0.585683 second(s), 17 queries , Gzip On.

Copyright © 1999-2025 C114 All Rights Reserved

Discuz Licensed

回顶部