HP (Hewlett-Packard) M208 Switch User Manual


 
94 USING THE M208’S COMMAND SET: npsh Prompt
npsh Prompt
When npsh is accessed through a Telnet or COM1 terminal session, a prompt is dis-
played after login to indicate that it is ready to accept a command from the user. The
Telnet prompt is formatted
ipaddress
:
userid
> where ipaddress is the IP address
of the M208, and userid is the user ID of the currently logged-in user.
192.75.11.32:root>
where 192.75.11.32 is the M208’s IP address and the user is root.
The COM1 I/O port’s login prompt is formatted
userid>
.
root>
where the user logged into the COM1 port is root.
User Accounts and Permissions
When you log into the M208, you either log in as a guest or as root user. The com-
mands you will be able to utilize on the Print Server depend on which login name you
use. By default, there is one root user and one guest user; users can then be added to
this with either permission level.
Users with root permission can execute all commands; users with guest permission
cannot do any configuration and can only execute commands that display settings on
the M208. However, they can use ping and telnet as well.
Please use list user on page 102 to look at current settings. As root user, please refer
to set user on page 117 to change these settings. For a complete command set refer-
ence, please see npsh Command Set on page 95.
Redirecting Output from Commands
You can redirect output from any npsh command to any I/O port with the redirection
character >. The syntax is:
command
>
ioportname
where command is a valid npsh command and ioportname can be prn, com1, or
com2.
Examp
l
e
Examp
l
e
S
yntax