HP Comware 5 Debug Manual Vol 3

Views
User view
Default command level
1: Monitor level
Parameters
brief: Specifies brief terminal access packet information debugging.
detail: Specifies detailed terminal access packet information debugging.
all: Specifies all types of terminal access packet debugging.
recv-remote: Displays information about terminal access packets received from the peer end.
recv-terminal: Displays information about terminal access packets received from the terminal.
send-remote: Displays information about terminal access packets sent to the peer end.
send-terminal: Displays information about terminal access packets sent to the terminal.
terminal-number: Specifies a terminal by its number.
Examples
# Enable terminal monitoring and terminal access brief packet information debugging. Output similar to
the following example is generated when you perform operations on the terminal under the following
conditions:
The terminal number is set to 1.
A link to a FEP is established.
<Sysname> terminal monitor
<Sysname> terminal debugging
<Sysname> debugging rta packet brief all 1
<Sysname>
*Nov 25 18:02:30:885 2006 Sysname RTA/7/debug:
18:02:30 Terminal[1]: Receive from terminal 1 bytes.
*Nov 25 18:02:30:886 2006 Sysname RTA/7/debug:
18:02:30 Terminal[1]: Send to socket 1 bytes.
*Nov 25 18:02:30:895 2006 Sysname RTA/7/debug:
18:02:30 Terminal[1]: Receive from remote 2 bytes.
*Nov 25 18:02:30:896 2006 Sysname RTA/7/debug:
18:02:30 Terminal[1]: Send to terminal 2 bytes.
*Nov 25 18:02:30:916 2006 Sysname RTA/7/debug:
18:02:30 Terminal[1]: Receive from remote 19 bytes.
*Nov 25 18:02:30:916 2006 Sysname RTA/7/debug:
18:02:30 Terminal[1]: Send to terminal 19 bytes.
// Terminal access received one byte of data from the terminal and sent it to the FEP. Terminal access
received two bytes of data from the peer end and sent it the terminal. Terminal access received 19 bytes
of data from the FEP and sent it to the terminal.
# Enable terminal monitoring and terminal access detailed packet information debugging. Output
similar to the following example is generated when you perform operations on the terminal under the
following conditions:
The terminal number is set to 1.
445