Unsolved
1 Rookie
•
112 Posts
0
1080
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
No Events found!
DELL-Erman O
Moderator
•
2.8K Posts
0
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"
yeowkm99
1 Rookie
•
112 Posts
0
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
•
5.1K Posts
0
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)
yeowkm99
1 Rookie
•
112 Posts
0
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
•
5.1K Posts
0
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.
1 Attachment
4df5164b-91f1-4b73-b581-c461de7cce86-314822366.png
yeowkm99
1 Rookie
•
112 Posts
0
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
•
2.8K Posts
0
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
yeowkm99
1 Rookie
•
112 Posts
0
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
10 Elder
•
274.2K Posts
0
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)