O conjunto de documentação deste produto faz o possível para usar uma linguagem imparcial. Para os fins deste conjunto de documentação, a imparcialidade é definida como uma linguagem que não implica em discriminação baseada em idade, deficiência, gênero, identidade racial, identidade étnica, orientação sexual, status socioeconômico e interseccionalidade. Pode haver exceções na documentação devido à linguagem codificada nas interfaces de usuário do software do produto, linguagem usada com base na documentação de RFP ou linguagem usada por um produto de terceiros referenciado. Saiba mais sobre como a Cisco está usando a linguagem inclusiva.
A Cisco traduziu este documento com a ajuda de tecnologias de tradução automática e humana para oferecer conteúdo de suporte aos seus usuários no seu próprio idioma, independentemente da localização. Observe que mesmo a melhor tradução automática não será tão precisa quanto as realizadas por um tradutor profissional. A Cisco Systems, Inc. não se responsabiliza pela precisão destas traduções e recomenda que o documento original em inglês (link fornecido) seja sempre consultado.
Este documento lista o conjunto genérico de comandos a serem coletados dos switches Nexus durante/após um problema para casos de TAC.
A lista de comandos pode ser colada na cli do switch exatamente como listada sem alterações. Determinados comandos podem apresentar erro se os recursos correspondentes não forem implementados. Este é o resultado esperado e não causará problemas.
Se você anexou proativamente um show tech ao caso do TAC, poderá ignorar a lista abaixo.
A lista de comandos pode ser colada na cli do switch exatamente como listada sem alterações. O $(SWITCHNAME) será automaticamente substituído pelo nome do host.
echo 'show clock' >> bootflash:$(SWITCHNAME)_cmds_for_tac_case.txt ; show clock >> bootflash:$(SWITCHNAME)_cmds_for_tac_case.txt
echo 'show inventory' >> bootflash:$(SWITCHNAME)_cmds_for_tac_case.txt ; Show inventory >> bootflash:$(SWITCHNAME)_cmds_for_tac_case.txt
echo 'show version' >> bootflash:$(SWITCHNAME)_cmds_for_tac_case.txt ; Show version >> bootflash:$(SWITCHNAME)_cmds_for_tac_case.txt
echo 'show module' >> bootflash:$(SWITCHNAME)_cmds_for_tac_case.txt ; Show module >> bootflash:$(SWITCHNAME)_cmds_for_tac_case.txt
echo 'show run' >> bootflash:$(SWITCHNAME)_cmds_for_tac_case.txt ; show run >> bootflash:$(SWITCHNAME)_cmds_for_tac_case.txt
echo 'show logging log' >> bootflash:$(SWITCHNAME)_cmds_for_tac_case.txt ; Show logging log >> bootflash:$(SWITCHNAME)_cmds_for_tac_case.txt
echo 'show log nvram' >> bootflash:$(SWITCHNAME)_cmds_for_tac_case.txt ; Show log nvram >> bootflash:$(SWITCHNAME)_cmds_for_tac_case.txt
echo 'show accounting log' >> bootflash:$(SWITCHNAME)_cmds_for_tac_case.txt ; Show accounting log >> bootflash:$(SWITCHNAME)_cmds_for_tac_case.txt
echo 'show cdp nei' >> bootflash:$(SWITCHNAME)_cmds_for_tac_case.txt ; Show cdp nei >> bootflash:$(SWITCHNAME)_cmds_for_tac_case.txt
echo 'show lldp nei' >> bootflash:$(SWITCHNAME)_cmds_for_tac_case.txt ; show lldp nei >> bootflash:$(SWITCHNAME)_cmds_for_tac_case.txt
echo 'show copp status' >> bootflash:$(SWITCHNAME)_cmds_for_tac_case.txt ; Show copp status >> bootflash:$(SWITCHNAME)_cmds_for_tac_case.txt
echo 'show policy-map interface control-plane' >> bootflash:$(SWITCHNAME)_cmds_for_tac_case.txt ; show policy-map interface control-plane >> bootflash:$(SWITCHNAME)_cmds_for_tac_case.txt
echo 'show hardware rate-limiter' >> bootflash:$(SWITCHNAME)_cmds_for_tac_case.txt ; show hardware rate-limiter >> bootflash:$(SWITCHNAME)_cmds_for_tac_case.txt
echo 'show system reset-reason' >> bootflash:$(SWITCHNAME)_cmds_for_tac_case.txt ; Show system reset-reason >> bootflash:$(SWITCHNAME)_cmds_for_tac_case.txt
echo 'show span summary' >> bootflash:$(SWITCHNAME)_cmds_for_tac_case.txt ; show span summary >> bootflash:$(SWITCHNAME)_cmds_for_tac_case.txt
echo 'show vpc' >> bootflash:$(SWITCHNAME)_cmds_for_tac_case.txt ; show vpc >> bootflash:$(SWITCHNAME)_cmds_for_tac_case.txt
echo 'show int status' >> bootflash:$(SWITCHNAME)_cmds_for_tac_case.txt ; show int status >> bootflash:$(SWITCHNAME)_cmds_for_tac_case.txt
echo 'show port-channel summary' >> bootflash:$(SWITCHNAME)_cmds_for_tac_case.txt ; show port-channel summary >> bootflash:$(SWITCHNAME)_cmds_for_tac_case.txt
echo 'show ip int bri vrf all' >> bootflash:$(SWITCHNAME)_cmds_for_tac_case.txt ; show ip int bri vrf all >> bootflash:$(SWITCHNAME)_cmds_for_tac_case.txt
echo 'show cores' >> bootflash:$(SWITCHNAME)_cmds_for_tac_case.txt ; show cores >> bootflash:$(SWITCHNAME)_cmds_for_tac_case.txt
echo 'show diagnostic result mod all' >> bootflash:$(SWITCHNAME)_cmds_for_tac_case.txt ; show diagnostic result mod all >> bootflash:$(SWITCHNAME)_cmds_for_tac_case.txt
echo 'show ip route vrf all summary' >> bootflash:$(SWITCHNAME)_cmds_for_tac_case.txt ; show ip route vrf all summary >> bootflash:$(SWITCHNAME)_cmds_for_tac_case.txt
echo 'show mac address-table count' >> bootflash:$(SWITCHNAME)_cmds_for_tac_case.txt ; show mac address-table count >> bootflash:$(SWITCHNAME)_cmds_for_tac_case.txt
echo 'show vlan summary' >> bootflash:$(SWITCHNAME)_cmds_for_tac_case.txt ; show vlan summary >> bootflash:$(SWITCHNAME)_cmds_for_tac_case.txt
echo 'show module internal exceptionlog' >> bootflash:$(SWITCHNAME)_cmds_for_tac_case.txt ; show module internal exceptionlog >> bootflash:$(SWITCHNAME)_cmds_for_tac_case.txt
echo 'show processes cpu history' >> bootflash:$(SWITCHNAME)_cmds_for_tac_case.txt ; show processes cpu history >> bootflash:$(SWITCHNAME)_cmds_for_tac_case.txt
echo 'show processes memory sort' >> bootflash:$(SWITCHNAME)_cmds_for_tac_case.txt ; show processes memory sort >> bootflash:$(SWITCHNAME)_cmds_for_tac_case.txt
echo 'show interface counters errors' >> bootflash:$(SWITCHNAME)_cmds_for_tac_case.txt ; show interface counters errors >> bootflash:$(SWITCHNAME)_cmds_for_tac_case.txt
echo 'show fex' >> bootflash:$(SWITCHNAME)_cmds_for_tac_case.txt ; show fex >> bootflash:$(SWITCHNAME)_cmds_for_tac_case.txt
echo 'show license usage' >> bootflash:$(SWITCHNAME)_cmds_for_tac_case.txt ; Show license usage >> bootflash:$(SWITCHNAME)_cmds_for_tac_case.txt
echo 'show ip eigrp neighbor vrf all' >> bootflash:$(SWITCHNAME)_cmds_for_tac_case.txt ; show ip eigrp neighbor vrf all >> bootflash:$(SWITCHNAME)_cmds_for_tac_case.txt
echo 'show ip ospf neighbor vrf all' >> bootflash:$(SWITCHNAME)_cmds_for_tac_case.txt ; show ip ospf neighbor vrf all >> bootflash:$(SWITCHNAME)_cmds_for_tac_case.txt
echo 'show ip bgp vpnv4 vrf all' >> bootflash:$(SWITCHNAME)_cmds_for_tac_case.txt ; show ip bgp vpnv4 vrf all >> bootflash:$(SWITCHNAME)_cmds_for_tac_case.txt
echo 'dir logflash:' >> bootflash:$(SWITCHNAME)_cmds_for_tac_case.txt ; dir logflash: >> bootflash:$(SWITCHNAME)_cmds_for_tac_case.txt
!zip the file
gzip $(SWITCHNAME)_cmds_for_tac_case.txt
echo 'show clock' >> bootflash:$(SWITCHNAME)_cmds_for_tac_case.txt ; show clock >> bootflash:$(SWITCHNAME)_cmds_for_tac_case.txt
echo 'show inventory' >> bootflash:$(SWITCHNAME)_cmds_for_tac_case.txt ; Show inventory >> bootflash:$(SWITCHNAME)_cmds_for_tac_case.txt
echo 'show version' >> bootflash:$(SWITCHNAME)_cmds_for_tac_case.txt ; Show version >> bootflash:$(SWITCHNAME)_cmds_for_tac_case.txt
echo 'show module' >> bootflash:$(SWITCHNAME)_cmds_for_tac_case.txt ; Show module >> bootflash:$(SWITCHNAME)_cmds_for_tac_case.txt
echo 'show run' >> bootflash:$(SWITCHNAME)_cmds_for_tac_case.txt ; show run >> bootflash:$(SWITCHNAME)_cmds_for_tac_case.txt
echo 'show logging log' >> bootflash:$(SWITCHNAME)_cmds_for_tac_case.txt ; Show logging log >> bootflash:$(SWITCHNAME)_cmds_for_tac_case.txt
echo 'show log nvram' >> bootflash:$(SWITCHNAME)_cmds_for_tac_case.txt ; Show log nvram >> bootflash:$(SWITCHNAME)_cmds_for_tac_case.txt
echo 'show accounting log' >> bootflash:$(SWITCHNAME)_cmds_for_tac_case.txt ; Show accounting log >> bootflash:$(SWITCHNAME)_cmds_for_tac_case.txt
echo 'show cdp nei' >> bootflash:$(SWITCHNAME)_cmds_for_tac_case.txt ; Show cdp nei >> bootflash:$(SWITCHNAME)_cmds_for_tac_case.txt
echo 'show lldp nei' >> bootflash:$(SWITCHNAME)_cmds_for_tac_case.txt ; show lldp nei >> bootflash:$(SWITCHNAME)_cmds_for_tac_case.txt
echo 'show copp status' >> bootflash:$(SWITCHNAME)_cmds_for_tac_case.txt ; Show copp status >> bootflash:$(SWITCHNAME)_cmds_for_tac_case.txt
echo 'show policy-map interface control-plane' >> bootflash:$(SWITCHNAME)_cmds_for_tac_case.txt ; show policy-map interface control-plane >> bootflash:$(SWITCHNAME)_cmds_for_tac_case.txt
echo 'show hardware rate-limiter' >> bootflash:$(SWITCHNAME)_cmds_for_tac_case.txt ; show hardware rate-limiter >> bootflash:$(SWITCHNAME)_cmds_for_tac_case.txt
echo 'show system reset-reason' >> bootflash:$(SWITCHNAME)_cmds_for_tac_case.txt ; Show system reset-reason >> bootflash:$(SWITCHNAME)_cmds_for_tac_case.txt
echo 'show span summary' >> bootflash:$(SWITCHNAME)_cmds_for_tac_case.txt ; show span summary >> bootflash:$(SWITCHNAME)_cmds_for_tac_case.txt
echo 'show vpc' >> bootflash:$(SWITCHNAME)_cmds_for_tac_case.txt ; show vpc >> bootflash:$(SWITCHNAME)_cmds_for_tac_case.txt
echo 'show int status' >> bootflash:$(SWITCHNAME)_cmds_for_tac_case.txt ; show int status >> bootflash:$(SWITCHNAME)_cmds_for_tac_case.txt
echo 'show port-channel summary' >> bootflash:$(SWITCHNAME)_cmds_for_tac_case.txt ; show port-channel summary >> bootflash:$(SWITCHNAME)_cmds_for_tac_case.txt
echo 'show ip int bri vrf all' >> bootflash:$(SWITCHNAME)_cmds_for_tac_case.txt ; show ip int bri vrf all >> bootflash:$(SWITCHNAME)_cmds_for_tac_case.txt
echo 'show cores' >> bootflash:$(SWITCHNAME)_cmds_for_tac_case.txt ; show cores >> bootflash:$(SWITCHNAME)_cmds_for_tac_case.txt
echo 'show diagnostic result mod all' >> bootflash:$(SWITCHNAME)_cmds_for_tac_case.txt ; show diagnostic result mod all >> bootflash:$(SWITCHNAME)_cmds_for_tac_case.txt
echo 'show ip route vrf all summary' >> bootflash:$(SWITCHNAME)_cmds_for_tac_case.txt ; show ip route vrf all summary >> bootflash:$(SWITCHNAME)_cmds_for_tac_case.txt
echo 'show mac address-table count' >> bootflash:$(SWITCHNAME)_cmds_for_tac_case.txt ; show mac address-table count >> bootflash:$(SWITCHNAME)_cmds_for_tac_case.txt
echo 'show vlan summary' >> bootflash:$(SWITCHNAME)_cmds_for_tac_case.txt ; show vlan summary >> bootflash:$(SWITCHNAME)_cmds_for_tac_case.txt
echo 'show module internal exceptionlog' >> bootflash:$(SWITCHNAME)_cmds_for_tac_case.txt ; show module internal exceptionlog >> bootflash:$(SWITCHNAME)_cmds_for_tac_case.txt
echo 'show processes cpu history' >> bootflash:$(SWITCHNAME)_cmds_for_tac_case.txt ; show processes cpu history >> bootflash:$(SWITCHNAME)_cmds_for_tac_case.txt
echo 'show processes memory sort' >> bootflash:$(SWITCHNAME)_cmds_for_tac_case.txt ; show processes memory sort >> bootflash:$(SWITCHNAME)_cmds_for_tac_case.txt
echo 'show interface counters errors' >> bootflash:$(SWITCHNAME)_cmds_for_tac_case.txt ; show interface counters errors >> bootflash:$(SWITCHNAME)_cmds_for_tac_case.txt
echo 'show fex' >> bootflash:$(SWITCHNAME)_cmds_for_tac_case.txt ; show fex >> bootflash:$(SWITCHNAME)_cmds_for_tac_case.txt
echo 'show license usage' >> bootflash:$(SWITCHNAME)_cmds_for_tac_case.txt ; Show license usage >> bootflash:$(SWITCHNAME)_cmds_for_tac_case.txt
echo 'show ip eigrp neighbor vrf all' >> bootflash:$(SWITCHNAME)_cmds_for_tac_case.txt ; show ip eigrp neighbor vrf all >> bootflash:$(SWITCHNAME)_cmds_for_tac_case.txt
echo 'show ip ospf neighbor vrf all' >> bootflash:$(SWITCHNAME)_cmds_for_tac_case.txt ; show ip ospf neighbor vrf all >> bootflash:$(SWITCHNAME)_cmds_for_tac_case.txt
echo 'show ip bgp vpnv4 vrf all' >> bootflash:$(SWITCHNAME)_cmds_for_tac_case.txt ; show ip bgp vpnv4 vrf all >> bootflash:$(SWITCHNAME)_cmds_for_tac_case.txt
echo 'dir logflash:' >> bootflash:$(SWITCHNAME)_cmds_for_tac_case.txt ; dir logflash: >> bootflash:$(SWITCHNAME)_cmds_for_tac_case.txt
!zip the file
gzip $(SWITCHNAME)_cmds_for_tac_case.txt
!COLETE ESSAS SAÍDAS DO VDC DO ADMINISTRADOR E DO VDC EM QUESTÃO.
echo 'show clock' >> bootflash:$(SWITCHNAME)_cmds_for_tac_case.txt ; show clock >> bootflash:$(SWITCHNAME)_cmds_for_tac_case.txt
echo 'show inventory' >> bootflash:$(SWITCHNAME)_cmds_for_tac_case.txt ; Show inventory >> bootflash:$(SWITCHNAME)_cmds_for_tac_case.txt
echo 'show version' >> bootflash:$(SWITCHNAME)_cmds_for_tac_case.txt ; Show version >> bootflash:$(SWITCHNAME)_cmds_for_tac_case.txt
echo 'show module' >> bootflash:$(SWITCHNAME)_cmds_for_tac_case.txt ; Show module >> bootflash:$(SWITCHNAME)_cmds_for_tac_case.txt
echo 'show run' >> bootflash:$(SWITCHNAME)_cmds_for_tac_case.txt ; show run >> bootflash:$(SWITCHNAME)_cmds_for_tac_case.txt
echo 'show logging log' >> bootflash:$(SWITCHNAME)_cmds_for_tac_case.txt ; Show logging log >> bootflash:$(SWITCHNAME)_cmds_for_tac_case.txt
echo 'show log nvram' >> bootflash:$(SWITCHNAME)_cmds_for_tac_case.txt ; Show log nvram >> bootflash:$(SWITCHNAME)_cmds_for_tac_case.txt
echo 'show accounting log' >> bootflash:$(SWITCHNAME)_cmds_for_tac_case.txt ; Show accounting log >> bootflash:$(SWITCHNAME)_cmds_for_tac_case.txt
echo 'show cdp nei' >> bootflash:$(SWITCHNAME)_cmds_for_tac_case.txt ; Show cdp nei >> bootflash:$(SWITCHNAME)_cmds_for_tac_case.txt
echo 'show lldp nei' >> bootflash:$(SWITCHNAME)_cmds_for_tac_case.txt ; show lldp nei >> bootflash:$(SWITCHNAME)_cmds_for_tac_case.txt
echo 'show copp status' >> bootflash:$(SWITCHNAME)_cmds_for_tac_case.txt ; Show copp status >> bootflash:$(SWITCHNAME)_cmds_for_tac_case.txt
echo 'show policy-map interface control-plane' >> bootflash:$(SWITCHNAME)_cmds_for_tac_case.txt ; show policy-map interface control-plane >> bootflash:$(SWITCHNAME)_cmds_for_tac_case.txt
echo 'show hardware rate-limiter' >> bootflash:$(SWITCHNAME)_cmds_for_tac_case.txt ; show hardware rate-limiter >> bootflash:$(SWITCHNAME)_cmds_for_tac_case.txt
echo 'show system reset-reason' >> bootflash:$(SWITCHNAME)_cmds_for_tac_case.txt ; Show system reset-reason >> bootflash:$(SWITCHNAME)_cmds_for_tac_case.txt
echo 'show span summary' >> bootflash:$(SWITCHNAME)_cmds_for_tac_case.txt ; show span summary >> bootflash:$(SWITCHNAME)_cmds_for_tac_case.txt
echo 'show vpc' >> bootflash:$(SWITCHNAME)_cmds_for_tac_case.txt ; show vpc >> bootflash:$(SWITCHNAME)_cmds_for_tac_case.txt
echo 'show int status' >> bootflash:$(SWITCHNAME)_cmds_for_tac_case.txt ; show int status >> bootflash:$(SWITCHNAME)_cmds_for_tac_case.txt
echo 'show port-channel summary' >> bootflash:$(SWITCHNAME)_cmds_for_tac_case.txt ; show port-channel summary >> bootflash:$(SWITCHNAME)_cmds_for_tac_case.txt
echo 'show ip int bri vrf all' >> bootflash:$(SWITCHNAME)_cmds_for_tac_case.txt ; show ip int bri vrf all >> bootflash:$(SWITCHNAME)_cmds_for_tac_case.txt
echo 'show cores' >> bootflash:$(SWITCHNAME)_cmds_for_tac_case.txt ; show cores >> bootflash:$(SWITCHNAME)_cmds_for_tac_case.txt
echo 'show diagnostic result mod all' >> bootflash:$(SWITCHNAME)_cmds_for_tac_case.txt ; show diagnostic result mod all >> bootflash:$(SWITCHNAME)_cmds_for_tac_case.txt
echo 'show ip route vrf all summary' >> bootflash:$(SWITCHNAME)_cmds_for_tac_case.txt ; show ip route vrf all summary >> bootflash:$(SWITCHNAME)_cmds_for_tac_case.txt
echo 'show mac address-table count' >> bootflash:$(SWITCHNAME)_cmds_for_tac_case.txt ; show mac address-table count >> bootflash:$(SWITCHNAME)_cmds_for_tac_case.txt
echo 'show vlan summary' >> bootflash:$(SWITCHNAME)_cmds_for_tac_case.txt ; show vlan summary >> bootflash:$(SWITCHNAME)_cmds_for_tac_case.txt
echo 'show module internal exceptionlog' >> bootflash:$(SWITCHNAME)_cmds_for_tac_case.txt ; show module internal exceptionlog >> bootflash:$(SWITCHNAME)_cmds_for_tac_case.txt
echo 'show processes cpu history' >> bootflash:$(SWITCHNAME)_cmds_for_tac_case.txt ; show processes cpu history >> bootflash:$(SWITCHNAME)_cmds_for_tac_case.txt
echo 'show processes memory sort' >> bootflash:$(SWITCHNAME)_cmds_for_tac_case.txt ; show processes memory sort >> bootflash:$(SWITCHNAME)_cmds_for_tac_case.txt
echo 'show interface counters errors' >> bootflash:$(SWITCHNAME)_cmds_for_tac_case.txt ; show interface counters errors >> bootflash:$(SWITCHNAME)_cmds_for_tac_case.txt
echo 'show fex' >> bootflash:$(SWITCHNAME)_cmds_for_tac_case.txt ; show fex >> bootflash:$(SWITCHNAME)_cmds_for_tac_case.txt
echo 'show license usage' >> bootflash:$(SWITCHNAME)_cmds_for_tac_case.txt ; Show license usage >> bootflash:$(SWITCHNAME)_cmds_for_tac_case.txt
echo 'show ip eigrp neighbor vrf all' >> bootflash:$(SWITCHNAME)_cmds_for_tac_case.txt ; show ip eigrp neighbor vrf all >> bootflash:$(SWITCHNAME)_cmds_for_tac_case.txt
echo 'show ip ospf neighbor vrf all' >> bootflash:$(SWITCHNAME)_cmds_for_tac_case.txt ; show ip ospf neighbor vrf all >> bootflash:$(SWITCHNAME)_cmds_for_tac_case.txt
echo 'show ip bgp vpnv4 vrf all' >> bootflash:$(SWITCHNAME)_cmds_for_tac_case.txt ; show ip bgp vpnv4 vrf all >> bootflash:$(SWITCHNAME)_cmds_for_tac_case.txt
echo 'dir logflash:' >> bootflash:$(SWITCHNAME)_cmds_for_tac_case.txt ; dir logflash: >> bootflash:$(SWITCHNAME)_cmds_for_tac_case.txt
echo 'show vdc' >> bootflash:$(SWITCHNAME)_cmds_for_tac_case.txt ; show vdc >> bootflash:$(SWITCHNAME)_cmds_for_tac_case.txt
!zip the file
gzip $(SWITCHNAME)_cmds_for_tac_case.txt
echo 'show clock' >> bootflash:$(SWITCHNAME)_cmds_for_tac_case.txt ; show clock >> bootflash:$(SWITCHNAME)_cmds_for_tac_case.txt
echo 'show inventory' >> bootflash:$(SWITCHNAME)_cmds_for_tac_case.txt ; Show inventory >> bootflash:$(SWITCHNAME)_cmds_for_tac_case.txt
echo 'show version' >> bootflash:$(SWITCHNAME)_cmds_for_tac_case.txt ; Show version >> bootflash:$(SWITCHNAME)_cmds_for_tac_case.txt
echo 'show module' >> bootflash:$(SWITCHNAME)_cmds_for_tac_case.txt ; Show module >> bootflash:$(SWITCHNAME)_cmds_for_tac_case.txt
echo 'show run' >> bootflash:$(SWITCHNAME)_cmds_for_tac_case.txt ; show run >> bootflash:$(SWITCHNAME)_cmds_for_tac_case.txt
echo 'show logging log' >> bootflash:$(SWITCHNAME)_cmds_for_tac_case.txt ; Show logging log >> bootflash:$(SWITCHNAME)_cmds_for_tac_case.txt
echo 'show log nvram' >> bootflash:$(SWITCHNAME)_cmds_for_tac_case.txt ; Show log nvram >> bootflash:$(SWITCHNAME)_cmds_for_tac_case.txt
echo 'show accounting log' >> bootflash:$(SWITCHNAME)_cmds_for_tac_case.txt ; Show accounting log >> bootflash:$(SWITCHNAME)_cmds_for_tac_case.txt
echo 'show cdp nei' >> bootflash:$(SWITCHNAME)_cmds_for_tac_case.txt ; Show cdp nei >> bootflash:$(SWITCHNAME)_cmds_for_tac_case.txt
echo 'show lldp nei' >> bootflash:$(SWITCHNAME)_cmds_for_tac_case.txt ; show lldp nei >> bootflash:$(SWITCHNAME)_cmds_for_tac_case.txt
echo 'show copp status' >> bootflash:$(SWITCHNAME)_cmds_for_tac_case.txt ; Show copp status >> bootflash:$(SWITCHNAME)_cmds_for_tac_case.txt
echo 'show policy-map interface control-plane' >> bootflash:$(SWITCHNAME)_cmds_for_tac_case.txt ; show policy-map interface control-plane >> bootflash:$(SWITCHNAME)_cmds_for_tac_case.txt
echo 'show hardware rate-limiter' >> bootflash:$(SWITCHNAME)_cmds_for_tac_case.txt ; show hardware rate-limiter >> bootflash:$(SWITCHNAME)_cmds_for_tac_case.txt
echo 'show system reset-reason' >> bootflash:$(SWITCHNAME)_cmds_for_tac_case.txt ; Show system reset-reason >> bootflash:$(SWITCHNAME)_cmds_for_tac_case.txt
echo 'show span summary' >> bootflash:$(SWITCHNAME)_cmds_for_tac_case.txt ; show span summary >> bootflash:$(SWITCHNAME)_cmds_for_tac_case.txt
echo 'show vpc' >> bootflash:$(SWITCHNAME)_cmds_for_tac_case.txt ; show vpc >> bootflash:$(SWITCHNAME)_cmds_for_tac_case.txt
echo 'show int status' >> bootflash:$(SWITCHNAME)_cmds_for_tac_case.txt ; show int status >> bootflash:$(SWITCHNAME)_cmds_for_tac_case.txt
echo 'show port-channel summary' >> bootflash:$(SWITCHNAME)_cmds_for_tac_case.txt ; show port-channel summary >> bootflash:$(SWITCHNAME)_cmds_for_tac_case.txt
echo 'show ip int bri vrf all' >> bootflash:$(SWITCHNAME)_cmds_for_tac_case.txt ; show ip int bri vrf all >> bootflash:$(SWITCHNAME)_cmds_for_tac_case.txt
echo 'show cores' >> bootflash:$(SWITCHNAME)_cmds_for_tac_case.txt ; show cores >> bootflash:$(SWITCHNAME)_cmds_for_tac_case.txt
echo 'show diagnostic result mod all' >> bootflash:$(SWITCHNAME)_cmds_for_tac_case.txt ; show diagnostic result mod all >> bootflash:$(SWITCHNAME)_cmds_for_tac_case.txt
echo 'show ip route vrf all summary' >> bootflash:$(SWITCHNAME)_cmds_for_tac_case.txt ; show ip route vrf all summary >> bootflash:$(SWITCHNAME)_cmds_for_tac_case.txt
echo 'show mac address-table count' >> bootflash:$(SWITCHNAME)_cmds_for_tac_case.txt ; show mac address-table count >> bootflash:$(SWITCHNAME)_cmds_for_tac_case.txt
echo 'show vlan summary' >> bootflash:$(SWITCHNAME)_cmds_for_tac_case.txt ; show vlan summary >> bootflash:$(SWITCHNAME)_cmds_for_tac_case.txt
echo 'show module internal exceptionlog' >> bootflash:$(SWITCHNAME)_cmds_for_tac_case.txt ; show module internal exceptionlog >> bootflash:$(SWITCHNAME)_cmds_for_tac_case.txt
echo 'show processes cpu history' >> bootflash:$(SWITCHNAME)_cmds_for_tac_case.txt ; show processes cpu history >> bootflash:$(SWITCHNAME)_cmds_for_tac_case.txt
echo 'show processes memory sort' >> bootflash:$(SWITCHNAME)_cmds_for_tac_case.txt ; show processes memory sort >> bootflash:$(SWITCHNAME)_cmds_for_tac_case.txt
echo 'show interface counters errors' >> bootflash:$(SWITCHNAME)_cmds_for_tac_case.txt ; show interface counters errors >> bootflash:$(SWITCHNAME)_cmds_for_tac_case.txt
echo 'show fex' >> bootflash:$(SWITCHNAME)_cmds_for_tac_case.txt ; show fex >> bootflash:$(SWITCHNAME)_cmds_for_tac_case.txt
echo 'show license usage' >> bootflash:$(SWITCHNAME)_cmds_for_tac_case.txt ; Show license usage >> bootflash:$(SWITCHNAME)_cmds_for_tac_case.txt
echo 'show ip eigrp neighbor vrf all' >> bootflash:$(SWITCHNAME)_cmds_for_tac_case.txt ; show ip eigrp neighbor vrf all >> bootflash:$(SWITCHNAME)_cmds_for_tac_case.txt
echo 'show ip ospf neighbor vrf all' >> bootflash:$(SWITCHNAME)_cmds_for_tac_case.txt ; show ip ospf neighbor vrf all >> bootflash:$(SWITCHNAME)_cmds_for_tac_case.txt
echo 'show ip bgp vpnv4 vrf all' >> bootflash:$(SWITCHNAME)_cmds_for_tac_case.txt ; show ip bgp vpnv4 vrf all >> bootflash:$(SWITCHNAME)_cmds_for_tac_case.txt
echo 'dir logflash:' >> bootflash:$(SWITCHNAME)_cmds_for_tac_case.txt ; dir logflash: >> bootflash:$(SWITCHNAME)_cmds_for_tac_case.txt
!zip the file
gzip $(SWITCHNAME)_cmds_for_tac_case.txt