0 Pluspunkte 0 Minuspunkte
Wie kann ich einen Cisco Switch konfigurieren das er alle Log Messages auf einem Linux syslog Server speichert?
von  

1 Antwort

0 Pluspunkte 0 Minuspunkte

Du kannst es entweder global, für alle Schnittstellen konfigurieren.

conf t
logging host <syslog-server-ip>
logging facility local7  ! Sie können die Facility nach Bedarf ändern
logging trap informational  ! Sie können das Trap-Level nach Bedarf ändern
logging on  ! Aktivieren der Syslog-Nachrichten

Wenn du nur bestimmte Schnittstellen monitoren möchtest kannst du es für jede Schnittstelle explizit konfigurieren.

configure terminal
interface GigabitEthernet0/1
 logging host <syslog-server-ip>
 logging facility local7
 logging trap informational
 logging on
 exit

von