- Table of Contents
-
- H3C S3610[S5510] Series Ethernet Switches Command Manual-Release 0001-(V1.02)
- 00-1Cover
- 01-Login Command
- 02-VLAN Command
- 03-IP Address and Performance Command
- 04-QinQ-BPDU Tunnel Command
- 05-Port Correlation Configuration Command
- 06-MAC Address Table Management Command
- 07-MAC-IP-Port Binding Command
- 08-MSTP Command
- 09-Routing Overview Command
- 10-IPv4 Routing Command
- 11-IPv6 Routing Command
- 12-IPv6 Configuration Command
- 13-Multicast Protocol Command
- 14-802.1x-HABP-MAC Authentication Command
- 15-AAA-RADIUS-HWTACACS Command
- 16-ARP Command
- 17-DHCP Command
- 18-ACL Command
- 19-QoS Command
- 20-Port Mirroring Command
- 21-Cluster Management Command
- 22-UDP Helper Command
- 23-SNMP-RMON Command
- 24-NTP Command
- 25-DNS Command
- 26-File System Management Command
- 27-Information Center Command
- 28-System Maintenance and Debugging Command
- 29-NQA Command
- 30-VRRP Command
- 31-SSH Command
- 32-Appendix
- Related Documents
-
Title | Size | Download |
---|---|---|
27-Information Center Command | 142 KB |
Table of Contents
Chapter 1 Information Center Configuration Commands
1.1 Information Center Configuration Commands
1.1.4 display logbuffer summary
1.1.6 info-center channel name
1.1.7 info-center console channel
1.1.11 info-center loghost source
1.1.12 info-center monitor channel
1.1.13 info-center snmp channel
1.1.15 info-center synchronous
1.1.17 info-center timestamp loghost
Chapter 1 Information Center Configuration Commands
1.1 Information Center Configuration Commands
1.1.1 display channel
Syntax
display channel [ channel-number | channel-name ]
View
Any 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.
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 Descriptions 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(s) of the module(s) to which the information permitted through the current channel belong |
NAME |
The name(s) of the module(s) to which the information permitted through the current channel belong |
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. |
The above information indicates to output log information with the severity from 0 to 4, Trap information with the severity from 0 to 7 and Debug information with the severity from 0 to 7 to the console. The source module is default.
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 channel 8) of the information center.
Example
# Display configurations for all channels.
<Sysname> display info-center
Information Center:enabled
11.1.1.1, channel number : 2, channel name : loghost,
language english , host facility local7
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 130, dropped messages 0, overwritten messages 0
channel number : 4, channel name : logbuffer
Trap buffer:
enabled,max buffer size 1024, current buffer size 256,
current messages 10, 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 Descriptions 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 channel (It can be displayed only when the info-center loghost command is configured), 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 |
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 loghost information. |
1.1.3 display logbuffer
Syntax
A centralized device supports:
display logbuffer [ level severity | size buffersize ] * [ | { begin | exclude | include } text ]
A distributed device supports:
display logbuffer [ level severity | size buffersize | slot slotnum]* [ | { 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.
slot slotnum: Slot number.
|: 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 centralized 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 : 467
%Jun 17 15:57:09:578 2006 Sysname IC/7/SYS_RESTART:Slot=0;
System restarted --
H3C Platform Software
%Jun 17 15:57:54:428 2006 Sysname DEV/5/BOARD TEMP NORMAL:
Board temperature changes to normal in Frame 0 Slot 0, type is Sysname RPU Board.
%Jun 17 15:58:00:464 2006 Sysname SHELL/5/CMD:task:CFM ip:** user:** command:vlan 1
%Jun 17 15:58:00:465 2006 Sysname SHELL/5/CMD:task:CFM ip:** user:** command:int
erface Aux0
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. |
1.1.4 display logbuffer summary
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.
<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 : 0
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
1.1.7 info-center console channel
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
1.1.8 info-center enable
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
1.1.9 info-center logbuffer
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
1.1.10 info-center loghost
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
1.1.11 info-center loghost source
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
1.1.12 info-center monitor channel
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
1.1.13 info-center snmp channel
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.
For more information, refer to SNMP Cofiguration in SNMP-RMON.
Example
# Configure to output system information to the SNMP NMS through channel 6.
<Sysname> system-view
[Sysname] info-center snmp channel 6
1.1.14 info-center source
Syntax
info-center source { module-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 { module-name | default } channel { channel-number | channel-name }
View
System view
Parameter
module-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
1.1.15 info-center synchronous
Syntax
info-center synchronous
View
System view
Parameter
None
Description
Use the info-center synchronous command to enable synchronous information output. Use the undo terminal debugging command to disable the synchronous information output.
By default, the synchronous information output is disabled.
& Note:
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 sync 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 ethe command. After the system has finished its output of trap packets, it will display the user’s original input, which is “display interface ethe” in this case.
[Sysname] display interface ethe
%Apr 2 17:33:48:986 2000 Sysname L2INF/5/PORT LINK STATUS CHANGE:- 1 -
Ethernet1/0/20: is UP
[Sysname] display interface ethe
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 time stamp format.
By default, the time stamp format for log and trap information is date and that for debug information is boot.
Example
# Configure the time stamp for debug information to be data.
<Sysname> system-view
[Sysname] info-center timestamp debugging data
1.1.17 info-center timestamp loghost
Syntax
info-center timestamp loghost { date | no-year-date | none }
undo info-center timestamp loghost
View
System view
Parameter
date: Indicates that the year information is included in the output log information.
no-year-date: Indicates that the year information is not included in the output log information.
none: Indicates that no time stamp information is provided in the output log information.
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 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
1.1.18 info-center trapbuffer
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
1.1.19 reset logbuffer
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
1.1.20 reset trapbuffer
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
1.1.21 terminal debugging
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
1.1.22 terminal logging
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
1.1.23 terminal monitor
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
1.1.24 terminal trapping
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