MRV Communications LX-4000 Series Technické informace Strana 623

  • 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 622
K-14 Enabling the Menu Feature
LX Series Configuration Guide
%menu_entry 2
Connect to Hosts
connect #
Defines Menu Entry number 2, and assigns the name “Connect to
Hosts” to it. The wildcard character # means “prompt for a
destination when the user selects this entry.”
%menu_entry 3
Port Information
show port characteristics;
%menu_wait;show port status
Defines Menu Entry number 3, and assigns the name “Port
Information” to it. The interface runs the SHOW PORT
CHARACTERISTICS command when a user selects this entry. After
the Port Characteristics display appears, the interface displays the
prompt “Press New Line to continue,” which is defined later in this
menu file. When the user presses the New Line key, the interface
runs the SHOW PORT STATUS command.
%menu_end
Indicates the end of Menu 8. You can add more options to Menu 8
as long as they appear in the file between the %menu_start 8
commands and the %menu_end command.
!Start Menu 2 - Displays
Comment line.
%menu_start 2 Show Commands
Defines the beginning of Menu number 2, and assigns it the header
“Show Commands.” The position of Menu 2 after Menu 8 in the
menu file does not affect how the server displays them. The server
orders the menus correctly.
%menu_entry 1
Who is logged in
show users
Defines Menu Entry number 1, and assigns the name “Who is
logged in” to it. The server executes the SHOW USERS command
when the user selects this entry.
%menu_entry 2
Display Devices
show device sum
Defines Menu Entry number 2, and assigns the name “Display
Devices” to it. The server executes the SHOW DEVICE SUM
command when the user selects this entry.
%menu_entry 3
Display Port Status
show port status
Defines Menu Entry number 3, and assigns the name “Display Port
Status” to it. The server executes the SHOW PORT STATUS
command when the user selects this entry.
%menu_end
Indicates the end of Menu 2. You can add more options to Menu 2
as long as they appear in the file between the %menu_start 2
commands and the %menu_end command.
%menu_prompt
Enter an option number or use
arrow keys.
Specifies the menu entry prompt.
%menu_continue
Press New Line to continue.
Specifies the menu continue prompt.
%menu_up U Up one level
Specifies U as the character that a user types to display the menu
that is up one level from the current menu.
%menu_top T Top of menu
Specifies T as the character that a user types to open the top level
menu.
Table K.2 Sample File 1 (Continued)
Sample file Command description
Zobrazit stránku 622
1 2 ... 618 619 620 621 622 623 624 625 626 627 628 ... 691 692

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

Žádné komentáře