Switch> enable
Switch# delete flash:vlan.dat
Switch# erase startup-config
Switch# reload
Wechsel in den privilegierten Modus
falls vorhanden: Löschen der VLAN-Konfigurationen
Löschen der Startkonfiguration
Switch neu booten
Switch> enable
Switch# configure terminal
Switch(config)# enable secret geheim
- alternativ -
Switch(config)# enable password geheim
Wechsel in den privilegierten Modus
Wechsel in globalen Konfigurationsmodus
Setzt "geheim" als verschlüsseltes Passwort für den privilegierten Modus
Setzt "geheim" als unverschlüsseltes Passwort für den privilegierten Modus
Switch> enable
Switch# configure terminal
Switch(config)# line console 0
Switch(config-line)# password dunicht
Switch(config-line)# login
Wechsel in den privilegierten Modus
Wechsel in globalen Konfigurationsmodus
Wechsel in den line-Konfigurationsmodus
Setzt "dunicht" als Passwort für den Konsolezugriff
Verlangt eine Anmeldung bei Verbindung über die Konsole
Switch> enable
Switch# configure terminal
Switch(config)# interface vlan 1
Switch(config-if)# ip address 192.168.90.101 255.255.255.0
Switch(config-if)# no shutdown
Switch(config-if)# exit
Wechsel in den privilegierten Modus
Wechsel in globalen Konfigurationsmodus
Wechsel in den Interface-Konfigurationsmodus (Management-vlan)
IP-Adresse und Subnetmaske festlegen
Schnittstelle aktivieren
Abschließen
Switch> enable
Switch# configure terminal
Switch(config)# hostname SwitchD4
SwitchD4(config)# ip domain-name bso.local
SwitchD4(config)# crypto key generate rsa
The name for the keys will be: SwitchD4.bso.local Choose the size of the key modulus in the range of 360 to 2048 for your General Purpose Keys. Choosing a key modulus greater than 512 may take a few minutes.
How many bits in the hodulus [512]: 1024
SwitchD4(config)# username BSO
SwitchD4(config)# line vty 0 15
SwitchD4(config-line)# transport input ssh
SwitchD4(config-line)# login
SwitchD4(config-line)# password sicher
SwitchD4(config-line)# exit
SwitchD4(config)#
Wechsel in den privilegierten Modus
Wechsel in globalen Konfigurationsmodus
Festlegen eines Hostnamens
und einer Domain
Erzeugen der Schlüssel
Benutzernamen festlegen
Wechsel in den line-Konfigurationsmodus für das Switch-virtual-interface
Kommunikation auf SSH umstellen
Benutzer muss sich anmelden
Passwort anlegen
Abschließen