26
Device Access
Calling ts_menu with arguments
Apart from calling
ts_menu
with no arguments (which directs the user to the traditional
ts_menu interface) this application can be used with the following command line
arguments:
ts_menu [-u<user>] [-l[c]] [-ro] [-s] [-auth] [<console port>]
The meaning of each argument is:
•
-u<user>
- Invokes ts_menu as the user named by <user>. This requires a
password to be entered. The user have access only to the authorized serial ports.
•
-l[c]
- Generates a list of all ports that the user has access to and terminates. Port
aliases will be presented if defined. For the remote ports (clustering) if port alias
is not defined they will be shown as "ip_addr:port" (ip_addr referring to the slave
ACS). The default is displaying ports in alphabetical order, but in case "c" flag is
also specified the listing will be sorted by console server (master unit showing
first).
•
-ro
- Invokes ts_menu in read only mode. It works even if the user is the only one
logged to a certain port. In this mode, the user can connect to any port he has access
to but cannot type in. He is in sniff mode. A message stating "Read only mode" is
provided in case the user attempts to interact with that port. Note however that a
real sniff session (the user isn't the first one to log to a certain port) is only allowed
if he is authorized to.
•
-s
- Invokes ts_menu in a way that all ports (including slave ACSs) are presented
in a single list sorted in alphabetical order. Not using this option causes the display
to be as for the old implementation.
•
-auth
- For backward compatibility, this option makes the new ts_menu
implementation behave as the old one so that authentication is performed again to
access each port.
•
<console port>
- If issued, produces a direct connection to that port. In the case
the user doesn't have access to that port or the port doesn't exist, the application
returns a "console not found" message and terminates.
<console port>
can be the
port alias or the port number. In case of clustering, port number must include a
reference to the slave ACS as "host:port" (where host is the slave hostname or IP
address).
Other options:
•
-p
- Display TCP port
•
-P
- Use the TCP port instead of IP address
•
-i
- Display Local IP assigned to the serial port
•
-s
- Show the ports in a sorted order
•
-u <name>
- Username to be used in SSH/Telnet command
•
-U
- Always ask for an username
•
-e <[^]char>
- Escape char used by Telnet or SSH
Содержание AlterPath ACS
Страница 16: ...xvi Table of Contents...
Страница 29: ...13 This page has been left intentionally blank...
Страница 30: ...14 Preface...
Страница 68: ...52 Device Access...
Страница 86: ...70 Authentication Step 5 Saving changes To save the configuration run the command saveconf...
Страница 96: ...80 Authentication Save the configuration to flash 2 cli config savetoflash...
Страница 114: ...98 Authentication...
Страница 204: ...188 Administration To exit the CLI mode and return to ACS s shell issue the command cli quit...
Страница 268: ...252 Power Management with AlterPath PM Integration...
Страница 304: ...288 PCMCIA Cards Integration...
Страница 338: ...322 Profile Configuration...
Страница 364: ...348 Additional Features and Applications...
Страница 376: ...360 Appendix A New User Background Information...
Страница 406: ...390 Appendix C Cabling and Hardware Information This page has been left intentionally blank...
Страница 418: ...402 List of Tables...
Страница 420: ...404 List of Figures...