12-19-2018 07:15 PM - edited 03-08-2019 04:51 PM
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:
......
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?
12-19-2018 08:03 PM
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
12-20-2018 12:36 AM
12-20-2018 01:54 AM
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
12-20-2018 10:18 PM
12-21-2018 01:32 AM
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...
12-21-2018 02:58 AM
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide