Syntax
reset trapbuffer
Views
User view
Default command level
3: Manage level
Examples
# Clear the trap buffer.
<Sysname> reset trapbuffer
terminal debugging
Use terminal debugging to enable the display of debug information on the current terminal.
Use undo terminal debugging to disable the display of debug information on the current terminal.
Syntax
terminal debugging
undo terminal debugging
Default
The display of debug information on the current terminal is disabled.
Views
User view
Default command level
1: Monitor level
Usage guidelines
To view debug information, execute the terminal monitor and terminal debugging commands, enable
information center (enabled by default), and finally use a debugging command to enable the related
debugging.
The configuration of this command is only valid for the current connection between the terminal and the
device. If a new connection is established, the display of debugging information on the terminal restores
the default.
Examples
# Enable the display of debugging information on the current terminal.
<Sysname> terminal debugging
Info: Current terminal debugging is on.
terminal logging
Use terminal logging to enable the display of log information on the current terminal.
Use undo terminal logging to disable the display of log information on the current terminal.
229