![Cisco BTS 10200 Softswitch Скачать руководство пользователя страница 781](http://html.mh-extra.com/html/cisco/bts-10200-softswitch/bts-10200-softswitch_troubleshooting-manual_67550781.webp)
16-33
Cisco BTS 10200 Softswitch Troubleshooting Guide, Release 5.0.x
OL-8723-19
Chapter 16 Disaster Recovery Procedures
Recovering Shared Memory Data
Controlling Trunks and Trunk Groups
Control trunks and trunk groups with scripts created through the following CLI commands:
Using the cs-control Tool to Bring Subscribers In-Service
Use the cs-control tool to bring subscribers in-service. Obtain the cs-control tool from Cisco. You must
write a script (as shown in the following example) to be used by the cs-control tool.
Example of a Script
control subscriber-termination id=sub1;mode=forced;target-state=INS
control subscriber-termination id=sub2;mode=forced;target-state=INS
control subscriber-termination id=sub3;mode=forced;target-state=INS
control subscriber-termination id=sub4;mode=forced;target-state=INS
Note
The completed script will be placed in the /opt/OptiCall/CAxxx/bin directory on the primary
CA.
The cs-control script is invoked from /opt/OptiCall/CAxxx/bin directory to place subscribers in-service
as follows:
cs-control data <
name of the script used in the step above
>
Table 16-1
Controlling Trunks and Trunk Groups Examples
CLI Command
Example
control trunks oos
control trunk-termination tgn-id=1;cic=1-24;mode=forced; target-state=oos;
control trunk-grps oos
control trunk-grp id=1;mode=forced;target-state=oos;
control h323gws oos
control h323-gw id=h323;mode=forced;target-state=oos;
unequip trunk terminations
unequip trunk-termination tgn-id=1;cic=all;
control h323gws ins
control h323-gw id=h323;mode=forced;target-state=ins;
control trunk-grps ins
control trunk-grp id=1;mode=forced;target-state=ins;
equip trunk terminations
equip trunk-termination tgn-id=1;cic=all;
control trunks ins
control trunk-termination tgn-id=1;cic=1-24;mode=forced;target-state=ins;