TCP/IP Model and Associated Protocols

May 19, 2013
Layer Protocol
Application HTTP, POP3, SMTP
Transport TCP, UDP
Internet IP, IPv6
Data-Link MAC
Physical Ethernet, PPP, T/1

Port Security

April 28, 2013

Switches examine the source MAC address of the received frame, switches can take a few possible options if it discovers that the incoming MAC address on that port is NOT SECURE.

  •  shutdown (the switch shuts down the port and sends a log message and drops the frame/s , also the interface status will read err-disabled you have to run a no shutdown to open the port again) ON BY DEFAULT
  • restrict (drops the frames and transmits a log message but does not shutdown the port)
  • protect (only drops the frames)

When configuring Port security and the source MAC address is unknown switchport port-security mac-address sticky can be used and the switch will use the first mac address learned as the Secure MAC address

 


Spanning Tree Protocol (STP)

April 27, 2013

Switching loops form when multiple paths exist, when a frame is sent and the the frame travels between the switches and never ends up reaching it’s final destination.

STP is used to prevent switching loops and is on by default, it determines a loop free path and ports that are not on the path are put into a blocking mode. If the best path is no longer available STP will calculate a new “path” and ports on that path that where blocked are brought out of the blocking mode.

NB. the shortest physical path is not the best, STP looks at the speed of the links

STP Quick Overview

  • On by default
  • Used to prevent switching loops

 

STP


CSMA/CD – Collision Sense Multiple Access / Collision Detection

April 25, 2013

All you need to know about the CSMA/CD process

  1. Transmitting host will listen, if silent data transmission commences
  2. If a voltage change is observed, (this is the collision) both hosts will send a jam signal
  3. This starts  a random backoff algorithm, and once the random time has elapsed the host will commence transmission again by listening to the wire.

DHCP & DORA

April 24, 2013

DHCP will supply the following 4 pieces of information

  1. IP address
  2. Default Gateway
  3. DNS Server
  4. Subnet Information

DHCP Process (DORA)

  1. Discover
  2. Offer
  3. Request
  4. Acknowledgement 

Common Ports For CCENT/CCNA Exam

October 14, 2012

The following is not an exhaustive list but from all the texts that i have read these are the most common that you will need to know when taking the Cisco Exams

 

Protocol TCP/UDP Number
FTP Data TCP 20
FTP Control TCP 21
SSH TCP 22
Telnet TCP 23
SMTP TCP 25
HTTP TCP 80
POP3 TCP 110
SSL TCP 443
DHCP UDP 67,68
TFTP UDP 69
SNMP UDP 161
DNS TCP/UDP 53

VOIP Range: UDP Ports 16384 – 32767 are used for voice

 

I have also attached a few copies of the information provided PDF and Microsoft Word DOC

Common Ports PDF

Common Ports DOC


TCP/UDP Similarities

October 12, 2012

The Similarities Are..

  • Source Port
  • Destination Port
  • Checksum

and that’s it!


TCP and UDP Summary

October 12, 2012

TCP (Transmission Control Protocol)

  • Connection orientated
  • Provides Windowing (Flow Control)
  • Error detection using sequence and Acknowledgment numbers
  • Error recovery

UDP (User Datagram Protocol)

  • Best effort delivery
  • Zero error “detection”
  • Zero windowing capabilities
  • Connectionless

NB.

TCP uses a three way handshake to establish the connection with the remote host, while UDP does not, this is why TCP is referred to as a connection orientated protocol