Note
This command and its syntax is common to both the User Executable and Privilege Executable configuration modes.logging monitor {<0-7>|alerts|critical|debugging|emergencies|errors|informational| notifications|warnings}
logging monitor {<0-7>|alerts|critical|debugging|emergencies|errors|informational| notifications|warnings}
monitor |
Sets the terminal lines logging levels. The logging severity levels can be set from 0 - 7. The system configures default settings, if no logging severity level is specified.
Note: Before configuring the message logging level, ensure logging module is
enabled. To enable message logging, in the device‘s configuration mode,
execute the logging > on command. Message logging can also be enabled on
a profile. All devices using the profile will have message logging
enabled.
|
NOC-NX9500(config-device-B4-C7-99-6C-88-09)#logging on
NOC-NX9500>logging monitor debugging
NOC-NX9500>show logging Logging module: enabled Aggregation time: disabled Console logging: level debugging Monitor logging: level debugging Buffered logging: level warnings Syslog logging: level warnings Facility: local7 Log Buffer (2208029 bytes): Jan 03 06:48:40 2018: NOC-NX9500 : %NSM-4-IFUP: Interface ge1 is up Jan 03 06:48:39 2018: NOC-NX9500 : %NSM-4-IFUP: Interface ge1 is up Jan 03 06:48:37 2018: NOC-NX9500 : %NSM-4-IFDOWN: Interface ge1 is down Jan 03 06:48:36 2018: NOC-NX9500 : %NSM-4-IFUP: Interface ge1 is up Jan 02 03:41:56 2018: NOC-NX9500 : %NSM-4-IFUP: Interface ge3 is up Jan 02 03:41:55 2018: NOC-NX9500 : %NSM-4-IFUP: Interface ge3 is up Jan 02 03:41:53 2018: NOC-NX9500 : %NSM-4-IFDOWN: Interface ge3 is down Jan 02 03:41:22 2018: NOC-NX9500 : %NSM-4-IFUP: Interface ge3 is up Jan 02 03:41:20 2018: NOC-NX9500 : %NSM-4-IFUP: Interface ge3 is up --More-- NOC-NX9500>
nx9500-6C8809#logging monitor warnings nx9500-6C8809#
rfs4000-229D58#logging monitor 2 rfs4000-229D58#
no (user-exec-mode) |
Resets terminal lines logging levels |