help rnc command

9
Help RNC : Marc 02/12/2008 The main Passport command: Commands Description P = provisioning O = Operational list <component> Lists subcomponents of a component or all instances of a type of component. (P, O) display <component> Displays all the attributes of a particular component in a particular view. (P, O) help <component> Provides information about commands, components and attributes. (P, O) lock <component> Prevents additional use of a component, eventually the component will not be in use operationally. (P, O) unlock <component> Changes the operational use of a component. It is normally used after the lock command. After unlock has been issued, the component is ready to provide service. (P, O) start prov Starts provisioning mode. Only one provisioning session is allowed at a time. (O) copy prov Copies components from a specified view (that is, the current view or edit view) into the edit view. (P) load prov Loads provisioning data stored on disk into edit view. (P) set <component> <attr><value> Changes the value of an attribute for a particular component. (P, O) add <component> Adds a new component to the edit view. (P) delete <component> Removes a component (and its subcomponents) from the edit view. (P) clear prov Deletes all non- permanent components from edit view. (P) check prov Invokes semantic checking of components in edit view. (P) save prov Saves the provisioning data from a particular view on the disk. (P) activate prov Copies the edit view into current view, thus making this the actual configuration of the node. This involves modifying the running configuration and/ or software on the node. (P) confirm prov Ensures that connectivity to the operator is maintained after activation. If the operator cannot confirm, then the node will roll back to the committed view after 20 minutes. (P) commit prov Sets the current view of the provisioning data as the committed view. (P) stop prov Stops a running check, apply, load, or save command as soon as possible. (P) end prov Exits provisioning mode. (P) 1

Upload: mular-abdul-shukoor

Post on 22-Apr-2015

200 views

Category:

Documents


2 download

TRANSCRIPT

Page 1: Help RNC Command

Help RNC   : Marc 02/12/2008

The main Passport   command:

Commands Description P = provisioning O = Operational

list <component> Lists subcomponents of a component or all instances of a type of component. (P, O)

display <component> Displays all the attributes of a particular component in a particular view. (P, O)

help <component> Provides information about commands, components and attributes. (P, O)

lock <component> Prevents additional use of a component, eventually the component will not be in use operationally. (P, O)

unlock <component> Changes the operational use of a component. It is normally used after the lock command. After unlock has been issued, the component is ready to provide service. (P, O)

start prov Starts provisioning mode. Only one provisioning session is allowed at a time. (O)

copy prov Copies components from a specified view (that is, the current view or edit view) into the edit view. (P)

load prov Loads provisioning data stored on disk into edit view. (P)

set <component> <attr><value> Changes the value of an attribute for a particular component. (P, O)

add <component> Adds a new component to the edit view. (P)

delete <component> Removes a component (and its subcomponents) from the edit view. (P)

clear prov Deletes all non- permanent components from edit view. (P)

check prov Invokes semantic checking of components in edit view. (P)

save prov Saves the provisioning data from a particular view on the disk. (P)

activate prov Copies the edit view into current view, thus making this the actual configuration of the node. This involves modifying the running configuration and/ or software on the node. (P)

confirm prov Ensures that connectivity to the operator is maintained after activation. If the operator cannot confirm, then the node will roll back to the committed view after 20 minutes. (P)

commit prov Sets the current view of the provisioning data as the committed view. (P)

stop prov Stops a running check, apply, load, or save command as soon as possible. (P)

end prov Exits provisioning mode. (P)

apply prov Applies a previously stored set of changes (on the disk) to the edit view. (P)

tidy prov Deletes provisioning data from the disk. Do not use file system commands to delete provisioning files. (P, O)

logout, quit Ends your operator session. (P, O)

1

Page 2: Help RNC Command

Provisioning command Step:

Start prov (It starts the provisioning for a change configuration)

Copy pr (This command is to be added if you want to get the whole view changed and not the delta over the global view)

[load, copy ou clear][add, delete, ou set]

Check (Check Changes)

Activate (activation of changes - each activation of a provisionning the user within 20 minutes to confirm, if it loses all these modifs automatically)

Save (protection of changes)

Confirm (confirm changes)

Commit (Only this command will go home modifs in comit view, if we do not commit, on a reset of the RNC or a power supply, it comes back to the previous setting )

End

2

Page 3: Help RNC Command

Sample of CAS command

l List object on the RNCd pr Display provisioning infosd fs Display disk synchronisationd -p rncin Display rnc infosd shelf card/* ins Display card inserted in RNCd sh ca/* Display state card inserted in RNCos pcsShowCards Show a card « RunningAsActive » state d lp/* Display card inserted in RNCd lp/* ap/* Display IP@ in RNCd lp/* ap/* rnc Display RNC applicationsd -p atmmpe/1000 ac/* Display mapping IP / vccd lp/* sdh/* Display the 16port OC3 port stated -p atmif/* Display all atm interfaced -p atmif/* vcc/* vcd corping -ip(192.168.32.20) vr/0 ip icmp Display correlation tag of vcc (ie vcc function and

Name)d atmif/* vcc/* txcell, rxcell,rdi,ais troubledd vr/0 ip arp dyn/*

tcpdump -i tap0 -vv以也可以看 PS-Call是走 ATM 还是走 IP

Show Atm traffic on vccd atmif/* VPT/* vcc/* txcell, rxcell, troubled Show Atm traffic on vpt (hairpin)d atmif/* VPC/* Display VPC (hairpin)d ss7 mtp3/* ls/* lk/* -n Display ss7 signalizationping -i(IP@) vr/0 ip icmp Ping from RNCl vr/0 ip arp * Display ip seen by virtual router/0d vr/0 ip arp dynhost/*.* Display ip seen by the RNCd vr/* ip fwd/* Display RNC IPd vr/* ip static route/* nh/* Display RNC IPclear –inverse vr/0 ip arp dynhost/nodeb ip @,0 Remove nodeb ip from the vr/0 table

d sw avl Display software running in RNCl sw av/* List the soft package in the disk.l sw dld List the soft package after download

l sw lpt/* List logical processor typed -p sw lpt/* Display Software in boardd -noTabular -p sw lpt/* Display Software in board

d -p AC userid/* Display user

d -noTabular -p vr/0 pp/* ipport/* IpLogicalInterface/* Display logical interface.

Access to file and directory in RNC   :

File System commandshelp fsls fs lists the files in the directory you are currently inls -path(software) fs lists the files in the directory “software”pwd fs tells you what directory you are currently incd -path(..) fs takes you back one directorycd -path("/") fs takes you back to the root (file system)cd -path(pathname) fs takes you down to the next file in the pathcd -path(“/pathname”) fs takes you back to root (file system) then down

to the next file in the pathcd -path("software/base") fs samplepwd fs to find the current directory

3

Page 4: Help RNC Command

Note: Always use “ “ quotation marks if you use the delimiter / .-p option permits to explore the sub-directories of the file system.-p means –path, so you need to declare the path of the directory from the root.

4

Page 5: Help RNC Command

Suppress log in console:

me (to find the session)set Nmis Local Session/1 datastream !set nmis telnet session/1 datastream !set nmis telnet session/1 datastream alaset nmis telnet session/1 datastream * (for activate)

Supress file or soft: Warning not reversible

ls -path("software/base") fs (to find the package name: sample RI51201)d sw av/base* (to see the detail package)d sw av/base_RI51201remove sw av/base_RI51201

ls -path("software/ip") fsd sw av/ip*d sw av/ip_RI51201remove sw av/ip_RI51201

ls -path(“provisioning”) fstidy -fromDate(2007-03-07) -toDate(2007-03-27) prov

tidy -query sw (to check software not used)tidy sw (to remove software not used)

d fs FS/* (to see disk capacity)d fs disk/* part/* (to see disk capacity)

Load the provisioning view from disk to edit, current and commit view

ls -path("provisioning/MASSENA3_021008.full.001") fs

Sample in Villarceau: Commis_16POC3_180108.full.002 OKfin_commiss_220108.full.001 OKRI50202_PROV_070120081524.full.002 OK Massena without NodeBRI50202_PROV_110220081609.full.002 OK Massena with NodeBfin_commiss_220108.full.001 OK with 16POC3 in LP8 and LP9Marc_fin_commis_16P0C3_150208.full.001 OK with 16POC3 in LP8 and LP9

start provload -force -f("fin_commiss_220108.full.001") provcheck provact prov

Waiting disk synchronization Waiting RNC restart (depend of delta version)

start prconf provch prsave -f(new_view_date) prcommit provend prov  

Add an sdh port to test the optical fiber (in prov mode)add lp/8 sdh/3

Other:reset sh RNC resetsync fs force disk synchronization.

5

Page 6: Help RNC Command

d aal2/* path/*

An Aal2If path through an ATM Nep (Nailed up End Point) Vcc, is responsible for handing AAL2 ATM traffic from/to physical interface and route it to/from AAL2-IP/AAL5 PCs (Protocol Converters) embedded in the same Passport Shelf.

Each Aal2if path is linked to an Atmif VCC through an ATM Nep d –p aal2/* path/*

d -p aal2/* path/*

d -p aal2/* umtsInterfaceList

d lp/* ap/4 rnc role, numOfsparedPaths, numOfUnSparedPaths

d lp/* ap/* rnc role d lp/* ap/* ip

d vr/* pp/* d atmif/800 vcc/* ais,rdi Identify the Virtual Router bearing the LocalMedia then open a telnet session on the concerned board. telnet –ip(@IPaddress) vr/x

d sh ca/* SpServ Check which CP is currently standby

Lock -force sh ca/1 Lock standby CP3 (1|unlck|ena |activ| | | | |hot |false) if active we have serv instead hot

Unlock sh ca/1 Unlock the new CP 4

Switchoverd Lp/0 Change active card LP/0 to LP/1

序号 命令 说明1. Set Nmis Local Session/1 data ! 登陆RNC以后禁止所有的告警2. d sw avl 显示RNC的软件版本3. d sw pa 显示 Patch版本4. d lp/* ap/* 察看 PMC地址5. d lp/* ap/* RncAp 检查 PMC功能分配6. os ShowCardPCS 检查所有板卡状态7. d -p rncin 显示RNC的OMU IP地址8. d rncin tmu/* celllist 显示 TMU对应的小区9. d fs disk/* part/* 显示CP的硬盘分区10. d pr 查看 PR的状态11. d lp/* sdh/* 检查 IuB/Iu的光口状态12. d atmif/* 显示 ATM链路状态13. d ss7 saalnni/* 检查 7号信令的状态14. d -p atmif/* vcc/* nep 检查与 VCC链接的 components15. d -p atmif/* vcc/* vcd tag 显示 VCC的友好名16. d -p atmmpe/* link 查看 ATMMPE状态17. d -p aal2/1 path/* 查看用户面状态18. d -p Iub/* sig/* 检查 SAAL链路状态19. ping -ip(100.24.176.16) vr/0

ip icmp从RNC ping一台 机器

20. PMC:telnet –ip(master ip) vr/1

telnet PMC

21. TMU:telci –tmu(n) rncin telnet TMU 括号内为 instance number

22. OMU:telci –omu(n) rncin telnet OMU

6