본 제품에 대한 문서 세트는 편견 없는 언어를 사용하기 위해 노력합니다. 본 설명서 세트의 목적상, 편견 없는 언어는 나이, 장애, 성별, 인종 정체성, 민족 정체성, 성적 지향성, 사회 경제적 지위 및 교차성에 기초한 차별을 의미하지 않는 언어로 정의됩니다. 제품 소프트웨어의 사용자 인터페이스에서 하드코딩된 언어, RFP 설명서에 기초한 언어 또는 참조된 서드파티 제품에서 사용하는 언어로 인해 설명서에 예외가 있을 수 있습니다. 시스코에서 어떤 방식으로 포용적인 언어를 사용하고 있는지 자세히 알아보세요.
Cisco는 전 세계 사용자에게 다양한 언어로 지원 콘텐츠를 제공하기 위해 기계 번역 기술과 수작업 번역을 병행하여 이 문서를 번역했습니다. 아무리 품질이 높은 기계 번역이라도 전문 번역가의 번역 결과물만큼 정확하지는 않습니다. Cisco Systems, Inc.는 이 같은 번역에 대해 어떠한 책임도 지지 않으며 항상 원본 영문 문서(링크 제공됨)를 참조할 것을 권장합니다.
이 문서에서는 TAC 케이스에 대한 문제 발생 시/후 Nexus 스위치에서 수집할 일반적인 명령 집합을 나열합니다.
명령 목록을 변경 없이 나열된 대로 스위치 cli에 붙여넣을 수 있습니다.특정 명령은 해당 기능이 구현되지 않은 경우 오류가 발생할 수 있습니다.이는 예상 결과이며 어떤 문제도 발생시키지 않습니다.
show tech를 TAC 케이스에 사전 연결한 경우 아래 목록을 무시해도 됩니다.
명령 목록을 변경 없이 나열된 대로 스위치 cli에 붙여넣을 수 있습니다.$(SWITCHNAME)은(는) 호스트 이름으로 자동 교체됩니다.
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
! 관리자 VDC 및 문제의 VDC에서 이러한 출력을 수집합니다.
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