![background image](http://html.mh-extra.com/html/smc-networks/6152pl2-fiche/6152pl2-fiche_management-manual_1300644435.webp)
System Management Commands
4-57
4
This command controls logging of error messages, sending debug or error
messages to switch memory. The
no
form disables the logging process.
Syntax
[
no
]
logging on
Default Setting
None
Command Mode
Global Configuration
Command Usage
The logging process controls error messages saved to switch memory or sent
to remote syslog servers. You can use the
logging history
command to
control the type of error messages that are stored in memory. You can use the
logging trap
command to control the type of error messages that are sent to
specified syslog servers.
Example
Related Commands
logging history (4-58)
logging trap (4-60)
clear log (4-60)
Table 4-14 Event Logging Commands
Command
Function
Mode
Page
logging on
Controls logging of error messages
GC
4-57
logging history
Limits syslog messages saved to switch memory based on
severity
GC
4-58
logging host
Adds a syslog server host IP address that will receive logging
messages
GC
4-59
logging facility
Sets the facility type for remote logging of syslog messages
GC
4-59
logging trap
Limits syslog messages saved to a remote server based on
severity
GC
4-60
clear log
Clears messages from the logging buffer
PE
4-60
show logging
Displays the state of logging
PE
4-61
show log
Displays log messages
PE
4-62
Console(config)#logging on
Console(config)#
Summary of Contents for 6152PL2 FICHE
Page 2: ......
Page 6: ...vi ...
Page 8: ...viii ...
Page 32: ...Tables xxxii ...
Page 38: ...Figures xxxviii ...
Page 56: ...Initial Configuration 2 10 2 ...
Page 378: ...Configuring the Switch 3 322 3 ...
Page 817: ......