cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
7687
Views
0
Helpful
6
Replies

Nexus 7000 keep showing log: "last message repeated x times"

Saiful Aziz
Level 1
Level 1

We receive too many unimportant log message below from nexus 7000 device:

 

 

------

2018 Dec 18 15:27:58.490 NEXUS-7K-SWITCH last message repeated 3 times
2018 Dec 18 15:28:59.391 NEXUS-7K-SWITCH last message repeated 3 times
2018 Dec 18 15:30:18.494 NEXUS-7K-SWITCH last message repeated 4 times
2018 Dec 18 15:31:40.094 NEXUS-7K-SWITCH last message repeated 4 times
2018 Dec 18 15:32:44.024 NEXUS-7K-SWITCH last message repeated 3 times
2018 Dec 18 15:33:55.223 NEXUS-7K-SWITCH last message repeated 4 times
2018 Dec 18 15:34:58.195 NEXUS-7K-SWITCH last message repeated 3 times
2018 Dec 18 15:36:19.199 NEXUS-7K-SWITCH last message repeated 4 times
2018 Dec 18 15:37:40.607 NEXUS-7K-SWITCH last message repeated 4 times
2018 Dec 18 15:38:41.633 NEXUS-7K-SWITCH last message repeated 3 times
2018 Dec 18 15:39:58.709 NEXUS-7K-SWITCH last message repeated 4 times
2018 Dec 18 15:41:18.100 NEXUS-7K-SWITCH last message repeated 4 times
2018 Dec 18 15:42:19.606 NEXUS-7K-SWITCH last message repeated 3 times
2018 Dec 18 15:43:40.106 NEXUS-7K-SWITCH last message repeated 4 times
2018 Dec 18 15:44:50.311 NEXUS-7K-SWITCH last message repeated 3 times
2018 Dec 18 15:45:54.338 NEXUS-7K-SWITCH last message repeated 4 times
2018 Dec 18 15:46:58.411 NEXUS-7K-SWITCH last message repeated 4 times
2018 Dec 18 15:48:14.038 NEXUS-7K-SWITCH last message repeated 4 times
2018 Dec 18 15:49:18.407 NEXUS-7K-SWITCH last message repeated 3 times
2018 Dec 18 15:50:40.339 NEXUS-7K-SWITCH last message repeated 4 times
2018 Dec 18 15:51:54.939 NEXUS-7K-SWITCH last message repeated 4 times

------

`show version`

......

Software
BIOS: version 3.22.0
kickstart: version 6.0(4)
system: version 6.0(4)
BIOS compile time: 02/20/10
kickstart image file is: bootflash:///n7000-s1-kickstart.6.0.4.bin
kickstart compile time: 12/25/2020 12:00:00 [06/23/2012 02:26:16]
system image file is: bootflash:///n7000-s1-dk9.6.0.4.bin
system compile time: 6/6/2012 18:00:00 [06/23/2012 04:03:20]


Hardware
cisco Nexus7000 C7010 (10 Slot) Chassis ("Supervisor module-1X")
Intel(R) Xeon(R) CPU with 4104304 kB of memory.
Processor Board ID JAF1503ASSA

Device name: NEXUS-7K-SWITCH
bootflash: 2029608 kB
slot0: 0 kB (expansion flash)

 

---------

Is there any option to disabled above messages? its generated almost each seconds and little bit annoying.

 

Try to check on bug search tools, there is a bug:

BUG CSCts88978

......

Workaround:

Further Problem Description:
This enhancement adds the below config knob to enable/disable log rate-limiting:
(config)# [no] logging rate-limit

By default rate-limiting will be enabled.

To verify:
# show logging rate-limit

......

Known Affected Releases:
5.2(1)
6.2(1.125)S3
7.0(3)I2(2d)
7.0(3)I4(4)

....

But I think its for another NXOS version, not for NXOS version 6.0(4). and the workaround command (logging rate-limit) also doesnt work on this version.

 

Anyone can confirm that this NXOS version also affected by this bug?

 

6 Replies 6

luis_cordova
VIP Alumni
VIP Alumni

Hi @Saiful Azi,

 

I think if you have those messages, it's because your nxos has the bug.

I recommend you update your nxos.

 

Regards

Leo Laohoo
Hall of Fame
Hall of Fame
CSCts88978

Hello,

 

on a side note, in IOS, in order to get rid of certain log messages, you could configure a logging discriminator. Not sure if that is available in NX-OS as well, but it would look like this:

 

logging discriminator LAST_MESSAGE msg-body drops last message repeated
logging buffered discriminator LAST_MESSAGE
logging console discriminator LAST_MESSAGE
logging monitor discriminator LAST_MESSAGE

Hi Georg,
Unfortunately there is no 'discriminator' option on NXOS:

NEXUS-7K-SWITCH(config)# logging ?
console Set console logging
event Interface events
ip IP configuration
level Facility parameter for syslog messages
logfile Set File logging
message Interface events
module Set module(linecard) logging
monitor Set terminal line(monitor) logging level
server Enable forwarding to Remote Syslog Server
source-interface Enable Source-Interface for Remote Syslog Server
timestamp Set logging timestamp granularity

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

NEXUS-7K-SWITCH(config)# logging monitor ?
<CR>
<0-7> 0-emerg;1-alert;2-crit;3-err;4-warn;5-notif;6-inform;7-debug

Hello,

 

looks like in NX-OS the best you can do is to change the logging level, but that means you would miss anything else logged at that same level. Discriminators are apparently not supported in NX-OS...

fyi Georg, here are our logging config:

logging server x.x.x.x
logging source-interface loopback 0
logging timestamp milliseconds
logging level xmlma 7
logging monitor 7
logging level local7 7

Does its better to lower level, ie 6 or 5?:

logging level xmlma 6
logging monitor 6
logging level local7 6