(Page 5 of 6 in this chapter)
swish [-i] [filename]
-i specifies that the default initialization file, swish.ini, will be ignored.
exit command at the end, swish goes into interactive mode after executing the commands in the text file.
swishfor interactive mode, or
swish filename
swish: is displayed. Type Help to get a list of commands and arguments that swish supports. You may also enter the name of a command without any arguments to get more information about the command.
|
Use this prefix...
|
To indicate...
|
|---|---|
|
swi
|
Switching service commands.
|
|
drv
|
MVIP-90 driver commands.
|
|
d95
|
MVIP-95 driver commands.
|
Note: The drv commands are only applicable to MVIP-90 drivers. All stream and timeslot values should be specified in MVIP-90 syntax. The d95 commands are only applicable to MVIP-95 drivers. All stream and timeslot values should be specified in MVIP-95 syntax.
# This SWISH script connects the DSPs to the Line-interfaces on
# a fully populated AG-8 board.
# Open the switch in MVIP-95 mode with switch state restoration disabled.
swi.OpenSwitch ag8 = agsw 0 STD=MVIP95 RESTORE=DISABLE
# Reset the switch
swi.ResetSwitch ag8
# Connect the DSPs to the Line-interfaces,
swi.MakeConnection ag8 LOCAL:0:0..7 to LOCAL:5:0..7 QUAD
# The same command can be accomplished by typing the following set of commands:
swi.MakeConnection ag8 LOCAL:0:0..7 to LOCAL:5:0..7
swi.MakeConnection ag8 LOCAL:4:0..7 to LOCAL:1:0..7
swi.MakeConnection ag8 LOCAL:2:0..7 to LOCAL:7:0..7
swi.MakeConnection ag8 LOCAL:6:0..7 to LOCAL:3:0..7
# Close the switch. The connections remain because we opened the switch in restoration disabled.
swi.CloseSwitch ag8
quit
(Page 5 of 6 in this chapter)