Displaying and Maintaining Information Center

 

To do…

Use the command…

Remarks

 

Display information on an information

display channel

 

 

[ channel-number

 

 

channel

 

 

channel-name ]

 

 

 

 

 

 

 

 

 

Display the operation status of

 

 

 

information center, the configuration of

display info-center [ unit unit-id]

 

 

information channels, the format of

 

 

 

time stamp

 

 

 

 

 

Available in any view

 

Display the status of log buffer and the

display logbuffer [ unit unit-id]

 

[ level severity size buffersize ]*

 

 

information recorded in the log buffer

[ { begin exclude include }

 

 

 

regular-expression ]

 

 

 

 

 

 

Display the summary information

display logbuffer summary

 

 

recorded in the log buffer

[ level severity ]

 

 

 

 

 

 

Display the status of trap buffer and the

display trapbuffer [ unit unit-id]

 

 

information recorded in the trap buffer

[ size buffersize ]

 

 

 

 

 

 

Clear information recorded in the log

reset logbuffer [ unit unit-id]

 

 

buffer

 

 

 

Available in user view

 

 

 

 

Clear information recorded in the trap

reset trapbuffer [ unit unit-id]

 

 

 

buffer

 

 

 

 

 

 

 

 

Information Center Configuration Examples

Log Output to a UNIX Log Host

Network requirements

As shown in Figure 1-1, Switch sends the following log information to the Unix log host whose IP address is 202.38.1.10: the log information of the two modules ARP and IP, with severity higher than “informational”.

Figure 1-1Network diagram for log output to a Unix log host

Internet

Switch

PC

Configuration procedure

1)Configure Switch:

# Enable the information center.

<Switch> system-view

[Switch] info-center enable

# Disable the function of outputting information to log host channels.

[Switch] undo info-center source default channel loghost

1-14

Page 578
Image 578
3Com WX3000 operation manual Displaying and Maintaining Information Center, Information Center Configuration Examples