87
SIGNAMAX LLC • www.signamax.eu
printed log messages, such as time prickling and task name. Another is to output and store
the log messages in different formats, for example, typing to the console interface, typing to
the telnet terminal via switch, writing to the memory file, writing to the flash file and sending
to the log sever etc.
Commands of the system log function are as follows:
Command
Description
Config mode
logging enable
To enable the log function; no logging enable can be
used to disable the log function
config
logging color { alerts|critical | debugging |
emergencies
|
errors|informational
|
notifications | warnings}
[blue | brown | cyan |
green | purple | red | white]
To configure the colors when the log messages with
different level displaying on the command-line
terminal
config
logging buffer
To enable recording log messages in the memory
buffer. The corresponding command no logging
buffer can be executed to disable the function
config
logging buffer max-size
<4096-409600>
To configure the size of the memory buffer for
recording the log messages
config
logging buffer
{<0-7> | alerts | critical |
debugging
|
emergencies
|
errors
|
informational | notifications | warnings}
To configure the log message selected according to
the severity level and needs to be recorded in the
memory buffer
config
logging console
To enable output the log message to the console.
The corresponding command no logging console can
be executed to disable the function
config
logging console {<0-7> | alerts | critical |
debugging
|
emergencies
|
errors
|
informational | notifications | warnings}
To configure the log messages selected according to
the severity level and need to be displayed on
console
config
logging file
To enable saving the log messages in the flash file
system with file format. The corresponding
command no logging file can be executed to disable
the function
config
logging file max-size
<4096-1048576>
To configure the size of the log file in the flash file
system
config
logging file {<0-7> | alerts | critical |
debugging
|
emergencies
|
errors
|
informational | notifications | warnings}
To configure the log messages selected according to
the severity level and need to be recorded to the log
file
config
logging trap
To enable sending the log message to the specified
log sever. The command
no logging trap
can be
used to disable the function
config
logging
{hostname|A.B.C.D} [
vrf
vrf-name]
{<0-
7> | alerts | critical | debugging |
emergencies | errors | informational |
notifications | warnings}
To configure the host name or IP address and VRF
name of the log sever and the severity level of the
log messages sent to the log sever
config
logging source-ip
A.B.C.D
To configure the source address used for connecting
the log severs
config
logging event
To configure to send all operation records to the log
sever
config
logging monitor
To enable output the log messages to terminal. The
corresponding command no logging monitor can be
executed to disable the function.
config
logging monitor {<0-7> | alerts | critical |
debugging
|
emergencies
|
errors
|
To configure the log message selected according to
the severity level and needs to be displayed on the
config
Summary of Contents for 065-7434
Page 1: ...24 Port 10 100 L3 Switch Model 065 7434 Configuration Guide Revision A1 ...
Page 245: ...245 SIGNAMAX LLC www signamax eu Application Example Example of configuring DHCP Snooping ...
Page 302: ...302 SIGNAMAX LLC www signamax eu Default status no switching interface ...
Page 368: ......
Page 655: ...287 SIGNAMAX LLC www signamax eu Sub VLAN members in the system ...