3Com 4500 Switch User Manual


 
1-11
To do… Use the command… Remarks
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 information
output for a specified
switch in a fabric
info-center switch-on { unit
unit-id | master | all }
[ debugging | logging |
trapping ]*
Optional
By default, debugging information output
is enabled, and log and trap information
output are disabled for the master switch
in a fabric. Debugging, log and trap
information output are all disabled for
other switches in the fabric.
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 switch does not output
information to the log host.
After you configure the switch to output
information to the log host, the switch
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.
Set the format of the time
stamp to be sent to the
log host
info-center timestamp
loghost { date |
no-year-date | none }
Optional
By default, the time stamp format of the
information output to the log host is date.