Professional Documents
Culture Documents
Half Duplex Ethernet shares a collision domain resulting in lower throughput than Full
Duplex Ethernet which requires a point-to-point link between two compatible nodes
packet
frame
bits
Segment
Network Access
Causes of LAN congestion - Broadcast storms, too many hosts with a broadcast
domain, multicasting, low bandwidth, bottlenecks
Collision domain - Switches/bridges breakup collision domains, hubs extend them
Broadcast domains - Routers and VLANs breakup broadcast domains
Troubleshooting Steps
Cisco IOS
Troubleshooting
Commands
1. Ping loopback
2. Ping NIC
3. Ping default gateway
4. Ping remote device
ping 127.0.0.1
traceroute
Windows DOS
Troubleshooting
Commands
ping 127.0.0.1
tracert
ipconfig/all
arp -a
IP Classes
Private Address Ranges
Class A - 10.0.0.0 - 10.255.255.255
Class B - 172.16.0.0 - 172.31.255.255
Class C - 192.168.0.0 - 192.168.255.255
Class Ranges
Class A - 1-126 - network.node.node.node
Class B - 128-191 - network.network.node.node
Class C - 192-223 - network.network.network.node
255.0.0.0
255.128.0.0
255.192.0.0
255.224.0.0
255.240.0.0
255.248.0.0
255.252.0.0
255.254.0.0
255.255.0.0
255.255.128.0
255.255.192.0
255.255.224.0
/8
/9
/10
/11
/12
/13
/14
/15
/16
/17
/18
/19
Subnet Mask
CIDR Notation
(Classless
Inter-Domain
Routing)
255.255.240.0
255.255.248.0
255.255.252.0
255.255.254.0
255.255.255.0
255.255.255.128
255.255.255.192
255.255.255.224
255.255.255.240
255.255.255.248
255.255.255.252
/20
/21
/22
/23
/24
/25
/26
/27
/28
/29
/30
Copyright 2010 Internetwork Training Although the authors of have made every effort to ensure the information in this document is correct, the authors do not assume and hereby disclaim any liability to any party for loss or damage caused by errors, omissions or misleading information.
EIGRP
packetlife.net
Protocol Header
Attributes
16
Version
24
Opcode
32
Checksum
Algorithm DUAL
Flags
Internal AD 90
Sequence Number
External AD 170
Acknowledgment Number
Summary AD 5
Length
Value
Transport IP/88
Metric Formula
256 * (K1 * bw +
K2 * bw
256 - load
Authentication MD5
+ K3 * delay) *
K5
rel + K4
EIGRP Configuration
Protocol Configuration
! Enable EIGRP
router eigrp <ASN>
! Add networks to advertise
network <IP address> <wildcard mask>
Multicast IP 224.0.0.10
Hello Timers 5/60
Hold Timers 15/180
K Defaults
Packet Types
K1 1
1 Update
K2 0
3 Query
K3 1
4 Reply
K4 0
5 Hello
K5 0
8 Acknowledge
Terminology
Reported Distance
Feasible Distance
Passive Interface
An interface which does not participate in EIGRP but
whose network is advertised
Stub Router
A router which advertises only a subset of routes,
and is omitted from the route query process
Troubleshooting
by Jeremy Stretch
packetlife.net
IEEE Standards
802.11a
802.11b
802.11g
802.11n
11 Mbps
54 Mbps
300 Mbps
2.4 GHz
2.4 GHz
2.4/5 GHz
Modulation OFDM
DSSS
DSSS/OFDM
OFDM
11/13
11/13
32/32
1999
2003
2009
Ratified 1999
WLAN Types
Ad Hoc
A WLAN between isolated stations with
no central point of control; an IBSS
WLAN Components
IBSS
ESS
BSS
BSS
Infrastructure
A WLAN attached to a wired network via
an access point; a BSS or ESS
DS
Frame Types
Type
Class
Association
Management
Authentication
Management
Probe
Management
Beacon
Management
Control
Control
Acknowledgment (ACK)
Control
Data
Data
Client Association
Probe Request
Probe Response
Authentication Request
Authentication Response
Association Request
Association Response
Modulations
Scheme
DSSS
OFDM
Modulation
Throughput
DBPSK
1 Mbps
DQPSK
2 Mbps
CCK
5.5/11 Mbps
BPSK
6/9 Mbps
QPSK
12/18 Mbps
16-QAM
24/36 Mbps
64-QAM
48/54 Mbps
by Jeremy Stretch
Decibel (dB)
An expression of signal strength as compared to a reference signal;
calculated as 10log10(signal/reference)
dBm Signal strength compared to a 1 milliwatt signal
dBw Signal strength compared to a 1 watt signal
dBi Compares forward antenna gain to that of an isotropic antenna
Terminology
Basic Service Set Identifier (BSSID)
A MAC address which serves to uniquely identify a BSS
Service Set Identifier (SSID)
A human-friendly text string which identifies a BSS; 1-32 characters
Carrier Sense Multiple Access/Collision Avoidance (CSMA/CA)
The mechanism which facilitates efficient communication across a
shared wireless medium (provided by DCF or PCF)
Effective Isotropic Radiated Power (EIRP)
Net signal strength (transmitter power + antenna gain - cable loss)
v2.2
packetlife.net
DIFS
DIFS
DIFS
Frame
Deferral Period
Random Backoff
Contention Window
Interframe Spacing
Client Authentication
EAP-TLS
Employs Transport Layer Security (TLS); PKI
certificates are required on the AP and clients
EAP-TTLS
Clients authenticate the AP via PKI, then form a secure
tunnel inside which the client authentication takes
place (clients do not need PKI certificates)
EAP-FAST
Developed by Cisco to replace LEAP; establishes a
secure tunnel using a Protected Access Credential
(PAC) in the absence of PKI certificates
RF Signal Interference
Reflection
Scattering
Absorption
802.11e
802.1p
Platinum
7/6
6/5
Gold
5/4
4/3
Silver
3/0
Bronze
2/1
2/1
Refraction
Diffraction
Antenna Types
Directional Radiates power in one focused direction
Omnidirectional
Radiates power uniformly across a plane
Isotropic
A theoretical antenna referenced when measuring
effective radiated power
v2.2
IPV4 MULTICAST
Layer 2 Addressing
239.142.57.6
11101111 10001110 00111001 00000110
Group Ranges
224.0.0.0/24 Local network control
224.0.1.0/24 Internetwork control
232.0.0.0/8 Source-specific
01-00-5E-0E-39-06
00000001 00000000 01011110 00001110 00111001 00000110
Terminology
Reverse Path Forwarding (RPF)
Verifies that multicast traffic travels in the reverse direction of
unicast traffic, away from the tree root
Cisco Group Management Protocol (CGMP)
A proprietary protocol used by switches to obtain multicast
membership information for end hosts (deprecated)
Internet Group Management Protocol (IGMP)
Hosts send IGMP requests to local routers to join multicast groups
IGMP Configuration
IGMP Support Router(config-if)# ip igmp [version <#>]
IGMP Snooping Switch(config)# ip igmp snooping
Protocol Independent Multicast (PIM)
Dense Mode
The initial tree encompasses all multicast routers; after a period of
time, routers without IGMP members prune back branches
Sparse Mode
The tree is grown from a central rendezvous point out to the
multicast source and recipients
Sparse-Dense Mode
Allows a PIM-enabled interface to function in either sparse or dense
mode per group
PIMv1
Provides automatic RP discovery with Auto-RP (Cisco proprietary)
PIMv2
Automatic RP discovery is accomplished by the bootstrap router
(BSR) method (standard)
PIM Configuration
ip multicast-routing
!
interface FastEthernet0/0
ip pim {sparse-mode | dense-mode | sparse-dense-mode}
ip pim version {1 | 2}
RP Configuration
Manual ip pim rp-address <IP>
Auto-RP Mapping Agent ip pim send-rp-discovery scope <TTL>
Auto-RP Candidate ip pim send-rp-announce <interface>
BSR Candidate ip pim bsr-candidate <interface>
BSR RP Candidate ip pim rp-candidate <interface>
by Jeremy Stretch
packetlife.net
IPV6
packetlife.net
Protocol Header
8
Ver
16
Address Notation
24
Traffic Class
32
Flow Label
Payload Length
Next Header
Hop Limit
Source Address
Global unicast
Global Prefix
Subnet
Interface ID
48
16
64
Destination Address
Link-local unicast
Version (4 bits) Always set to 6
Interface ID
64
Multicast
Flags
Group ID
4 4
112
EUI-64 Formation
64
Scope
MAC
Address Types
EUI-64
Multicast Scopes
1 Interface-local
5 Site-local
2 Link-local
8 Org-local
4 Admin-local
E Global
Special-Use Ranges
Extension Headers
Hop-by-hop Options (0)
Carries additional information which must be examined by every
router in the path
Routing (43)
Provides source routing functionality
::/0
Default route
Fragment (44)
Included when a packet has been fragmented by its source
::/128
Unspecified
::1/128
Loopback
::/96
IPv4-compatible*
::FFFF:0:0/96
IPv4-mapped
2001::/32
Teredo
2001:DB8::/32
Documentation
2002::/16
6to4
FC00::/7
Unique local
FE80::/10
Link-local unicast
FEC0::/10
Site-local unicast*
FF00::/8
Multicast
by Jeremy Stretch
Transition Mechanisms
Dual Stack
Transporting IPv4 and IPv6 across an infrastructure simultaneously
Tunneling
IPv6 traffic is encapsulated into IPv4 using IPv6-in-IP, UDP (Teredo),
or Intra-Site Automatic Tunnel Addressing Protocol (ISATAP)
Translation
Stateless IP/ICMP Translation (SIIT) translates IP header fields, NAT
* Deprecated Protocol Translation (NAT-PT) maps between IPv6 and IPv4 addresses
v2.0
packetlife.net
Address Classification
Inside Local
FastEthernet0
10.0.0.1/16
NAT Inside
FastEthernet1
174.143.212.1/22
NAT Outside
Outside Local
Location
interface FastEthernet0
ip address 10.0.0.1 255.255.0.0
ip nat inside
!
interface FastEthernet1
ip address 174.143.212.1 255.255.252.0
ip nat outside
Perspective
Local
Global
Inside
Inside Local
Inside Global
Outside
Outside Local
Outside Global
Terminology
NAT Pool
A pool of IP addresses to be used as inside
global or outside local addresses in translations
Extendable Translation
The extendable keyword must be appended
when multiple overlapping static translations are
configured
Troubleshooting
show ip nat translations [verbose]
show ip nat statistics
clear ip nat translations
NAT Translations Tuning
ip nat translation tcp-timeout <seconds>
ip nat translation udp-timeout <seconds>
ip nat translation max-entries <number>
by Jeremy Stretch
v1.0
OSPF PART 1
packetlife.net
Protocol Header
8
Attributes
16
Version
24
Type
32
Type Link-State
Length
Algorithm Dijkstra
Router ID
Area ID
Checksum
AD 110
Instance ID
Reserved
Data
Protocols IP
Transport IP/89
Authentication Plaintext, MD5
AllSPF Address 224.0.0.5
AllDR Address 224.0.0.6
Metric Formula
100,000 Kbps*
cost =
* modifiable with
ospf auto-cost reference-bandwidth
Area Types
Internal Router
All interfaces reside within the
same area
Backbone Router
A router with an interface in
area 0 (the backbone)
Standard Area
Default OSPF area type
Stub Area
External link (type 5) LSAs are
replaced with a default route
link speed
Adjacency States
1 Down
5 Exstart
2 Attempt
6 Exchange
3 Init
7 Loading
4 2-Way
8 Full
DR/BDR Election
Virtual Links
Tunnel formed to join two areas
across an intermediate
debug ip ospf []
by Jeremy Stretch
v2.1
OSPF PART 2
packetlife.net
Network Types
Nonbroadcast
(NBMA)
Multipoint
Broadcast
Multipoint
Nonbroadcast
Broadcast
Point-to-Point
No
No
Yes
No
Yes
No
Yes
Yes
30/120
30/120
10/40
10/40
RFC 2328
Cisco
Cisco
Cisco
Any
Any
Full Mesh
Point-to-Point
Configuration Example
WAN
Area 0
Area 9
172.16.0.0/18
Backbone
A
C
Area 1
Area 2
Stub Area
Standard Area
Router B
interface Ethernet0/0
description Area 0
ip address 192.168.0.2 255.255.255.0
ip ospf 100 area 0
!
interface Ethernet0/1
description Area 2
ip address 192.168.2.1 255.255.255.0
ip ospf 100 area 2
! Optional MD5 authentication configured
ip ospf authentication message-digest
ip ospf message-digest-key 1 md5 FooBar
! Give B priority in DR election
ip ospf priority 100
!
interface Ethernet0/2
description Area 1
ip address 192.168.1.1 255.255.255.0
ip ospf 100 area 1
!
interface Loopback0
ip address 10.0.34.2 255.255.255.0
!
router ospf 100
! Define area 1 as a stub area
area 1 stub
! Virtual link from area 0 to area 9
area 2 virtual-link 10.0.34.3
by Jeremy Stretch
Router A
interface Serial0/0
description WAN Link
ip address 172.16.34.2 255.255.255.252
!
interface FastEthernet0/0
description Area 0
ip address 192.168.0.1 255.255.255.0
!
interface Loopback0
! Used as router ID
ip address 10.0.34.1 255.255.255.0
!
router ospf 100
! Advertising the WAN cloud to OSPF
redistribute static subnets
network 192.168.0.0 0.0.0.255 area 0
!
! Static route to the WAN cloud
ip route 172.16.0.0 255.255.192.0 172.16.34.1
Router C
interface Ethernet0/0
description Area 9
ip address 192.168.9.1 255.255.255.0
ip ospf 100 area 9
!
interface Ethernet0/1
description Area 2
ip address 192.168.2.2 255.255.255.0
ip ospf 100 area 2
! Optional MD5 authentication configured
ip ospf authentication message-digest
ip ospf message-digest-key 1 md5 FooBar
! Give C second priority (BDR) in election
ip ospf priority 50
!
!
!
!
!
!
interface Loopback0
ip address 10.0.34.3 255.255.255.0
!
router ospf 100
! Define area 9 as a totally stubby area
area 9 stub no-summary
! Virtual link from area 9 to area 0
area 2 virtual-link 10.0.34.2
v2.1
POINT-TO-POINT PROTOCOL
packetlife.net
PPP Components
PPP Summary
Standard RFC 1661
Interfaces
PPP Header
8
Address
16
Control
24
32
Protocol
LCP Header
8
Code
16
Identifier
24
32
Length
Authentication Protocols
Dead
Establish
No Auth
Auth Required
Terminate
Failure
Admin
Shutdown
Authenticate
Success
Network
by Jeremy Stretch
packetlife.net
Algorithm Legacy ST
Defined By 802.1D-1998
Instances 1
Trunking N/A
PVST
PVST+
RSTP
RPVST+
MST
Legacy ST
Legacy ST
Rapid ST
Rapid ST
Rapid ST
Cisco
Cisco
802.1w,
802.1D-2004
Cisco
802.1s,
802.1Q-2003
Per VLAN
Per VLAN
Per VLAN
Configurable
ISL
802.1Q, ISL
N/A
802.1Q, ISL
802.1Q, ISL
PVST+
VLAN 1,10 Root
VLAN 20,30 Root
Root
A
All VLANs
xx xx
BPDU Format
Field
MST
MSTI 0 Root
MSTI 1 Root
A
VLAN 1
VLAN 10
VLAN 20
VLAN 30
Link Costs
Bits
802.1s
802.1Q-2003
802.1Q-2005
Bandwidth
Cost
4 Mbps
250
10 Mbps
100
16 Mbps
62
45 Mbps
39
100 Mbps
19
155 Mbps
14
622 Mbps
Protocol ID
16
Version
BPDU Type
Flags
Root ID
64
32
Bridge ID
64
Port ID
16
1 Gbps
Message Age
16
10 Gbps
Max Age
16
20+ Gbps
Hello Time
16
Forward Delay
16
802.1D-1998
802.1Q-1998
IEEE
ISL
Forward Delay
15s
Max Age
20s
Cisco
2s
PVST
802.1w
PVST+
2
3
4
Port States
Legacy ST
Rapid ST
Disabled
Blocking
Listening
Learning
Learning
Forwarding
Forwarding
RPVST+
Default Timers
Hello
802.1D-2004
Discarding
Port Roles
Legacy ST
Rapid ST
Root
Root
Designated
Designated
Blocking
Alternate
Backup
by Jeremy Stretch
v3.0
packetlife.net
MST Configuration
spanning-tree mode mst
! MST Configuration
spanning-tree mst configuration
name MyTree
revision 1
! Map VLANs to instances
instance 1 vlan 20, 30
instance 2 vlan 40, 50
! Bridge priority (per instance)
spanning-tree mst 1 priority 32768
! Timers, in seconds
spanning-tree mst hello-time 2
spanning-tree mst forward-time 15
spanning-tree mst max-age 20
! Maximum hops for BPDUs
spanning-tree mst max-hops 20
Bridge ID Format
4
12
48
Pri
Sys ID Ext
MAC Address
Priority
4-bit bridge priority (configurable from 0 to 61440 in
increments of 4096)
System ID Extension
12-bit value taken from VLAN number (IEEE 802.1t)
MAC Address
48-bit unique identifier
Path Selection
1 Bridge with lowest root ID becomes the root
2 Prefer the neighbor with the lowest cost to root
3 Prefer the neighbor with the lowest bridge ID
4 Prefer the lowest sender port ID
Optional PVST+ Ehancements
PortFast
Enables immediate transition into the forwarding state
(designates edge ports under MST)
UplinkFast
Enables switches to maintain backup paths to root
BackboneFast
Enables immediate expiration of the Max Age timer in
the event of an indirect link failure
Spanning Tree Protection
Root Guard
Prevents a port from becoming the root port
BPDU Guard
Error-disables a port if a BPDU is received
Loop Guard
Prevents a blocked port from transitioning to listening
after the Max Age timer has expired
BPDU Filter
Blocks BPDUs on an interface (disables STP)
RSTP Link Types
Point-to-Point
Connects to exactly one other bridge (full duplex)
Shared
Potentially connects to multiple bridges (half duplex)
Edge
Connects to a single host; designated by PortFast
Troubleshooting
! Interface attributes
interface FastEthernet0/1
spanning-tree mst 1 port-priority 128
spanning-tree mst 1 cost 19
by Jeremy Stretch
v3.0
VLANS
packetlife.net
Trunk Encapsulation
ISL
Trunk Types
26
ISL
Header
Dest
MAC
Source
MAC
Type
FCS
Dest
MAC
Source
MAC
Type
Untagged
802.1Q
802.1Q
Dest
MAC
Source
MAC
802.1Q
Type
mode access
nonegotiate
access vlan 100
voice vlan 150
switchport
switchport
switchport
switchport
mode trunk
trunk encapsulation dot1q
trunk allowed vlan 10,20-30
trunk native vlan 10
SVI Configuration
Switch(config)# interface vlan100
Switch(config-if)# ip address 192.168.100.1 255.255.255.0
vtp
vtp
vtp
vtp
vtp
by Jeremy Stretch
4 bytes
Standard IEEE
Cisco
1000
VLAN Numbers
0 Reserved
1004 fdnet
1 default
1005 trnet
1002 fddi-default
1006-4094 Extended
1003 tr
26 bytes
VLAN Creation
Switch(config-if)#
Switch(config-if)#
Switch(config-if)#
Switch(config-if)#
ISL
4095 Reserved
Terminology
Trunking
Carrying multiple VLANs over the same
physical connection
Native VLAN
By default, frames in this VLAN are untagged
when sent across a trunk
Access VLAN
The VLAN to which an access port is assigned
Voice VLAN
If configured, enables minimal trunking to
support voice traffic in addition to data traffic
on an access port
Dynamic Trunking Protocol (DTP)
Can be used to automatically establish trunks
between capable ports (insecure)
Switched Virtual Interface (SVI)
A virtual interface which provides a routed
gateway into and out of a VLAN
Switch Port Modes
trunk
Forms an unconditional trunk
dynamic desirable
Attempts to negotiate a trunk with the far end
dynamic auto
Forms a trunk only if requested by the far end
access
Will never form a trunk
Troubleshooting
show vlan
show interface [status | switchport]
show interface trunk
show vtp status
show vtp password
v2.0