User Tools

Site Tools


networking:arista_tac

This is an old revision of the document!


TAC

INTERFACE PROBLEMS

#show agent logs
#show agent qtrace
#show interfaces transceiver detail
#show interfaces mac detail
#show interfaces phy detail

Scripted version:

#!/bin/bash
LOGNAME=logGrab-$HOSTNAME-$(date +%Y-%m-%d.%H%M%S)
mkdir /mnt/flash/$LOGNAME
cd /mnt/flash/$LOGNAME
FastCli -p15 -c "show tech" > ./show-tech
sudo cp /var/log/messages .
FastCli -p15 -c "show agent logs" > ./show-agent-logs
FastCli -p15 -c "show agent qt" > ./show-agent-qt
FastCli -p15 -c "show interfaces transceiver detail" > ./show-int-trans-det
FastCli -p15 -c "show interface mac detail" > ./show-int-mac-det
FastCli -p15 -c "show interface phy detail" > ./show-int-phy-det
cd /mnt/flash
zip -r $LOGNAME.zip $LOGNAME
rm -R $LOGNAME

TRACING

(config)#trace Bfd filename flash:Bfd.txt
(config)#trace Bfd enable BfdAgent all
#bash
$tail -f /mnt/flash/Bfd.txt

Disabling tracing:

(config)#no trace Bfd filename flash:/Bfd.txt
(config)#no trace Bfd enable * all // Disable traceing
networking/arista_tac.1768305459.txt.gz · Last modified: by v1ctor