Kamis, 23 Januari 2014

Cisco CLI
  1. Menampilkan Jam dan Tanggal
  2. Switch>show clock
    *0:2:54.868 UTC Mon Mar 1 1993  
    
     
  3. Menampilkan versi IOS
  4. Switch>show version
    Cisco Internetwork Operating System Software
    IOS (tm) C2950 Software (C2950-I6Q4L2-M), Version 12.1(22)EA4, RELEASE SOFTWARE(fc1)
    Copyright (c) 1986-2005 by cisco Systems, Inc.
    Compiled Wed 18-May-05 22:31 by jharirba
    Image text-base: 0x80010000, data-base: 0x80562000
    ...
     --More-- 
    
    
     
  5. Menampilkan perintah sebelumnya
  6. Switch>show history 
      show clock
      show version
      show history 
    
    
     
  7. Menampilkan daftar perintah (manual/help)
  8. Untuk menampilkan perintah apa saja yang terdapat pada konsol / user mode IOS, kita cukup mengetikkan "tanda tanya (?)". Sebagai contoh :
    Switch>?
    Exec commands:
      <1-99>      Session number to resume
      connect     Open a terminal connection
      disable     Turn off privileged commands
      disconnect  Disconnect an existing network connection
      enable      Turn on privileged commands
      exit        Exit from the EXEC
      logout      Exit from the EXEC
      ping        Send echo messages
      resume      Resume an active network connection
      show        Show running system information
      telnet      Open a telnet connection
      terminal    Set terminal line parameters
      traceroute  Trace route to destination
    
    
     
  9. Menampilkan kemungkinan perintah
  10. Kita bisa melihat perintah apa saja yang diawali dengan huruf tertentu, dengan menambahkan "tanda tanya" ( ? ) setelah huruf atau kata tersebut. Seperti contoh dibawah ini:
     
    Switch>e?
    enable  exit
    
    

    Dengan mengetikkan perintah "e?" maka akan ditampilkan semua perintah yang diawali dengan huruf "e", yakni "enable" dan "exit". Kita bisa mencoba nya untuk perintah yang lain.
     
  11. Menampilkan informasi interface
  12. Switch>show interface
    FastEthernet0/1 is down, line protocol is down (disabled)
      Hardware is Lance, address is 00e0.b074.4e01 (bia 00e0.b074.4e01)
     BW 100000 Kbit, DLY 1000 usec,
    ...
     --More-- 
    
    
     
  13. Masuk ke priviledge EXEC mode
  14. Switch>enable
    Switch#
    
    

    Mode Priviledge ditandai dengan hashtag (#) setelah nama host. Pada mode ini, kita bisa melakukan konfigurasi pada perangkat.Untuk keluar dari mode priviledge, cukup dengan perintah "exit"
    Switch#exit
    
    
     
  15. Menampilkan konfigurasi yang sedang berjalan (running-config)
  16. Switch#show running-config 
    Building configuration...
    
    Current configuration : 971 bytes
    !
    version 12.1
    no service timestamps log datetime msec
    no service timestamps debug datetime msec
    no service password-encryption
    !
    hostname Switch
    !
    !
    spanning-tree mode pvst
    !
    ...
     --More-- 
    
    
     
  17. Merubah Waktu (Jam dan Tanggal)
  18. Switch#show clock
    *0:28:37.725 UTC Mon Mar 1 1993
    Switch#clock set 08:50:00 22 january 2014
    Switch#show clock
    *8:50:4.378 UTC Wed Jan 22 2014
    
    
     
  19. Merubah Nama Host
  20. Switch#hostname CISCO
    CISCO#
    
    
      

     
Posting Lebih Baru
Previous
This is the last post.

0 komentar:

Posting Komentar