Showing posts with label Basics of Switch. Show all posts
Showing posts with label Basics of Switch. Show all posts

Friday, 18 December 2020

Cisco Packet Tracer Lab - Basic Switch Configuration | Hostname | MOTD | Password


 

1) Configure the hostname of the Switch as SW1

2)  Set a message of the day (MOTD) banner  for the switch -

*************************************************

Only Authorized Users Allowed 

*************************************************

3)  Configure a 

line console password - India@123

line vty - cisco

enable secret password - Cisco@123

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

Solution 

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

1) Configure the hostname of the Switch as SW1

Switch#config t
Enter configuration commands, one per line.  End with CNTL/Z.
Switch(config)#hostname SW1
SW1(config)#exit

2) Set a message of the day (MOTD) banner  for the switch

SW1(config)#banner motd $
Enter TEXT message.  End with the character '$'.
*************************************************

Only Authorized Users Allowed

*************************************************
$

SW1(config)#^Z
SW1#exit

*************************************************

Only Authorized Users Allowed

*************************************************


SW1>

3)  Configure a line console password - India@123 l

ine vty - cisco

enable secret password - Cisco@123

SW1#config t
SW1(config)#line console 0
SW1(config-line)#password India@123
SW1(config-line)#login
SW1(config)#enable secret Cisco@123
SW1(config)#exit
SW1#

*************************************************

Only Authorized Users Allowed

*************************************************


User Access Verification

Password:

SW1>en
Password:
SW1#


Thanks for reading 

amartechstuff

Monday, 16 March 2020

BASICS OF SWITCH


1) Switch is an Intelligent Device

If a switch receives a frame on a port it reads the destination MAC address and forward to appropriate port only and not to other ports.

2) When Switch receives a frame on a port it will open Layer 2 Information read source MAC   of and make the entry of the mac address in its MAC table against the port on which it was received.

Switch takes forwarding decision on basis of MAC address and MAC address is Layer 2 address.
Hence Switch is a "Layer 2" device.

For Quick reference and fast forwarding the MAC address table should be precise and updated with the correct MAC address entries.

So the MAC address table should be controlled and Stale entries have to be deleted.

Any entry not referred / used for a stipulated time is consider as Stale.

Switch would remove stale entry from MAC table and the stipulated time can be from 5 to 30 mins depending upon the switch.


Cisco Switch


3) Switch is also called as "Multiport Bridge"

Normally Bridge would have only 16 ports where as switch have multiple ports.

Switch & Bridge are similar devices but use to different mediums.

Bridge -----> Thick , thin wire
Switch -----> Twisted Pair / Fiber.

4) If a switch receives a " Broadcast Frame " on a port it will create multiple copies of the frame and forwards it to all other ports.

Switch don't broadcast but forwards the broadcast received on a port to all other ports.

If a sender and receiver are on the same ports switch blocks / discards the frame.

If sender and receiver are on the different ports , Switch will bridge the information to relevant port only.

Switch segments the network whereas HUB extends the  network.

If a receiver is not known switch forwards the information to all the ports.

5) Switch allows simultaneous communication between  multiple communicating pairs connected on different ports.

Every port of a switch has its own dedicated Bandwidth .

6) Every port of a switch is member of a separate collision domain.

Switch is a multiple collision domain.

Every port of a switch is member of same broadcast domain.

Switch is a single broadcast domain device .

Thanks for Reading !!!!