MRV Communications LX-4000 Series Technické informace Strana 655

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 692
  • Tabulka s obsahem
  • ŘEŠENÍ PROBLÉMŮ
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 654
N-2
LX Series Configuration Guide
L You must have a script file prepared prior to using the
script command. The script files must be in
/config.
Example
LX:/config# cat datatoport.script
An example of the shell echo command within a script
follows:
Example
“shell command echo -n “AT&F +CBST=7,0,1; SO=1”>/dev/
ttyGN10”
L Note that the quotation marks at the beginning and
end of the line in the script are required.
The previous commands execute the shell echo command once.
When you require periodic or frequent execution of this
command, it is best to use a Trigger-Action with a trigger type
Instant. For an Action command, you can use either the script
command or the Superuser level CLI shell echo command,
both described here.
L When using the CLI shell command within the
Action command, the entire command must be
enclosed within quotation marks.
This functionality is also supported in a Subscriber menu. The
menu entry command can be either the script command or the
entire CLI shell echo command.
L When you use the shell command within a menu
entry, you must enclose the entire command within
quotation marks, just as you did with the string in the
script file and the Trigger-Action Action command.
Zobrazit stránku 654
1 2 ... 650 651 652 653 654 655 656 657 658 659 660 ... 691 692

Komentáře k této Příručce

Žádné komentáře