02-14-2024 10:43 PM
Is there a command equivalent to service sequence-numbers supported by the Nexus 9000 series?
service sequence-numbers
Solved! Go to Solution.
02-15-2024 04:06 AM
@YEH,
Thanks for the feedback.
Does this mean that Nexus does not support the function of adding a sequence number to the beginning of the log as shown below?
000575: Feb 15 11:36:04.569: %SYS-5-CONFIG_I:.
In my lab, I'm able to do it on a Nexus 9000, it will add the sequence number when performing the CLI, but not by default.
Please see below example:
Nexus9000# show logging logfile last-index
logfile last-index : 109881
Nexus9000# show logging logfile start-seqn 109870 end-seqn 109877
109870: 2024 Feb 15 11:47:52.438
109871: 2024 Feb 15 11:47:51
109872: 2024 Feb 15 11:49:25.439
109873: 2024 Feb 15 11:49:49.973
109874: 2024 Feb 15 11:49:49.974
109875: 2024 Feb 15 11:49:51.976
109876: 2024 Feb 15 11:49:51
109877: 2024 Feb 15 11:51:49.505
Let me know if it replies to your question.
Thanks in advance for your feedback.
Kind Regards,
Antoine
02-15-2024 12:31 AM
Hello @YEH ,
Checking your post, the "service sequence-numbers" CLI doesn't exist on Nexus 9000.
Nevertheless, you can run some specific command to get the logs in sequence numbers.
You can use "show logging logfile last-index" to display to number of line or sequence, then you can use "show logging logfile start-seqn 100 end-seqn 200" to display log from line 100 to 200 for example.
Let me know if it helps.
Have a nice day.
Kind Regards,
Antoine
02-15-2024 03:40 AM - edited 02-15-2024 03:41 AM
Hello @anpetit
I checked with the following commands, but to no avail.
# show logging logfile last-index
logfile last-index : 771
# show logging logfile start-seqn 100 end-seqn 200
Last Log cleared/wrapped time is : Thu Feb 15 11:07:30 2024
Does this mean that Nexus does not support the function of adding a sequence number to the beginning of the log as shown below?
000575: Feb 15 11:36:04.569: %SYS-5-CONFIG_I:.
02-15-2024 04:06 AM
@YEH,
Thanks for the feedback.
Does this mean that Nexus does not support the function of adding a sequence number to the beginning of the log as shown below?
000575: Feb 15 11:36:04.569: %SYS-5-CONFIG_I:.
In my lab, I'm able to do it on a Nexus 9000, it will add the sequence number when performing the CLI, but not by default.
Please see below example:
Nexus9000# show logging logfile last-index
logfile last-index : 109881
Nexus9000# show logging logfile start-seqn 109870 end-seqn 109877
109870: 2024 Feb 15 11:47:52.438
109871: 2024 Feb 15 11:47:51
109872: 2024 Feb 15 11:49:25.439
109873: 2024 Feb 15 11:49:49.973
109874: 2024 Feb 15 11:49:49.974
109875: 2024 Feb 15 11:49:51.976
109876: 2024 Feb 15 11:49:51
109877: 2024 Feb 15 11:51:49.505
Let me know if it replies to your question.
Thanks in advance for your feedback.
Kind Regards,
Antoine
02-15-2024 04:41 AM
It was a confirmation error on our part. We were able to confirm that the sequence numbers were assigned correctly.
Thank you very much.
02-15-2024 07:22 AM
Thanks for the reply and closing this thread @YEH .
It was a pleasure helping you.
Kind Regards,
Antoine
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