11-02-2016 01:44 AM - edited 03-01-2019 05:04 AM
Hi All,
In IOS we could know exactly when a certain port was down/Up by "Show Logging" command.
So is there any SHOW command could be run on ACI Leafs or spines (or on APICs) showing when a certain port was down/Up like we did in IOS.
11-02-2016 04:24 AM
Hello
Thanks for using SupportForums!
Keep in mind that ACI is very different than your traditional network device. Everything in ACI is based on the object model.
Since you specified you were looking for a "show" command, i will not mention that the GUI has even records per interface. I will instead give you the show command to display those event records. This command is run from the APIC and is available after version 1.2 of code. It is available from the NXOS-style CLI on the APIC:
rtp-f1-p1-apic1# show events leaf 111 interface ethernet 1/25
Severity : info
Affected Object : topology/pod-1/node-111/sys/phys-[eth1/25]
Code : E4208843
ID : 4296768178
Cause : transition
Description : PhysIf eth1/25 modified
Creation Time : 2016-10-18T22:06:02.736-04:00
Severity : info
Affected Object : topology/pod-1/node-111/sys/phys-[eth1/25]
Code : E4208843
ID : 4296768115
Cause : transition
Description : PhysIf eth1/25 modified
Creation Time : 2016-10-18T22:05:47.560-04:00
Severity : info
Affected Object : topology/pod-1/node-111/sys/phys-[eth1/25]/phys
Code : E4205125
ID : 4296767452
Cause : port-up
Description : Port is up
Creation Time : 2016-10-18T22:04:35.731-04:00
Severity : info
Affected Object : topology/pod-1/node-111/sys/phys-[eth1/25]/phys
Code : E4205126
ID : 4296767451
Cause : port-down
Description : Port is down. Reason: notconnect
Creation Time : 2016-10-18T22:04:35.714-04:00
Severity : info
Affected Object : topology/pod-1/node-111/sys/phys-[eth1/25]/phys
Code : E4205126
ID : 4296767411
Cause : port-down
Description : Port is down. Reason: init
Creation Time : 2016-10-18T22:04:34.064-04:00
Hope that helps!
11-02-2016 05:27 AM
11-02-2016 06:27 AM
In addition to what Daniel already mentioned:
For ACI, I would suggest a combination of the available external data collectors. I setup Call Home so that I get email notifications for every event. You can get AML, XML, or short txt output. Then I configured SNMP to record events, and lastly syslog. All of these will or can record all the events and store for reporting on demand. You could then use other means to query if needed.
Cheers!
T.
05-06-2019 07:07 AM - edited 05-06-2019 07:07 AM
I'm also new to APIC. Being a rookie, when I couldn't figure out how to find the up/down status of an interface in my logs, I found my way here.
It's great that Dpita was so succinct when he said "Since you specified you were looking for a "show" command, i will not mention that the GUI has even records per interface ..." but I wish there had been a little bit of follow up at the end of his post to show the rest of us this other method he implies. :)
As a rookie, I would like to learn this new way of doing things. If one of the more experienced engineers would take a few minutes to explain it a little bit, I know many of us would be grateful.
Thanks so much!
07-04-2019 12:19 PM
What you can do is:
Go to Fabric -> Inventory, then choose the leaf and the physical interface. Click the History and you can see all faults, event and health.
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