Академический Документы
Профессиональный Документы
Культура Документы
Slides Book #1
www.mgi.tv
Basic Housekeeping
www.mgi.tv
Exits / Safety
Parking
Mobile Phones
Attendance
Access to Building
What to bring each day
If unable to attend
Questions / Discussion
Class Shared Area
www.mgi.tv
Before 9:00am
9:00am to 11:00am
11:00am
11:30am 12:30pm
12:30pm 1:30pm
1:30pm 4:00pm
4:00pm after
Daily Design
Discussions
Daily Product
Discussions
www.mgi.tv
Living in a world of
acronyms! Easy to sink!
Career Path = Sales
www.mgi.tv
http://cisco.cit.ie/ccna_old2/
This is where I keep all the old CCNA learning resources. There's loads of stuff
here so dont overwhelm yourself, choose a topic you would like to revise.
www.mgi.tv
10
www.mgi.tv
11
www.mgi.tv
12
Understanding IPv6
Implementing EIGRP
Troubleshooting EIGRP
13
www.mgi.tv
14
www.mgi.tv
15
www.mgi.tv
16
Day 1
Networking Fundamentals
OSI Model
IP ARP, MAC Address Flooding & Learning
IP Addressing & Subnetting
TCP/IP Model Recap
Introduction to Cisco IOS & Nexus NXOS
Reference Models
www.mgi.tv
18
Protocol Suites
www.mgi.tv
19
Data Encapsulation
Data
Segment
Packet
Frame
Bits
www.mgi.tv
20
www.mgi.tv
21
www.mgi.tv
22
www.mgi.tv
23
ANSI
ITU-T
G.992: ADSL
IEEE
802.3: Ethernet
802.11: Wireless LAN (WLAN) & Mesh (Wi-Fi certification)
802.15: Bluetooth
ISO
EIA/TIA
www.mgi.tv
Networking Standards
24
Signalling Method
UTP
Coaxial
Connectors
NICs
Ports
Interfaces
Manchester Encoding
Non-Return to Zero (NRZ)
techniques
4B/5B codes are used with
Multi-Level Transition Level 3
(MLT-3) signaling
8B/10B
PAM5
Changes in the
electromagnetic field
Intensity of the
electromagnetic field
Phase of the
electromagnetic wave
Single-mode Fiber
Multimode Fiber
Connectors
NICs
Interfaces
Lasers and LEDs
Photoreceptors
Pulses of light
Wavelength multiplexing using
different colors
A pulse equals 1.
No pulse is 0.
Fiber Optic
Cable
Wireless
Media
Access Points
NICs
Radio
Antennae
Radio waves
Copper Cable
www.mgi.tv
Physical
Components
25
Day 1
Networking Fundamentals
OSI Model
IP ARP, MAC Address Flooding & Learning
IP Addressing & Subnetting
TCP & UDP
Introduction to Cisco IOS & Nexus NXOS
ARP
www.mgi.tv
27
ARP
www.mgi.tv
28
ARP
ARP Operation
www.mgi.tv
29
ARP
www.mgi.tv
30
ARP Issues
www.mgi.tv
31
ARP Issues
www.mgi.tv
32
www.mgi.tv
33
Default Gateway
www.mgi.tv
34
www.mgi.tv
35
Frame Forwarding
36
www.mgi.tv
Length/Type Field
Defines the exact
length of the frame's
data field; describes
which protocol is
implemented.
37
www.mgi.tv
38
Ethernet MAC
www.mgi.tv
39
Ethernet MAC
www.mgi.tv
40
Ethernet MAC
www.mgi.tv
41
Ethernet MAC
www.mgi.tv
42
Ethernet MAC
43
MAC and IP
MAC and IP
MAC Address
Both the physical MAC and logical IP addresses are required for a computer
to communicate just like both the name and address of a person are
required to send a letter.
www.mgi.tv
44
Ethernet MAC
www.mgi.tv
45
Switching
46
Switching
5. The switch enters the source MAC address of PC 2 and the port number of
the switch port that received the frame into the address table. The
destination address of the frame and its associated port is found in the
MAC address table.
6. The switch can now forward frames between source and destination
devices without flooding, because it has entries in the address table that
identify the associated ports.
www.mgi.tv
47
Day 1
Networking Fundamentals
OSI Model
IP ARP, MAC Address Flooding & Learning
IP Addressing & Subnetting
TCP & UDP
Introduction to Cisco IOS & Nexus NXOS
Practice
www.mgi.tv
49
Answer = 176
Answer = 255
www.mgi.tv
50
www.mgi.tv
51
168 = ? binary
www.mgi.tv
52
www.mgi.tv
53
The subnet mask does not actually contain the network or host portion
of an IPv4 address, it just says where to look for these portions in a
given IPv4 address
www.mgi.tv
54
www.mgi.tv
55
www.mgi.tv
56
10.1.1.0/24
www.mgi.tv
57
10.1.1.0/24
www.mgi.tv
58
www.mgi.tv
1 AND 0 = 0
0 AND 1 = 0
0 AND 0 = 0
59
www.mgi.tv
60
Verification
61
Unicast Transmission
In an IPv4 network, the hosts can communicate one of three different ways:
Unicast, Broadcast, and Multicast
#1 Unicast the process
of sending a packet from
one host to an individual
host.
www.mgi.tv
62
Broadcast Transmission
In an IPv4 network, the hosts can communicate one of three different ways:
Unicast, Broadcast, and Multicast.
#2 Broadcast the
process of sending a
packet from one host to
all hosts in the network.
NOTE: Routers do
not forward a
limited broadcast!
Directed broadcast
Destination
172.16.4.255
Hosts within the
172.16.4.0/24 network
www.mgi.tv
63
Multicast Transmission
In an IPv4 network, the hosts can communicate one of three different ways:
Unicast, Broadcast, and Multicast.
#3 Multicast The process of sending a packet from one host to a selected
group of hosts, possibly in different networks.
Reduces traffic
Reserved for addressing multicast groups 224.0.0.0 to 239.255.255.255.
Link local 224.0.0.0 to 224.0.0.255 (Example: routing information
exchanged by routing protocols)
Globally scoped addresses 224.0.1.0 to 238.255.255.255 (Example:
224.0.1.1 has been reserved for Network Time Protocol)
www.mgi.tv
64
www.mgi.tv
65
www.mgi.tv
66
www.mgi.tv
67
Network Segmentation
www.mgi.tv
68
Basic Subnetting
Borrowing 1 Bit from the host portion creates 2 subnets with the same subnet mask
www.mgi.tv
Subnet 0
Subnet 1
Network 192.168.1.0-127/25
Network 192.168.1.128-255/25
Mask: 255.255.255.128
Mask: 255.255.255.128
69
Subnets in Use
Subnets in Use
Subnet 0
Network 192.168.1.0-127/25
Subnet 1
Network 192.168.1.128-255/25
www.mgi.tv
70
Subnetting Formulas
Calculate number
of subnets
Calculate number
of hosts
www.mgi.tv
71
Creating 4 Subnets
Creating 4 Subnets
www.mgi.tv
72
www.mgi.tv
73
www.mgi.tv
74
www.mgi.tv
75
Classful Addressing
www.mgi.tv
76
Classful Addressing
Class B
Class C
www.mgi.tv
77
Classful Addressing
www.mgi.tv
78
CIDR
www.mgi.tv
79
CIDR
www.mgi.tv
80
VLSM
www.mgi.tv
81
VLSM
www.mgi.tv
82
Day 1
Networking Fundamentals
OSI Model
IP ARP, MAC Address Flooding & Learning
IP Addressing & Subnetting
TCP & UDP
Introduction to Cisco IOS & Nexus NXOS
www.mgi.tv
84
www.mgi.tv
85
www.mgi.tv
86
www.mgi.tv
87
TCP Communication
www.mgi.tv
88
TCP Communication
www.mgi.tv
89
TCP Communication
Three-Way Handshake
Establishes that the destination device is present on the network
Verifies that the destination device has an active service and is
accepting requests on the destination port number that the initiating
client intends to use for the session
Informs the destination device that the source client intends to
establish a communication session on that port number
www.mgi.tv
90
TCP Communication
www.mgi.tv
91
TCP Communication
www.mgi.tv
92
TCP Communication
www.mgi.tv
93
TCP Communication
www.mgi.tv
94
www.mgi.tv
95
The window size is the amount of data that a source can transmit
before an acknowledgement must be received.
www.mgi.tv
96
www.mgi.tv
97
www.mgi.tv
98
www.mgi.tv
99
UDP Communication
Used by
www.mgi.tv
DNS
Simple Network Management Protocol (SNMP)
Dynamic Host Configuration Protocol (DHCP)
Trivial File Transfer Protocol (TFTP)
IP telephony or VoIP
Online games
100
UDP Communication
Datagram Reassembly
www.mgi.tv
101
UDP Communication
102
TCP or UDP
www.mgi.tv
103
Day 1
Networking Fundamentals
OSI Model
IP ARP, MAC Address Flooding & Learning
IP Addressing & Subnetting
TCP & UDP
Introduction to Cisco IOS & Nexus NXOS
www.mgi.tv
105
Cisco IOS
www.mgi.tv
106
www.mgi.tv
107
www.mgi.tv
108
www.mgi.tv
109
Primary Modes
www.mgi.tv
110
www.mgi.tv
111
www.mgi.tv
112
Context-Sensitive Help
www.mgi.tv
113
www.mgi.tv
114
www.mgi.tv
115
www.mgi.tv
116
www.mgi.tv
117
Class Demo
www.mgi.tv
118
www.mgi.tv
119
What is Nexus?
Nexus
www.mgi.tv
120
Nexus Productline
www.mgi.tv
121
Field upgradeable
Overlay Transport Virtualization (OTV)
Fabricpath / TRILL
Fabric Extender (FEX) Technology is pretty decent
www.mgi.tv
122
No mixing of
F2/M1 line cards
within VDCs? I
dont believe it!
Well you need to purchase this license for that feature $$$
Thats not possibly right now but its on the roadmap alright
You cant mix and match line cards with that technology
You need NXOS version Z for that, and that release only works on
Supervisor 2
but they are great front doors for $1500 in all fairness
Make sure you do your research and know what's possible
www.mgi.tv
123
Are ideal for data center access, aggregation, and core deployments
Provide high 1,10, 40, and 100 GE scalability
First switches were 7010/7018, the 7700 are the latest addition
www.mgi.tv
124
www.mgi.tv
125
Supervisor
slots (1-2)
Optional front
doors
Locking
ejector levers
Summary
LEDs
Side-to-side
airflow
Crossbar
Fabric
Modules
I/O Slots
(3-9)
Integrated Cable
24.5H x 17.3 W x 24D (14RU)
Management
www.mgi.tv
Power Supplies
Fan Tray
126
These guys are a bit bizarre The video is good if you can survive them..
http://www.youtube.com/watch?v=tUObH7r8ppo
www.mgi.tv
127
www.mgi.tv
128
www.mgi.tv
129
M1 Series Modules
32 port 10G (80G/slot)
48 port 1G RJ45 (46G/slot)
48 port 1G (46G/slot)
2009
www.mgi.tv
2010
2011
2012
130
www.mgi.tv
131
www.mgi.tv
132
www.mgi.tv
133
www.mgi.tv
134
www.mgi.tv
135
NXOS Architecture
www.mgi.tv
136
www.mgi.tv
137
www.mgi.tv
138
Exec mode
Read access for show, clear, etc. commands
Configuration mode
i.e. global config
Write access for making configuration changes
Sub-configuration modes
E.g. interface configuration mode
No user mode
No need to enable like in IOS
www.mgi.tv
139
Similar to IOS, NX-OS has both tab command completion context sensitive
help
Tab completion with tab key or Ctrl-i
Non-ambiguous commands are completed
Ambiguous commands list partial matches
Context sensitive help with ?
Like IOS, Ctrl-V to escape ? to use as a literal character
www.mgi.tv
140
www.mgi.tv
141
Present Working Context (PWC) is your current place in the CLI hierarchy.
(e.g. interface e1/12 mode)
PWC can be verified with where & where detail commands
where helps to prevent misconfigurations
e.g. I meant to make a change on E3/2 but I accidentally made it on
E2/3
www.mgi.tv
142
www.mgi.tv
143
Configuration Files
144
www.mgi.tv
145
www.mgi.tv
146
Verifying checkpoints
show checkpoint [summary]
Comparing checkpoints and current running config
show diff rollback-patch running-config checkpoint name
Deleting checkpoints
clear checkpoint database
www.mgi.tv
147
www.mgi.tv
148
www.mgi.tv
149
www.mgi.tv
150
Day 2
Copper Cabling
UTP Cable
www.mgi.tv
152
UTP Cabling
www.mgi.tv
153
http://www.thefoa.org/tech/ref/termination/fusion.html
www.mgi.tv
154
www.mgi.tv
155
www.mgi.tv
156
www.mgi.tv
157
www.mgi.tv
Implementation Issues
Copper Media
Fibre Optic
Bandwidth Supported
10 Mbps 10 Gbps
Distance
Relatively short
(1 100 meters)
Relatively High
(1 100,000 meters)
Low
High
(Completely immune)
Low
High
(Completely immune)
Lowest
Highest
Lowest
Highest
Safety Precautions
Lowest
Highest
158
Layer 2 Address
www.mgi.tv
159
Ethernet Frame
www.mgi.tv
160
Ethernet Operation
www.mgi.tv
161
Ethernet Operation
LLC
Handles communication between upper and lower layers.
Takes the network protocol data and adds control information to help deliver the packet to
the destination.
MAC
Constitutes the lower sublayer of the data link layer.
Implemented by hardware, typically in the computer NIC.
Two primary responsibilities:
Data encapsulation
Media access control
www.mgi.tv
162
Ethernet Operation
MAC Sublayer
www.mgi.tv
163
Ethernet Operation
www.mgi.tv
164
Ethernet Operation
MAC
Responsible for the placement of frames on the media and the removal of
frames from the media
Communicates directly with the physical layer
If multiple devices on a single medium attempt to forward data
simultaneously, the data will collide resulting in corrupted, unusable data
Ethernet provides a method for controlling how the nodes share access
through the use a Carrier Sense Multiple Access (CSMA) technology
www.mgi.tv
165
Ethernet Operation
www.mgi.tv
166
Ethernet Operation
Frame Processing
MAC addresses assigned to workstations, servers, printers, switches, and
routers.
Example MACs:
00-05-9A-3C-78-00
00:05:9A:3C:78:00
0005.9A3C.7800.
167
Ethernet Encapsulation
www.mgi.tv
168
www.mgi.tv
169
The figure displays the fields contained in the 802.1Q VLAN tag
www.mgi.tv
170
Ethernet Encapsulation
www.mgi.tv
171
Ethernet II and IEEE 802.3 standards define the minimum frame size as
64 bytes and the maximum as 1518 bytes
Less than 64 bytes in length is considered a "collision fragment" or "runt
frame
If size of a transmitted frame is less than the minimum or greater than
the maximum, the receiving device drops the frame
At the physical layer, different versions of Ethernet vary in their method
for detecting and placing data on the media
www.mgi.tv
172
Day 2
Switching
2. The switch enters the source MAC address and the switch port that received the frame into the
address table.
3. Because the destination address is a broadcast, the switch floods the frame to all ports, except
the port on which it received the frame.
4. The destination device replies to the broadcast with a unicast frame addressed to PC 1.
www.mgi.tv
174
Switching
5. The switch enters the source MAC address of PC 2 and the port number of the switch port
that received the frame into the address table. The destination address of the frame and its
associated port is found in the MAC address table.
6. The switch can now forward frames between source and destination devices without
flooding, because it has entries in the address table that identify the associated ports.
www.mgi.tv
175
Layer 3 Switching
www.mgi.tv
176
Layer 3 Switching
www.mgi.tv
177
Layer 3 Switching
www.mgi.tv
178
Layer 3 Switching
www.mgi.tv
179
Port Speed - The speed of the network connection is of primary concern to end users.
Frame Buffers - The ability of the switch to store frames is important in a network where
there may be congested ports to servers or other areas of the network.
Scalability - The number of users on a network typically grows over time; therefore, the
switch should provide the opportunity for growth.
www.mgi.tv
180
Layer 3 Switching
www.mgi.tv
181
Day 2
www.mgi.tv
183
CDP Messages
CDP Messages contain:
Device Identifiers - e.g. the
routers configured host
name and domain name (if
any)
Port Identifier - e.g. Ethernet
0, Ethernet 1, and Serial 0
Capabilities List - e.g. if the
device acts as a source route
bridge as well as a router
Version - information such
as that provided by the local
command show version
Platform - the devices
hardware platform, e.g.
Cisco 1700
www.mgi.tv
184
Default values for timers set the frequency for CDP updates and for aging
CDP entries.
185
Disabling CDP
In global configuration mode, use the no cdp run
command to disable CDP.
Router(config)# no cdp run
www.mgi.tv
186
show cdp
www.mgi.tv
187
Day 2
Overview of VLANs
VLAN Definitions
A VLAN is a logical partition of a Layer 2 network.
Multiple partitions can be created, allowing for multiple VLANs to coexist.
Each VLAN is a broadcast domain, usually with its own IP network.
VLANs are mutually isolated and packets can only pass between them
via a router.
The partitioning of the Layer 2 network takes place inside a Layer 2
device, usually via a switch.
The hosts grouped within a VLAN are unaware of the VLANs
existence.
www.mgi.tv
189
Overview of VLANs
www.mgi.tv
190
Overview of VLANs
Benefits of VLANs
www.mgi.tv
Security
Cost reduction
Better performance
Shrink broadcast domains
Improved IT staff efficiency
Simpler project and application management
191
Overview of VLANs
Types of VLANs
www.mgi.tv
Data VLAN
Default VLAN
Native VLAN
Management VLAN
192
Overview of VLANs
www.mgi.tv
193
VLAN Trunks
www.mgi.tv
194
www.mgi.tv
195
www.mgi.tv
196
197
www.mgi.tv
198
www.mgi.tv
199
VLAN Assignment
www.mgi.tv
200
VLAN Assignment
www.mgi.tv
201
VLAN Assignment
Deleting VLANs
www.mgi.tv
202
VLAN Assignment
www.mgi.tv
203
VLAN Assignment
www.mgi.tv
204
VLAN Assignment
www.mgi.tv
205
Day 2
STP Operation
STP ensures that there is only one logical path between all destinations
on the network by intentionally blocking redundant paths that could
cause a loop.
A port is considered blocked when user data is prevented from
entering or leaving that port. This does not include bridge protocol
data unit (BPDU) frames that are used by STP to prevent loops.
The physical paths still exist to provide redundancy, but these paths
are disabled to prevent the loops from occurring.
If the path is ever needed to compensate for a network cable or switch
failure, STP recalculates the paths and unblocks the necessary ports to
allow the redundant path to become active.
www.mgi.tv
207
STP Operation
www.mgi.tv
208
STP Operation
www.mgi.tv
209
STP Operation
www.mgi.tv
210
STP Operation
www.mgi.tv
211
STP Operation
www.mgi.tv
212
STP Operation
www.mgi.tv
213
STP Operation
Extended System ID
STP was enhanced to include support for VLANs, requiring the VLAN
ID to be included in the BPDU frame through the use of the extended
system ID
www.mgi.tv
214
STP Operation
Extended System ID
In the example, the priority of all the switches is 32769. The value is
based on the 32768 default priority and the VLAN 1 assignment
associated with each switch (32768+1).
www.mgi.tv
215
Overview
www.mgi.tv
216
PVST+
Overview of PVST+
www.mgi.tv
217
PVST+
www.mgi.tv
218
PVST+
www.mgi.tv
219
Rapid PVST+
www.mgi.tv
220
Rapid PVST+
www.mgi.tv
221
Rapid PVST+
RSTP BPDU
www.mgi.tv
222
Rapid PVST+
Edge Ports
www.mgi.tv
223
Rapid PVST+
Link Types
The link type can determine whether the port can immediately
transition to forwarding state. Edge port connections and point-topoint connections are candidates for rapid transition to forwarding
state.
www.mgi.tv
224
PVST+ Configuration
www.mgi.tv
225
PVST+ Configuration
www.mgi.tv
226
PVST+ Configuration
www.mgi.tv
227
PVST+ Configuration
www.mgi.tv
228
PVST+ Configuration
www.mgi.tv
229
PVST+ Configuration
www.mgi.tv
230
www.mgi.tv
231
www.mgi.tv
232
Day 2
Spanning-tree operation
www.mgi.tv
234
Etherchannel Operation
www.mgi.tv
235
EtherChannel Technology
236
www.mgi.tv
237
Channeling Protocols
Catalyst switches can leverage a protocol to dynamically
establish and maintain the EtherChannel bundle.
The channel-group mode command allows you to decide if the
EtherChannel group uses Port aggregation Protocol (PAgP),
Link Aggregation Protocol (LACP), or to simply force the
interface to channel without PAgP or LACP.
Forcing interfaces to channel may create problems if any
interfaces have dissimilar configurations.
Other local link protocols such as DTP, VTP, CDP, and STP still
transmit and receive frames over a port-channel.
STP only sends frames out the first interface in the port-channel
and views the port-channel as a single physical port
www.mgi.tv
238
www.mgi.tv
239
Spanning-Tree Costs
Spanning-tree reflects the increased bandwidth provided by
EtherChannel.
The default cost for a 100 Mbps link is 19 and if a port-channel
is created that has only two 100 Mbps links the spanning-tree
cost will be 9.
A port-channel with six or more 100 Mbps physical ports will
have an STP cost of 5.
STP costs for port-channels vary according to how many ports
are assigned to the bundle, not how many are active within the
bundle.
www.mgi.tv
240
EtherChannel Configuration
Switch(config)# interface range fa0/1 4 {we can use the range or single interface}
Switch(config-if)# channel-group [1 6] mode [auto | desirable | on | active | passive]
The number of channel groups is platform dependent.
Auto and desirable modes activate PAgP.
Active and passive activate LACP.
Mode on forces the interface to channel without PAgP or LACP.
www.mgi.tv
241
EtherChannel Verification
www.mgi.tv
242
Day 2
244
Router Redundancy
www.mgi.tv
245
www.mgi.tv
246
www.mgi.tv
247
www.mgi.tv
248
FHRP Verification
HSRP Verification
www.mgi.tv
249
FHRP Verification
GLBP Verification
Gateway Load Balancing Protocol (GLBP) is a Cisco proprietary solution
to allow automatic selection and simultaneous use of multiple available
gateways in addition to automatic failover between those gateways.
www.mgi.tv
250