Cli Commands Used To Troubleshoot Aci Fa
Cli Commands Used To Troubleshoot Aci Fa
Fabric
Contents
Introduction
Commands
Display Outputs
General
Check Active Links
Show Link Status
Show Commands
Introduction
This document describes CLI commands that can be entered on the APIC controller by the
"admin" user in order to troubleshoot ACI fabric. Sample command output is also provided.
If you have used "root" access on the APIC controllers and have upgraded to a later release, you
might have noticed that "root" access has been removed or disallowed. One of the impacts to
Technical Support engineers is the use of av.bin/fnv.bin to troubleshoot fabric issues on the APIC
controllers. The binaries av.bin/fnv.bin are internal debugging tools for developers.
This information can be obtained with the "admin" user. The "admin" user runs in a special
container which does not have access to any of the binaries or internal storage. As an "admin"
user, the developers do not want users to access root file system which has all the binaries.
Currently, there is no plan to open this access at this time to the "admin" user.
Note: Some of the commands in this document might be deprecated in later releases.
Commands
This list contains some helpful commands that can be entered in the CLI of the APIC controller
and can be executed by the "admin" user.
● acidiag avread
● acidiag fnvread
● acidiag rvread
● acidiag start/stop/restart
# start/stop DMEs
● acidiag verifyapic
● controller
● eraseconfig setup or acidiag touch setup
● show controller [1,2,3]
# executing command: ls /aci/system/controllers/
● show fabric membership
# executing command: cat /aci/fabric/inventory/fabric-membership/clients/summary
● techsupport controller [controller]
controller = controller ID (for example, 1), range (for example, 1-2), name (for example, apic1),
or name list (for example, apic1,apic2,..)
● techsupport switch [switch]
switch = switch node ID (for example, 101), range (for example, 101-103), name (for example,
leaf1, spine1), or name list (for example, leaf1,leaf2,spine1...)
● version
● whoami
● cat /proc/net/bonding/bond0
● ip link
Display Outputs
General
acidiag avread
acidiag fnvread
acidiag rvread
acidiag verifyapic
controller
admin@apic1:~> controller
operational-cluster-size : 3
differences-between-local-time-and-unified-cluster-time : 0
administrative-cluster-size : 3
controllers:
id name ip cluster-admin-state cluster-operational- health-state up-time system-
current-time
state
-- ----- -------- ------------------- -------------------- ------------ --------------- --------
-------------
1 apic1 10.0.0.1 in-service available fully-fit 02:18:35:52.000 2014-06-
09T02:10:14.668-07:00
2 apic2 10.0.0.2 in-service available fully-fit 05:00:24:46.000 2014-06-
09T03:18:08.740-07:00
3 apic3 10.0.0.3 in-service available fully-fit 05:00:24:30.000 2014-06-
09T02:18:51.843-07:00
Do you want to cleanup the initial setup data? The system will be REBOOTED. (Y/n):
<< A way to reset w/o a complete reload of the APIC software. >>
show controller 1
# fabric-node
id : 1
admin-state : on
controller-uuid : f9269682-dcaf-11e3-ad0a-5bdcd2d9fd69
operational-state : available
cluster-state : in-service
health-state : fully-fit
infra-ip : 10.0.0.1
in-band-management-ip : 0.0.0.0
out-of-band-management-ip : 172.18.217.211
up-time : 00:03:41:30.000
system-current-time : 2014-05-16T07:40:44.782+00:00
firmware : 1.0(0.160i)
allocated-memory : 10553140
cpu-architecture : x86_64
cores : 6
model : 45
speed-mhz : 2500.000000
vendor : GenuineIntel
loc-led-administrative-state : disabled
loc-led-operation-state : on
tags:
name
----
show controller 2
# fabric-node
id : 2
admin-state : on
controller-uuid : 0c09da4e-dcbe-11e3-b521-83983b363aa3
operational-state : available
cluster-state : in-service
health-state : fully-fit
infra-ip : 10.0.0.2
in-band-management-ip : 0.0.0.0
out-of-band-management-ip : 172.18.217.215
up-time : 00:02:12:42.000
system-current-time : 2014-05-16T08:02:06.891+00:00
firmware : 1.0(0.160i)
allocated-memory : 8836508
cpu-architecture : x86_64
cores : 4
model : 62
speed-mhz : 2499.000000
vendor : GenuineIntel
loc-led-administrative-state : disabled
loc-led-operation-state : on
tags:
name
----
show controller 3
# fabric-node
id : 3
admin-state : on
controller-uuid : ae236bc4-dcbe-11e3-abbf-c1ff139eb074
operational-state : available
cluster-state : in-service
health-state : fully-fit
infra-ip : 10.0.0.3
in-band-management-ip : 0.0.0.0
out-of-band-management-ip : 172.18.217.49
up-time : 00:02:16:11.000
system-current-time : 2014-05-16T08:04:02.646+00:00
firmware : 1.0(0.160i)
allocated-memory : 8607340
cpu-architecture : x86_64
cores : 6
model : 45
speed-mhz : 2499.000000
vendor : GenuineIntel
loc-led-administrative-state : disabled
loc-led-operation-state : on
tags:
name
clients:
serial-number node-id node-name model role ip decomissioned supported-model
------------- ------- ---------- ------------ ----- ------------- ------------- ---------------
SAL1732B53W 101 rtp_leaf1 N9K-C9396PX leaf 10.0.20.95/32 no yes
SAL172682S0 102 rtp_leaf2 N9K-C93128TX leaf 10.0.20.91/32 no yes
SAL1802KLJF 103 rtp_leaf3 N9K-C9396PX leaf 10.0.20.92/32 no yes
FGE173400H2 201 rtp-spine1 N9K-C9508 spine 10.0.20.94/32 no yes
FGE173400H7 202 rtp_spine2 N9K-C9508 spine 10.0.20.93/32 no yes
techsupport controller 1
version
admin@rtp_apic1:~> version
node type node id node name version
---------- ------- ---------- ------------------
controller 1 rtp_apic1 1.0(0.160i)
controller 2 rtp_apic2 1.0(0.160i)
controller 3 rtp_apic3 1.0(0.160i)
leaf 101 rtp_leaf1 n9000-11.0(0.791a)
leaf 102 rtp_leaf2 n9000-11.0(0.791a)
leaf 103 rtp_leaf3 n9000-11.0(0.791a)
spine 202 rtp_spine2 n9000-11.0(0.791a)
spine 201 rtp-spine1 n9000-11.0(0.791a)
whoami
admin@rtp_apic1:~>whoami
admin
cat /proc/net/bonding/bond0
ip link
admin@apic1:~> ip link
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 1500 qdisc noqueue state UNKNOWN
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: eth1-1: <BROADCAST,MULTICAST,SLAVE,UP,LOWER_UP> mtu 1500 qdisc mq master bond1 state UP qlen
1000
link/ether 24:e9:b3:15:8e:5a brd ff:ff:ff:ff:ff:ff
3: eth1-2: <NO-CARRIER,BROADCAST,MULTICAST,SLAVE,UP> mtu 1500 qdisc mq master bond1 state DOWN
qlen 1000
link/ether 24:e9:b3:15:8e:5a brd ff:ff:ff:ff:ff:ff
4: eth3-1: <NO-CARRIER,BROADCAST,MULTICAST,SLAVE,UP> mtu 1500 qdisc mq master bond0 state DOWN
qlen 1000
link/ether 90:e2:ba:4b:fa:d4 brd ff:ff:ff:ff:ff:ff
5: eth3-2: <BROADCAST,MULTICAST,SLAVE,UP,LOWER_UP> mtu 1500 qdisc mq master bond0 state UP qlen
1000
link/ether 90:e2:ba:4b:fa:d4 brd ff:ff:ff:ff:ff:ff
6: bond0: <BROADCAST,MULTICAST,MASTER,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP
link/ether 90:e2:ba:4b:fa:d4 brd ff:ff:ff:ff:ff:ff
7: bond1: <BROADCAST,MULTICAST,MASTER,UP,LOWER_UP> mtu 1500 qdisc noqueue master oobmgmt state
UP
link/ether 24:e9:b3:15:8e:5a brd ff:ff:ff:ff:ff:ff
8: oobmgmt: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP
link/ether 24:e9:b3:15:8e:5a brd ff:ff:ff:ff:ff:ff
9: bond0.4093@bond0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1496 qdisc noqueue state UP
link/ether 90:e2:ba:4b:fa:d4 brd ff:ff:ff:ff:ff:ff
10: lxcbr0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UNKNOWN
link/ether 52:93:59:73:d3:d7 brd ff:ff:ff:ff:ff:ff
11: vxlan0: <BROADCAST,MULTICAST,100000> mtu 1500 qdisc noop state DOWN
link/ether 46:e9:7b:c9:3c:f7 brd ff:ff:ff:ff:ff:ff
12: tep0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UNKNOWN
link/ether fe:b0:5b:8d:28:e4 brd ff:ff:ff:ff:ff:ff
13: tep1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UNKNOWN
link/ether 1a:62:8c:72:f3:5a brd ff:ff:ff:ff:ff:ff
14: tep2: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UNKNOWN
link/ether aa:3f:ef:fb:b4:1a brd ff:ff:ff:ff:ff:ff
15: tep3: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UNKNOWN
link/ether 1e:d7:52:b4:34:c7 brd ff:ff:ff:ff:ff:ff
16: tep4: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UNKNOWN
link/ether 4e:69:6e:2f:8a:a7 brd ff:ff:ff:ff:ff:ff
17: tep5: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UNKNOWN
link/ether 3e:0c:10:9d:8a:79 brd ff:ff:ff:ff:ff:ff
18: tep6: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UNKNOWN
link/ether de:3f:b2:51:58:8c brd ff:ff:ff:ff:ff:ff
19: tep7: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UNKNOWN
link/ether 12:a9:3f:c0:26:dc brd ff:ff:ff:ff:ff:ff
20: teplo-1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UNKNOWN
link/ether ca:9d:69:a3:61:4f brd ff:ff:ff:ff:ff:ff
Show Commands
Note: Some of these show commands might not execute at this time. This is a list of items
for your reference.