Tuesday, 8 September 2015

Perintah Dasar IOS Cisco



Berikut ini adalah beberapa perintah dasar IOS yang biasa digunakan untuk melakukan konfigurasi Cisco Router

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

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
**********************************************************
#

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

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


Konfigurasi Dasar router menggunakan Wizard
Continue with configuration dialog? [yes/no]: yes

At any point you may enter a question mark '?' for help.
Use ctrl-c to abort configuration dialog at any prompt.
Default settings are in square brackets '[]'.


Basic management setup configures only enough connectivity
for management of the system, extended setup will ask you
to configure each interface on the system

Would you like to enter basic management setup? [yes/no]: yes
Configuring global parameters:

Enter host name [Router]: 2621

The enable secret is a password used to protect access to
privileged EXEC and configuration modes. This password, after
entered, becomes encrypted in the configuration.
Enter enable secret: lp3i

The enable password is used when you do not specify an
enable secret password, with some older software versions, and
some boot images.
Enter enable password: susis

The virtual terminal password is used to protect
access to the router over a network interface.
Enter virtual terminal password: susis

Current interface summary

Interface IP-Address OK? Method Status Protocol

FastEthernet0/0 unassigned YES manual administratively down down

FastEthernet0/1 unassigned YES manual administratively down down

Enter interface name used to connect to the

management network from the above interface summary: fastethernet0/0

Configuring interface FastEthernet0/0:
Configure IP on this interface? [yes]: yes
IP address for this interface: 192.168.1.100
Subnet mask for this interface [255.255.255.0] :

The following configuration command script was created:

!
hostname 2621
enable secret 5 $1$8GnA$2AbM2YLONvu/fCmvVaxVX.
enable password susis
line vty 0 4
password susis
!
interface FastEthernet0/0
no shutdown
ip address 192.168.1.100 255.255.255.0
!
interface FastEthernet0/1
shutdown
no ip address
!
end

[0] Go to the IOS command prompt without saving this config.
[1] Return back to the setup without saving this config.
[2] Save this configuration to nvram and exit.

Enter your selection [2]: 2
Building configuration...

%LINK-5-CHANGED: Interface FastEthernet0/0, changed state to up[OK]
Use the enabled mode 'configure' command to modify this configuration.


Press RETURN to get started!



2621>en
Password:
2621#

1 comment: