Perintah Dasar IOS (Dengan Packet Tracer)

1. Seting password
Router>en
Router#config t
Enter configuration commands, one per line.  End with CNTL/Z.
Router(config)#hostname tasikmalaya
tasikmalaya(config)#enable secret lp3i
tasikmalaya(config)#line console 0   
tasikmalaya(config-line)#password susis
tasikmalaya(config-line)#login
tasikmalaya(config-line)#exit
tasikmalaya(config)#line vty 0 4
tasikmalaya(config-line)#password susis
tasikmalaya(config-line)#login
tasikmalaya(config-line)#exit
tasikmalaya(config)#exit
%SYS-5-CONFIG_I: Configured from console by console
tasikmalaya#exit

2. Seting Banner
tasikmalaya>en
Password:
tasikmalaya#config t
Enter configuration commands, one per line.  End with CNTL/Z.
tasikmalaya(config)#banner motd #
Enter TEXT message.  End with the character '#'.
**********************************************************
PERINGATAN ...!!! Anda tidak memiliki hak akses
**********************************************************
#

3. Seting interface
tasikmalaya(config)#interface serial 0/0
tasikmalaya(config-if)#exit
tasikmalaya(config)#interface s0/0
tasikmalaya(config-if)#description terkoneksi ke ISP
tasikmalaya(config-if)#ip address 192.168.10.1 255.255.255.0
tasikmalaya(config-if)#clock rate 56000
tasikmalaya(config-if)#no shutdown

%LINK-5-CHANGED: Interface Serial0/0, changed state to down
tasikmalaya(config-if)#interface fa0/0
tasikmalaya(config-if)#description terkoneksi ke akuntan
tasikmalaya(config-if)#ip address 192.168.20.1 255.255.255.0
tasikmalaya(config-if)#no shutdown

%LINK-5-CHANGED: Interface FastEthernet0/0, changed state to up

tasikmalaya(config)#exit



4. Kumpulan perintah Show
tasikmalaya#show interfaces s0/0
tasikmalaya#show ip interface brief
tasikmalaya#show controller serial 0/0
tasikmalaya#show clock
tasikmalaya#show users
tasikmalaya#show history
tasikmalaya#show startup-config
tasikmalaya#show running-config

Credit to Riki Nuryadin, S.Pd

Post a Comment

Previous Post Next Post