Chapter 1 Information Center Configuration
Commands
Syntax
display channel [ channel-number | channel-name ]
View
Any view
Parameter
channel-number:
Specifies a channel number, in the range of 0 to 9.
channel-name:
Specifies a channel name, which could be a default name or one that is defined
by the user. The user needs to specify a channel name first before using it as
a self-defined channel name. For more information, refer to the info-center
channel name command.
Table 1-1 Information channels for different output directions
|
Output direction
|
Information channel No.
|
Default channel name
|
|
Console
|
0
|
console
|
|
Monitor terminal
|
1
|
monitor
|
|
Log host
|
2
|
loghost
|
|
Trap buffer
|
3
|
trapbuffer
|
|
Log buffer
|
4
|
logbuffer
|
|
SNMP NMS
|
5
|
snmpagent
|
Description
Use the display channel command to
display channel information.
If no channel is specified, information for
all channels will be displayed.
Example
# Display information for channel 0.
<Sysname> display channel 0
channel number:0, channel name:console
MODU_ID NAME ENABLE
LOG_LEVEL ENABLE TRAP_LEVEL ENABLE DEBUG_LEVEL
ffff0000 default Y warnings
Y debugging Y debugging
Table 1-2 Description on the fields of
the display channel command
|
Field
|
Description
|
|
channel number
|
A specified channel number, in the range
of 0 to 9.
|
|
channel name
|
A specified channel name, which varies
according to configuration. For more information, refer to the info-center
channel name command.
|
|
MODU_ID
|
The ID of the module to which the
information permitted through the current channel belongs
|
|
NAME
|
The name of the module to which the
information permitted through the current channel belongs
|
|
ENABLE
|
Indicates whether to enable or disable
the output of log information, which could be Y or N.
|
|
LOG_LEVEL
|
The severity of log information, refer to
Table 1-4 for details.
|
|
ENABLE
|
Indicates whether to enable or disable
the output of trap information, which could be Y or N.
|
|
TRAP_LEVEL
|
The severity of trap information, refer
to Table 1-4 for details.
|
|
ENABLE
|
Indicates whether to enable or disable
the output of debug information, which could be Y or N.
|
|
DEBUG_LEVEL
|
The severity of debug information, refer
to Table 1-4 for details.
|
1.1.2 display info-center
Syntax
display info-center
View
Any view
Parameter
None
Description
Use the display info-center command
to display configurations for all channels (except channel 6 to 8) of the
information center.
Example
# Display configurations for all channels.
<Sysname> display info-center
Information Center:enabled
Log host:
Console:
channel number : 0, channel name
: console
Monitor:
channel number : 1, channel name
: monitor
SNMP Agent:
channel number : 5, channel name
: snmpagent
Log buffer:
enabled,max buffer size 1024,
current buffer size 512,
current messages 512, dropped
messages 0, overwritten messages 371
channel number : 4, channel name
: logbuffer
Trap buffer:
enabled,max buffer size 1024,
current buffer size 256,
current messages 41, dropped
messages 0, overwritten messages 0
channel number : 3, channel name
: trapbuffer
Information timestamp setting:
log - date, trap - date, debug -
boot
loghost - date
Table 1-3 Description on the fields of
the display info-center command
|
Field
|
Description
|
|
Information Center
|
The current state of the information
center, which could be enabled or disabled.
|
|
Log host
|
The state of the log host, including its
IP address, the channel number(s) and channel name(s) used, the language mode
and logging facility used.
|
|
Console
|
The state of the console, including the
channel number and channel name used
|
|
Monitor
|
The state of the monitor, including the
channel number(s) and channel name(s) used
|
|
SNMP Agent
|
The state of the SNMP agent, including
the channel number(s) and channel name(s) used by the SNMP agent.
|
|
Log buffer
|
The state of the log buffer, including
whether it is enabled or disabled, the maximum capacity, the current
capacity, the current number of messages, the number of dropped messages, the
number of messages that have been overwritten, and the channel number and
channel name used.
|
|
Trap buffer
|
The state of the trap buffer, including
whether it is enabled or disabled, the maximum capacity, the current
capacity, the current number of messages, the number of dropped messages, the
number of messages that have been overwritten, and the channel number and
channel name used.
|
|
Information timestamp setting
|
The time stamp configurations, specifying
the time stamp format for log, trap, debug, and log host information.
|
Syntax
display logbuffer [ level severity | size buffersize ] *
[ | { begin | exclude | include } text ]
View
Any view
Parameter
severity:
Information level, in the range of 0 to 7.
Table 1-4 Severity
description
|
Severity
|
Value
|
Description
|
|
emergencies
|
0
|
The most emergent errors
|
|
alerts
|
1
|
Errors that demand prompt correction
|
|
critical
|
2
|
Critical errors
|
|
errors
|
3
|
Errors that are not critical but demand
attention
|
|
warnings
|
4
|
Warnings that suggest possible errors
|
|
notifications
|
5
|
Normal errors with important prompts
|
|
informational
|
6
|
Normal prompts
|
|
debugging
|
7
|
Debugging prompts
|
buffersize:
Specifies the number of the latest log messages to display in the log buffer,
in the range of 1 to 1,024.
|: The
output log information filtered by a regular expression.
begin:
Displays log information beginning with a specified character or string.
exclude:
Displays log information that do not contain a specified character or string.
include:
Displays log information that contain a specified character or string.
text:
Regular expression.
Description
Use the display logbuffer command to
display the state of the log buffer and the log information recorded. Absence
of the size buffersize parameter indicates that all log
information recorded in the log buffer will be displayed.
Example
# Display the state of the log buffer and
the log information recorded on a device.
<Sysname> display logbuffer
Logging buffer configuration and contents:enabled
Allowed max buffer size : 1024
Actual buffer size : 512
Channel number : 4 , Channel name : logbuffer
Dropped messages : 0
Overwritten messages : 0
Current messages : 163
%Mar 24 13:50:47:500 2006 Sysname
IC/7/SYS_RESTART:
System restarted --
H3C Platform Software
%Apr 17 15:06:19:245 2006 Sysname
SHELL/5/CMD:task:vt0 ip:192.168.0.33 user:** command:user-interface vty 0 4
%Apr 17 15:06:23:418 2006 Sysname
SHELL/5/CMD:task:vt0 ip:192.168.0.33 user:** command:idle-timeout 0
%Apr 17 15:06:26:729 2006 Sysname
SHELL/5/CMD:task:vt0 ip:192.168.0.33 user:** command:q
%Apr 17 15:06:33:572 2006 Sysname
SHELL/5/LOGIN: VTY login from 192.168.0.210
%Apr 17 15:06:36:954 2006 Sysname
SHELL/5/CMD:task:vt1 ip:192.168.0.210 user:** command:sys
The rest is omitted here.
Table 1-5 Descriptions on the fields of
the display logbuffer command
|
Field
|
Description
|
|
Logging buffer configuration and contents
|
Indicates the current state of the log
buffer and its contents, which could be enabled or disabled.
|
|
Allowed max buffer size
|
The maximum buffer size allowed
|
|
Actual buffer size
|
The actual buffer size
|
|
Channel number
|
The channel number of the log buffer,
defaults to 4
|
|
Channel name
|
The channel name of the log buffer,
defaults to logbuffer
|
|
Dropped messages
|
The number of dropped messages
|
|
Overwritten messages
|
The number of overwritten messages (when
the buffer size is not big enough to hold all messages, the latest messages
will overwrite the old ones).
|
|
Current messages
|
The number of the current messages.
|
Syntax
display logbuffer summary [ level severity ]
View
Any view
Parameter
severity:
Information level, in the range of 0 to 7.
Description
Use the display logbuffer summary
command to display the summary of the log buffer.
Example
# Display the summary of the log buffer on
a device.
<Sysname> display logbuffer
summary
EMERG ALERT CRIT ERROR WARN NOTIF
INFO DEBUG
0 0 0 0 94 0
1 0
Table 1-6 Descriptions on the fields of
the display logbuffer summary command
|
Field
|
Description
|
|
EMERG
|
Represents emergencies, refer to Table 1-4 for details
|
|
ALERT
|
Represents alerts, refer to Table 1-4 for details
|
|
CRIT
|
Represents critical, refer to Table 1-4 for details
|
|
ERROR
|
Represents errors, refer to Table 1-4 for details
|
|
WARN
|
Represents warnings, refer to Table 1-4 for details
|
|
NOTIF
|
Represents notifications, refer to Table 1-4 for details
|
|
INFO
|
Represents informational, refer to Table 1-4 for details
|
|
DEBUG
|
Represents debugging, refer to Table 1-4 for details
|
1.1.5 display trapbuffer
Syntax
display trapbuffer [ size buffersize ]
View
Any view
Parameter
buffersize:
Specifies the number of the latest trap messages in a trap buffer, in the range
of 1 to 1,024.
Description
Use the display trapbuffer command
to display the state and the trap information recorded.
Absence of the size buffersize parameter
indicates that all trap information will be displayed.
Example
# Display the state of the trap buffer and
the trap information recorded.
<Sysname> display trapbuffer
Trapping buffer configuration and contents:enabled
Allowed max buffer size : 1024
Actual buffer size : 256
Channel number : 3 , channel name : trapbuffer
Dropped messages : 0
Overwritten messages : 0
Current messages : 6
#Apr 26 12:00:49:381 2000 Sysname
IFNET/5/INTERFACE UPDOWN: Trap 1.3.6.1.6.3.1.1.5.4: Interface 9437189 is Up, ifAdminStatus
is 1, ifOperStatus is 1
#Apr 26 12:00:49:411 2000 Sysname
IFNET/5/INTERFACE UPDOWN: Trap 1.3.6.1.6.3.1.1.5.4: Interface 11665408 is Up, ifAdminStatus
is 1, ifOperS
tatus is 1
#Apr 26 12:00:49:491 2000 Sysname
MSTP/2/PFWD:1.3.6.1.4.1.2011.2.23.1.14.0.1: Instance 1's Port 6.1 has been set
to forwarding state! ……
Table 1-7 Descriptions on the fields of
the display trapbuffer command
|
Field
|
Description
|
|
Trapping buffer configuration and
contents
|
Indicates the current state of the trap
buffer and its contents, which could be enabled or disabled.
|
|
Allowed max buffer size
|
The maximum buffer size allowed
|
|
Actual buffer size
|
The actual buffer size
|
|
Channel number
|
The channel number of the trap buffer,
defaults to 3
|
|
Channel name
|
The channel name of the trap buffer,
defaults to trapbuffer
|
|
Dropped messages
|
The number of dropped messages
|
|
Overwritten messages
|
The number of overwritten messages (when
the buffer size is not big enough to hold all messages, the latest messages
will overwrite the old ones).
|
|
Current messages
|
The number of the current messages.
|
1.1.6 info-center channel name
Syntax
info-center channel channel-number name channel-name
undo info-center channel channel-number
View
System view
Parameter
channel-number:
The specified channel number, in the range of 0 to 9.
channel-name:
The specified channel name, a string of 1 to 30 characters. It should not start
with a number, an underscore (-), a forward slash (/), or a backward slash (\).
The channel name is not case sensitive.
Description
Use the info-center channel name command
to name a channel with a specified channel number.
Use the undo info-center channel command
to restore the default name for a channel with a specified channel number.
Refer to Table 1-1 for details of default channel names and channel numbers.
Example
# Name channel 0 abc.
<Sysname> system-view
[Sysname] info-center channel 0 name abc
Syntax
info-center console channel { channel-number | channel-name }
undo info-center console channel
View
System view
Parameter
channel-number:
A specified channel number, in the range of 0 to 9.
channel-name:
A specified channel name, which could be a default name or one that is defined
by the user. The user needs to specify a channel name first before using it as
a self-defined channel name. For more information, refer to the info-center
channel name command.
Description
Use the info-center console channel command
to specify the channel to output system information to the console.
Use the undo info-center console
channel command to restore the default output channel to the console.
By default, output of information to the
console is enabled with channel 0 as the default channel (known as console).
Note that only after the information center
has been enabled first using the info-center enable command will
the info-center console channel command take effect.
Example
# Configure channel 0 to output system
information to the console.
<Sysname> system-view
[Sysname] info-center console channel
0
Syntax
info-center enable
undo info-center enable
View
System view
Parameter
None
Description
Use the info-center enable command
to enable information center.
Use the undo info-center enable command
to disable the information center.
Only after the information center is
enabled first will the system be able to output information to the log host or
the console.
By default, the information center is
enabled.
Example
# Enable the information center.
<Sysname> system-view
[Sysname] info-center enable
% Information center is enabled
Syntax
info-center logbuffer [ channel { channel-number | channel-name
} | size buffersize ] *
undo info-center logbuffer [ channel | size ]
View
System view
Parameter
buffersize: Specifies the maximum
number of log messages in a log buffer, in the range of 1 to 1,024 with 512 as the
default value.
channel-number:
A specified channel number, in the range of 0 to 9.
channel-name:
A specified channel name, which could be a default name or one that is defined
by the user. The user needs to specify a channel name first before using it as
a self-defined channel name. For more information, refer to the info-center
channel name command.
Description
Use the info-center logbuffer
command to enable information output to a log buffer and set the corresponding parameters.
Use the undo info-center logbuffer
command to disable information output to a log buffer.
By default, information output to the log
buffer is enabled with channel 4 (logbuffer) as the default channel and a
maximum buffer size of 512.
Note that only after the information center
is enabled using the info-center enable command will the info-center logbuffer
command take effect.
Example
# Enable the system to output information
to the log buffer with a default buffer size of 50.
<Sysname> system-view
[Sysname] info-center logbuffer size 50
Syntax
info-center loghost host-ip [ channel { channel-number
| channel-name } ] [| facility local-number
]| [ language { chinese | english } ] *
undo info-center loghost host-ip
View
System view
Parameter
host-ip:
The IP address of the log host.
channel:
Specifies the channel through which system information can be output to the log
host.
channel-number:
A specified channel number, in the range of 0 to 9.
channel-name:
A specified channel name, which could be a default name or one that is defined
by the user. The user needs to specify a channel name first before using it as
a self-defined channel name. For more information, refer to the info-center
channel name command.
facility local-number: The logging facility of the log host, can be local0
to local7, defaults to local7.
language:
The language of log information, which is English by default.
chinese:
Indicates that the log information recorded is in Chinese.
english:
Indicates that the log information recorded is in English.
Description
Use the info-center loghost command
to specify a log host and to configure the related parameters.
Use the undo info-center loghost command
to restore the default configurations on a log host.
By default, output of system information to
the log host is disabled. When it is enabled, the default channel name will be loghost
and the default channel number will be 2.
Note the following information:
l
Only after the information center is enabled
using the info-center enable command will the info-center loghost command
take effect.
l
Ensure that the IP address input is correct
while using the info-center loghost command to configure the IP address
for a log host. System will prompt an invalid address if the loopback address
(127.0.0.1) is input.
l
A maximum number of 4 hosts (different) can be
designated as the log host.
Example
# Configure to output log information to a
Unix station with the IP address being 1.1.1.1/16.
<Sysname> system-view
[Sysname] info-center loghost 1.1.1.1
Syntax
info-center loghost source interface-type interface-number
undo info-center loghost source
View
System view
Parameter
interface-type interface-number: Specifies the type and number of the source interface.
Description
Use the info-center loghost source command
to configure the source interface to output log information to the log host.
Use the undo info-center loghost source command
to remove the source interface to output log information to the log host.
By default, no source interface is
configured to output log information to the log host, and the system selects an
interface as the source interface.
Note that only after the information center
is enabled using the info-center enable command will the info-center loghost
source command take effect.
Example
# Configure the interface Vlan-interface 1
to be the source interface to output log information to the log host.
<Sysname> system-view
[Sysname] info-center loghost source Vlan-interface
1
Syntax
info-center monitor channel { channel-number | channel-name
}
undo info-center monitor channel
View
System view
Parameter
channel-number:
A specified channel number, in the range of 0 to 9.
channel-name:
A specified channel name, which could be a default name or one that is defined
by the user. The user needs to specify a channel name first before using it as
a self-defined channel name. For more information, refer to the info-center
channel name command.
Description
Use the info-center monitor channel command
to configure the channel to output system information to the monitor.
Use the undo info-center monitor channel
command to restore the default channel to output system information to the
monitor.
By default, output of system information to
the monitor is enabled with a default channel name of monitor and a default
channel number of 1.
Note that only after the information center
is enabled using the info-center enable command will the info-center
monitor channel command take effect.
Example
# Configure to output system information to
the monitor through channel 0.
<Sysname> system-view
[Sysname] info-center monitor channel
0
Syntax
info-center snmp channel { channel-number | channel-name
}
undo info-center snmp channel
View
System view
Parameter
channel-number:
A specified channel number, in the range of 0 to 9.
channel-name:
A specified channel name, which could be a default name or one that is defined
by the user. The user needs to specify a channel name first before using it as
a self-defined channel name. For more information, refer to the info-center
channel name command.
Description
Use the info-center snmp channel command
to configure the channel to output system information to the SNMP NMS.
Use the undo info-center snmp channel command
to restore the default channel to output system information to the SNMP NMS.
By default, output of system information to
the SNMP NMS is enabled with a default channel name of snmpagent and a default
channel number of 5.
Related command: display snmp-agent (Refer
to the SNMP-RMON Command Manual for detail).
Example
# Configure to output system information to
the SNMP NMS through channel 6.
<Sysname> system-view
[Sysname] info-center snmp channel 6
Syntax
info-center source { modu-name | default } channel
{ channel-number | channel-name } [ debug {
level severity | state state } * | log {
level severity | state state } * | trap {
level severity | state state } * ] *
undo info-center source { modu-name | default } channel {
channel-number | channel-name }
View
System view
Parameter
modu-name:
Specifies the name of the source module, which varies from product to product.
For instance, if information on ARP module is to be output, you can configure
this parameter as ARP.
default:
Indicates that all modules can output system information. This configuration
varies from product to product.
debug: Debug
information.
log: Log
information.
trap: Trap
information.
severity:
The severity of system information, refer to Table 1-4 for details.
state: The
state of system information, which could be on or off.
channel-number:
A specified channel number, in the range of 0 to 9.
channel-name:
A specified channel name, which could be a default name or one that is defined
by the user. The user needs to specify a channel name first before using it as
a self-defined channel name. For more information, refer to the info-center
channel name command.
Description
Use the info-center source command
to specify the information source for a specified channel.
Use the undo info-center source command
to restore the default configurations of the information source.
By default, an information channel is
allocated for each output direction. For details, refer to Table 1-1.
This command can be used to filter and to
redirect system information.
For example, the user can configure to
output log information with severity higher than warnings to the log host, and
information with severity higher than informational to the log buffer. The user
can also configure to output trap information of the ARP module to a specified
output direction.
Example
# Configure the output channel for the log
information of VLAN module to be snmpagent and to output information with
severity being emergencies.
<Sysname> system-view
[Sysname] info-center source VLAN
channel snmpagent log level emergencies
Syntax
info-center synchronous
undo info-center
synchronous
View
System view
Parameter
None
Description
Use the info-center synchronous command
to enable synchronous information output.
Use the undo info-center synchronous command
to disable the synchronous information output.
By default, the synchronous information
output is disabled.
l
Under the current command line prompt, if the
user’s input is interrupted by system output such as log information,
then after the completion of system output the system will not display command
line prompt.
l
When users need to input some interactive
information (non Y/N confirmation information) if the user’s input is interrupted
by system information, then after the completion of system output the system
will not display command line prompt but just display the user’s input.
Example
# Enable synchronous information output.
<Sysname> system-view
[Sysname] info-center synchronous
% Info-center synchronous output is
on
# The user receives trap packets when
he/she is about to display the configurations for an Ethernet interface by
inputting the display interface giga command. After the system
has finished its output of trap packets, it will display the user’s
original input, which is “display interface giga” in this case.
<Sysname> system-view
[Sysname] display interface giga
%Apr 2 17:33:48:986 2000 Sysname
L2INF/5/PORT LINK STATUS CHANGE:- 1 -
GigabitEthernet1/0/10: is UP
[Sysname] display interface giga
1.1.16 info-center timestamp
Syntax
info-center timestamp { log | trap | debugging } { boot |
date | none }
undo info-center timestamp { log | trap | debugging }
View
System view
Parameter
log: Log
information.
trap: Trap
information.
debugging: Debug
information.
boot: The
time taken to boot up the system, in the format of xxxxxx.yyyyyy, in which xxxxxx
represents the most significant 32 bits of the time taken to boot up the system
(in milliseconds) whereas yyyyyy is the least significant 32 bits.
date: The
current system date and time, in the format of “Mmm dd hh:mm:ss:sss yyyy”.
l
Mmm: The abbreviations of the months in English,
which could be Jan, Feb, Mar, Apr, May, Jun, Jul, Aug, Sep, Oct, Nov, or Dec.
l
dd: The date, starting with a space if less than
10, for example “ 7”.
l
hh:mm:ss:sss: The local time, with hh ranging
from 00 to 23, mm and ss ranging from 00 to 59, and sss ranging from 0 to 999.
l
yyyy: Represents the year.
none: No
information on time provided.
Description
Use the info-center timestamp command
to configure the time stamp format.
Use the undo info-center timestamp command
to restore the default.
By default, the time stamp format for log
and trap information is data, and that for debugging information is boot.
Example
# Configure the time stamp for debug
information to be date.
<Sysname> system-view
[Sysname] info-center timestamp
debugging date
Syntax
info-center timestamp loghost { date | no-year-date | none }
undo info-center timestamp loghost
View
System view
Parameter
date:
Indicates the current system date and time, the format of which is decided by
the log host.
no-year-date:
Indicates the current system date and time, but the year information is not
included.
none:
Indicates that no time stamp information is provided.
Description
Use the info-center timestamp loghost command
to configure the time stamp format of the log information sent to the log host.
Use the undo info-center
timestamp loghost command to restore the default configuration.
By default, the time stamp format for log
information sent to the log host is date.
Example
# Configure not to include the year
information in the output information to the log host.
<Sysname> system-view
[Sysname] info-center timestamp loghost
no-year-date
Syntax
info-center trapbuffer [channel { channel-number | channel-name
} | size buffersize ] *
undo info-center trapbuffer [ channel | size ]
View
System view
Parameter
buffersize:
Specifies the trap buffer size, that is, the number of log messages that can be
accommodated in the log buffer, in the range of 1 to 1,024. Defaults to 256.
channel-number:
A specified channel number, in the range of 0 to 9.
channel-name:
A specified channel name, which could be a default name or one that is defined
by the user. The user needs to specify a channel name first before using it as
a self-defined channel name. For more information, refer to the info-center
channel name command.
Description
Use the info-center trapbuffer
command to enable information output to the trap buffer and set the
corresponding parameters.
Use the undo info-center trapbuffer
command to disable information output to the trap buffer.
By default, information output to the trap
buffer is enabled with channel 3 (trapbuffer) as the default channel and a
maximum buffer size of 256.
Note that only after the information center
is enabled using the info-center enable command will the info-center
trapbuffer command take effect.
Example
# Enable system to output information to
the trap buffer with a default buffer size of 30.
<Sysname> system-view
[Sysname] info-center trapbuffer size
30
Syntax
reset logbuffer
View
User view
Parameter
None
Description
Use the reset logbuffer command to
reset the log buffer contents.
Example
# Reset the log buffer contents.
<Sysname> reset logbuffer
Syntax
reset trapbuffer
View
User view
Parameter
None
Description
Use the reset trapbuffer command to
reset the trap buffer contents.
Example
# Reset the trap buffer contents.
<Sysname> reset trapbuffer
Syntax
terminal debugging
undo terminal debugging
View
User view
Parameter
None
Description
Use the terminal debugging command
to enable the display of debug information on the current terminal.
Use the undo terminal debugging command
to disable the display of debug information on the current terminal.
By default, the display of debug
information on the current terminal is disabled.
Note that only after the monitoring of
system information is enabled on the current terminal first (using the terminal
monitor command) will the debug information be displayed (using the terminal
debugging command).
Example
# Enable the display of debug information
on the current terminal.
<Sysname> terminal debugging
% Current terminal debugging is on
Syntax
terminal logging
undo terminal logging
View
User view
Parameter
None
Description
Use the terminal logging command to
enable the display of log information on the current terminal.
Use the undo terminal logging command
to disable the display of log information on the current terminal.
By default, the display of log information
on the current terminal is disabled.
Note that only after the monitoring of
system information is enabled on the current terminal first (using the terminal
monitor command) will the log information be displayed (using the terminal
logging command).
Example
# Disable the display of log information on
the current terminal.
<Sysname> undo terminal logging
% Current terminal logging is off
Syntax
terminal monitor
undo terminal monitor
View
User view
Parameter
None
Description
Use the terminal monitor command to
enable the monitoring of system information on the current terminal.
Use the undo terminal monitor command
to disable the monitoring of system information on the current terminal.
l
Note that the terminal monitor command
must be issued first before the log, trap, and debug information can be
displayed using the corresponding commands.
l
Issuing of the undo terminal monitor command
automatically disable the monitoring of log, trap, and debug information.
By default, the monitoring of the console
is enabled whereas the monitoring of the terminal is disabled.
Example
# Enable the monitoring of system
information on the current terminal.
<Sysname> terminal monitor
% Current terminal monitor is on
Syntax
terminal trapping
undo terminal trapping
View
User view
Parameter
None
Description
Use the terminal trapping command to
enable the display of trap information on the current terminal.
Use the undo terminal trapping command
to disable the display of trap information on the current terminal.
By default, the display of trap information
on the current terminal is enabled.
Note that only after the monitoring of
system information is enabled on the current terminal first (using the terminal
monitor command) will the trapping information be displayed (using the terminal
trapping command).
Example
#Enable the display of trap information on
the current terminal.
<Sysname> terminal trapping
% Current terminal trapping is on