The Red Warriors

SEKeLUMIT TenTang AKU

My photo
Sweetest Place, MeloDy BeacH, Malaysia
TAK BOLEh M3NANG SeLAGI TAK BLAJAR m3NGALaH!!11!!1!!1!!!!!!!!!!

Monday, April 6, 2009

Asas Cisco router..study nie dulu

Build network with Cisco router

Apa kena buat?
set ip address
set router
buat routing


Apa Yang Kne Ada?
cisco router
DCE cable
Console Cable – untuk device sama ( PC ke PC)
Straight Cable – untuk device x sama (PC ke Router)

benda yang perlu dfikir ….
Topology/network design
configure router

client = .100
gw = .1
s0 = .1
s1 = .2

Jom Configure..
-Start
-Accessories
-Communication
-Hyper Terminal
-put name and icon
-change bit per second to 9600
-off and on Cisco router
-Loading and type no to choose option.
-follow the command and refer the topology.
[ ... ]

Cisco Router Protocol

Apa itu protocol ? – peraturan, standard
Cisco router – EGP, OSPF, RGP, IGRP and other(xsempat study detail lg)………………….

UTP cable – maxima long – 100 meter - 4 pair,8 wire.1,2,3,6 wire for sent data. but can use for 2 pc.
- Pintalan dalam wayar berbeza-beza utk pengaruhi medan magnet wayar.

PSTN – Public Switching Telephone Network
Telekom offer – 9.6 kbps, 34.4 kbps, 64 kbps, 56 kbps, 128 kbps, 512 kbps, 1 mb, 2 mb, 10 mb.

Why minta 10 mb tp bila connect kelajuan tak capai 10 mb sepenuhnya.
Data loss – data collection, signal destruction

Clockrate – use depend yourself – try one by one..

100 mbps – belum tentu paling laju – kalau data jam, transmission akn lambat..
Visual Route 2008 –tool for tress router.. ______________________________________________________________
[ ... ]

Cisco Router Configuation...

Benda Pertama kene Settle?
-hyper terminal
-9600
-no
-enable
-conft
-0/0
-ip add



What is router?
-device yg menghubungkan 2 network segment yg berbeza untuk berkomunikasi.


How its work?
-routing and forwarding
-router extract paket yg diterima kepada destinasinya.
-pilih laluan terbaik dan forward paket tersebut disepanjang laluan yg dah dipilih.

Router – simpang
Path – jalan
Host – rumah/destinasi

What the important things to configure router?
-design network topology
-know interface and IP


Cisco Router

Version – CCNA
- FREEZCO

Use – fastEtharnet(f/e)
- Ethernet (E)

Coding for configure Cisco router CCNA

Router>enable
Router#config terminal
Enter configuration commands, one per line. End with CNTL/Z.

*********** Setup Hostname *************
Router(config)#hostname LAB_A


*********** Start Setup Serial 0/0 Interface with DCE connection *************

Utk configure serial ajeLAB_A(config)#interface Serial 0/0
LAB_A(config-if)#ip addr 10.2.2.1 255.255.255.0
LAB_A(config-if)#clockrate 64000
LAB_A(config-if)#no shutdown
LAB_A(config-if)#
00:08:29: %LINK-3-UPDOWN: Interface Serial0/0, changed state to up
00:08:30: %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/0, changed state to up
LAB_A(config-if)#exit
LAB_A(config)#exit
LAB_A#

*********** End Setup Serial 0/0 Interface with DCE connection *************


*********** Check Interface *************

LAB_A#show interfaces summary

*: interface is up
IHQ: pkts in input hold queue IQD: pkts dropped from input queue
OHQ: pkts in output hold queue OQD: pkts dropped from output queue
RXBS: rx rate (bits/sec) RXPS: rx rate (pkts/sec)
TXBS: tx rate (bits/sec) TXPS: tx rate (pkts/sec)
TRTL: throttle count

*********** Start Setup Fast Ethernet l 0/0 Interface *************

LAB_A#config terminal
Enter configuration commands, one per line. End with CNTL/Z.
LAB_A(config)#interface fastethernet 0/0
LAB_A(config-if)#ip addr 10.1.1.1 255.255.255.0
LAB_A(config-if)#no shutdown
LAB_A(config-if)#
00:16:14: %LINK-3-UPDOWN: Interface FastEthernet0/0, changed state to up
LAB_A(config-if)#exit
LAB_A(config)#exit
LAB_A#

*********** END Setup Fast Ethernet l 0/0 Interface *************

*********** Check Interface *************

LAB_A#show interfaces summary

*: interface is up
IHQ: pkts in input hold queue IQD: pkts dropped from input queue
OHQ: pkts in output hold queue OQD: pkts dropped from output queue
RXBS: rx rate (bits/sec) RXPS: rx rate (pkts/sec)
TXBS: tx rate (bits/sec) TXPS: tx rate (pkts/sec)
TRTL: throttle count

**********************************************************************
FastEthernet0/0 did Not UP yet because of Another Router did Setup yet
**********************************************************************

*********** Check Interface fast Ethernet 0/0 Detail *************

LAB_A#sh int fast 0/0

FastEthernet0/0 is up, line protocol is down
Hardware is AmdFE, address is 000d.28ef.bac0 (bia 000d.28ef.bac0)
Internet address is 10.1.1.1/24
MTU 1500 bytes, BW 100000 Kbit, DLY 100 usec,
reliability 255/255, txload 1/255, rxload 1/255
Encapsulation ARPA, loopback not set
Keepalive set (10 sec)
Auto-duplex, Auto Speed, 100BaseTX/FX
ARP type: ARPA, ARP Timeout 04:00:00
Last input 00:23:34, output 00:00:04, output hang never
Last clearing of "show interface" counters never
Input queue: 0/75/0/0 (size/max/drops/flushes); Total output drops: 0
Queueing strategy: fifo

**********************************************************************
Let setup FastEthernet0/1 at LAB_B router
**********************************************************************
LAB_B(config)#int fast 0/1
LAB_B(config-if)#ip addr 10.1.1.2 255.255.255.0
LAB_B(config-if)#no shutdown
LAB_B(config-if)#
00:29:54: %LINK-3-UPDOWN: Interface FastEthernet0/1, changed state to up
00:29:56: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/1, changed state to up
LAB_B(config-if)#

*********** End Of setup FastEthernet0/1 At LAB_B router *************

LAB_A#sh int sum

*: interface is up
IHQ: pkts in input hold queue IQD: pkts dropped from input queue
OHQ: pkts in output hold queue OQD: pkts dropped from output queue
RXBS: rx rate (bits/sec) RXPS: rx rate (pkts/sec)
TXBS: tx rate (bits/sec) TXPS: tx rate (pkts/sec)
TRTL: throttle count

*********** Start Setup routing protocol using RIP ****************

LAB_A(config)#router rip
LAB_A(config-router)#network 10.1.1.0
LAB_A(config-router)#network 10.2.2.1
LAB_A(config-router)#

*********** End Setup routing protocol using RIP ****************

*********** Start Register IP host lookup table ****************

LAB_A(config)#ip host LAB_A 10.1.1.1 10.2.2.1
LAB_A(config)#ip host LAB_B 10.1.1.2 10.2.2.2

*********** End Register IP host lookup table ****************
[ ... ]