Friday, February 15, 2008

Cisco Router Configuration Format........

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

Interface

IHQ

IQD

OHQ

OQD

RXBS

RXPS

TXBS

TXPS

TRTL

FastEthernet0/0

0

0

0

0

0

0

0

0

0

* Serial0/0

0

0

0

0

0

0

0

0

0

Serial0/1

0

0

0

0

0

0

0

0

0

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 *************

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

Interface

IHQ

IQD

OHQ

OQD

RXBS

RXPS

TXBS

TXPS

TRTL

FastEthernet0/0

0

0

0

0

0

0

0

0

0

* Serial0/0

0

0

0

0

0

0

0

0

0

Serial0/1

0

0

0

0

0

0

0

0

0

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 *************

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

Interface

IHQ

IQD

OHQ

OQD

RXBS

RXPS

TXBS

TXPS

TRTL

* FastEthernet0/0

0

0

0

0

0

0

0

0

0

* Serial0/0

0

0

0

0

0

0

0

0

0

Serial0/1

0

0

0

0

0

0

0

0

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 ****************

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 ****************

No comments: