General Use
No. Perintah Penuh Perintah Singkat Maksud Perintah- Show running-config Sh run Mengetahui konfigurasi yang aktif didalam DRAM (dynamic random acces memory).
- Show startup-config Sh start Mengetahui konfigurasi yang sudah tersimpan didalam NVRAM.
- Show session Sh sess Memperlihatkan sesi yang ada sekarang.
Perhatikan gambar berikut:
Konfigurasi pada Router 1
--- System Configuration Dialog ---
Continue with configuration dialog? [yes/no]: no
Press RETURN to get started!
Router>ena
Router#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#line vty 0 4
Router(config-line)#password telnet
Router(config-line)#transport input telnet
Router(config-line)#login
Router(config-line)#end
Router#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#int fa0/0
Router(config-if)#ip add 192.168.1.1 255.255.255.0
Router(config-if)#no shut
%LINK-5-CHANGED: Interface FastEthernet0/0, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed state to up
Router(config-if)#exit
Router(config)#int se2/0
Router(config-if)#ip add 192.168.2.1 255.255.255.0
Router(config-if)#clock rate 64000
Router(config-if)#no shut
%LINK-5-CHANGED: Interface Serial2/0, changed state to up
Router(config-if)#exit
Router(config)#
%LINEPROTO-5-UPDOWN: Line protocol on Interface Serial2/0, changed state to up
Router(config)#router rip
Router(config-router)#version 2
Router(config-router)#network 192.168.1.0
Router(config-router)#network 192.168.2.0
Router(config-router)#exit
Router(config)#exit
Router#
%SYS-5-CONFIG_I: Configured from console by console
Konfigurasi pada router 2
--- System Configuration Dialog ---
Continue with configuration dialog? [yes/no]: no
Press RETURN to get started!
Router>ena
Router#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#int fa0/0
Router(config-if)#ip add 192.168.3.1 255.255.255.0
Router(config-if)#no shut
%LINK-5-CHANGED: Interface FastEthernet0/0, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed state to up
Router(config-if)#exit
Router(config)#int se2/0
Router(config-if)#ip add 192.168.2.2 255.255.255.0
Router(config-if)#no shut
%LINK-5-CHANGED: Interface Serial2/0, changed state to up
Router(config-if)#exit
Router(config)#
%LINEPROTO-5-UPDOWN: Line protocol on Interface Serial2/0, changed state to up
Router(config)#router rip
Router(config-router)#version 2
Router(config-router)#network 192.168.2.0
Router(config-router)#network 192.168.3.0
Router(config-router)#exit
Router(config)#exit
Router#
%SYS-5-CONFIG_I: Configured from console by console
setting ip Pc 1
ip : 192.168.1.2
sm : 255.255.255.0
dg : 192.168.1.1
setting ip Pc 2
ip : 192.168.3.2
sm : 255.255.255.0
dg : 192.168.3.1
General Use
No. Perintah Penuh Perintah Singkat Maksud Perintah
- Show running-config Sh run Mengetahui konfigurasi yang aktif didalam DRAM (dynamic random acces memory).
- Show startup-config Sh start Mengetahui konfigurasi yang sudah tersimpan didalam NVRAM.
- Show session Sh sess Memperlihatkan sesi yang ada sekarang.
Perhatikan gambar berikut: