Displaying and maintaining information center, Information center configuration examples, Outputting log information to a unix log host – H3C Technologies H3C WX6000 Series Access Controllers User Manual

Page 130: Network requirements

Advertising
background image

10-16

To do…

Use the command…

Remarks

Enter system view

system-view

Enter interface view

interface interface-type
interface-number

Disable the port from generating
link up/down logging information

undo enable log updown

Required

By default, all ports are allowed to
generate link up/down logging
information when the port state changes.

With this feature applied to a port, when the state of the port changes, the system does not generate

port link up/down logging information. In this case, you cannot monitor the port state changes

conveniently. Therefore, it is recommended to use the default configuration in normal cases.

Displaying and Maintaining Information Center

To do…

Use the command…

Remarks

Display information about
information channels

display channel [ channel-number |
channel
-name ]

Available in any view

Display the information of each
output destination

display info-center

Available in any view

Display the state of the log buffer
and the log information recorded

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

Available in any view

Display a summary of the log buffer

display logbuffer summary [ level
severity ]

Available in any view

Display the content of the log file
buffer

display logfile buffer

Available in any view

Display the configuration of the log
file

display logfile summary

Available in any view

Display the state of the trap buffer
and the trap information recorded

display trapbuffer [ reverse ] [ size
buffersize ]

Available in any view

Reset the log buffer

reset logbuffer

Available in user view

Reset the trap buffer

reset trapbuffer

Available in user view

Information Center Configuration Examples

Outputting Log Information to a Unix Log Host

Network requirements

z

Send log information to a Unix log host with an IP address of 1.2.0.1/16;

z

Log information with severity higher than informational will be output to the log host;

Advertising