22 Januari 2008(Selasa)
CISCO ROUTER
1. What is router?
-satu peranti utk menghubungkan 2 rangkaian segmen yang berbeza.
-router akan belajar which path is the best way.
2. How it's work?
-router akan extract pakej yang diterima kepada destinasinya.
-pilih laluan yang terbaik bagi paket dan forward paket tersebut di sepanjang laluan yang telah dipilih.
3. Analogi
-router = simpang
-path = jalaan
-host = rumah
4. Tugas router
-control plane/routing
-forward plane/forwarding
5. Sebelum configure router, pastikan
-topology/network design
-interface mana dan IP mana (setkan IP dan buat routing)
6. What to do?
-setkan IP Address
-setkan router
-buat routing rip(nak route ke mana)
7. What we need to have?
-cisco router
-DCE cable
-console cable
-staright cable
Version - CCNA
-FREEZCO
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 *************
LAB_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
*********** OK that good serial 0/0 is UP *************
*********** 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
*********** Now FastEthernet 0/0 was UP sucessfuly ****************
*********** 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 ****************
0 comments:
Post a Comment