Announcement Banner
UNSOLVED

yeowkm99

updated

3 years ago

Closed

Y

yeowkm99

2 Intern

•

120 Posts

•

4 Points

0

1294

May 23rd, 2023 02:00

Enable logging for Dell switch

what is the command if i want to remove the level critical in the dell switch ?

 

member 1 2 ! N3248TE-ON
exit
logging 172.16.XX.XX  (syslog server IP)
level critical
exit

  • DELL-Erman O

    Moderator

    •

    2984 Posts

    •

    14874 Points

    312

    0

    Posted May 23rd, 2023 06:00

    Hi, you can try this "console (conf)# no logging 172.16.XX.XX level critical"

    https://dell.to/431NioQ

    or you can check "no level critical"

    DELL-Erman O

    Social Media and Communities Professional

    Dell Technologies | Enterprise Support Services

    #IWork4Dell

    Did I answer your query? Please click on ‘Mark as Accepted Answer’. ‘Thumbs up’ the posts you like!

  • yeowkm99

    2 Intern

    •

    120 Posts

    •

    4 Points

    306

    0

    Posted May 23rd, 2023 17:00

    no logging command is until IP address of the host

    (config)#no logging 172.16.xx.xx ?

    Press enter to execute the command.

     

    my OS version is 6.7.1.20

  • DELL-Young E

    Moderator

    •

    5421 Posts

    •

    37 Points

    301

    0

    Posted May 23rd, 2023 22:00

    #no logging traps
    Note: This command has to be executed in global mode only.

     

    - emergency (0)
    – alert (1)
    – critical (2)
    – error (3)
    – warning (4)
    – notice (5)
    – info (6)
    – debug (7)

     

     

    severity—If you specify a severity level, log messages at or above the severity level are e-mailed. The severity level may either be specified by keyword or as an integer from 0 to 7.

     

    N3248TE-ON(config)#logging console ?

     

                         Press enter to execute the command.
    <0-7>                    Logging severity level.
    alerts                     Immediate action needed            (Severity Level:1)
    critical                   Critical conditions                (Severity Level:2)
    debugging            Debugging messages                 (Severity Level:7)
    emergencies         System is unusable                 (Severity Level:0)
    errors                    Error conditions                   (Severity Level:3)
    informational        Informational messages             (Severity Level:6)
    notifications          Normal but significant conditions  (Severity Level:5)
    warnings               Warning conditions                 (Severity Level:4)

     

    Social Media and Communities Professional

    Dell Technologies | Enterprise Support Services

    #IWork4Dell

    Did I answer your query? Please click on ‘Mark as Accepted Answer’. ‘Thumbs up’ the posts you like!

  • yeowkm99

    2 Intern

    •

    120 Posts

    •

    4 Points

    300

    0

    Posted May 23rd, 2023 22:00

    i still cannot remove the command

    switch#no logging traps ?
    % Unrecognized command

    how do i change the logging command so that all my logs goes to my syslog server ?

     

  • DELL-Young E

    Moderator

    •

    5421 Posts

    •

    37 Points

    295

    0

    Posted May 23rd, 2023 23:00

    switch#no logging traps ?  >> wrong mode and execute command by customer

     

    As I was saying earlier, please get into global configuration mode and run the commands.

     

     

     

    Social Media and Communities Professional

    Dell Technologies | Enterprise Support Services

    #IWork4Dell

    Did I answer your query? Please click on ‘Mark as Accepted Answer’. ‘Thumbs up’ the posts you like!

    1 Attachment

  • yeowkm99

    2 Intern

    •

    120 Posts

    •

    4 Points

    294

    0

    Posted May 23rd, 2023 23:00

    i tried switch#(config) no logging traps but level critical still there


    exit
    logging 172.16.xx.xx
    level critical
    exit
    interface vlan 1

  • DELL-Erman O

    Moderator

    •

    2984 Posts

    •

    14874 Points

    292

    0

    Posted May 24th, 2023 00:00

    Did you Replace "172.16.xx.xx" with the actual IP address? Also, it could be related to logging severity level.

    switch(config)# logging host 172.16.xx.xx

    switch(config)# logging level critical

    switch(config)# exit

    DELL-Erman O

    Social Media and Communities Professional

    Dell Technologies | Enterprise Support Services

    #IWork4Dell

    Did I answer your query? Please click on ‘Mark as Accepted Answer’. ‘Thumbs up’ the posts you like!

  • yeowkm99

    2 Intern

    •

    120 Posts

    •

    4 Points

    235

    0

    Posted May 25th, 2023 22:00

    this does not work. 

    (config)#no logging 172.16.0.xx level critical  

    % Invalid input detected at '^' marker.

    if not its a bug or what. level critical is gone.

    i tried doing the following 

    (config)#logging 172.16.0.xx

    (config-logging)#level informational

    show run

    exit
    logging 172.16.xx.xx
    exit
    interface vlan 1

  • Anonymous

    12 Elder

    •

    274142 Posts

    8

    0

    Posted May 25th, 2023 22:00

    Hi, you can try this "console (conf)# no logging 172.16.XX.XX level critical"

     

    https://dell.to/431NioQ

     

    or you can check "no level critical"

    emergency (0)

    – alert (1)

    – critical (2)

    – error (3)

    – warning (4)

    – notice (5)

    – info (6)

    – debug (7)

     

     

     

     

     

    severity—If you specify a severity level, log messages at or above the severity level are e-mailed. The severity level may either be specified by keyword or as an integer from 0 to 7.

     

     

     

    N3248TE-ON(config)#logging console ?

     

     

     

    Press enter to execute the command.

    <0-7> Logging severity level.

    alerts Immediate action needed (Severity Level:1)

    critical Critical conditions (Severity Level:2)

    debugging Debugging messages (Severity Level:7)

    emergencies System is unusable (Severity Level:0)

    errors Error conditions (Severity Level:3)

    informational Informational messages (Severity Level:6)

    notifications Normal but significant conditions (Severity Level:5)

    warnings Warning conditions (Severity Level:4)