|
Kategorie: Konfigurationsmanagement
X8500, VPN Access 250/1000: Hinweise zum Konfigurationsmanagement im Setup Tool
Beispiele für die Kommandos save, copy, put und get (Bootimage 7.1.12 Patch 1) unter Berücksichtigung von interner und externer Smart Media Flashcard.
1. Vorbemerkungen
- Im Setup-Tool ist das Menü "Configuration Management" zu verwenden.
- Für einige Kommandos muß ein TFTP-Server für den bintec Router erreichbar sein.
- Für einige Kommandos wird eine gesteckte "externe" Smart Media Flashcard (SMFC) vorausgesetzt.
- Auf der Flashcard darf kein Schreibschutzaufkleber angebracht sein.
- Die Flashcard muß geeignet formatiert sein.
- Auf der Flashcard sind Dateinamen im "8.3" DOS-Format anzugeben.
- Weitere Hinweise zum Konfigurationsmanagement sind im "Software Configuration Guide X8500 Family" zu finden.
2. Kommando "save": Speichern einer Konfiguration im Flash
2.1 Speichern der aktiven Konfiguration in den internen Flashspeicher
X8500 Setup Tool BinTec Communications AG [CONFIG]: Configuration Management x8500 _______________________________________________________________________________
Operation save (MEMORY -> FLASH)
Flash Type internal Flash Memory Name in Flash konfig01.cf
Type of last operation save (MEMORY -> FLASH) State of last operation done
START OPERATION EXIT _______________________________________________________________________________ Alternativ auf der SNMP-Shell:
x8500:> cmd=save path=konfig01.cf
2.2 Speichern der aktiven Konfiguration auf die interne Smart Media Flashcard
X8500 Setup Tool BinTec Communications AG [CONFIG]: Configuration Management x8500 _______________________________________________________________________________
Operation save (MEMORY -> FLASH)
Flash Type removable Flash Card (internal) Name in Flash konfig02.cf
Type of last operation save (MEMORY -> FLASH) State of last operation done
START OPERATION EXIT _______________________________________________________________________________ Alternativ auf der SNMP-Shell:
x8500:> cmd=save path=/card0/konfig02.cf
2.3 Speichern der aktiven Konfiguration auf die externe Smart Media Flashcard
X8500 Setup Tool BinTec Communications AG [CONFIG]: Configuration Management x8500 _______________________________________________________________________________
Operation save (MEMORY -> FLASH)
Flash Type removable Flash Card (external) Name in Flash konfig03.cf
Type of last operation save (MEMORY -> FLASH) State of last operation done
START OPERATION EXIT _______________________________________________________________________________ Alternativ auf der SNMP-Shell:
x8500:> cmd=save path=/card1/konfig03.cf
2.4 Kontrolle der Zieldateien
Kontrolle des internen Flashspeichers:
x8500:> biboAdmConfigDirTable inx Name(*ro) Count(ro) Content(ro) 00 "boot" 148 "<all>" 01 "konfig01.cf" 148 "<all>" 02 "<bytes free>" 217743 x8500:biboAdmConfigDirTable> Kontrolle der internen Flashcard:
x8500:> fssh -n0 dir boot DATE TIME SIZE NAME DIR Wed May 25 16:33:42 2005 0 . DIR Wed May 25 16:33:42 2005 0 .. boot Wed May 25 16:38:42 2005 3135083 S7112P01.X8A boot Wed May 25 16:54:34 2005 15552 BOOT Wed May 25 17:00:12 2005 15559 KONFIG02.CF Avail: 13156352, Used: 3227648 Total: 16384000 x8500:> Kontrolle der externen Flashcard:
x8500:> fssh -n1 dir boot DATE TIME SIZE NAME DIR Wed May 25 17:13:46 2005 0 . DIR Wed May 25 17:13:46 2005 0 .. Wed May 25 17:17:50 2005 15559 KONFIG03.CF Avail: 16302080, Used: 60928 Total: 16363008 x8500:>
3. Kommando "copy": Kopieren einer Konfiguration im Flash
Hinweise:
- Setup-Tool und "cmd=copy ... " können derzeit nur innerhalb des internen Flashspeichers kopieren.
- Mit "fssh copy ..." kann nur von und zu Flashcards kopiert werden.
- Eine Kontrolle der Zieldateien kann wie beim Kommando "save" erfolgen.
3.1 Kopieren einer Konfiguration innerhalb des internen Flashspeichers
X8500 Setup Tool BinTec Communications AG [CONFIG]: Configuration Management x8500 _______________________________________________________________________________
Operation copy (FLASH -> FLASH)
Name in Flash konfig01.cf New Name in Flash kopie01.cf
Type of last operation copy (FLASH -> FLASH) State of last operation done
START OPERATION EXIT _______________________________________________________________________________ Alternativ auf der SNMP-Shell:
x8500:> cmd=copy path=konfig01.cf pathnew=kopie01.cf
3.2 Kopieren einer Konfiguration innerhalb der internen Smart Media Flashcard
Beispiel auf der SNMP-Shell:
x8500:> fssh -n0 copy konfig02.cf kopie02.cf
3.3 Kopieren einer Konfiguration innerhalb der externen Smart Media Flashcard
Beispiel auf der SNMP-Shell:
x8500:> fssh -n1 copy konfig03.cf kopie03.cf
3.4 Kopieren einer Konfiguration von der internen auf die externe Smart Media Flashcard
Beispiel auf der SNMP-Shell:
x8500:> fssh -n0 copy konfig02.cf /card1/x8500/autoexec/kopie02.cf
3.5 Kopieren einer Konfiguration von der externen auf die interne Smart Media Flashcard
Beispiel auf der SNMP-Shell:
x8500:> fssh -n1 copy konfig03.cf /card0/x8500/autoexec/kopie03.cf
4. Kommando "put": Übertragen einer Konfiguration zu einem TFTP-Server
Beipiele für das Übertragen von Konfigurationsdateien von einem bintec Router zu einem TFTP-Server.
4.1 Sichern einer Konfigurationsdatei des internen Flashspeichers
X8500 Setup Tool BinTec Communications AG [CONFIG]: Configuration Management x8500 _______________________________________________________________________________
Operation put (FLASH -> TFTP)
TFTP Server IP Address 192.168.0.10 TFTP File Name X8500.cf
Flash Type internal Flash Memory Name in Flash konfig01.cf
Type of last operation put (FLASH -> TFTP) State of last operation done
START OPERATION EXIT _______________________________________________________________________________ Alternativ auf der SNMP-Shell:
x8500:> cmd=put path=konfig01.cf host=192.168.0.10 file=X8500.cf
4.2 Sichern einer Konfigurationsdatei der internen Smart Media Flashcard
X8500 Setup Tool BinTec Communications AG [CONFIG]: Configuration Management x8500 _______________________________________________________________________________
Operation put (FLASH -> TFTP)
TFTP Server IP Address 192.168.0.10 TFTP File Name X8500.cf
Flash Type removable Flash Card (internal) Name in Flash KONFIG02.CF
Type of last operation put (FLASH -> TFTP) State of last operation done
START OPERATION EXIT _______________________________________________________________________________ Alternativ auf der SNMP-Shell:
x8500:> cmd=put path=/card0/konfig02.cf host=192.168.0.10 file=X8500.cf
4.3 Sichern einer Konfigurationsdatei der externen Smart Media Flashcard
X8500 Setup Tool BinTec Communications AG [CONFIG]: Configuration Management x8500 _______________________________________________________________________________
Operation put (FLASH -> TFTP)
TFTP Server IP Address 192.168.0.10 TFTP File Name X8500.cf
Flash Type removable Flash Card (external) Name in Flash KONFIG03.CF
Type of last operation put (FLASH -> TFTP) State of last operation done
START OPERATION EXIT _______________________________________________________________________________ Alternativ auf der SNMP-Shell:
x8500:> cmd=put path=/card1/konfig03.cf host=192.168.0.10 file=X8500.cf
5. Kommando "get": Übertragen einer Konfiguration von einem TFTP-Server
Beipiele für das Übertragen von Konfigurationsdateien von einem TFTP-Server zu einem bintec Router. Hinweis: Eine Kontrolle der Zieldateien kann wie beim Kommando "save" erfolgen (vgl. Kap. 2.4).
5.1 Übertragen einer Konfigurationsdatei in den internen Flashspeicher
X8500 Setup Tool BinTec Communications AG [CONFIG]: Configuration Management x8500 _______________________________________________________________________________
Operation get (TFTP -> FLASH)
TFTP Server IP Address 192.168.0.10 TFTP File Name X8500.cf
Flash Type internal Flash Memory Name in Flash get01.cf
Type of last operation get (TFTP -> FLASH) State of last operation done
START OPERATION EXIT _______________________________________________________________________________ Alternativ auf der SNMP-Shell:
x8500:> cmd=get host=192.168.0.10 file=X8500.cf path=get01.cf
5.2 Übertragen einer Konfigurationsdatei auf die interne Smart Media Flashcard
X8500 Setup Tool BinTec Communications AG [CONFIG]: Configuration Management x8500 _______________________________________________________________________________
Operation get (TFTP -> FLASH)
TFTP Server IP Address 192.168.0.10 TFTP File Name X8500.cf
Flash Type removable Flash Card (internal) Name in Flash get02.cf
Type of last operation get (TFTP -> FLASH) State of last operation done
START OPERATION EXIT _______________________________________________________________________________ Alternativ auf der SNMP-Shell:
x8500:> cmd=get host=192.168.0.10 file=X8500.cf path=/card0/get02.cf
5.3 Übertragen einer Konfigurationsdatei auf die externe Smart Media Flashcard
X8500 Setup Tool BinTec Communications AG [CONFIG]: Configuration Management x8500 _______________________________________________________________________________
Operation get (TFTP -> FLASH)
TFTP Server IP Address 192.168.0.10 TFTP File Name X8500.cf
Flash Type removable Flash Card (external) Name in Flash get03.cf
Type of last operation get (TFTP -> FLASH) State of last operation done
START OPERATION EXIT _______________________________________________________________________________ Alternativ auf der SNMP-Shell:
x8500:> cmd=get host=192.168.0.10 file=X8500.cf path=/card1/get03.cf
kst
|