- General Use:
- show running-config
- show startup-config
- show version
- Routing Related:
- show ip protocols
- show ip route
- Interface Related:
- show interfaces
- show ip interface brief
- show protocols
- Connectivity Related:
- show cdp neighbors
- show sessions
- show ssh
- ping
- traceroute
Berikut adalah penjelasan dari beberapa perintah SHOW
No | Perintah Penuh | Perintah Singkat | Maksud Perintah |
1. | Show running-config | sh ru | Menampilkan konfigurasi yang sedang berjalan di RAM. Termasuk host name, passwords, interface IP addresses, routing protocol yang aktif, DHCP dan konfigurasi NAT. Dapat dijalankan di EXEC mode |
2. | Show startup-config | Sh st | Menampilkan konfigurasi yang sedang berjalan di NVRAM. Termasuk host name, passwords, interface IP addresses, routing protocol yang aktif, DHCP dan konfigurasi NAT. |
3 | Show version | Sh ver | Menampilkan informasi tentang versi software yang sekarang sedang jalan lengkap dengan informasi hardware dan devicenya |
4 | Show ip protocols | Sh ip pro | Menampilkan status interface IP baik secara global maupun khusus dari protokol yang terkonfigurasi pada saat ini (konfigurasi IP awal) |
5 | Show ip route | Sh ip ro | Menampilkan Konfigurasi IP yang dilakukan baik secara global maupun secara khusus dari router. Baik berupa configurasi IP pada FastEthernet0/0 maupun pada IP Serial2/0 |
6 | Show interfaces | Sh int | Untuk menampilkan statistic semua interface router mulai dari FastEthernet dan Serial. Untuk menampilkan statistic interface tertentu, menggunakan perintah show interfaces diikuti dengan nomor port/slot interface, contoh Qiqi#show interfaces serial 0/1 |
7 | Show ip interface brief | Sh ip int br | Menampilkan Konfigurasi pada interface yang terhubung pada router. Baik konfigurasi yang sedang berjalan maupun yang konfigurasi yang tidak berjalan (belum terkonfigurasi). Pada perintah ini kita dibawa untuk mengetahui : Interface, IP-Address, Method, Status, Protocol |
8 | Show protocols | Sh prot | Menampilkan status interface baik secara global maupun khusus dari protokol layer 3 yang terkonfigurasi |
9 | Show cdp neighbours | Sh cdp ne | Untuk mengetahui Capability Codes, yang meliputi : R (Router), T (Trans Bridge), B (Source Route Bridge), S (Switch), H (Host), I (IGMP), r (Repeater), P (Phone). Selain itu juga digunakan untuk mengetahui Device ID diantaranya : Local Interface, Holdtme, Capability, Platform, Port ID |
10 | Show sessions | Sh ses | Untuk mengetahui koneksi yang sedang berjalan (koneksi yang di buka) |
11 | Show ssh | Sh ss | Untuk melakukan koneksi dengan server SSHv2 dan SSHv1 |
12 | Ping | Pi | Untuk melakukan / melihat koneksi antar jaringan yang sedang berhubungan. Perintah ping harus diikuti address or hostname. Contoh ; ping 192.168.1.2 |
13 | traceroute | Tra | Untuk mengirimkan secara serempak sebuah urutan paket dengan menambahkan nilai TTL (Time to Live). Ketika sebuah router lanjutan menerima sebuah paket terusan, maka akan mengurangi nilai TTL sebelum meneruskan nya ke router berikutnya. Perintah trace diikuti oleh address or hostname |
TOPOLOGI JARINGAN
BASIC ROUTER CLI SHOW COMMAND yang dijalankan bagi router :
--------------------------------------------perintah show running-config---------------------------------------------
Router#sh ru
Building configuration...
Current configuration : 481 bytes
!
version 12.4
no service password-encryption
!
hostname Router
!
!
!
!
!
ip ssh version 1
!
!
interface FastEthernet0/0
ip address 192.168.1.1 255.255.255.0
duplex auto
speed auto
!
interface FastEthernet0/1
--------------------------------------------perintah show startup-config---------------------------------------------
Router#sh st
startup-config is not present
--------------------------------------------perintah show version-----------------------------------------------------
Router#sh ver
Cisco IOS Software, 1841 Software (C1841-ADVIPSERVICESK9-M), Version 12.4(15)T1, RELEASE SOFTWARE (fc2)
Technical Support: http://www.cisco.com/techsupport
Copyright (c) 1986-2007 by Cisco Systems, Inc.
Compiled Wed 18-Jul-07 04:52 by pt_team
ROM: System Bootstrap, Version 12.3(8r)T8, RELEASE SOFTWARE (fc1)
System returned to ROM by power-on
System image file is "flash:c1841-advipservicesk9-mz.124-15.T1.bin"
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
--More--
--------------------------------------------perintah show ip route------------------------------------------------
Router#sh ip ro
Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP
i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, ia - IS-IS inter area
* - candidate default, U - per-user static route, o - ODR
P - periodic downloaded static route
Gateway of last resort is not set
C 192.168.3.0/24 is directly connected, FastEthernet0/0
--------------------------------------------perintah show interfaces------------------------------------------------
Router#sh int
FastEthernet0/0 is up, line protocol is up (connected)
Hardware is Lance, address is 00e0.f949.b401 (bia 00e0.f949.b401)
Internet address is 192.168.3.1/24
MTU 1500 bytes, BW 100000 Kbit, DLY 100 usec, rely 255/255, load 1/255
Encapsulation ARPA, loopback not set
ARP type: ARPA, ARP Timeout 04:00:00,
Last input 00:00:08, output 00:00:05, output hang never
Last clearing of "show interface" counters never
Queueing strategy: fifo
Output queue :0/40 (size/max)
5 minute input rate 0 bits/sec, 0 packets/sec
5 minute output rate 0 bits/sec, 0 packets/sec
0 packets input, 0 bytes, 0 no buffer
Received 0 broadcasts, 0 runts, 0 giants, 0 throttles
0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored, 0 abort
0 input packets with dribble condition detected
0 packets output, 0 bytes, 0 underruns
0 output errors, 0 collisions, 1 interface resets
0 babbles, 0 late collision, 0 deferred
0 lost carrier, 0 no carrier
0 output buffer failures, 0 output buffers swapped out
--More—
--------------------------------------------perintah show ip interface brief-------------------------------------------
Router#sh ip int br
Interface IP-Address OK? Method Status Protocol
FastEthernet0/0 192.168.3.1 YES manual up up
FastEthernet0/1 unassigned YES manual administratively down down
Serial0/0/0 192.168.2.2 YES manual up down
Serial0/0/1 unassigned YES manual administratively down down
Vlan1 unassigned YES manual administratively down down
--------------------------------------------perintah show protocols---------------------------------------------------
Router#sh prot
Global values:
Internet Protocol routing is enabled
FastEthernet0/0 is up, line protocol is up
Internet address is 192.168.3.1/24
FastEthernet0/1 is administratively down, line protocol is down
Serial0/0/0 is up, line protocol is down
Internet address is 192.168.2.2/24
Serial0/0/1 is administratively down, line protocol is down
Vlan1 is administratively down, line protocol is down
--------------------------------------------perintah show cdp neighbours--------------------------------------------
Router#sh cdp ne
Capability Codes: R - Router, T - Trans Bridge, B - Source Route Bridge
S - Switch, H - Host, I - IGMP, r - Repeater, P - Phone
Device ID Local Intrfce Holdtme Capability Platform Port ID
--------------------------------------------perintah show ssh-----------------------------------------------------
Router#sh ss
%No SSHv2 server connections running.
%No SSHv1 server connections running.
--------------------------------------------perintah ping-----------------------------------------------------
Router#pi
Protocol [ip]:
Target IP address: 192.168.3.2
Repeat count [5]:
Datagram size [100]:
Timeout in seconds [2]:
Extended commands [n]:
Sweep range of sizes [n]:
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 192.168.3.2, timeout is 2 seconds:
.!!!!
Success rate is 80 percent (4/5), round-trip min/avg/max = 3/16/54 ms
--------------------------------------------perintah traceroute----------------------------------------------------
Router#tra
Protocol [ip]:
Target IP address: 192.168.3.2
Source address:
Numeric display [n]:
Timeout in seconds [3]:
Probe count [3]:
Minimum Time to Live [1]:
Maximum Time to Live [30]:
Type escape sequence to abort.
Tracing the route to 192.168.3.2
Tidak ada komentar:
Posting Komentar