Remote Konfiguration eines Cisco-Routers
im laufenden Betrieb!
Einführung:
Remote (weit entfernt stehende) Cisco-Router konfigurieren kann Probleme verursachen.
Bsp.: Sie wollen auf der Schnittstelle etwas verändern (z.B. das Übertragungs-Protokoll) auf dem Sie sich mit z.B. Telnet verbunden haben. Würden Sie einfach das Protokoll ändern fliegen Sie aus der Telnet-Sitzung und kommen wo möglich nicht mehr auf den Router.
Die hier beschriebene Lösung kann Abhilfe schaffen:
Vorgehensweise:
1.) Speichern des Konfigurationsfiles auf einen Remote-Host
Test-Router#copy running-config tftp
Remote host [192.19.131.38]? Name of configuration file to write [test-router-confg]? Write file test-router-confg on host 192.19.131.38? [confirm] Building configuration... Writing test-router-confg !! [OK] Test-Router#2.) Bearbeiten der Datei test-router-confg z.B. mit einem Editor
3.) Veränderte Datei in den Cisco einspielen
Test-Router#copy tftp startup-config
Address of remote host [192.19.131.38]? Name of configuration file [test-router-confg]? Configure using test-router-confg from 192.19.131.38? [confirm] Loading test-router-confg from 192.19.131.38 (via Ethernet0): ! [OK - 610/7467 bytes] [OK] Test-Router#Cisco - Meldung:
00:24:41: %SYS-5-CONFIG_NV: Nonvolatile storage configured from test-router-confg by console tftp from 192.19.131.38
4.) Laufendes System mit der neuen Konfiguration aktivieren
4.1) entweder neu booten des Routers
4.2) oder Test-Router#
copy startup-config running-configCisco - Meldung:
00:26:54: %SYS-5-CONFIG_I: Configured from memory by console
Achtung:
Nach dem booten bzw. nach dem letzten kopieren ist die neue Konfiguration sofort aktiv.
Möchte man aber das File nicht gleich aktiv haben, so kann man es im FLASH – Speicher ablegen und nach belieben zu einem späteren Zeitpunkt aktiv setzten:
# copy tftp flash
# copy flash:test-router-confg startup-config
Bsp:
Test-Router#copy tftp flash:test-router-confg
PCMCIA flash directory: File Length Name/status 1 1654212 c1005-y-mz.113-7.T [1654276 bytes used, 442876 available, 2097152 total] Address or name of remote host [192.19.131.38]? Source file name [test-router-confg]? Accessing file 'test-router-confg' on 192.19.131.38... Loading test-router-confg from 192.19.131.38 (via Ethernet0): ! [OK - 601/1024 bytes] [OK] Erase flash device before writing? [confirm]n %Warning: File not a valid executable for this system Copy file? [confirm] Copy 'test-router-confg' from server as 'test-router-confg' into Flash WITHOUT erase? [yes/no]yes Loading test-router-confg from 192.19.131.38 (via Ethernet0): ! [OK - 601/442876 bytes] Verifying checksum... OK (0x9F9C) Flash device copy took 00:00:00 [hh:mm:ss] Test-Router#Test-Router#sh flash
PCMCIA flash directory: File Length Name/status 1 1654212 c1005-y-mz.113-7.T IOS 2 601 test-router-confg unser überspieltes File [1654944 bytes used, 442208 available, 2097152 total] 2048K bytes of processor board PCMCIA flash (Read/Write) Test-Router#Weitere Informationen unter dem Punkt: Cisco und Netz: LAN+WAN im Inhalt !
Suche nach Literatur / Bücher zum Thema!
Unsere Seiten nach weiteren Informationen durchsuchen!
Letzte Bearbeitung: 11 / 2004 - Bitte beachten Sie das Copyright und die Hinweise im Inhalt unter www.datahelp.de
Copyright © www.datahelp.de
Modifizierung oder Weitergabe an Dritte nur mit Einverständnis des Autors gestattet !