Displaying and maintaining information center, Information center configuration examples, Outputting log information to a unix log host – H3C Technologies H3C SR8800 User Manual
Page 198: Network requirements
186
Step Command
Remarks
2.
Enter interface view.
interface interface-type
interface-number
N/A
3.
Disable the port from
generating link up/down
logging information.
undo enable log updown
By default, all ports are allowed to
generate link up/down logging
information when the port state changes.
NOTE:
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, H3C recommends that you use the default configuration in normal cases.
Displaying and maintaining information center
Task Command Remarks
Display information about
information channels.
display channel [ channel-number |
channel-name ] [ | { begin | exclude |
include } regular-expression ]
Available in any view
Display the information of each
output destination.
display info-center [ | { begin | exclude |
include } regular-expression ]
Available in any view
Display the state of the log buffer
and the recorded log information.
display logbuffer [ reverse ] [ level severity
| size buffersize | slot slot-number]* [ |
{ begin | exclude | include }
regular-expression ]
Available in any view
Display a summary of the log
buffer.
display logbuffer summary [ level severity
| slot slot-number ] * [ | { begin | exclude
| include } regular-expression ]
Available in any view
Display the content of the log file
buffer.
display logfile buffer [ | { begin | exclude
| include } regular-expression ]
Available in any view
Display the configuration of the log
file.
display logfile summary [ | { begin |
exclude | include } regular-expression ]
Available in any view
Display the state of the trap buffer
and the trap information recorded.
display trapbuffer [ reverse ] [ size
buffersize ] [ | { begin | exclude | include }
regular-expression ]
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
•
Send log information to a Unix log host with an IP address of 1.2.0.1/16.