cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
30284
Views
7
Helpful
5
Replies

"show Logging" in Cisco ACI Leafs/Spines

Mahmoud Nossair
Level 1
Level 1

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.

5 Replies 5

dpita
Cisco Employee
Cisco Employee

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! 

So forgetting the show commands, what is the best way to pull even/log information from ACI? If I wanted to use icurl or even postman what are the mos?

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.

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!

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.

Review Cisco Networking for a $25 gift card

Save 25% on Day-2 Operations Add-On License