HP Comware 5 Debug Manual Vol 3
RSH debugging commands
debugging rsh
Use debugging rsh to enable RSH debugging.
Use undo debugging rsh to disable RSH debugging.
Syntax
debugging rsh
undo debugging rsh
Default
RSH debugging is disabled.
Views
User view
Default command level
1: Monitor level
Examples
# Enable RSH debugging. When RSH is used to execute an OS command of a remote host, output
similar to the following example is generated:
<Sysname> debugging rsh
<Sysname> rsh 1.1.1.1 command cd c:
Trying 1.1.1.1 ...
Press CTRL+K to abort
*0.5850881 Sysname RSH/8/REQUEST:User Sysname start connection to Server (1.1.1.1)
*0.5850990 Sysname RSH/8/SEND:User Sysname sent 23 byte(s) to server (1.1.1.1)
*0.5851090 Sysname RSH/8/RECV:User Sysname received 1 byte(s) from server (1.1.1.1)
*0.5851200 Sysname RSH/8/CLOSECONN:Server (1.1.1.1) closed connection
// The device initiated an RSH connection to remote host 1.1.1.1 (the RSH server), sent 23 bytes, and
received 1 byte. The remote host closed the RSH connection.
326