Arista Data Collection
Content

Arista Data Collection

This provided the procedure to collect diagnostic data via the command line from Arisita network switch.  

Once data is collected

Upload facility

Hitachi Vantara requires all data collections to be uploaded to a central upload site. This is to ensure that all data is collected in a central repository only accessible to authorized Hitachi personnel.

Please upload all data to https://tuf.hitachivantara.com

Arista Switches

  • UCP CI
  • UCP HC
  • UCP Director

Arista Switch logs

  1. Login into the Arisita switch
  2. Execute the following commands where $case is Hitachi case number
    1. example: <span style="font-family: Calibri,sans-serif; font-size: 11pt; mso-fareast-font-family: " times="" new="" roman";="" mso-ansi-language:="" en-us;="" mso-fareast-language:="" mso-bidi-language:="" ar-sa;"="">show tech-support | gzip > /mnt/flash/$CASE-show-tech-$HOSTNAME-$(date +%m_%d.%H%M).gz
      1. <span style="font-family: Calibri,sans-serif; font-size: 11pt; mso-fareast-font-family: " times="" new="" roman";="" mso-ansi-language:="" en-us;="" mso-fareast-language:="" mso-bidi-language:="" ar-sa;"="">show tech-support | gzip > /mnt/flash/02625832<span style="font-family: Calibri,sans-serif; font-size: 11pt; mso-fareast-font-family: " times="" new="" roman";="" mso-ansi-language:="" en-us;="" mso-fareast-language:="" mso-bidi-language:="" ar-sa;"="">-show-tech-$HOSTNAME-$(date +%m_%d.%H%M).gz
        1. <span style="font-family: Calibri,sans-serif; font-size: 11pt; mso-fareast-font-family: " times="" new="" roman";="" mso-ansi-language:="" en-us;="" mso-fareast-language:="" mso-bidi-language:="" ar-sa;"="">show tech-support | gzip > /mnt/flash/$CASE-show-tech-$HOSTNAME-$(date +%m_%d.%H%M).gz
          show agent log | gzip > /mnt/flash/$CASE-show-agentlog-$HOSTNAME-$(date +%m_%d.%H%M).gz
          show agent qtrace | gzip >/mnt/flash/$CASE-show-agentqt-$HOSTNAME-$(date +%m_%d.%H%M).gz
          show logging system | gzip >/mnt/flash/$CASE-show-logsys-$HOSTNAME-$(date +%m_%d.%H%M).gz
          bash sudo tar -cvf - /mnt/flash/schedule/tech-support/* > /mnt/flash/$CASE-history-tech-$HOSTNAME-$(date +%d_%m.%H%M).tar

          show event-monitor arp | gzip >/mnt/flash/$CASE-show-eventarp-$HOSTNAME-$(date +%m_%d.%H%M).gz
          show event-monitor mac | gzip >/mnt/flash/$CASE-show-eventmac-$HOSTNAME-$(date +%m_%d.%H%M).gz
          show event-monitor lacp verbose | gzip >/mnt/flash/$CASE-show-eventlacpverbose-$HOSTNAME-$(date +%m_%d.%H%M).gz
          show event-monitor route | gzip >/mnt/flash/$CASE-show-eventroute-$HOSTNAME-$(date +%m_%d.%H%M).gz


           

 

Additional Notes

Other command to gather more diagnostic information on physical port Small From-Factor Pluggable  SFP+ SFP28

<span style="font-family: Calibri,sans-serif; font-size: 11pt; mso-fareast-font-family: " times="" new="" roman";="" mso-ansi-language:="" en-us;="" mso-fareast-language:="" mso-bidi-language:="" ar-sa;"="">show it etx  mac de
show int etx phy de
show int etx capabilities

 

Internal Notes

To upload to Arista FTP

 

FTP server instructions:

###########################################################
On Mac/Linux
Note that starting from MacOS High Sierra the ftp client is not available by default,
however it can be installed with a tool like homebrew:
'brew install tnftp'

Change directories to the folder that has the file to be uploaded.
From your terminal, execute "ftp ftp.arista.com"
Login: ftp
Pwd: 'your email address'

Change directory to 'support' i.e. 'cd support'
Within 'support' directory there should be a directory named with your TAC case number e.g. 177475
Change directory to the directory of your case number i.e. cd 177475
Upload the file/s using the command 'put '
###########################################################
On Windows using the default command prompt (use hash mark printing to see progress)
Change directories to the folder that has the file to be uploaded.
From your command prompt, execute "ftp -A ftp.arista.com"
Change directory to 'support' i.e. 'cd support'
Within 'support' directory there should be a directory named with your TAC case number e.g. 177475
Change directory to the directory of your case number i.e. cd 177475
Type 'hash' to turn hash mark printing on for progress indication
Upload the file using the command 'put '
Provide the filename/s to the Arista Support team in a case email.
The server supports TLS for those customers who need to use an encrypted channel. Customers wishing to use TLS should use their provided FTPS client.
###########################################################
NOTE: If trying to directly upload logs from the switch to the FTP server, provided there is a valid route, we can try the following:.
copy flash:filename ftp://anonymous@ftp.arista.com/support/177475/filename
###########################################################



 

Attachments
Service Partner Notes
Employee Notes
Support Center Notes
CXone Metadata

Tags: UCP HC,Arista,UCP CI,SDN

PageID: 79661