beautypg.com

2 system log configuration – PLANET WGSW-50040 User Manual

Page 257

background image

35-28

informational

6

Informational messages

debugging

7

Debug-level messages

Right now the switch can generate information of following four levels

Restart the switch, mission abnormal are classified critical

Up/down interface, topology change, aggregate port state change of the interface are notifications

warnings

Outputted information from the CLI command is classified informational

Information from the debugging of CLI command is classified debugging

Log information can be automatically sent to corresponding channels with regard to respective severity levels.

Amongst the debugging information can only be sent to the monitor. Those with the Informational level can

only be sent to current monitor terminal, such as the information from the Telnet terminal configuration

command can only be transmitted to the Telnet terminal. Warnings information can be sent to all terminal with

also saved in the SDRAM log buffer zone. And the critical information can be save both in SDRAM and the

NVRAM (if exists) besides sent to all terminals. To check the log save in SDRAM and the NVRAM, we can use

the show logging buffered command. To clear the log save in NVRAM and SDRAM log buffer zone, we can

use the clear logging command.

35.7.2 System Log Configuration

System Log Configuration Task Sequence:

1. Display and clear log buffer zone

2. Configure the log host output channel

1.

Display and clear log buffer zone

Command

Description

Admin Mode

show logging buffered [ level {critical |

warnings} | range <begin-index> <end-index>]

Show detailed log information in

the log buffer channel.

clear logging sdram

Clear log buffer zone information.

2.

Configure the log host output channel

Command

Description

Global Mode

logging {<ipv4-addr> | <ipv6-addr>} [ facility

<local-number> ] [level ]

no logging {> | <ipv6-addr>} [ facility

<local-number>]

Enable the output channel of the

log host. The “no” form of this

command will disable the output at

the output channel of the log host.