Selasa, 23 Agustus 2016

IOS Command Structure

A Cisco IOS device supports many commands. Each IOS command has a specific format or syntax and can only be executed at the appropriate mode. The general syntax for a command is the command followed by any appropriate keywords and arguments. Some commands include a subset of keywords and arguments that provide additional functionality. Commands are used to execute an action, and the keywords are used to identify where or how to execute the command. As shown in Figure 1, the command is the initial word or words entered in the command line following the prompt. The commands are not case-sensitive. Following the command are one or more keywords and arguments. After entering each complete command, including any keywords and arguments, press the Enter key to submit the command to the command interpreter. The keywords describe specific parameters to the command interpreter. For example, the show command is used to display information about the device. This command has various keywords that must be used to define what particular output should be displayed. For example: Switch# show running-config The command show is followed by the keyword running-config. The keyword specifies that the running configuration is to be displayed as the output.
  

Topology

  Menerapkan IOS Command Structure pada Cisco Packet Tracer

Klik pada switch, kemudian pilih CLI.

- User (or EXEC) mode
Switch>

- To enter into privilage mode
Switch>enable

- To enter into global configuration mode
Switch#configure terminal
Switch(config)#

- To change the host name of switch
Switch(config)#hostname AAM

- To configure telnet password
AAM(config)#line vty 0 4
AAM(config-line)#password ciscotel
AAM(config-line)#login

- Configure privilege password
AAM(config)#enable secret cisco

- To configure console password
AAM(config)#line console 0
AAM(config-line)#password ciscocon
AAM(config-line)#login

- Save current Running Configuration
AAM#copy running-config startup-config
Or…
AAM#write memory
Or…
AAM#wr

- To view switch current configuration (RAM)
AAM#show running-config
Or…
AAM#sh ru

- To view switch current configuration (NVRAM)
AAM#show startup-config
Or…
AAM#sh star

- To view switch IOS and hardware information
AAM#show version
Or…
AAM#sh ver

- To view switch flash information
AAM#show flash


Nah selanjutnya adalah Configuring Management Address



AAM(config)#interface vlan 1AAM(config-if)#ip address <address> <subnet mask>AAM(config-if)#no shutdownAAM(config)#ip default-gateway <default-gateway>


Kemudian Configure the SSH server on Switch

- Configure a domain name
AAM(config) ip domain-name anggit31.com

- Configure the vty lines
AAM(config)#line vty 0 4
AAM(config-line)#login local
AAM(config-line)#transport input ssh
AAM(config-line)#exit

- Generate the RSA encryption key pair for the router
AAM(config)#crypto key generate rsa
How many bits in the modulus[512]:1024

Referensi

Tidak ada komentar:

Posting Komentar

Perbedaan Sistem Informasi Eksekutif, Sistem Infromasi Manajemen, Sistem Pendukung Keputusan dan Sistem Pakar

Perbedaan SIE, SIM, SPK dan Sistem Pakar. Kali ini saya akan sedikit berbagi pengetahuan tentang : 1. Apa itu Sistem Informasi Ekseku...