ne:lv_pronesy
Unterschiede
Hier werden die Unterschiede zwischen zwei Versionen angezeigt.
| Beide Seiten der vorigen RevisionVorhergehende ÜberarbeitungNächste Überarbeitung | Vorhergehende Überarbeitung | ||
| ne:lv_pronesy [2023/08/08 15:01] – [TACACS] admin | ne:lv_pronesy [2025/01/14 08:29] (aktuell) – [Inhalt] admin | ||
|---|---|---|---|
| Zeile 1: | Zeile 1: | ||
| ====== Projekt Rechnernetze ====== | ====== Projekt Rechnernetze ====== | ||
| + | ===== Automatische Konfiguration eines Labor-Routers mit Ansible und TACACS sowie automtische Überprüfung der Konfiguration mit PyATS ===== | ||
| - | ===== Organisation | + | ==== Organisation ==== |
| === Gruppenarbeit === | === Gruppenarbeit === | ||
| Zeile 9: | Zeile 10: | ||
| * https:// | * https:// | ||
| + | ---- | ||
| + | ==== Inhalt ==== | ||
| - | ===== Automatische Konfiguration eines Labor-Routers mit Ansible und TACACS | + | === TACACS === |
| - | + | ||
| - | ===== Inhalt ===== | + | |
| - | + | ||
| - | ==== TACACS ==== | + | |
| <cli> | <cli> | ||
| aaa new-model | aaa new-model | ||
| Zeile 39: | Zeile 38: | ||
| default service = permit | default service = permit | ||
| - | # Create a DES encrypted password with the `tac_pwd` command | + | # Create a DES encrypted password |
| login = des Oy6FGC2LNE6ao | login = des Oy6FGC2LNE6ao | ||
| + | # Create a cleartext password | ||
| + | #login = cleartext cisco | ||
| # Set priv 15 for user | # Set priv 15 for user | ||
| Zeile 59: | Zeile 60: | ||
| </ | </ | ||
| - | + | == TACACS Server == | |
| + | * https:// | ||
| + | * https:// | ||
| + | * https:// | ||
| + | |||
| + | |||
| + | |||
| + | Tacacs starten: | ||
| + | <code bash> | ||
| + | sudo tac_plus -C / | ||
| + | </ | ||
| + | |||
| + | Tacacs beenden (vor Neustart): | ||
| + | <code bash> | ||
| + | ps -aux | grep tac | ||
| + | sudo killall tac_plus | ||
| + | </ | ||
| + | |||
| + | == Ansible auf Raspberry-Pi == | ||
| + | |||
| + | Paramiko installieren (ansible-pylibssh ist nicht in den Paketquellen): | ||
| + | <code bash> | ||
| + | apt install python3-paramiko | ||
| + | </ | ||
| + | |||
| + | <code bash> | ||
| + | ansible-playbook -i inventory backup_router.yml | ||
| + | </ | ||
| == Links == | == Links == | ||
| * [[https:// | * [[https:// | ||
| + | * [[https:// | ||
| + | * [[https:// | ||
| + | |||
ne/lv_pronesy.1691506901.txt.gz · Zuletzt geändert: von admin
