CCNA Sınavları İçin Komut Listesi

Anonim kaynaklardan derleyen Çağatay Işıkcı (, Nisan 2009

 

 

 

KOMUT LİSTESİ

terminal history size, history size

Son kaç komut listeleneceği(max.256)

sh version

Configuration of the system hardware, the system version(IOS’un), the names and sources of the conf. files(aktif IOS ismi), config-register value and the last system reboot reason

sh processes

Info about active processes+ interface status

sh protocols

Displays the configures L3 protocols

sh memory

Statistics about the router’s memory including memory-free pool statistics

sh stacks

 

sh buffers

Statistics for the buffer pools on router

sh flash

Info about the flash memory device(bütün IOS’ları listeler)

sh interface

Statistics for all int.,load+reliability,PPP’deki LCP ve NCP states

sh startup-config (show config)

Using 1108 out of 130048 bytes der

sh running-config (write term)

Current Conf der

sh cdp neigbours detail

Displays the device identifiers (hostname and domain-name), address list, port identifier(e0,s0),capabilities list(router mı switch mi), IOS version, platform(Cisco 7000),

sh cdp neigbours

device ID,local int., holdtime, capability, platform,port ID (outgoing)

(config-if)# cdp enable

u must explicitly enable it on each of the device int.

(config)#cdp run

Bütün int. için CDP’yi açar

sh cdp interface

Values of CDP timers, int. status, encapsulation used by CDP for its advertisement, default CDP update timer= 60sn, CDP entrie gaining(holdtime)=180sn

sh cdp entry routerA

displays IP address,name,platform,interface,port ID(outgoing), holdtime,IOS version of RouterA

clear counters

Sh int s1’deki counterları sıfırlar

#terminal monitor

Forwards debug output to your telnet terminal

undebug all, no debug all

Turns off debugging, router default olarak debug’ları console’a gönderir

reload

Router’I yeniden başlatır

#write erase

erase startup-config

#sh config

sh startup-config

#cp start run

configure memory

#cp run start

write memory

bandwidth 56  kilobit cinsinden

Bandwidth’i 56K olarka atar,sanal bir değerdir

clock rate 56000 bit cinsinden

Uygulandığı interface’in servis verme hızı

(config)#line console 0

(config-line)#login

password ibne-cihan

Console girişinde şifre sormayı aktif hale getirir ve de sorulacak şifreyi belirler

line vty 0 4

login                      max. 5 telnet

password piç-cihan

Router ilk girişte şifre sorar (telnet bağlantışarına)

(config)# service password-encryption

Pass encryption’u açar

(config)#banner motd #mesaj#

Router’a login olmadan önce girilen mesajı gösterir

(config-if)#description ibne

O interface’e bir açıklama ekler

(config)#config-register 0x2102

Config-register değerini değiştirir

(config)#boot system rom

 

boot system flash IOS-name

 

boot system tftp IOS-name adres

copy flash tftp

Copies the system image to a TFTP server

copy tftp flash

Downloads a new image from a TFTP or from a router

ip address 192.168.0.1 mask

interface’e ip atar

(config)#term ip netmask-format {bit}

bütün int.’ler için subnet-mask’ın biçimini ayarlar

(config-if)#ip netmask-format

o interface için mask biçimini belirler

ip host isim [tcp port] adres

static olarak dns entry ekler

ip name-server adres(max. 6)

DNS Server ekler

no ip domain-lookup

DNS servisini disable eder

sh hosts

static ya da dinamik olarak öğrenilmiş DNS entry’sini

routing loop

geç convergence olmadan dolayı yanlış routing table oluşumu

count to infinity

routing loop’un sürekli devam etmesi

defining a maximum

count to infinity’nin çözümü, max 15 hop geçebilir

split horizon

update’in geldiği network’e aynı bilgi yollanmaz

hold-down timers

routing loop’un çözümlerinden biri

ip route adres subnet-mask {next hop adres,interface,distance} = static route ekler

roter rip

network ip-adresi(classful)

RIP dinamik routingîni aktif eder,10.0.0.0 yazmak yetetli,bütün subneti yazmaya gerek yok(10.5.2.0 gibi)

router igrp atonom numarası

network ip (classful)

IGRP dinamik routing’ini active eder.

sh ip protocols

value of routing timers,network info,routing protocol bad routing info’dan şüpheleniyorsan kullan

sh ip route

displays the ip routing table

sh ip interface

the status and global parameters associated with all IP ints + access lists

#debug ip rip

displays RIP updates as they are send and received

no debug rip,no debug all

 

sh controllers s 0

DTE’mi DCE’mi onu verir

sh spantree

status,cost,priority of ports and VLANs

cut through =

on-the-fly packet

ip default-network

gateway of last resort (def. gateway) atar

router igrp

timers basic 15 45 0 60

no metric holddown

metric maximum-hop 50

 

igrp’nin timer’larını değiştirir

 

hop count’u 50 yapar default 100

(config)#access-list 1 permit 192.168.0.1 0.0.0.0 log =standart access list

(config)#access-list 100 permit tcp source add.+mask dest.add.+mask eq 23 established

established=gelen tüm paketlerin ack. no’suna bakar,1ise geçirir,0 ise geçirmez

ip access-group numara in

access list’i bir int.’e uygular

sh access-lists

content of all ACLs,hangi int.’e uygulandığını göstermez

ip access-list standart (ya da extended) isim

(config-std-mac)#permit 1.2.3.4  ya da permit tcp any host 192.168.0.1 eq telnet                    

ip access-group isim in        named ACL yazar,numbered’da araya komut ekleyemessin                                    

sh ipx interface

status of IPX ints and the parameters for each int.

ipx routing

ipx’i açar

802.3

novell-ether, NetWare 3.11 kullanır

802.2

sap, NetWare 3.12 kullanır

Etherner_II

arpa

Ethernet_SNAP

snap

Token-Ring

sap

Token-Ring-SNAP

snap

FDDI_SNAP

snap

FDDI_802.2

sap

FDDI_RAW

novell-fddi

(config)# ipx maximum-paths 3

load sharing’i 3 yapar, def. 4,max.6,min2

IPX RIP,SAP,CDP update’leri 60sn.’de bir

ipx routing

ipx maximum-paths 2

int e0.1

encapsulation novell-ether

ipx network 9e

 

 

 

Aynı int.’e birden fazla encapsulasyon atamak için

Sanal olarak atanan network adresi verir

sh ipx int

IPx status+parameters,IPX add.,SAP filters,kaç RIP+SAP paketi yollandı ve alındı bilgisi

sh ipx route

routing table contents

sh ipx servers

IPX server list

sh ipx traffic

number and type of packets send+received(detaylı)

debug ipx routing activity

RIP update info

debug ipx sap

info about SAP update

(config-if)#ipx delay numara

tick’i değiştirir  Default LAN=1,WAN=6

//////////////////////////////

////////////////////////////////////////////

(config)#username isim password şifre (server router’da)

(config-if)#encapsulation ppp

(config-if)#ppp authentication {chap|pap|pap chap|chap pap}

(config-if)#ppp pap sent-username isim password şifre(client router’da) ya da

(config-if)#ppp chap hostname isim

(config-if)#ppp chap password şifre + ppp chap sent-username isim password şifre

////////////////////////////////////////////////////////////////////////////////////////

(config)#isdn switch-type tip

(config)#ip route 172.168.29.0 255.255.255.0 172.168.12.62

(config)#dialer-list 1 protocol ip permit ip protokolü olan her yere trafiği açar

(config-if)#ip address 172.168.12.61 255.255.255.0

(config-if)#dialer-group 1

(config-if)#dialer wait-for-carrier-time 15       cevap bekleme süresi

(config-if)#dialer idle-timeout 300        300sn.ye cevap gelmesse hattı keser

(config-if)#dialer map ip 172.168.12.62 name ugo telno   karşı router bilgileri

///////////////////////////////////////////////////////////////////////////////////////////////////////

(config)isdn spid-number {1|2}

spid numarası atar,1—B1channel,1—B2 channel

sh isdn status

ISDN switch type,layers status,spid status

sh dialer

hangi hatların açık olduğu bilgisi

sh isdn active

aktif call’ları listeler

debug isdn q921

verifies that u have a connection to the ISDN switch

debug dialer

info such as what number the int. is dialing

clear interface

clears a call that is progress

////////////////////////////////////

/////////////////////////////////////////

int s0

(config-if)#ip address 192.168.38.40 255.255.255.0

(config-if)#encapsulation frame-relay {ieft|cisco} def.’u cisco

(config-if)#frame-relay lmi-type {ansi|cisco|q933a} IOS 11.1 and earlier için

(config-if)#bandwidth değer kilobit cinsinden

(config-if)#frame-relay inverse-arp

(config-if)#frame-relay interface-dlci 100 mecburi değil

inverse-arpli

////////////////////////////////

int s0

(config-if)#ip address 210.0.0.1 255.255.255.0

(config-if)#encapsulation frame-rekay

(config-if)#frame-relay map ip 210.0.0.2 100 100(kaynak,locak DLCI)

 

sh int serial

displays multicast DLCI,DLCI çeşiti,verifies fram-relay is up and operational,LMI türü

sh frame-relay map

displays the network-layer add. And associated DLCI for each remote dest.,S1 is up(line protocol is up yok)

sh frame-relay pvc

hatta sorun varsa neden olduğunu verir

1-active ise sorunsuz

2-deleted ise lmi paketleri gidip gelmez,.FR switch’de tanımlama yok

3-inactive ise sorun karşı tarafta,LMI gelir fakat uçtan uca bağlantıda sorun var demek

sh frame-relay lmi

LMI traffic statistics

sh frame-relay route

FR switch’de verilir

////////////////////////////

////////////////////////////

(config-if)#int serial number.subint-number

(config-if)#ip unnumbered interface

(config-if)#frame-relay interface-dlci numara

(config-if)#keepalive numara

saniye cinsinden verilir,keepalive sayısını ayarlar FR’de

(config-if)# frame-ralay local-dlci numara

 

1-99

IP Standard

100-199

IP Extendend

600-699

Appletalk

800-899

IPX Standard

900-99

IPX Extended

1000-1099

IPX SAP