2 system log configuration, 2 system log configuration -5 – PLANET XGS3-24042 User Manual

Page 643

Advertising
background image

76-5

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.

76.7.2 System Log Configuration

System Log Configuration Task Sequence:

1. Display and clear log buffer zone

2. Configure the log host output channel

3. Enable/disable the log executed-commands

4. Display the log source

5. Display executed-commands state

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 | nvram}

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 <severity>]

no logging {<ipv4-addr> | <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.

logging loghost sequence-number

no logging loghost sequence-number

Add the loghost sequence-number

for the log, the no command does

not include the loghost

sequence-number.

3.

Enable/disable the log executed-commands

Advertising
This manual is related to the following products: