【资料成文时间】:
【语言】:
【页数】:
【何人(公司)所著】:
【文件格式】:
【文件原名】:
【摘要或目录】:
eric@ahappl1> pwd
/home/eric
eric@ahappl1> cp /var/opt/ericsson/cnai/data/export/ccc .
eric@ahappl1> textedit ccc
cna_export NW=network,MSC=all,MSC_REF=none,BSC=bsc,BSC_REF=all,SITE=all,SITE_REF=all,TG=all,TG_REF=all,CELL=all,CELL_REF=all,OUTPUT=amcc_hshbsc1.txt
新开terminal:
rsh mashost
eric@ahmas1o> pwd
/home/eric
eric@ahmas1o> ls -l ccc
-rwxr-xr-x1 ericnms 149 Oct 18 13:44 ccc
eric@ahmas1o> ./ccc
eric@ahappl1> pwd
如果要取hshbsc1配置,则修改为
cna_export NW=network,MSC=mscfile,MSC_REF=none,BSC=bscfile,BSC_REF=all,SITE=all,SITE_REF=all,TG=all,TG_REF=all,CELL=all,CELL_REF=all,OUTPUT=hshwuwbsc1026.txt
mscfile文件位置:
/etc/opt/ericsson/cnai/data
bscfile文件位置:
/etc/opt/ericsson/cnai/data
Export in Progress: 100%
Report file: /var/opt/ericsson/cnai/data/export/
log每日更新backup位置:
ftp://eric@10.147.8.6/home/eric/_npi/cdd/bsc/
cna_export [AREA = user:area_name,] NW = network,
MSC = obj_file | all, \
MSC_REF = param_file| none | all, \
[BSC = obj_file | all, \
BSC_REF = param_file| none | all, \
[PP = obj_file | all, \
PP_REF = param_file | none | all,] \
[SITE = obj_file | all, \
SITE_REF = param_file | none | all, \
[TG = obj_file | all, \
TG_REF = param_file | none | all,]] \
[CELL = obj_file | all, \
CELL_REF = param_file | none | all,]] \
OUTPUT = transfer_file_name \
[,MNCZEROEXPAND = yes | no]
Note:
The arguments added to obj_file are used to filter information for export. The specifications set affect lower hierarchy levels. When, however, it comes to param_file , the arguments added affect the current hierarchy level, only.
Note:
There is no relation between the attributes in the exported data, thus it is not possible to specify any sort order between them.
Note:
When the MNCZEROEXPAND parameter is set to "yes" the exported MNC (Mobile Network Code) parameter value will be zero expanded to two or three digits depending on the EXPANDEDMNC MSC or the MNCDIGITHAND BSC parameters.
Example 4Exporting all cell data
Type:
cna_export NW = network, \
MSC = all, MSC_REF = none, \
BSC = all, BSC_REF = none, \
CELL = all, CELL_REF = all, \
OUTPUT = transfer_file_name_1
Example 5Exporting all data except cell data
Type:
cna_export NW = network, \
MSC = all, MSC_REF = all, \
BSC = all, BSC_REF = all, \
PP = all, PP_REF = all, \
SITE = all, SITE_REF = all, \
TG = all, TG_REF = all, \
OUTPUT = transfer_file_name_2
log记录:
eric@ahappl1> rsh mashost
Last login: Wed Oct 18 16:42:06 from 10.148.160.200
Sun Microsystems Inc.SunOS 5.8 Generic PatchFebruary 2004
You have new mail.
eric@ahmas1o> pwd
/home/eric
eric@ahmas1o> cna_export NW=network,MSC=none,MSC_REF=none,BSC=all,BSC_REF=none,S
ITE=all,SITE_REF=all,TG=all,TG_REF=all,CELL=all,CELL_REF=all,OUTPUT=amcc_hshbsc1
.txt
Failed, please check report file: /var/opt/ericsson/cnai/log/reports/Export_eric
_amcc_hshbsc1.txt_2_report.txt
eric@ahmas1o>
eric@ahmas1o> cna_export NW=network,MSC=none,MSC_REF=none,BSC=all,BSC_REF=none,S
,OUTPUT=amcc_hshbsc1a.txt
Failed, please check report file: /var/opt/ericsson/cnai/log/reports/Export_eric
eric@ahmas1o> cna_export NW=network,MSC=none,MSC_REF=none,BSC=all,BSC_REF=none,S
,OUTPUT=amcc_hshbsc1a.txt;
Failed, please check report file: /var/opt/ericsson/cnai/log/reports/Export_eric
eric@ahmas1o> cna_export NW=network,MSC=none,MSC_REF=none,BSC=all,BSC_REF=none,Sone,OUTPUT=amcc_hshbsc1a.txt
Failed, please check report file: /var/opt/ericsson/cnai/log/reports/Export_eric
eric@ahmas1o> cna_export NW=network,MSC=all,MSC_REF=none,BSC=all,BSC_REF=none,SIne,OUTPUT=amcc_hshbsc1a.txt
Export in Progress: 100%
Report file: /var/opt/ericsson/cnai/log/reports/Export_eric_amcc_hshbsc1a.txt_3_
eric@ahmas1o>
eric@ahmas1o> cna_export NW=network,MSC=all,MSC_REF=none,BSC=bscfile,BSC_REF=nonall,OUTPUT=amcc_hshbsc1.txt
Failed, please check report file: /var/opt/ericsson/cnai/log/reports/Export_eric
eric@ahmas1o> cna_export NW=network,MSC=all,MSC_REF=none,BSC=bscfile,BSC_REF=nonF=none,OUTPUT=amcc_hshbsc1a.txt
Failed, please check report file: /var/opt/ericsson/cnai/log/reports/Export_eric
eric@ahmas1o> more /var/opt/ericsson/cnai/log/reports/Export_eric_amcc_hshbsc1
/var/opt/ericsson/cnai/log/reports/Export_eric_amcc_hshbsc1: No such file or directory
eric@ahmas1o> cd /var/opt/ericsson/cnai/log/reports/
eric@ahmas1o> ls
Export_eric_amcc_hshbsc1.txt_0_report.txt
Export_eric_amcc_hshbsc1.txt_1_report.txt
Export_eric_amcc_hshbsc1.txt_2_report.txt
Export_eric_amcc_hshbsc1.txt_3_report.txt
Export_eric_amcc_hshbsc11018.txt_0_report.txt
Export_eric_amcc_hshbsc1a.txt_0_report.txt
Export_eric_amcc_hshbsc1a.txt_1_report.txt
Export_eric_amcc_hshbsc1a.txt_2_report.txt
Export_eric_amcc_hshbsc1a.txt_3_report.txt
Export_eric_amcc_hshbsc1a.txt_4_report.txt
Export_ossch_amcc_hshbsc1.txt_0_report.txt
Export_ossch_amcc_hshbsc1.txt_1_report.txt
Export_ossch_amcc_hshbsc1.txt_2_report.txt
Export_ossch_amcccna1.txt_0_report.txt
Export_root_cna_0925_0_report.txt
eric@ahmas1o> ls -lrt
total 258
-rw-r--r--1 rootnms21166 Sep 25 19:20 Export_root_cna_0925_0_report.txt
-rw-r--r--1 ericnms38591 Oct 18 13:03 Export_ossch_amcccna1.txt_0_report.txt
-rw-r--r--1 ericnms79 Oct 18 13:10 Export_ossch_amcc_hshbsc1.txt_0_report.txt
-rw-r--r--1 ericnms 296 Oct 18 13:11 Export_ossch_amcc_hshbsc1.txt_1_report.txt
-rw-r--r--1 ericnms21088 Oct 18 13:12 Export_ossch_amcc_hshbsc1.txt_2_report.txt
-rw-r--r--1 ericnms 330 Oct 18 14:01 Export_eric_amcc_hshbsc1.txt_0_report.txt
-rw-r--r--1 ericnms 300 Oct 18 14:25 Export_eric_amcc_hshbsc11018.txt_0_report.txt
-rw-r--r--1 ericnms 330 Oct 18 14:27 Export_eric_amcc_hshbsc1.txt_1_report.txt
-rw-r--r--1 ericnms 330 Oct 18 16:52 Export_eric_amcc_hshbsc1.txt_2_report.txt
-rw-r--r--1 ericnms 297 Oct 18 16:54 Export_eric_amcc_hshbsc1a.txt_0_report.txt
-rw-r--r--1 ericnms 297 Oct 18 16:54 Export_eric_amcc_hshbsc1a.txt_1_report.txt
-rw-r--r--1 ericnms 297 Oct 18 16:57 Export_eric_amcc_hshbsc1a.txt_2_report.txt
-rw-r--r--1 ericnms38595 Oct 18 17:00 Export_eric_amcc_hshbsc1a.txt_3_report.txt
-rw-r--r--1 ericnms 330 Oct 18 17:04 Export_eric_amcc_hshbsc1.txt_3_report.txt
-rw-r--r--1 ericnms 332 Oct 18 17:04 Export_eric_amcc_hshbsc1a.txt_4_report.txt
eric@ahmas1o> more Export_eric_amcc_hshbsc1a.txt_4_report.txt
EXPORT REPORT
Started by : eric
Started at : Wed Oct 18 17:04:39 2006
Transfer File : amcc_hshbsc1a.txt
Area : VALID
Area user: VALID
#### Error: The transfer file: /var/opt/ericsson/cnai/data/export/amcc_hshbsc1a.
txt already exists.
The Transfer File contains 0 data rows.
END.
eric@ahmas1o> cd ..
eric@ahmas1o> pwd
/var/opt/ericsson/cnai/log
eric@ahmas1o> cna_export NW=network,MSC=all,MSC_REF=none,BSC=bscfile,BSC_REF=none,SITE=all,SITE_REF=none,TG=all,TG_REF=none,CELL=all,CELL_REF=none,OUTPUT=amcc_hshbsc1b.txt