Konfigurasyonları Kaydetme/Silme Huawei

  1. Cihazlarda saklanan dosya listesini görüntülemek
    Bulunduğunuz klasördeki dosyaları görüntülemek için dir komutunu kullanırız.
    dir
    Directory of sd1:/
    Idx Attr Size(Byte) Date Time(LMT) FileName
    0 -rw- 94,689,536 Oct 15 2013 13:39:50 ar2220-v200r003c01spc900.cc
    1 -rw- 286,620 Aug 08 2014 20:08:02 sacrule.dat
    2 -rw- 52,868 Sep 20 2014 17:12:00 mon_file.txt
    1,960,944 KB total (1,867,520 KB free)
    dir
    Directory of sd1:/
    Idx Attr Size(Byte) Date Time(LMT) FileName
    0 -rw- 94,689,536 Oct 15 2013 13:39:50 ar2220-v200r003c01spc900.cc
    1 -rw- 286,620 Aug 08 2014 20:08:02 sacrule.dat
    2 -rw- 52,868 Sep 20 2014 17:12:00 mon_file.txt
    1,960,944 KB total (1,867,520 KB free)
  2. Cihaz konfigürasyon dosyalarının yönetimi
    Kayıtlı konfigürasyon dosyalarını görüntülemek için display saved-configuration komutu kullanılır.
    display saved-configuration
    There is no correct configuration file in FLASH
    Konfigürasyon dosyasını kaydetmek için save komutu kullanılır.
    save
    The current configuration will be written to the device.
    Are you sure to continue? (y/n)[n]:y
    It will take several minutes to save configuration file, please wait……….
    Configuration file had been saved successfully
    Note: The configuration file will take effect after being activated

Kaydedilen yapılandırma komutlarını görebilmek için display saved-configuration diyebiliriz.
display saved-configuration
[V200R003C01SPC900] #
sysname Router1
header shell information ” Huawei tanıtım “#
board add 0/1 2FE
board add 0/2 1SA
……..output omitted…….
Çalışmakta olan konfigürasyonu da display current-configuration diyerek görebiliriz.
display current-configuration
[V200R003C01SPC900] #
sysname R1header shell information ” Huawei tanıtım “#
board add 0/1 2FE
board add 0/2 1SA
board add 0/3 2FÊ
……..output omitted…….

Router birden fazla konfigürasyon dosyası bulundurabilir.Display startup komutu diyerek cihazın bir sonraki başlangıcında kullanılacak olan konfigürasyonu görüntüleriz.
display startup
MainBoard:
Startup system software: sd1:/ar2220-v200r003c01spc900.cc
Next startup system software: sd1:/ar2220-v200r003c01spc900.cc
Backup system software for next startup: nullStartup saved-configuration file: null
Next startup saved-configuration file: sd1:/vrpcfg.zip
Startup license file: null
Next startup license file: null
Startup patch package: sd1:/ar2220-v200r003sph006.pat
Next startup patch package: sd1:/ar2220-v200r003sph006.pat
Startup voice-files: null
Next startup voice-files: null

Yapılandırmadaki konfigürasyonları silmek için de reset saved-configuration komutunu kullanalım.
reset saved-configuration
This will delete the configuration in the flash memory.
The device configurations will be erased to reconfigure.Are you sure? (y/n)[n]:y
Clear the configuration in the device successfully.
reset saved-configuration
This will delete the configuration in the flash memory.
The device configurations will be erased to reconfigure.Are you sure? (y/n)[n]:y
Clear the configuration in the device successfully.

  1. Cihazı yeniden başlatma yöntemi
    Konfigürasyonu sildikten sonra cihazı tekrar başlatmak için reboot komutunu kullanırız.
    reboot
    Info: The system is comparing the configuration, please wait.
    Warning: All the configuration will be saved to the next startup configuration. Continue ? [y/n]:n
    System will reboot! Continue ? [y/n]:y
    Info: system is rebooting ,please wait…
    reboot
    Info: The system is comparing the configuration, please wait.
    Warning: All the configuration will be saved to the next startup configuration.
    Continue ? [y/n]:n
    System will reboot! Continue ? [y/n]:y
    Info: system is rebooting ,please wait…
    Yaptıgımız cihaz üzerindeki tüm konfigürasyonu görmek için son olarak display current-configuration komutu kullanılır.
    display current-configuration
    [V200R003C01SPC900] #
    sysname Router1
    header shell information “Huawei”
    interface GigabitEthernet0/0/0
    description Bu interface CLIGURU-R2’nin G0/0/0 portuna bagli
    ip address 192.168.1.1 255.255.255.0
    #
    user-interface con 0
    authentication-mode password
    set authentication password cipher %$%$’$-F6W:’|1[vUR&v+N+3,}Y[j;6:\:FtUO/<!U”ObL*}\,%$%$ idle-timeout 20 0 user-interface vty 0 4 # Return <Router2>display current-configuration [V200R003C01SPC900] # sysname CLIGURU-R2 interface GigabitEthernet0/0/0 description Bu interface CLIGURU-R1’nin G0/0/0 portuna bagli ip address 192.168.1.2 255.255.255.0 # user-interface con 0 authentication-mode password set authentication password cipher %$%$’$-F6W:’|1[vUR&v+N+3,*}Y[j;6:\:FtUO/}\,%$%$
    user-interface vty 0 4
    #
    return

About cemerbas

Check Also

Next Generation Firewall (NGFW) Huawei

Next Generation Firewall (NGFW) üzerinden geçen trafiği, Application identification, User identification ve Content identification temellerine …

Bir yanıt yazın