1-11
Follow these steps to enable the display of system information on a monitor terminal:
To do… Use the command… Remarks
Enable the debugging/log/trap
information terminal display
function terminal monitor Optional
Enabled by default
Enable debugging information
terminal display function terminal debugging Optional
Disabled by default
Enable log information terminal
display function terminal logging Optional
Enabled by default
Enable trap information
terminal display function terminal trapping Optional
Enabled by default
Make sure that the debugging/log/trap information terminal display function is enabled (use the
terminal monitor command) before you enable the corresponding terminal display function by using
the terminal debugging, terminal logging, or terminal trapping command.
Setting to Output System Information to a Log Host
Follow these steps to set to output system information to a log host:
To do… Use the command… Remarks
Enter system view system-view
Enable the information center info-center enable Optional
Enabled by default.
Enable system information
output to a log host
info-center loghost
host-ip-addr [ channel
{ channel-number |
channel-name } | facility
local-number ]*
Required
By default, the device does not
output information to the log
host.
After you configure the device
to output information to the log
host, the device uses
information channel 2 by
default.
Configure the source interface
through which log information is
sent to the log host
info-center loghost source
interface-type interface-number
Optional
By default, no source interface
is configured, and the system
automatically selects an
interface as the source
interface.
Configure the output rules of
system information
info-center source
{ modu-name | default }
channel { channel-number |
channel-name } [ { log | trap |
debug } { level severity | state
state } ]*
Optional
Refer to Table 1-4 for the
default output rules of system
information.