Skip to Main Content
Arista Warrior, 2. Edition
book

Arista Warrior, 2. Edition

by Gary A. Donahue
September 2024
Intermediate to advanced content levelIntermediate to advanced
572 pages
15h 29m
German
O'Reilly Media, Inc.
Book available
Content preview from Arista Warrior, 2. Edition

Kapitel 29. Fehlersuche

Diese Arbeit wurde mithilfe von KI übersetzt. Wir freuen uns über dein Feedback und deine Kommentare: translation-feedback@oreilly.com

Es gibt einige sehr nützliche Diagnosetools für Arista-Switches, von denen wir bereits einige vorgestellt haben, wie z. B. tcpdump. Manchmal müssen wir genauer wissen, was der Switch macht, und da kommt die Leistungsüberwachung ins Spiel.

Logs

Unter Linux kannst du Live-Updates in einer Protokolldatei verfolgen, indem du den tail -f filename Befehl. Du kannst etwas Ähnliches tun, wenn du dein Systemprotokoll in EOS mit dem Kommandozeilen-Befehl (CLI) show logging follow ansiehst. Syslog-Meldungen werden in Linux dort gespeichert, wo jeder Linux-Benutzer sie erwarten würde, nämlich in /var/log/:

[admin@Arista ~]$ ls /var/log
EosInit           error.log              messages
NorCalInit        eventMon.db            nginx-access.log
Post              fneserver              nginx-error.log
agents            inotifyrun-local.log   ntpstats
btmp              inotifyrun-secure.log  ppp
cli               inotifyrun-sys.log     qt
cron              kernel.debug           secure
eos               lastlog                spooler
eos-console       libvirt                startup-config-output
eos-console-sync  logrot.log             tallylog
eos-monitor       maillog                wtmp
eos-monitor-sync  mcelog                 yum.log

/var/log/messages enthält alle Syslog-Meldungen, die du auf der Konsole sehen würdest. Beachte, dass du benötigst, um diese Datei einzusehen: sudo:

[admin@Arista ~]$ cd /var/log
[admin@Arista log]$ tail messages
tail: cannot open 'messages' for reading: Permission denied
[admin@Arista log]$ sudo tail messages Nov 29 02:07:34 Arista Stp: ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

JUNOS® FOR DUMMIES®

JUNOS® FOR DUMMIES®

Aviva Garrett, Cathy Gadecki, Michael Bushong
VCP6-DCV Official Cert Guide (Exam #2VO-621), 3rd Edition

VCP6-DCV Official Cert Guide (Exam #2VO-621), 3rd Edition

John A. Davis, Steve Baca, Owen Thomas

Publisher Resources

ISBN: 9781098191221