![SMC Networks 7724M/VSW - annexe 1 Manual Download Page 166](http://html1.mh-extra.com/html/smc-networks/7724m-vsw-annexe-1/7724m-vsw-annexe-1_manual_1299754166.webp)
Management Guide
CLI
TigerAccess™ EE
SMC7824M/VSW
165
The order of priority is
emergency
>
alert
>
critical
>
error
>
warning
>
notice
>
info
>
debug
. If you set a specific level of syslog output, you will receive only a syslog message
for selected level or higher. If you want receive a syslog message for all the levels, you
need to set the level to
debug
.
The following is an example of configuring syslog message to send all logs higher than
notice to remote host 10.1.1.1 and configuring local1.info to transmit to console.
SWITCH(config)#
syslog output notice remote
10.1.1.1
SWITCH(config)#
syslog output priority local1 info console
SWITCH(config)#
show syslog
System logger on running!
info local
volatile
info local
non-volatile
notice remote
10.1.1.1
local1.info console
SWITCH(config)#
7.5.2 Facility
Code
You can set a facility code of the generated syslog message to send them remote syslog
server. This code make a syslog message distinguished from others, so network adminis-
trator can handle various syslog messages efficiently. Facility code is only used with sys-
log messages to send to remote syslog server.
To set a facility code, use the following command.
Command Mode
Description
syslog local-code
<0-7>
Sets a facility code.
no syslog local-code
Global
Deletes a specified facility code.
The following is an example of configuring priority of all syslog messages which is trans-
mitted to remote host 10.1.1.1, as the facility code 0.
SWITCH(config)#
syslog output err remote
10.1.1.1
SWITCH(config)#
syslog local-code
0
SWITCH(config)#
show syslog
System logger on running!
info local
volatile
info local
non-volatile
err remote
10.1.1.1
local_code 0
SWITCH(config)#
i
Summary of Contents for 7724M/VSW - annexe 1
Page 1: ......
Page 385: ...CLI Management Guide TigerAccess EE 384 SMC7824M VSW ...
Page 387: ......