Cramsession™ For Cisco Certified Network Associate 2.0
Cramsession™ For Cisco Certified Network Associate 2.0
0
This study guide will help you to prepare for Cisco exam 640-507,
Cisco Certified Network Associate 2.0. Exam topics include Bridging,
Switching, Network and WAN Protocols, Reference Model and
Layered Communication, Routing, Network Management, LAN
Design, Physical Connectivity, Cisco Basics, IOS, and Network
Basics.
http://jobs.brainbuzz.com/JobSearch.asp?R=&CSRE
=
http://www.cramsession.com/signup/default.asp#day
http://itresources.brainbuzz.com
http://www.cramsession.com/signup/
http://skilldrill.brainbuzz.com
http://www.cramsession.com/signup/prodinfo.asp
Notice: While every precaution has been taken in the preparation of this material, neither the author nor BrainBuzz.com assumes any liability in the event
of loss or damage directly or indirectly caused by any inaccuracies or incompleteness of the material contained in this document. The information in this
document is provided and distributed "as-is", without any expressed or implied warranty. Your use of the information in this document is solely at your own
risk, and Brainbuzz.com cannot be held liable for any damages incurred through the use of this material. The use of product names in this work is for
information purposes only, and does not constitute an endorsement by, or affiliation with BrainBuzz.com. Product names used in this work may be
registered trademarks of their manufacturers. This document is protected under US and international copyright laws and is intended for individual, personal
use only. For more details, visit our legal page.
2000 All Rights Reserved - BrainBuzz.com
TM
Contents:
Contents: ....................................................................................................... 1
OSI Reference / Network Protocols .................................................................... 3
Steps of Data Encapsulation ............................................................................. 5
Data link addresses....................................................................................... 5
Network address........................................................................................... 5
Network Structure Defined by Hierarchy............................................................. 6
IPX ............................................................................................................. 6
LAN Switching................................................................................................. 7
Three Switch Functions.................................................................................. 7
Bridging Compared to LAN Switching .............................................................. 9
Transmitting Frames through a Switch ............................................................ 9
TCP/IP Layers ................................................................................................10
Application Layer .........................................................................................10
Transport Layer ...........................................................................................10
Port Numbers ..............................................................................................10
TCP .........................................................................................................10
UDP ........................................................................................................10
IP Address Classes.......................................................................................11
Subnetting Formulas ....................................................................................11
Routing .........................................................................................................11
Static (manual) ...........................................................................................11
Routing Protocols ...........................................................................................12
Exterior ......................................................................................................12
Counting to Infinity.........................................................................................13
IOS / Routing / Network Security .....................................................................13
Privileged Mode ...........................................................................................13
Banner .......................................................................................................13
Hostname ...................................................................................................13
Editing .......................................................................................................14
Help...........................................................................................................14
The Best MCSE and Cisco Boot Camps in the World: http://www.ntschool.com/
1-800-330-1446
2000 All Rights Reserved BrainBuzz.com
TM
The Best MCSE and Cisco Boot Camps in the World: http://www.ntschool.com/
1-800-330-1446
2000 All Rights Reserved BrainBuzz.com
TM
The Best MCSE and Cisco Boot Camps in the World: http://www.ntschool.com/
1-800-330-1446
2000 All Rights Reserved BrainBuzz.com
TM
The LLC sublayer manages communications between devices over a single link of a
network. LLC supports both connectionless and connection-oriented services used by
higher-layer protocols. The MAC sublayer manages protocol access to the physical
network medium. The IEEE MAC specification defines MAC addresses, which allow
multiple devices to uniquely identify one another at the data link layer. Data link
layer implementations can be categorized as either LAN or WAN specifications. The
most common LAN data link layer implementations include Ethernet/IEEE 802.3, Fast
Ethernet, FDDI, and Token Ring/IEEE 802.5. The most common WAN data link layer
implementations include Frame Relay, Link Access Procedure, Balanced (LAPB),
Synchronous Data Link Control (SDLC), Point-to-Point Protocol (PPP), and SMDS
Interface Protocol (SIP).
The Best MCSE and Cisco Boot Camps in the World: http://www.ntschool.com/
1-800-330-1446
2000 All Rights Reserved BrainBuzz.com
TM
Physical The physical layer defines the electrical, mechanical, procedural, and
functional specifications for activating, maintaining, and deactivating the physical link
between communicating network systems.
Physical layer specifications define such characteristics as voltage levels, timing of
voltage changes, physical data rates, maximum transmission distances, and the
physical connectors to be used. Physical layer implementations can be categorized as
either LAN or WAN specifications. Some common LAN physical layer implementations
include Ethernet/IEEE 802.3, Fast Ethernet, FDDI, and Token Ring/IEEE 802.5. Some
common WAN physical layer implementations include High-Speed Serial Interface
(HSSI),SMDS Interface Protocol (SIP), and X.21bis.
Session
PDU
TCP Header
Transport
Segment
IP Header
Data
Network
Packet
LLC Header
Data
FCS
Data Link
Frame
FCS
Physical
Bits
010110101101010101
Network address
Logical address. IP or IPX hierarchical scheme. The address is assigned to a
machine manually or dynamically.
The Best MCSE and Cisco Boot Camps in the World: http://www.ntschool.com/
1-800-330-1446
2000 All Rights Reserved BrainBuzz.com
TM
Switches and Bridges work on the Data Link Layer (Layer 2device)
Characteristics:
o
No packet manipulation
Routing traffic
Broadcast/Multicast Domains
Media Translation
Security
IPX
To turn on:
<>
ipx routing
The Best MCSE and Cisco Boot Camps in the World: http://www.ntschool.com/
1-800-330-1446
2000 All Rights Reserved BrainBuzz.com
TM
Then, on interface:
To monitor:
<>
sh ipx traffic
sh ipx int e0
Frame Types:
802.2 sap
Ethernet_II arpa
Ethernet_snap snap
LAN Switching
Switching examines MAC address. Same as multi portbridge
Address learning
Forward/filter decision
Loop avoidance
Address Learning: maintains MAC address table used to track the location of
devices connected to the switch.
Forward/filter decision: when a frame arrives with a known destination address, it
is forwarded only on the specific port connected to that station.
The Best MCSE and Cisco Boot Camps in the World: http://www.ntschool.com/
1-800-330-1446
2000 All Rights Reserved BrainBuzz.com
TM
Broadcast and Multicast frames: may be of interest to all stations. The switch
normally floods to all ports other than the origination port. A switch never learns a
broadcast or multicast address because broadcast and multicast addresses never
appear as the source address of a frame.
All nodes on an Ethernet network can transmit at the same time, so the more
nodes you have the greater the possibility of collisions happening. This can
slow the network down.
Spanning-Tree operation Selects one root bridge. All the ports are designated
ports (forwarding). For non-root bridge, there will be one root port. This offers the
lowest cost path from non-root bridge to the root bridge. On each segment, there is
one designated part. This port also has the lowest cost to the root bridge.
The Best MCSE and Cisco Boot Camps in the World: http://www.ntschool.com/
1-800-330-1446
2000 All Rights Reserved BrainBuzz.com
TM
Time to Convergence
The time for all the switches and bridges ports transition to either the forwarding or
blocking state. When network topology changes, switches and bridges must recompute the Spanning-Tree Protocol, which disrupts traffic.
Store-and-Forward copies entire frame into buffer, checks for CRC errors.
Higher latency.
Cut-Through reads only the destination address into buffer, and forwards
immediately. Low latency.
Fragment free (modified cut-through). Switch will read into the first 64
bytes before forwarding the frame. Collisions will usually occur within the first
64 bytes. (default for 1900 series).
The Best MCSE and Cisco Boot Camps in the World: http://www.ntschool.com/
1-800-330-1446
2000 All Rights Reserved BrainBuzz.com
TM
Routers examines network address, and forwards using the best available route
to destination network. Can have multiple active paths.
Virtual LANs sets different ports on a switch to be part of different sub-networks.
Some benefits: simplify moves, adds, changes; reduce administrative costs; have
better control of broadcasts; tighten security; and distribute load. Relocate the
server into a secured location.
TCP/IP Layers
Application Layer
File transfer, E-Mail, Remote Login, Network Management, Name Management.
Transport Layer
TCP (connection oriented), UDP(Connectionless).
Flow control provided by sliding windows. Reliability provided by sequence numbers
and acknowledgements.
Port Numbers
Used to pass information to the upper layers.
TCP
FTP 21
Telnet 23
SMTP 25
DNS 53
UDP
DNS 53
TFTP 69
SNMP 161
RIP 520
Numbers below 1024 are well known ports. Dynamically assigned ports are above
1024. Registered ports are for vendor specific applications: usually above 1024.
The Best MCSE and Cisco Boot Camps in the World: http://www.ntschool.com/
1-800-330-1446
2000 All Rights Reserved BrainBuzz.com
10
TM
ARP determines the data link layer address for known IP address
RARP determines network address when data link layer addresses are known
IP Address Classes
Class Net.Node.Node.Node 0
A
1
127
127 networks,
16M nodes
Class Net.Net.Node.Node
B
10
Class Net.Net.Net.Node
C
110 192223
2M networks
254 nodes
Subnetting Formulas
(Count the bits only from the Node portion of the address. Therefore, for a Class B
address, the total masked bits+ unmasked bits = 16):
Routing
Routers must learn destinations that are not directly connected.
Static (manual)
Uses a route that the network administrator enters manually. (Must be setup bidirectional)
The Best MCSE and Cisco Boot Camps in the World: http://www.ntschool.com/
1-800-330-1446
2000 All Rights Reserved BrainBuzz.com
11
TM
router rip
network 172.16.0.0
network 172.16.0.0
Routing Protocols
Interior - (within an autonomous system AS group of routers under the same
administrative authority)
Distance Vector understands the direction and distance to any network
connection on the internet work. Knows how many hops (the metric) to get there. All
routers w/in the internet work listen for messages from other routers, which are sent
every 30 to 90 seconds. They pass their entire routing tables. Possible problems:
Slow convergence, Routing Loops, Counting to Infinity (this is solved by maximum
hop count). Solutions: Split Horizon(cannot send information back in the direction it
was received);Hold-Downs(prevent regular update messages from reinstating a
route thats gone down). Uses hop count for measurement.
IGRP 255 hop count max, uses reliability factor (255 optimal), and
bandwidth
Link State understands the entire network, and does not use secondhand
information. Routers exchange LSPs (hello packets). Each router builds a
topographical view of the network, then uses SPF (shortest path first) algorithm to
determine the best route. Changes in topology can be sent out immediately, so
convergence can be quicker. Uses Bandwidth for measurement.
Exterior
The Best MCSE and Cisco Boot Camps in the World: http://www.ntschool.com/
1-800-330-1446
2000 All Rights Reserved BrainBuzz.com
12
TM
Counting to Infinity
User Mode ordinary tasks checking status, etc. Need password depending on
how youre entering (Virtual Terminal pw for telnet session, Auxiliary pw for aux
port, Console pw for console port)
conf t
login
password letmein
Privileged Mode
conf t
Banner
conf t
banner motd #
Hostname
conf t
The Best MCSE and Cisco Boot Camps in the World: http://www.ntschool.com/
1-800-330-1446
2000 All Rights Reserved BrainBuzz.com
13
TM
hostname MyRouter
Editing
<>show history
TAB completes command
Help
Router Elements/Configuration
<>show startup-config
<>show running-config
erase startup-config
setup
reload
<>show proc
show mem
show buff
show flash
show cdp
The Best MCSE and Cisco Boot Camps in the World: http://www.ntschool.com/
1-800-330-1446
2000 All Rights Reserved BrainBuzz.com
14
TM
Range is 1 through 99
15
TM
Note: you can use 0.0.0.0 as the mask to limit to that specific host, or prefix
it with host
<>
int e0
int e0
int e0
IP
Standard
100199
IP
Extended
800899
IPX
Standard
900999
IPX
Extended
The Best MCSE and Cisco Boot Camps in the World: http://www.ntschool.com/
1-800-330-1446
2000 All Rights Reserved BrainBuzz.com
16
TM
10001099
IPX SAP
<>
Show access-list
WAN
Layer 1 Connection Types
Circuit Switching Dedicated circuit path must exist between sender and
receiver for the duration of the call. Used with ISDN. Used when customer
doesnt need a 24/7 connection, but needs a reliable connection
Demarcation (or demarc) - The place where the CPE ends and the local
loop portion of the service begins. (Usually in the phonecloset).
Local loop - Cabling from the demarc into the WAN service providers central
office.
Central Office switch (CO) - Switching facility that provides the nearest
point of presence for the providers WAN service.
The Best MCSE and Cisco Boot Camps in the World: http://www.ntschool.com/
1-800-330-1446
2000 All Rights Reserved BrainBuzz.com
17
TM
Serial Line Internet Protocol (SLIP) Standard protocol for use with
TCP/IP. It has, for the most part, been replaced by PPP.
int s0
Subinterfaces:
Mapping:
int s0
inverse-arp or
Monitoring:
The Best MCSE and Cisco Boot Camps in the World: http://www.ntschool.com/
1-800-330-1446
2000 All Rights Reserved BrainBuzz.com
18
TM
Asynchronous Transfer Mode (ATM) International standard for cell relay while
using multiple services (voice, video, data)
Local access Rate Clock speed of the connection to the Frame Relay cloud
Virtual Circuit (VC) Logical circuit created to ensure communication between
two devices.
PVC Virtual circuit that is permanent. Saves bandwidth by not having to
establish circuits each time it is used.
SVC Virtual circuit that is established on-demand and is disconnected when
no longer needed.
Data-link connection identifier (DLCI) -A number which identifies the logical
circuit between the router and the Frame Relay Switch.
Committed Information Rate (CIR) The rate that the Frame relay switch
agrees to transfer data (in bits per second).
Inverse Address resolution Protocol (Inverse ARP) Method of dynamically
associating a network layer address with a DLCI.
Local Management Interface(LMI) Signaling standard between the router
device and the Frame Relay Switch.
Backward Explicit Congestion Notification (BECN) When congestion occurs,
a BECN is sent from the receiving Frame Relay switch to reduce the rate of
sending date.
ISDN
ISDN - digital service that runs over existing telephone networks
Normally used to support applications requiring high-speed voice, video, and data
communications for home users, remote offices, etc.
NT1 Converts BRI signals into a form used by the ISDN digital line.
TA Terminal Adapter, converts V.35, and other signals into BRI signals.
The Best MCSE and Cisco Boot Camps in the World: http://www.ntschool.com/
1-800-330-1446
2000 All Rights Reserved BrainBuzz.com
19
TM
R non-ISDN and TA
ISDN Protocols
ISDN BRI (Basic Rate Interface): 2 64K B channels, plus 1 16K D channel
Configuration example:
o
config t
int bri0
encap ppp
Special thanks to
Dale Long
for contributing this
Cramsession.
The Best MCSE and Cisco Boot Camps in the World: http://www.ntschool.com/
1-800-330-1446
2000 All Rights Reserved BrainBuzz.com
20