Tuesday, January 29, 2008

Configure router

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

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

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

liyza (config)#interface Serial 0/0
liyza (config-if)#ip addr 10.2.2.1 255.255.255.0
liyza (config-if)#clockrate 64000
liyza (config-if)#no shutdown
liyza (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
liyza (config-if)#exit
liyza (config)#exit
liyza
*********** End Setup Serial 0/0 Interface with DCE connection *************

*********** Check Interface *************
liyza #show interfaces summary

*: interface is up

* Serial 0/0 is up

NOTE:No separate counters are maintained for subinterfaces
Hence Details of subinterface are not shown


*********** OK that good serial 0/0 is UP *************

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

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

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

liyza #show interfaces summary

*: interface is up
* Serial 0/0 is up

NOTE:No separate counters are maintained for subinterfaces
Hence Details of subinterface are not shown

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


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

liyza #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 maliysya router
**********************************************************************
maliysya (config)#int fast 0/1
maliysya (config-if)#ip addr 10.1.1.2 255.255.255.0
maliysya config-if)#no shutdown
maliysya (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
maliysya (config-if)#

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


liyza#sh int sum

*: interface is up

* FastEthernet0/0
* Serial0/0

NOTE:No separate counters are maintained for subinterfaces
Hence Details of subinterface are not shown

*********** Now FastEthernet 0/0 was UP sucessfuly ****************

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

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

*********** End Setup routing protocol using RIP ****************
*********** Start Register IP host lookup table ****************

liyza (config)#ip host liyza 10.1.1.1 10.2.2.1
liyza (config)#ip liyza 10.1.1.2 10.2.2.2

*********** End Register IP host lookup table ****************

No comments: