Displaying and maintaining information center – H3C Technologies H3C S3100 Series Switches User Manual

Page 799

Advertising
background image

1-13

Setting to Output System Information to the SNMP NMS

Table 1-15 Set to output system information to the SNMP NMS

Operation

Command

Description

Enter system view

system-view

Enable the information center

info-center enable

Optional

Enabled by default.

Enable information output to the
SNMP NMS

info-center snmp channel
{ channel-number | channel-name }

Optional

By default, the switch outputs trap
information to SNMP through
channel 5.

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-8

for the default

output rules of system information.

Set the format of time stamp in the
output information

info-center timestamp { log | trap
| debugging } { boot | date |
none }

Optional

By default, the time stamp format
of the information output to the
SNMP NMS is date.

To send information to a remote SNMP NMS properly, related configurations are required on both the

switch and the SNMP NMS.

Displaying and Maintaining Information Center

After the above configurations, you can execute the display commands in any view to display the

running status of the information center, and thus validate your configurations. You can also execute the

reset commands in user view to clear the information in the log buffer and trap buffer.

Table 1-16 Display and maintain information center

Operation

Command

Description

Display information on an
information channel

display channel [ channel-number |
channel
-name ]

Display the operation status of
information center, the
configuration of information
channels, the format of time stamp

display info-center [ unit unit-id ]

Display the status of log buffer and
the information recorded in the log
buffer

display logbuffer [ unit unit-id ] [ level severity
| size buffersize ]* [ | { begin | exclude |
include } regular-expression ]

Display the summary information
recorded in the log buffer

display logbuffer summary [ level severity ]

Available in any view

Advertising