Saturday, January 16, 2010

BCMSN Lab - Basic Switch Configuration [CCNA Rev]

Now that our lab is equipped with the bare minimum (3 switches) let's go ahead and start with the configuration *rubs hands*

Keep in mind that a lot of this is going to be revision from the CCNA so I won't be going in too much detail regarding the base config, regardless I'll document all the commands here and try to cover as much explanation as possible.

Following is what I plan to configure on our Cisco switches:

Step 1 - Base Configuration - Naming and Enhancements

(1) hostname

(2) banner motd

(3) enable password (not required)

(4) enable secret (definitely req)

(5) service password-encryption (Encrypts enable password)

(6) login and password on line Con0 and VTY ports

(7) logging-synchronous (Synchronous logging)

(8) no ip domain-lookup (No domain lookup for every incorrect sentence entred)

(9) no exec-timeout (Auto timeout disabled)

Configuration:

R1>enable
R1#configure terminal
R1(config)#hostname S1
S1(config)#enable password cisco-enable
S1(config)#enable secret cisco
S1(config)#service password-encryption
S1(config)#banner motd @
******************************************
S1 - UNAUTHORIZED ACCESS PROHIBITED
******************************************
@
S1(config)#line con 0
S1(config-line)#login
S1(config-line)#password cisco
S1(config-line)#logging synchronous
S1(config-line)#no exec-timeout

S1(config-line)#line vty 0 4
S1(config-line)#login
S1(config-line)#password cisco
S1(config-line)#logging synchronous
S1(config-line)#no exec-timeout
S1(config-line)#exit

S1(config)#no ip domain-lookup
S1(config)#^z
S1#copy running-config startup-config
S1#show running-config

[Copy all text starting from the words 'version' to 'end' and paste it in notepad. Make the necessary changes, i.e: replacing 'S1' with 'S2' in one file and 'S1' with 'S3' in the other notepad, to replicate the configuration onto the other two switches in our LAN. Paste it in global config mode. This makes it a hell-lot more faster as the base config always takes a long time and is highly repetitive. Once complete, copy the running-config to the NVRAM and we'll move onto the next step...

No comments:

Post a Comment