Introduction
The goal of this document is to provide a concise list of useful commands to be used in the ACI environment. For in-depth information regarding these commands and their uses, please refer to the ACI CLI Guide.
Please note that legacy style commands (show firmware, show version, etc) will not be included in this guide. The below commands are new for ACI. Legacy commands may be added later on, but the point of this document is to be short and sweet.
Formatting
This document is formatted in the following way: commands are surrounded by <> in bold and possible user-given arguments within commands (if necessary) are surrounded by () with a | in between multiple arguments. Brackets [] will be used for mandatory verbatim arguments. A dash (-) will be the barrier between a command and the explanation for a command. For example:
- shows the status of a given interface as well as statistics
interface ID is in () because it is a user-specified argument, you can put any interface you want
- show the MAC port status
ns|alp and 0|1 are in brackets because you must use either one of those arguments
interface ID is in () because it is a user-specified argument, you can put any interface you want
ns|alp and 0|1 are in brackets because you must use either one of those arguments
Command Completion and Help
Context sensitive help and command completion in ACI is a bit different than in other command line interfaces from Cisco. Since iShell builds mostly on Bash, these features tend to build off of the standard bash Programmable Completion feature.
- Tab - Use the tab key to auto complete commands. In cases where there are multiple commands that match the typed characters, all options should be displayed horizontally.
Example Usage:
admin@tsi-apic1-211:~> mo
moconfig mocreate modelete modinfo modprobe modutil mofind moprint more moset mostats mount mount.fuse mount.nfs mount.nfs4 mountpoint mountstats mount.tmpfs admin@tsi-apic1-211:~> mo
This is more than just iShell, it includes all Bash commands. Hitting Tab before typing any CLI command on the APIC results in:
admin@tsi-apic1-211:~>
Display all 1430 possibilities? (y or n) - Esc Esc - Use Double escape to get context sensitive help for available ishell commands. This will display short help for each command. [Side note: In early beta code, Double Escape after typing a few characters would only show one of the matching commands rather than all of them. This is addressed via CSCup27989 ]
Example Usage:
admin@tsi-apic1-211:~>
attach Show a filesystem object auditlog Display audit-logs controller Controller configuration create create an MO via wizard diagnostics Display diagostics tests for equipment groups dn Display the current dn eraseconfig Erase configuration, restore to factory settings eventlog Display event-logs fabricnode Commission/Decommission/Wipeout a fabric node faults Display faults firmware Add/List/Upgrade firmware health Display health info loglevel Read/Write loglevels man Show man page help moconfig Configuration commands mocreate Create an Mo modelete Delete an Mo [snip] admin@tsi-apic1-211:~> - man
- All commands should have man pages. [Side note: If you find an iShell command without a man page - open a bug] The manual page for the commands will give you more detailed info on what the commands do and how to use them.
Cisco Application Centric Infrastructure CLI Commands (APIC, Leaf/Spine)
Clustering User Commands
- shows the current cluster size and state of APICs
- changes the size of the cluster
- Decommissions the APIC of the given ID
Clustering User Commands
SSL Troubleshooting
Can also check logs in the /var/log/dme/log directory
Switch Cert Verification
Switch Diagnostics
Debug Commands
Insieme ELTM VRF, VLAN, Interface Commands
OSPF CLI Commands
External Connectivity
ISIS Fabric Unicast Debugging
ASIC Platform Commands
ASIC Platform Commands - T2 Specific
- shows receive counters for T2
- shows transmit counters for T2
- shows per port packet type counters
- shows ingress drop counters
- shows egress drop counters
& - setting register to specific trigger. 9 registers per port (0-8)
ex - - sets 4th register to select RFILDR selector (bit 13)
- checking the stats for above command
ASIC Platform Commands - NS Specific
- shows port counters
- shows internal port counters
- shows vlan counters
- shows per-tunnel counters
- shows ASIC block counters
- shows well-defined tables
Fabric Multicast - General
- shows currecnt state of FTAG, cost, root port, OIF list
- shows GM-LSP database
- shows GIPO routes, Local/transit, OIF list
- shows topology and compute stats, MRIB update stats, Sync+Ack packet stats, Object store stats
- shows isis multicast event history logs
- more detailed than above command, specifically dealing with forwarding events and forwarding updates
Fabric Multicast Debugging - MFDM
- flood/OMF/GIPi membership
per BD
- GIPi membership
- specific
- per BD
- specific per BD
- flood membership
- per BD
- OMF membership
- per BD
- IPMC membership
- specific IPMC
Fabric Multicast Debugging - L2 Multicast
- flood/OMF/GIPi membership
- per BD
- GIPi membership
- specific
- per BD
- specific per BD
- flood membership
- per BD
- MET membership
- specific MET
- flood MET
- GIPi MET
- per BD
- specific per BD
- IPMC membership
- specific IPMC
Fabric Multicast Debugging - MRIB
- shows IP multicast routing table for given vrf
Fabric Multicast Debugging - MFIB
- shows FTAGs
- shows GIPO routes
Fabric Multicast Debugging - IGMP
- shows multicast route information in IGMP
- shows multicast router information IGMP
- FD to BD vlan mapping. IGMP gets FD and G from Istack. It needs to know the BD to create (BD, G)
- verify BD membership of a port in IGMP. Only when ports are part of BD joins are processed
- verify the tunnel to IF mapping in IGMP. IGMP uses this to get the groups on VPC and only sync them.
Fabric Multicast Debugging - MFDM
- shows IPv4 multicast routing table for given vrf
- Verify FD to BD vlan mapping. MFDM gets (FD,port) memberships from vlan_mgr and uses this information go create BD floodlists.
- BD to GIPO mapping. GIPO is used by Mcast in Fabric
- FD-vxlan to GIPO mapping
- tunnel to phy mapping
Fabric Multicast Debugging - M2rib
- shows multicast route information in M2rib
- shows multicast route informatino in M2rib
Fabric Multicast Debugging - PIXM
- RID to IPMC mapping. IFIDX is RID and LTL is IPMC
Fabric Multicast Debugging - VNTAG Mgr
- IPMC to DVIF mapping. LTL is IPMC
EP Announce - Debugging
iBash CLI
- show endpoint information
BCM Table Dump
Fabric QoS Debugging - CoPP CLI
- CoPP statistics (red = dropped, green = allowed)
- shows QoS classes configured
- shows QoS classes/policices configured per vlan
- shows ppf details
- shows QoS classes configured in hardware
- shows the QoS DSCP/dot1p policy configured for a vlan in HW
- shows QoS DSCP/dot1p policy summary
- shows QoS DSCP/dot1p policy in detail
- shows T2 TCAM entries for specified group
- shows QoS counters on each port
- shows QoS counters on each port (internal)
- shows QoS counters for each class for all ports
MCP CLI
- shows the edge port config on the HIF (FEX) ports, the internal VLAN mapping and the STP TCN packet statistics received on the fabric ports
- shows mcp information by interface
- shows stats for all interfaces
- shows mcp information per vlan
- shows stats for all vlans
- shows mcp information per msti region
- shows stats for all msti regions
iTraceroute CLI
- node traceroute
- Tenant traceroute for vlan encapped source EP
- Tenant traceroute for vxlan encapped source EP
ELAM Setup and debugging (follow commands in order)
- starts ELAM on given ASIC
- sets trigger for ELAM
- sets source and destination mac addresses
- Starts capture
- shows capture status
- shows report of the capture
VMM Troubleshooting
- shows VM controllers and their attributes such as IP/hostname, state, model, serial number
- shows hypervisor inventory of given VM controller
TOR Sync Troubleshooting
- can see which VLAN is learn disable
- can see which VLAN is learn disable
- see if timer is attached on the VLAN/vrf
OpFlex Debugging
- shows if OpFlex is online (status = 12 means OpFlex is online, remoteIP is anycast IP, intra vlan is vlan used by VTEP, FTEP IP is the iLeaf's IP)
- check if DPA is running
- uplinks and vtep should be in forwarding state. PC-LTL of uplink port should be non-zero
- Check port channel type
- if port channel type is LACP, can use this command to see the individual uplink LACP state
- verify if the VTEP received a valid DHCP IP address
SPAN Debugging
BPDU Debugging
- shows if BPDU Guard/Filter is enabled or disabled
- check if the bpdu-drop stats are incrementing on the uplinks/virtual ports
VEM Misc Commands
- show channel status
- check port status
- check per EPG flood lists
- check vLeaf multicast membership
- show packet stats
- show packet counters
- debug vxlan packet path
- debug vxlan packet path
- show above logging output
FEX Troubleshooting
- shows all FEXs and their states
- gives detailed stats of given FEX
- gives environmental stats of FEX
- shows FEX version
- shows FEX fabric interface information
- shows logging information for FEX
- shows transceiver information for FEX
- show FEX reset reason
- shows FEX module information
- shows debugging information and you can grep to find what you want
- use to find out which service is failing the sequence and you can debug that process further
ex -
ASIC Platform Commands - NS Specific
Fabric Multicast - General
Fabric Multicast Debugging - MFDM
Fabric Multicast Debugging - L2 Multicast
Fabric Multicast Debugging - MRIB
Fabric Multicast Debugging - MFIB
Fabric Multicast Debugging - IGMP
Fabric Multicast Debugging - MFDM
Fabric Multicast Debugging - M2rib
Fabric Multicast Debugging - PIXM
Fabric Multicast Debugging - VNTAG Mgr
EP Announce - Debugging
iBash CLI
BCM Table Dump
Fabric QoS Debugging - CoPP CLI
MCP CLI
iTraceroute CLI
ELAM Setup and debugging (follow commands in order)
VMM Troubleshooting
TOR Sync Troubleshooting
OpFlex Debugging
SPAN Debugging
BPDU Debugging
VEM Misc Commands
FEX Troubleshooting
CISCO Routers
ReplyDeleteCISCO Routers services in bangalore
I appeared in my Amazon exam after preparation from Pass4sure Amazon dumps. I passed it at the first attempt with my desired grades as was guaranteed. I didn’t seek help from any other material because Amazon exam material gave me full understanding of the syllabus. Dumpspass4sure should be chosen as guide for every IT student.
ReplyDeleteNetwork Enhancers - "Delivering Beyond Boundaries": Cisco Aci Cli Commands "Cheat Sheet" >>>>> Download Now
ReplyDelete>>>>> Download Full
Network Enhancers - "Delivering Beyond Boundaries": Cisco Aci Cli Commands "Cheat Sheet" >>>>> Download LINK
>>>>> Download Now
Network Enhancers - "Delivering Beyond Boundaries": Cisco Aci Cli Commands "Cheat Sheet" >>>>> Download Full
>>>>> Download LINK
elazığ
ReplyDeleteerzincan
bayburt
tunceli
sakarya
T0OHW
kastamonu evden eve nakliyat
ReplyDeleteantep evden eve nakliyat
balıkesir evden eve nakliyat
erzincan evden eve nakliyat
ankara evden eve nakliyat
DÄ°Z2
kayseri evden eve nakliyat
ReplyDeleteantalya evden eve nakliyat
izmir evden eve nakliyat
nevÅŸehir evden eve nakliyat
kayseri evden eve nakliyat
J1PD
4C692
ReplyDeleteUşak Parça Eşya Taşıma
Karabük Evden Eve Nakliyat
Altındağ Boya Ustası
Çerkezköy Petek Temizleme
Osmaniye Evden Eve Nakliyat
Bitlis Evden Eve Nakliyat
EskiÅŸehir Evden Eve Nakliyat
Balıkesir Şehirler Arası Nakliyat
İzmir Şehirler Arası Nakliyat
671BD
ReplyDeleteMersin Lojistik
Çerkezköy Mutfak Dolabı
Elazığ Parça Eşya Taşıma
Amasya Şehir İçi Nakliyat
AAX Güvenilir mi
Karabük Evden Eve Nakliyat
Ağrı Evden Eve Nakliyat
Düzce Evden Eve Nakliyat
Chat Gpt Coin Hangi Borsada
8D589
ReplyDeleteNevşehir Şehirler Arası Nakliyat
Bitmex Güvenilir mi
Kaspa Coin Hangi Borsada
Çerkezköy Kurtarıcı
Kırşehir Parça Eşya Taşıma
Batman Parça Eşya Taşıma
Kastamonu Lojistik
Kilis Şehirler Arası Nakliyat
Kastamonu Şehirler Arası Nakliyat
C2545
ReplyDeleteanapolon oxymetholone for sale
Sakarya Evden Eve Nakliyat
Diyarbakır Evden Eve Nakliyat
primobolan for sale
Tokat Evden Eve Nakliyat
Silivri Parke Ustası
Ä°zmir Evden Eve Nakliyat
Kayseri Evden Eve Nakliyat
Ä°stanbul Evden Eve Nakliyat
79493
ReplyDeleteEdirne Evden Eve Nakliyat
Kalıcı Makyaj
order turinabol
order trenbolone enanthate
Burdur Evden Eve Nakliyat
sarms for sale
Sakarya Evden Eve Nakliyat
Malatya Evden Eve Nakliyat
Batman Evden Eve Nakliyat
47442
ReplyDeletebinance %20 indirim
36898
ReplyDeleterize sohbet odaları
balıkesir sohbet uygulamaları
telefonda rastgele sohbet
hakkari mobil sohbet odaları
yozgat rastgele sohbet uygulaması
rize bedava sohbet
bedava görüntülü sohbet sitesi
antep canli sohbet chat
ankara bedava sohbet uygulamaları
15129
ReplyDeletevan mobil sohbet sitesi
rastgele görüntülü sohbet uygulamaları
istanbul görüntülü sohbet sitesi
karabük bedava sohbet
nevşehir rastgele görüntülü sohbet
görüntülü canlı sohbet
rastgele görüntülü sohbet uygulaması
antalya parasız sohbet
antep bedava görüntülü sohbet
81022
ReplyDeleteafyon parasız görüntülü sohbet
bolu sohbet muhabbet
mobil sohbet odaları
adana en iyi sesli sohbet uygulamaları
bitlis bedava sohbet chat odaları
adıyaman telefonda görüntülü sohbet
kadınlarla rastgele sohbet
mobil sohbet odaları
tekirdağ canlı sohbet odası
73C32
ReplyDeletegiresun mobil sohbet
Urfa Sesli Sohbet Mobil
muş rastgele görüntülü sohbet uygulaması
burdur görüntülü sohbet uygulama
yabancı canlı sohbet
van canli goruntulu sohbet siteleri
denizli parasız sohbet
hakkari kadınlarla ücretsiz sohbet
Denizli Telefonda Sohbet
672B6
ReplyDeleteBinance Referans Kodu
Facebook Sayfa BeÄŸeni Hilesi
Cate Coin Hangi Borsada
Parasız Görüntülü Sohbet
Pinterest Takipçi Satın Al
Onlyfans Takipçi Hilesi
Periscope BeÄŸeni Hilesi
Parasız Görüntülü Sohbet
Bitcoin Çıkarma Siteleri
10E00
ReplyDeletedappradar
ledger live
layerzero
galagames
phantom
dexscreener
arbitrum
aave
satoshi
87E08
ReplyDeletepancakeswap
trezor suite
debank
pudgy penguins
layerzero
shapeshift
eigenlayer
pancakeswap
bscpad