1.
switch#
terminal monitor
2.
switch#
configure terminal
3.
switch(config)#
logging console [severity-level]
4.
(Optional)
switch(config)#
no logging console [severity-level]
5.
switch(config)#
logging monitor [severity-level]
6.
(Optional)
switch(config)#
no logging monitor [severity-level]
7.
(Optional)
switch#
show logging console
8.
(Optional)
switch#
show logging monitor
9.
(Optional)
switch#
copy running-config startup-config
The following example shows how to configure a logging level of 3 for
the console:
switch# configure terminal
switch(config)# logging console 3
The following example shows how to display the console logging
configuration:
switch# show logging console
Logging console: enabled (Severity: error)
The following example shows how to disable logging for the console:
switch# configure terminal
switch(config)# no logging console
The following example shows how to configure a logging level of 4 for
the terminal session:
switch# terminal monitor
switch# configure terminal
switch(config)# logging monitor 4
The following example shows how to display the terminal session
logging configuration:
switch# show logging monitor
Logging monitor: enabled (Severity: warning)
The following example shows how to disable logging for the terminal
session:
switch# configure terminal
switch(config)# no logging monitor