Command Guide of WGSW-28040
206
Switch(config)#
logging host 192.168.1.100
Switch(config)#
logging host 192.168.1.100 port 2048 severity 3 facility local1
Switch(config)#
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
host | enabled | 192.168.1.100( 2048)| local1 |emerg, alert, crit, error
Switch(config)#
no logging host 192.168.1.100
Switch(config)#
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.4 show logging
Command:
show logging
Mode:
Global Configuration
Privileged Configuration
Usage Guide:
show logging
Show the logging configuration. The information includes the global logging service status, and the list of logging
service.
Status of global logging service can be determined by the command “logging/no logging”. The list of logging service
shows all the active logging service.
Example:
Switch(config)#
show logging