GS-4210-Series (V2) User Manual

Table Of Contents
Command Guide of GS-4210 Series
204
no logging buffered
Disable the capability to log message to RAM.
show logging
Display the logging status. It will show the logging configuration of the system, including the global logging status, and
the lists of logging services. When the local logging capability is enabled, the status of the local logging (flash or
buffered) will be shown by the command “show logging”; Otherwise, the logging entry will be removed from the
service list.
Example:
Switch(config)# show logging
Logging service is enabled
TARGET | STATUS | Server (PORT) | FACILITY | LOG LEVEL
----------+----------+---------------------------------+----------+----------------------------------
buffered | enabled | | |emerg, alert, crit, error, warning, notice, info
Switch(config)# no logging buffer
Switch(config)# show logging
Logging service is enabled
TARGET | STATUS | Server (PORT) | FACILITY | LOG LEVEL
----------+----------+---------------------------------+----------+----------------------------------
Switch(config)# logging buffered
Switch(config)# logging flash severity 5
Switc(config)h# show logging
Logging service is enabled
TARGET | STATUS | Server (PORT) | FACILITY | LOG LEVEL
----------+----------+---------------------------------+----------+----------------------------------
buffered | enabled | | |emerg, alert, crit, error, warning, notice, info
flash | enabled | | |emerg, alert, crit, error, warning, notice
4.14.3 logging host
Command:
logging host <ip-addr> [port <0-65535>] [severity <0-7>] [facility
(local0|local1|local2|local3|local4|local5|local6|local7)]