KODE DFP HEAD cisco Router and Switch Basic Configuration | Programming And Networking

YM

Link

IKLAN ADSENSE BAWAH SIDEBAR (250X250)

cisco Router and Switch Basic Configuration

1.Router
Grade level in Cisco routers:

- User mode (Router > )

- Privilege mode (Router# )

- Global Configuration (Router(Config) )




Cisco router basic configuration as follows:
· Communication through console port router

Entrance through Hyperterminal application (windows) or putty. Select "no" if it appears the information and "yes" for termination AutoInstall.

--- System Configuration Dialog ---

Continue with configuration dialog? [yes/no]: n

Would you like to terminate autoinstall? [yes]: y

Point to disable the router settings in the wizard.

  1. hostname router settings

Router>en

Router#conf t

Enter configuration commands, one per line. End with CNTL/Z.

Router(config)#host

Router(config)#hostname R1 à nama router : R1

R1(config)#

  1. console password setting

R1#conf t

Enter configuration commands, one per line. End with CNTL/Z.

R1(config)#line console 0

R1(config-line)#password cisco à password console router : cisco

R1(config-line)#end

R1#

  1. telnet password setting

R1>en

R1#conf t

Enter configuration commands, one per line. End with CNTL/Z.

R1(config)#line vty 0 4

R1(config-line)#pas

R1(config-line)#password cisco

R1(config-line)#login

  1. password privilege setting

R1#conf t

R1(config)#ena

R1(config)#enable secret class

R1(config)#exit

  1. banner-motd setting

R1#conf t

Enter configuration commands, one per line. End with CNTL/Z.

R1(config)#banner motd #

Enter TEXT message. End with the character '#'.

==============================

Router R1

==============================

Restrict area!!!!

#

R1(config)#

  1. IP Address Settings on the interface

R1#conf t

Enter configuration commands, one per line. End with CNTL/Z.

R1(config)#int f0/0

R1(config-if)#ip add 192.168.2.1 255.255.255.0

R1(config-if)#no shut

R1(config-if)#

  1. router configuration saving

R1#copy running-config startup-config

Destination filename [startup-config]?

Building configuration...

[OK]

R1#

or

R1#write

Building configuration...

[OK]

R1#

  1. Seeing the type of serial connection

R1#sh controllers serial 2/0

Interface Serial2/0

Hardware is PowerQUICC MPC860

DCE V.35, no clock

idb at 0x81081AC4, driver data structure at 0x81084AC0

SCC Registers:

General [GSMR]=0x2:0x00000000, Protocol-specific [PSMR]=0x8

Events [SCCE]=0x0000, Mask [SCCM]=0x0000, Status [SCCS]=0x00

Transmit on Demand [TODR]=0x0, Data Sync [DSR]=0x7E7E

Interrupt Registers:

Config [CICR]=0x00367F80, Pending [CIPR]=0x0000C000

Mask [CIMR]=0x00200000, In-srv [CISR]=0x00000000