Displaying and maintaining information center – H3C Technologies H3C SecBlade NetStream Cards User Manual

Page 289

Advertising
background image

274

Disabling a port from generating link up/down logging
information

By default, all the ports of the device generate link up/down logging information when the port state
changes. Therefore, you may need to use this function in some cases, for example:

You only concern the states of some of the ports. In this case, you can use this function to disable the
other ports from generating link up/down logging information.

The state of a port is not stable, and therefore redundant logging information will be generated. In
this case, you can use this function to disable the port from generating link up/down logging

information.

Follow the steps below to disable a port from generating link up/down logging information:

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.

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

Advertising