cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
468
Views
0
Helpful
3
Replies

Changing logging severity in nexus 9000 series switch

Arijit007
Level 1
Level 1

Hi,

We have cisco Nexus 31108PCV Chassis (Nexus 9000 Series) switches, now after adding only logging server we can see it is sending Notification logs only. We want to send the informational logs. The server severity part needs to be 'Informational' How to change that? Below is output of show logging- 

Logging console: enabled (Severity: critical)
Logging monitor: enabled (Severity: notifications)
Logging linecard: enabled (Severity: notifications)
Logging timestamp: Seconds
Logging source-interface : disabled
Logging rate-limit: enabled
Logging server: enabled
{x.x.x.x}
server severity: notifications
server facility: local7
server VRF: default
server port: xxx
Logging origin_id : disabled
Logging RFC : disabled
Logging logflash: enabled (Severity: notifications)
Logging logfile: enabled
Name - messages: Severity - notifications Size - 4xxxxx

3 Replies 3

Hello,

not sure which parameter you want to change, but the 'logging' command has several options, such as:

dist-sw02(config)# logging console ?
<CR>
<0-7> 0-emerg;1-alert;2-crit;3-err;4-warn;5-notif;6-inform;7-debug

dist-sw02(config)# logging console 5
Baud rate of console should be 38400 to increase severity level

Hi,

I want to change the server severity line above in the output. it is showing notification. 

balaji.bandi
Hall of Fame
Hall of Fame

configure logging server host with 

(config)# logging server host 6  (host is your syslog server x.x.x.x)

 

  • 0 – emergency

  • 1 – alert

  • 2 – critical

  • 3 – error

  • 4 – warning

  • 5 – notification

  • 6 – informational

  • 7 – debugging

The default outgoing facility is local7.

BB

***** Rate All Helpful Responses *****

How to Ask The Cisco Community for Help

Review Cisco Networking for a $25 gift card