logging

Modifies message logging settings
Note

Note

This command and its syntax is common to both the User Executable and Privilege Executable configuration modes.

Supported in the following platforms:

  • Access Points — AP505i, AP510i/e, AP560i/h
  • Service Platforms — NX5500, NX7500, NX9500, NX9600, VX9000

Syntax

logging monitor {<0-7>|alerts|critical|debugging|emergencies|errors|informational|notifications|warnings}

Parameters

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.

  • <0-7> – Optional. Specify the logging severity level from 0-7. The various levels and their implications are as follows:

  • alerts – Optional. Immediate action needed (severity=1)

  • critical – Optional. Critical conditions (severity=2)

  • debugging – Optional. Debugging messages (severity=7)

  • emergencies – Optional. System is unusable (severity=0)

  • errors – Optional. Error conditions (severity=3)

  • informational – Optional. Informational messages (severity=6)

  • notifications – Optional. Normal but significant conditions (severity=5)

  • warnings – Optional. Warning conditions (severity=4)

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.

Examples

ap505-13403B(config-device-94-9B-2C-13-40-38)#logging on
ap505-13403B>logging monitor debugging
ap505-13403B>show logging

Logging module: enabled
    Aggregation time: disabled
    Console logging: level warnings
    Monitor logging: disabled
    Buffered logging: level warnings
    Syslog logging: level warnings
        Facility: local7

Log Buffer (1932 bytes):


Jan 01 12:10:49 2019: %KERN-4-WARNING: [43292.697857] PRNG seed file updated.
Jan 01 03:30:28 2019: %KERN-4-WARNING: [12072.182963] jffs2: warning: (1353) jffs2_sum_write_data: Summary too big (-32 data, -3733 pad) in eraseblock at 01d80000.
Jan 01 00:36:28 2019: %DATAPLANE-4-DOSATTACK: IPSPOOF ATTACK:  Source IP is Spoofed : Src IP : 134.141.244.23, Dst IP: 10.234.160.36, Src Mac: 00-04-96-9C-F1-25, Dst Mac: 94-9B-2C-13-40-38, Proto = 6.
Jan 01 00:36:28 2019: %KERN-4-WARNING: [ 1632.268856]
Jan 01 00:19:35 2019: %KERN-4-WARNING: [  618.484856]
Jan 01 00:15:13 2019: %KERN-4-WARNING: [  356.442855]
Jan 01 00:13:10 2019: %KERN-4-WARNING: [  234.342855]
--More--
ap505-13403B>

Related Commands

no

no

Resets terminal lines logging levels