Router Reset Notizen: -("") Gänsefüße werden nicht mir geschrieben,
1. >router shutdown nicht in den Befehl.
2. >spam "strg-pause" - configure terminal = confit t
3. >? //show commands
4. >confreg //show configs
5. >confreg 0x2142
6. >reset
Router> enable
Router# erase startup-config
Router# config t
Router(config)# config-register 0x2102
Router(config)# exit
Router# reload
...saver? no
Router Standart Config
Router> //User EXEC mode
- enable
Router# //Priveleged EXEC mode
- show running-config //zeigt die Konfigiration
- configure terminal //enter global configuration mode
Router(config)# // global configuration mode, escape= CNTL/Z
- hostname "R1" //assign the Router hostname
R1 (config)# //hostname assigned
- enable secret "class" //configured the router password acces
- service password-encryption //encryption the password
R1 (config)#
- no ip domain-lookup //preventet unwanted DNS lookups
- banner motd # //configured a login MOTD banner
- exit //moving between modes
R1#
- config t //global configuration mode
- interface "FastEthernet 0/0" //set the IP address for the interfaces
R1 (config-if)#
- ip address "..." //set IP address and subnet mask
- no shut
- description "This is connected to PCA" //description to the interface
- exit
R1 (config)# //global config mode
- line con 0 //set console password
R1 (console-line)#
- password "cisco" //set password
- login
- service password-encryption //encryption the password
- exit
R1 (config)# //global config mode
- line vty 0 4 //assign VTY password
R1 (config-line)#
- password "cisco" //set password
- login
- service password-encryption //encryption the password
- end
R1# //privileged EXEC mode
- copy running-config startup-config //save the running-config to the startup file
R1# //privileged EXEC mode
- show clock //shows the clock
- clock set ? //set the clock
- clock set "14:00:00" ? // "
- clock set 14:00:00 Feb 20 ? //set month and day
- clock set 14:00:00 Feb 20 2020 //set year
R1#
- show ip interface brief //shows ip on interfaces
- show ip route //shows ip route
- show version //shows device infromations
- show running-config s//shows running config
Switch Reset
switch:
- flash_init //
- dir flash: //show the flash flash data
- delet flash:config.old //delet flash:config.old
- rename flash:config.text flash:config.old //give config.old a new name
- boot //restart the switch
- n //if ask to promt the config dialog
- y //if ask to terminate autoinstall