Perintah Dasar Router dan Switch di Cisco
Macam-macam Mode pada Router dan Switch.
- User Mode di tandai dengan simbol ">" mode awal saat kita membuka terminal atau masuk ke perangkat cisco.
- Privilege Mode di tandai dengan simbol "#" Untuk masuk ke mode privilege anda perlu input perintah enable dari user mode.
- Global Configuration Mode di tandai dengan simbol "(config)#" mode ini di gunakan untuk mengkonfigurasi perangkat.
Router>
Router>enable
Router#
Router#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#
Router(config)#
Mengganti Hostname.
Router-Core(config)#
Menyimpan Konfigurasi.
Router-Core#write
Building configuration...
[OK]
Router-Core#
Router-Core#copy run start
Destination filename [startup-config]?
Building configuration...
[OK]
Router-Core#
Merestart Perangkat Cisco.
Router-Core#reload
System configuration has been modified. Save? [yes/no]:no
Proceed with reload? [confirm]
Mereset Perangkat Cisco.
Router-Core#write erase
Erasing the nvram filesystem will remove all configuration files! Continue? [confirm]
[OK]
Erase of nvram: complete
%SYS-7-NV_BLOCK_INIT: Initialized the geometry of nvram
Router-Core#
Mengganti dan Menampilkan Tanggal/Jam.
Mengganti Tanggal.
Menampilkan Tanggal/Jam.
Router#show clock detail
16:10:1.895 UTC Thu Jan 20 2022
Time source is user configuration
Router#
Melihat Informasi Interface.
Router#show ip interface brief
Interface IP-Address OK? Method Status Protocol
FastEthernet0/0 10.10.10.1 YES manual up up
FastEthernet0/1 20.20.20.1 YES manual up up
Vlan1 unassigned YES unset administratively down down
Router#
Melihat Konfigurasi yang sedang berjalan.
Router#show running-config
Building configuration...
Current configuration : 577 bytes
!
version 12.4
no service timestamps log datetime msec
no service timestamps debug datetime msec
no service password-encryption
!
hostname Router
!
!
!
!
!
!
!
!
ip cef
no ipv6 cef
!
!
!
!
!
!
!
!
!
!
!
!
spanning-tree mode pvst
!
!
!
!
!
!
interface FastEthernet0/0
ip address 10.10.10.1 255.255.255.0
duplex auto
speed auto
!
interface FastEthernet0/1
ip address 20.20.20.1 255.255.255.0
duplex auto
speed auto
!
interface Vlan1
no ip address
shutdown
!
ip classless
!
ip flow-export version 9
!
!
!
!
!
!
!
!
line con 0
!
line aux 0
!
line vty 0 4
login
!
!
!
end
Router#
Konfigurasi Password pada Cisco.
Konfigurasi Password Line Console 0.
Router>enable
Router#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#line console 0
Router(config-line)#password 1qaz@WSX
Router(config-line)#exec-timeout 5 0
Router(config-line)#login
Router(config-line)#exit
Router(config)#
User Access Verification
Password:
Konfigurasi Password Telnet / Line VTY.
Router>enable
Router#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#line vty 0 4
Router(config-line)#password !QAZ2wsx
Router(config-line)#exec-timeout 5 0
Router(config-line)#login
Router(config-line)#exit
Router(config)#
Post a Comment for "Perintah Dasar Router dan Switch di Cisco"
Post a Comment