
13
Output of the debugging information may degrade system efficiency, so you should enable the
debugging of the corresponding module for diagnosing network failure, and not to enable debugging
of multiple modules at the same time.
Default level
describes the default level of the
debugging all
command. Different
debugging
commands
may have different default levels.
You must configure the
debugging
,
terminal debugging
and
terminal monitor
commands first to display
detailed debugging information on the terminal. For more information about the
terminal debugging
and
terminal monitor
commands, see the chapter “Information center commands.”
Related commands:
display debugging
.
Examples
# Enable IP packet debugging.
<Sysname> debugging ip packet
display debugging
Syntax
display
debugging
[
interface
interface-type interface-number
]
[
module-name
] [
|
{
begin
|
exclude
|
include
}
regular-expression
]
View
Any view
Default level
1: Monitor level
Parameters
interface
interface-type interface-number
: Displays the debugging settings of the specified interface,
where
interface-type interface-number
represents the interface type and number.
module-name
: Module name.
|
: Filters command output by specifying a regular expression. For more information about regular
expressions, see
Fundamentals Configuration Guide
.
begin
: Displays the first line that matches the specified regular expression and all lines that follow.
exclude
: Displays all lines that do not match the specified regular expression.
include
: Displays all lines that match the specified regular expression.
regular-expression
: Specifies a regular expression, a case-sensitive string of 1 to 256 characters.
Description
Use the
display debugging
command to display enabled debugging functions.
Related commands:
debugging
.
Examples
# Display all enabled debugging functions.
<Sysname> display debugging
IP packet debugging is on