You are on page 1of 4

bei neu konfigurierten Switches:

- SSH Key -
conf t
crypto key generate rsa general-keys modulus 1024 exportable
oder bei alten IOS Versionen
crypto key generate rsa modulus 1024

- VTP config -
conf t
vtp mode client
vtp domain ?????????????????
vtp password ?????????????????
ACHTUNG!! Configuration Revision muss auf dem zu konfigurierenden Switch TIEFER
sein als auf dem produktiven LAN!!!

- Wenn VTP config nach reboot wieder auf Server -


conf t
vlan 777
end
wr
conf t
vtp mode client
vtp domain ??????????
vtp password ?????????
end
wr
conf t
vtp mode transparent
vtp mode client
end
wr
sh vtp status --> configuration revision muss 0 sein

- VTP Details anzeigen -


-----------------------
sh vtp password
sh vtp status
-----------------------

- ARP cache löschen -


clear arp-cache
clear ip arp 192.168.1.1

- user passwort aendern -


username benutzername privilege 15 secret geheimespasswort

- Konfiguration loeschen -
wr er

- Konfiguration als startup config aufs device laden -


en
copy xmodem startup-config
- special stuff -
no boot system
boot system flash:/c2960-lanlitek9-mz.152-4.E6.bin

show routes:
sh ip route 10.1.0.0 255.255.0.0 longer-prefixes

Auf TFTP Server im entsprechenden Verzeichnis:


touch c2960x-universalk9-mz.150-2a.EX5.tar
chmod 777 c2960x-universalk9-mz.150-2a.EX5.tar
Auf switch:
archive upload-sw tftp://ip address/c2960x-universalk9-mz.150-2a.EX5.tar
archive download-sw tftp://ip address/c2960x-universalk9-mz.150-2a.EX5.tar

from putty with the Management IP address: or the hostname

login as: aneukom


Keyboard-interactive authentication prompts from server:
| Password:
End of keyboard-interactive prompts from server

____ ___ ____ _____ ___ ___ ____


| \ / _ \| _ \(___ ) _ \ / _ \| _ \
| | | | |_| | | | |/ __/ |_| | |_| | | | |
|_|_|_|\___/|_| |_(_____)___/ \___/|_| |_|
N E T W O R K S
Device: riv1-swi61
Contact: noc@monzoon.net
phone +41 43 5000 474

riv1-swi61#copy tftp
riv1-swi61#copy tftp:
% Incomplete command.
riv1-swi61#copy tftp
riv1-swi61#copy tftp: flash
riv1-swi61#copy tftp: flash
Address or name of remote host []? 80.254.77.37
Source filename []? /mwuerth/c2960x-universalk9-mz.152-4.E8.bin
Destination filename [c2960x-universalk9-mz.152-4.E8.bin]?
Accessing tftp://80.254.77.37//mwuerth/c2960x-universalk9-mz.152-4.E8.bin...
Loading /mwuerth/c2960x-universalk9-mz.152-4.E8.bin from 80.254.77.37 (via
Vlan799): !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!.!!!!.!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!.!!!!!!!!!!.!!!.!!!!
[OK - 24359936 bytes]

24359936 bytes copied in 513.075 secs (47478 bytes/sec)


riv1-swi61#conf t
Enter configuration commands, one per line. End with CNTL/Z.
riv1-swi61(config)#no boot s
riv1-swi61(config)#no boot system
riv1-swi61(config)#boot sys
riv1-swi61(config)#boot system flas
riv1-swi61(config)#boot system flas
riv1-swi61(config)#boot system flas:/c
riv1-swi61#conf t
Enter configuration commands, one per line. End with CNTL/Z.
riv1-swi61(config)#boot system flash:/c2960x-universalk9-mz.152-4.E8.bin
riv1-swi61(config)#end
riv1-swi61#dir flash
%Error opening flash:/flash (No such file or directory)
riv1-swi61#dir flash:
Directory of flash:/

2 -rwx 3096 Nov 10 2022 13:15:23 +00:00 multiple-fs


3 -rwx 1917 Nov 10 2022 13:15:23 +00:00 private-config.text
8 -rwx 24359936 Nov 10 2022 13:24:11 +00:00 c2960x-universalk9-mz.152-
4.E8.bin
4 -rwx 6304 Nov 10 2022 14:21:15 +00:00 vlan.dat
9 -rwx 3614 Nov 10 2022 13:15:22 +00:00 config.text
5 drwx 512 Mar 4 2016 14:13:15 +00:00 c2960x-universalk9-mz.152-
4.E1

122185728 bytes total (72849920 bytes free)


riv1-swi61#wr
Building configuration...
[OK]
riv1-swi61#sh boot
BOOT path-list : flash:/c2960x-universalk9-mz.152-4.E8.bin
Config file : flash:/config.text
Private Config file : flash:/private-config.text
Enable Break : yes
Manual Boot : no
Allow Dev Key : yes
HELPER path-list :
Auto upgrade : yes
Auto upgrade path :
Boot optimization : disabled
NVRAM/Config file
buffer size: 524288
Timeout for Config
Download: 0 seconds
Config Download
via DHCP: disabled (next boot: disabled)
riv1-swi61#sh ver
riv1-swi61#sh version
Cisco IOS Software, C2960X Software (C2960X-UNIVERSALK9-M), Version 15.2(4)E1,
RELEASE SOFTWARE (fc2)
Technical Support: http://www.cisco.com/techsupport
Copyright (c) 1986-2016 by Cisco Systems, Inc.
Compiled Thu 28-Jan-16 15:56 by prod_rel_team

ROM: Bootstrap program is C2960X boot loader


BOOTLDR: C2960X Boot Loader (C2960X-HBOOT-M) Version 15.0(2r)EX3, RELEASE SOFTWARE
(fc1)

riv1-swi61 uptime is 27 minutes


System returned to ROM by power-on
System restarted at 13:10:36 UTC Thu Nov 10 2022
System image file is "flash:/c2960x-universalk9-mz.152-4.E1/c2960x-universalk9-
mz.152-4.E1.bin"
Last reload reason: power-on

This product contains cryptographic features and is subject to United


States and local country laws governing import, export, transfer and
use. Delivery of Cisco cryptographic products does not imply
third-party authority to import, export, distribute or use encryption.
Importers, exporters, distributors and users are responsible for
compliance with U.S. and local country laws. By using this product you
agree to comply with applicable laws and regulations. If you are unable
to comply with U.S. and local laws, return this product immediately.

A summary of U.S. laws governing Cisco cryptographic products may be found at:
http://www.cisco.com/wwl/export/crypto/tool/stqrg.html

riv1-swi61#
riv1-swi61#rlo
riv1-swi61#rloreload
Translating "rloreload"
% Unknown command or computer name, or unable to find computer address
riv1-swi61#rload
Translating "rload"
% Unknown command or computer name, or unable to find computer address
riv1-swi61#reload
Proceed with reload? [confirm]

You might also like