
45
Outputting system information to the SNMP module
NOTE:
The SNMP module accepts only the trap information; it discards log and debugging information even if
you have configured to output them to the SNMP module.
To monitor the device running status of the device, trap information is usually sent to the SNMP network
management station system (NMS). You To do so, you need to configure to send traps to the SNMP
module, and then set the trap sending parameters for the SNMP module to further process traps. For
more information, see the chapter “SNMP configuration.”
Follow these steps to configure to output system information to the SNMP module:
To do…
Use the command…
Remarks
Enter system view
system-view
—
Enable information center
info-center enable
Optional
Enabled by default
Name the channel with a
specified channel number
info-center channel
channel-number
name
channel-name
Optional
See
for default channel names.
Configure the channel
through which system
information can be output
to the SNMP module
info-center snmp channel
{
channel
-
number | channel
-
name
}
Optional
By default, system information is output to
the SNMP module through channel 5
(known as snmpagent).
Configure the output rules
of the system information
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
} * ] *
Optional
See “
Default output rules of system
Configure the format of the
time stamp
info-center timestamp
{
debugging
|
log
|
trap
} {
boot
|
date
|
none
}
Optional
The time stamp format for log, trap and
debugging information is
date
by default.
Outputting system information to the web interface
This feature allows you to control whether to output system information to the web interface and which
system information can be output to the web interface. The web interface provides abundant search and
sorting functions; therefore, if you configure to output the system information to the web interface, you can
view system information by clicking corresponding tabs after logging in to the device through the web
interface.
Follow these steps to set to output system information to the web interface:
To do…
Use the command…
Remarks
Enter system view
system-view
—
Enable information
center
info-center enable
Optional
Enabled by default.