117
CHAPTER 3
INTRODUCTION TO CLI
received on UDP port 514. Syslog server will not send acknowledgments back to the sender since UDP is a
connectionless protocol and it does not provide acknowledgments. The syslog packet will always send out, even if the
syslog server does not exist. When the mode of operation is disabled, no syslog packets are sent out.
Example:
Enable log server operation.
Negation:
(config)# no logging on
Show:
# show logging
Clear: # clear logging [ info ] [ warning ] [ error ] [ switch <switch_list> ]
3.9.27.2 (config)# logging host
Syntax:
(config)# logging host { <v_ipv4_ucast> | <v_word45> }
Parameters:
{ <hostname> | <ipv4_ucast> }: Specify one of the options. The hostname is the domain name of the log server;
while the latter is IPv4 address of the log server.
Explanation:
Configure log server address.
Example:
Use IPv4 address to configure log server.
Example:
Set the holdtime to 5.
Negation:
(config)# no logging host
Show:
# show logging
# show logging <logging_id: 1-4294967295>
# show logging [info] [warning] [error]
3.9.27.3 (config)# logging level
Syntax:
(config)# logging level { info | warning | error }
Explanation:
Configure what kind of messages will send to syslog server.
Parameters:
{ info | warning | error }: Specify one of the log message options.
Info:
Send information, warnings and errors.
Warning:
Send warnings and errors.
Error:
Send errors only.
# config t
(config)# logging host 192.168.1.253
# config t
(config)# logging on
Summary of Contents for MSW-4424C Series
Page 1: ...1 MSW 4424C MSW 4424CS L2 Gigabit Carrier Ethernet Switch ...
Page 382: ......