Suppose for some reasons I don't have access to Cisco APIC GUI and I need to check interface statistics of a physical interface of a spine/leaf switch? Which command should I use? Should I go to some special mode of CLI before issuing "show interface x/x"? How?
Because now, if I login to a switch via ssh, I get the following output:
leaf# show interface status
URL: http://127.0.0.1:7777/api//class/nwIf.xml?&target-subtree-class=mgmtMgmtIf&query-target=subtree&order-by=nwIf.id|asc
Code: 403
Output: <?xml version="1.0" encoding="UTF-8"?><imdata totalCount="1"><error code="403" text="Need a valid webtoken cookie (named APIC-Cookie) or a signed request with signature in the cookie APIC-Request-Signature for all REST API requests"/></imdata>
Data Posted:
None
Error executing command, check logs for details
leaf# show logging
Incorrect command "show logging"
leaf#
leaf# ls
aci bin controller debug dev etc isan lc lib mit proc sbin sys tmp usr var
leaf#
leaf# show ?
Incorrect command "show ?"
leaf#
Best Answer
I think you are looking for the
show interface <slot/port>
command. This is run from the enable mode. For exampleThere are mayany variations of the
show interface
command that are detail in various Cisco document, like Cisco NX-OS Interfaces Commands.