Sie sind auf Seite 1von 3

Cisco Devices

Werkszustand
Switch -> alle Ports (OSI 2) default aktiv, KEINE IP
Router -> alle Interfaces (OSI 3) default deaktiviert, KEINE IP

Initialer Konfigurationszugang
-> Console Port auf jedem Cisco Gerät
-> RJ45 oder Mini-USB
-> Console Cable (Rollover Cable)
-> Software für die Terminal Emulation
-> TeraTerm Pro
-> Putty
.. mit speziellen Einstellung für den seriellen Port (COM)
-> Baud (Speed): 9600
-> Data Bits: 8
-> Stop Bit: 1
-> Parität: keine
-> Flusskontrolle: keine

CLI - Command Line Interface

Switch> UserEXEC Mode


Privilege Level 1
-> nur wenige "ausführbare" Kommandos möglich
-> KEINE Konfiguration möglich
Switch> enable
Switch# PrivilegeEXEC Mode (enable mode)
Privilege Level 15
-> uneingeschränkte Rechte
-> alle (!) Kommandos nutzbar
-> alle ausführbaren Kommandos hier nutzbar
Switch# configure terminal
Switch(config)# Global Configuration Mode
-> globale Konfigurationskommandos oder ..
Switch(config)# hostname <name>
-> .. übergeordnete Kommandos
Switch(config)# line con 0
Switch(config-line)# SubConfiguration Mode -> des Console Ports
Switch(config-line)# password <passwort>
Switch(config-line)# login
Switch(config-line)# logging synchronous
Switch(config-line)# exec-timeout 0

Umgang mit der CLI - CLI Features

-> multiple Leerzeichen: unproblematisch


-> Cursor Position: egal
-> Gross-/Kleinschreibung: egal
-> Features
-> Kommandovervollständigung: TAB
-> Hilfefunktion: ?
# con?
# configure ?
#?
-> Kommandoabkürzung
-> Fehlermeldungen
-> History Funktion: Cursor up | Cursor down
-> Tastenkombinationen:
Strg + z -> wie das Kommando "end"
Strg + c -> terminiert interaktive Abfragen
Strg + Shift + 6 -> beendet Aktionen des Cisco Geräts
Backspace -> Zeichen vor dem Cursor löschen
Strg + d -> Zeichen unterm Cursor löschen (ENTF)
Strg + a -> an den Anfang der Zeile springen
-> Copy & Paste

Konfigurationsdateien
"running-config"
-> laufende Konfiguration im RAM (flüchtig)
-> Editierung via CLI Kommandos
# show running-config

"startup-config"
-> gesicherte Konfiguratiosdatei im NVRAM (nicht-flüchtig)
-> manuelle Sicherung via Kommando
# show startup-config

Sichern der Konfiguration - NOTWENDIG

# copy running-config startup-config


# copy system:running-config nvram:startup-config
# copy run start
-----------------
# write memory
# write
# wr

Konfigurationskommandos löschen
-> durch Negation (vorangestelltes "no ")

Das könnte Ihnen auch gefallen