Ccie Rs Lab Prep
Ccie Rs Lab Prep
Ccie Rs Lab Prep
TECCCIE-3000_c3 © 2009 Cisco Systems, Inc. All rights reserved. Cisco Public 1
Techtorial Session Topics
Session 1 CCIE Program Overview/ Roadmap
Session 5 IP Version 6
2
Program Overview and Roadmap
TECCCIE-3000_c3 © 2009 Cisco Systems, Inc. All rights reserved. Cisco Public 3
Cisco CCIE Certification
CCIE R&S: Configure and troubleshoot complex converged networks
CCIE Security: Configure complex, end-to-end secure networks, troubleshoot
environments, and anticipate and respond to network attacks
CCIE Service Provider: Configure and troubleshoot advanced technologies to support
service provider networks
CCIE Storage: Configure and troubleshoot
storage area networks over a variety of
interfaces
CCIE Voice: Configure complex, end-to-end
telephony, as well as network, troubleshoot, CCIE
and resolve VoIP-related problems
CCIE Wireless: Plan, design, implement, operate,
and troubleshoot wireless network and mobility CCNP
infrastructure
CCNA
CCENT
www.cisco.com/go/learnnetspace
4
Certification Process
5
Process: Step 1 The Written Exam
Available worldwide at Pearson VUE for $350 USD, adjusted
for exchange rate and local taxes where applicable
Two-hour exam uses simulations and multiple-choice
questions
Closed book; no outside reference materials allowed
Pass/fail results available immediately; passing score set by
statistical analysis and subject to periodic change
Waiting period of five calendar days to retake the exam
Candidates must wait minimum of six months before retaking
the same number exam
Must take first lab exam attempt within 18 months of passing
written, or written exam expires
6
Process: Step 2 The Lab Exam
Available in select Cisco locations for $1,400 USD,
adjusted for exchange rates and local taxes where
applicable, not including travel and lodging
Eight-hour exam requires working configurations
and troubleshooting to demonstrate expertise
Cisco documentation available via Cisco Web; no
personal materials of any kind allowed in lab
Minimum score of 80% to pass
Scores generally can be viewed online within
48 hours; failing score reports indicate areas where
additional study may be useful
7
CCIE Routing and Switching
TECCCIE-3000_c3 © 2009 Cisco Systems, Inc. All rights reserved. Cisco Public 8
CCIE Routing and Switching
Most popular track, over 80% of CCIE candidates
attempt R&S first
Expert-level knowledge of LAN and WAN interfaces,
Routing Protocols, and variety of routers and switches
Expert-level in troubleshoot to solve complex
connectivity problems and apply solutions to increase
bandwidth, improve response times, maximize
performance, improve security, and support global
applications
9
Recent Changes to CCIE R&S
10
CCIE R&S v4.0 Certification
11
CCIE Exam Development Process
12
CCIE Routing and Switching
Written Exam
TECCCIE-3000_c3 © 2009 Cisco Systems, Inc. All rights reserved. Cisco Public 13
Red= v4.0 blueprint
CCIE R&S Written Exam
* = removed fromv4.0
TECCCIE-3000_c3 © 2009 Cisco Systems, Inc. All rights reserved. Cisco Public 15
R&S Lab Locations
Beijing Tokyo RTP Brussels
Hong Kong
San Jose
Bangalore
Sydney
Dubai
Sao Paulo
Upcoming Mobile Labs:
Moscow, Russia May 4-8, 2009
Singapore, Singapore June 8-12, 2009
Riyadh, Saudi Arabia June 20-24, 2009
16
Introduction
Candidates build a network to a series of supplied
specifications
The point values for each question are shown
on the exam
Some questions depend upon completion
of previous parts of the network
Report any suspected equipment issues to the proctor
as soon as possible; adjustments cannot be made once
the exam is over
17
Black = v3.0 blueprint
19
Rack Access
Rack Connection Method
Ethernet
Exam
Routers
Candidate PC
Comm Server
20
Passwords
21
Standard Restrictions
Unless Specified within the exam you are NOT
allowed to use
22
R&S Lab Exam: Sample Topology
Network Addressing 125.10.0.0
R6 Lo0-4.4/24
R4
23
R&S Lab Exam: Sample Question
Section: 2.5 RIP
Configure RIPv2 on R1, R2, and R5
Redistribute between RIP and OSPF on R5
All routes should be visible on all routers
Score: 2 Points
24
R&S Lab Exam: Sample Answer
Verification—1
R4 must have all routes on its routing table
R4#show ip route
<->
172.16.0.0/24 is subnetted, 4 subnets
O E2 172.16.4.0 [110/20] via 125.10.50.1, 22:34:38, Ethernet0/0
O E2 172.16.1.0 [110/20] via 125.10.50.1, 22:36:03, Ethernet0/0
O E2 172.16.2.0 [110/20] via 125.10.50.1, 22:36:03, Ethernet0/0
O E2 172.16.3.0 [110/20] via 125.10.50.1, 22:34:58, Ethernet0/0
125.0.0.0/8 is variably subnetted, 8 subnets, 2 masks
C 125.10.50.0/24 is directly connected, Ethernet0/0
O E2 125.10.22.0/24 [110/20] via 125.10.50.1, 22:44:39, Ethernet0/0
C 125.10.4.0/24 is directly connected, Loopback0
O E2 125.10.2.0/24 [110/20] via 125.10.50.1, 22:44:40, Ethernet0/0
O E2 125.10.1.0/24 [110/20] via 125.10.50.1, 22:44:40, Ethernet0/0
O 125.10.5.5/32 [110/11] via 125.10.50.1, 22:44:40, Ethernet0/0
O E2 125.10.11.0/24 [110/20] via 125.10.50.1, 22:44:40, Ethernet0/0
O E2 125.10.10.0/24 [110/20] via 125.10.50.1, 22:44:44, Ethernet0/0
R4#
25
R&S Lab Exam: Grading
Proctors grade all lab exams
Automatic tools aid proctors with simple
grading tasks
Automatic tools are never solely responsible
for lab exam grading
Proctors complete grading of the exam and submit
the final score within 48 hours
Partial credit is not awarded on questions
Points are awarded for working solutions only
Some questions have multiple solutions
26
Q and A
TECCCIE-3000_c3 © 2009 Cisco Systems, Inc. All rights reserved. Cisco Public 27
Session 2:
Core Knowledge
TECCCIE-3000_c3 © 2009 Cisco Systems, Inc. All rights reserved. Cisco Public 28
Agenda
What is the Core Knowledge questions
How many questions?
Structure through the lab exam
Sample questions
29
Core Knowledge
Consists of four and computer-delivered short-answer
questions is being added to the lab exam in all global
lab locations.
Candidates will be required to type out their answers,
which typically require five words or less.
This section covers core concepts from the CCIE R&S
exam objectives.
When candidates complete the Core Knowledge
section, they may move immediately to the lab
configuration portion of the exam.
You must be completed before the candidate moves to
the lab configuration scenarios.
30
Core Knowledge Sample Question - 1
31
Core Knowledge Sample Question - 2
What protocol do the following statements describe?
Integral to IPv6
Every node that implements IPv6 must fully implement this protocol.
Many IPv6 functions utilize this protocol e.g. MTU path discovery,
and neighbor discovery, etc.
(Answer: ICMPv6)
32
Core Knowledge Sample Question - 3
33
Session 3:
TECCCIE-3000_c3 © 2009 Cisco Systems, Inc. All rights reserved. Cisco Public 34
Agenda
LAN Switching
MLS Concepts
Layer 2 Protocols
Layer 2 Features
Layer 3 Features
Troubleshooting Tips
Frame Relay
Concepts
Configuration Options
Troubleshooting Tips
35
MLS Concepts
Layer 1:
Collision domain: Hub
Layer 2:
Broadcast domain: Vlan
VTP domain
STP domain
36
Layer 2 VLAN’s
Broadcast domains spanning multiple switches
Default Vlan 1
Normal-range: 1 to 1005
Extended-range: 1006 to 4094
Deprecated vlan-database > vlan config-mode
Minimal port config once the Vlan is known:
37
Layer 2 Features
Verify VLAN Configuration
switch#sh vlan brief
38
Layer 2 Ethernet Trunk
Most LAN topologies consist
of multiple VLANs
How to carry multiple VLANs
on a single physical link,
while maintaining isolation?
?
Trunking Protocols: X
IEEE 802.1q
4 bytes tag with Vlan ID
Supports Native Vlan 10 VLANS
(not tagged, must match on L2 links)
ISL (Cisco Proprietary)
30 bytes header (26 + 4) true encapsulation
No Native concepts, ALL frames encapsulated
39
Sample Question
Create trunking among the four switches meeting the
following requirements:
Trunking will be formed unconditionally
Use ISL encapsulation
Score: 2 Points
40
Sample Questions
Diagrams
You have multiple diagrams and have to figure out
which ports to configure
Sw1 Sw2
Fa0/19 Fa0/19
Fa0/20 Fa0/20
Fa0/21 Fa0/21
Fa0/22 Fa0/22
g0/0 g0/1
sw1 Fa0/1 Fa0/1 sw2
R1
FR FR
g0/0 g0/2
sw1 Fa0/2 Fa0/2 sw2
R2
g0/0 g0/3
sw1 Fa0/3 Fa0/3 sw2
R3
g0/0 g0/4
sw1 Fa0/4 Fa0/4 sw2
R4
41
Sample Question—Solution
On switch-switch links, use ‘interface-range’ to speed up
and minimize missed/wrong config
Config)#interface range fa0/19-20
switchport trunk encapsulation isl
switchport mode trunk
On switch-router, with the IOS running, only dot1Q
is supported!
Router’ subinterface:
-if)#encapsulation dot1q [vlanID]
-if)#ip address [asPerDiagram…]
Switch port:
-if)#switchport encapsulation dot1q
-if)#switchport trunk allowed vlan 13,22
-if)#switchport mode trunk
42
Sample Question—Verification
43
Layer 2 Protocols
CDP
Useful to discover L2 topology and detect weird forwarding
issues (cdp neighbors appear where they shouldn’t)
44
Sample Question
Score: 2 Points
45
Sample Question—Solution
Sw2
Config)#cdp holdtime 120
Verification:
switch2#sh cdp
Global CDP information:
Sending CDP packets every 60 seconds
Sending a holdtime value of 120 seconds
46
Layer 2 Protocols
DTP (Dynamic Trunking Protocol)
47
Sample Written Question
What trunk mode combination would not produce
an operational ISL trunk?
Local: auto Remote: auto
Local: on Remote: auto
Local: nonegociate Remote: on
Local: nonegociate Remote: nonegociate
Local: auto Remote: desirable
Solution: A
If both sides are set to Auto, trunk will never come up
48
Sample Lab Question
Score: 2 Points
49
Sample Lab Question—Solution
Verification :
show interfaces switchport
Name: FaX/Y
Negotiation of Trunking: Off
50
VLAN Trunk Protocol (VTP)
Switch-1(config-if)#vlan 10
VTP Domain is CCIE
VLAN 10
Switch-1 Switch-2
51
VTP CLI
sh vtp status
most info comes out of this
sh vtp counters
to see, whether pruning joins are received/transmitted
sh int pruning
to see, which vlans are pruned and which vlans we
request from upstream
sh int trunk
to see, which vlans are (not) pruned and are forwarding
debug sw-vlan vtp <events|packets|xmit|pruning>
52
Layer 2 Features
VTP Verification
3550# show vtp status
VTP Version : 2
Configuration Revision : 16
Maximum VLANs supported locally : 1005
Number of existing VLANs : 9
VTP Operating Mode : Server
VTP Domain Name : cisco
VTP Pruning Mode : Enabled
VTP V2 Mode : Disabled
…
53
Layer 2 Features
EtherChannels
54
EtherChannels
55
Sample Question
Score: 2 Points
56
Sample Question—Solution
57
Layer 2 Features
EtherChannel Verification
Rack08Sw2#sh etherchannel sum
...
Number of channel-groups in use: 1
Number of aggregators: 1
58
Layer 2 Features
EtherChannel Verification [2]
switch#sh pagp ?
<1-64> Channel group number
counters Traffic information switch#sh lacp ?
internal Internal information <1-64> Channel group number
neighbor Neighbor information counters Traffic information
internal Internal information
neighbor Neighbor information
sys-id LACP System ID
59
Spanning Tree
60
Spanning Tree
Port States
Blocking: No user traffic allowed, only BPDUs
Listening: Receives BPDUs and wait for convergence of
BPDUs
Learning: Learn source MAC from user traffic
to build CAM
Forwarding: Normal mode, forward user traffic
AND BPDUs
Disabled: Port is shut (/admin or not)...
61
Spanning-Tree Algorithm
62
Spanning Tree
Root Ports: Port with Least Nondesignated Ports:
Cost Path to the Root Bridge 8192:000000000001 Ports in Blocking
DP
A Root
Core DP 1 2
32768:000000000002 RP 1 1 RP 32768:000000000003
B Peer C Peer
Distribution 2 DP 2 DP
RP NDP
1 2
D Peer
Designated Ports: Ports 32768:000000000004 Direction of
Selected for Forwarding BPDU Flow
63
Spanning Tree—RSTP—802.1w
switch(config)#spanning-tree mode ?
mst Multiple spanning tree mode
pvst Per-Vlan spanning tree mode
rapid-pvst Per-Vlan rapid spanning tree mode
64
Spanning Tree—MST—802.1s
65
Spanning Tree—MST—802.1s
MST Configuration: Identical for all switches in the same
region
Digest of the config is sent in the MST BPDU
66
Spanning Tree Features
Portfast
Bpduguard
Bpdufilter
Uplinkfast
Backbonefast
Rootguard
67
Sample Lab Question
Fa0/23 Fa0/23
Fa0/24 Fa0/24
Sw1 Sw2
Sw#sh span vl [1 | 2]
Sw1 is the root for both Vlans, as per lower sys MAC
Sw2 is Forwarding both Vlans out of Fa0/23 as per
lower port ID Sw1 Sw2
69
Desg FWD
Root FWD
Sample Lab Question: Design Altn BLK
Sw1 Sw2
Possible Solution?
No, Because This Doesn’t Answer the “Exactly 2 Commands Per Switch” !
70
Desg FWD
Root FWD
Sample Lab Question: Solution Altn BLK
71
Sample Lab Question: Verification
Sw1#s span vlan 1
VLAN001
Spanning tree enabled protocol ieee
Root ID Priority 32779
Address 0009.e8e2.6200
This bridge is the root
Hello Time 2 sec Max Age 20 sec Forward Delay 4 sec
...
72
Layer 3 Features
Switched Virtual Interface (SVI)
VLAN10
Fa0/1
5.0.0.1
Fa0/2
3.0.0.6 Fa0/3 Fa0/5
3.0.0.8
vlan10 5.0.0.4
3.0.0.1
SVI
73
Layer 3 Features
Routed Ports
VLAN10
Fa0/1
5.0.0.1
Fa0/2
Routed Port
Fa0/3 Fa0/5
3.0.0.6
3.0.0.8
SVI 10 5.0.0.4
3.0.0.1
74
Layer 3 Features
SVI/Routed Port Configuration
VLAN10
Fa0/1
5.0.0.1
Fa0/2
Fa0/3 Fa0/5
3.0.0.6
3.0.0.8
SVI 10 5.0.0.4
3.0.0.1
75
Layer 2/Layer 3
Troubleshooting Discussion
R1 R2
E0/0 Fa0/0
Fa0/1 Fa0/2
76
References
Cisco LAN Switching, Kennedy Clark, Cisco Press®
Interconnections, 2nd edition, Radia Perlman
Cisco Catalyst 3550 configuration guide CCO
http://www.cisco.com/univercd/cc/td/doc/product/lan/c3550
77
Q and A
TECCCIE-3000_c3 © 2009 Cisco Systems, Inc. All rights reserved. Cisco Public 78
Frame Relay
Concepts
Implementation Options
Troubleshooting Tips
79
Frame Relay Concepts
Frame Relay
LMI
Switch LMI
PVC
DLCI DLCI
80
Frame Relay: CCIE Lab FR Switch
The Frame Relay Switch Is Pre-Configured
R1 FR-SW R2
Sample Configuration
!
frame-relay switching
!
interface Serial1/0
no ip address
encapsulation frame-relay
clockrate 1007616
frame-relay lmi-type ansi
frame-relay intf-type dce
frame-relay route 102 interface Serial1/2 201
frame-relay route 103 interface Serial2/0 301
frame-relay route 104 interface Serial2/2 401
81
NBMA—Hub and Spoke
Typical Exam Scenario
172.16.1.2/24
R2
201
102
Frame Relay R1
301 103 172.16.1.1/24
R3
172.16.1.3/24
82
Frame-Relay Inverse ARP
Rtr A Rtr B
S0 S1
140 401
DLCI = 140, DLCI USAGE = LOCAL, PVC STATUS = ACTIVE, INTERFACE = Serial0
input pkts 83 output pkts 87 in bytes 8144
out bytes 8408 dropped pkts 0 in FECN pkts0
in BECN pkts 0 out FECN pkts 0 out BECN pkts0
84
Frame-Relay Static Mapping
Rtr A Rtr B
S0 S1
140 401
interface Serial0
ip address 172.16.1.1 255.255.255.0
encapsulation frame-relay Manually Disable Inverse ARP!
no frame-relay inverse-arp
frame-relay map ip 172.16.1.2 140 broadcast
interface Serial1
ip address 172.16.1.2 255.255.255.0
encapsulation frame-relay
No frame-relay inverse-arp
Frame-relay map ip 172.16.1.1 401 broadcast
85
Hub and Spoke—Multipoint
R1
interface Serial1
ip address 172.16.1.1 255.255.255.0
frame-relay map ip 172.16.1.2 102 broadcast
172.16.1.2/24 frame-relay map ip 172.16.1.3 103 broadcast
no frame-relay inverse-arp
R2
201
102
Frame Relay R1
301 103 172.16.1.1/24
R3
172.16.1.3/24
R3
interface Serial1
ip address 172.16.1.3 255.255.255.0
frame-relay map ip 172.16.1.1 301 broadcast
frame-relay map ip 172.16.1.2 301
no frame-relay inverse-arp
86
Hub and Spoke—Point-to-Point
172.16.1.2/24
R2
201 102
Frame Relay R1
103
172.16.1.1/24
301
R3
172.16.1.3/24
R2 R1
interface Serial1.201 point-to-point interface Serial1
ip address 172.16.1.2 255.255.255.0 ip address 172.16.1.1 255.255.255.0
frame-relay interface dlci 201 frame-relay map ip 172.16.1.2 102 broadcast
frame-relay map ip 172.16.1.3 103 broadcast
no frame-relay inverse-arp
87
Frame Relay Troubleshooting
Rtr A Rtr B
S0 S1
114 411
show interface
show frame-relay map
show frame-relay lmi
show frame-relay pvc
88
Frame Relay Troubleshooting
show interface
LMI Statistics for interface Serial0/0/1 (Frame Relay DTE) LMI TYPE = ANSI
Invalid Unnumbered info 0 Invalid Prot Disc 0
Invalid dummy Call Ref 0 Invalid Msg Type 0
Invalid Status Message 0 Invalid Lock Shift 0
Invalid Information ID 0 Invalid Report IE Len 0
Invalid Report Request 0 Invalid Keep IE Len 0
Num Status Enq. Sent 183 Num Status msgs Rcvd 183
Num Update Status Rcvd 0 Num Status Timeouts 0
Last Full Status Req 00:00:24 Last Full Status Rcvd 00:00:24
90
Frame Relay Troubleshooting
show frame-relay pvc
91
Frame Relay Default Behavior
Multipoint
LMI type is “cisco”
Inverse ARP is enabled
Split Horizon is disabled
92
References
93
Q and A
TECCCIE-3000_c3 © 2009 Cisco Systems, Inc. All rights reserved. Cisco Public 94
Session 4:
IP Routing Concepts
TECCCIE-3000_c3 © 2009 Cisco Systems, Inc. All rights reserved. Cisco Public 95
IP Routing Concepts
Policy-based Routing
Administrative Distance
Passive Interfaces
96
Policy-Based Routing
Configured on the receiving (ingress) interface
Packets are routed based on a configured policy
specified in a route map
The route map statements can be marked as permit
or deny
If a matching statement is marked as a deny, packets are
sent back through the normal forwarding channels
97
Policy-Based Routing—Configuration
Configuration Steps
Define a sequenced Policy (route-map)
route-map policyName [permit|deny] [seq#]
98
PBR Sample Lab Question
150.2.2.0/24
Configure only R5 so that any
received IP traffic that is sourced
from 135.12.1.0 is forwarded to R2.
135.12.1.0/24
140.10.1.1/24
R3
R1
136.15.1.5/24
R4
Verification
R5
R3#trace ip 140.10.1.1 R2
99
Administrative Distance
Connected 0
Static 1
eBGP 20
EIGRP 90
IGRP 100
OSPF 110
IS-IS 115
RIP 120
Ext EIGRP 175
iBGP 200
Unknown 255 Not Believed
A router with more than one IP routing protocol enabled will use
the administrative distance to select a route if the route is learned
from more than one protocol; a lower admin distance is preferred
100
Passive Interfaces
To disable sending routing updates out an interface, use
the passive-interface command
Used in router configuration mode
Configuration Examples:
passive-interface gi0/0/0 no updates sent out
interface gi0/0/0
passive-interface default no updates sent out any
interfaces use no passive- interface on specified
interfaces to send updates
TECCCIE-3000_c3 © 2009 Cisco Systems, Inc. All rights reserved. Cisco Public 102
Disclaimer—Reminder
103
EIGRP
104
Advantages of EIGRP
Uses multicast instead of broadcast
Utilize composite metric
(bandwidth, delay, load, reliability)
Unequal cost paths load balancing
More flexible than OSPF
Full support of distribute list
Manual summarization can be done in any interface
at any router within network
105
EIGRP
106
EIGRP Packets
Hello: Establish neighbor relationships
107
EIGRP Neighbor Relationship
Two routers become neighbors when they see each
other’s hello packet (see later for details)
Hello address = 224.0.0.10
108
EIGRP Neighbor Relationship
Hellos sent once every 60 seconds on the
following links:
Multi-point circuits with bandwidth less than T1: ISDN BRI, Frame
Relay, SMDS, etc.
109
EIGRP Neighbor Relationship
EIGRP will form neighbors even though hello time
and hold time don’t match
EIGRP sources hello packets from primary address
of the interface
EIGRP will not form neighbor if K-values
are mismatched
EIGRP will not form neighbor if AS numbers
are mismatched
110
Neighbor Process—Review
Used for establishing and maintaining neighbors
Multicast hellos (by default)
224.0.0.10 (0100.5e00.000a) A
Neighbor timers
Default Hello Interval—5 or 60 sec.
Default Hold time—15 or 180 sec. Hello
111
Checking Neighbor Status
112
Checking Neighbor Status
113
Log-Neighbor-Changes Messages
114
What Causes Neighbor Instability?
Holding time expired
Retry limit exceeded
Manual changes
Physical link instability
Stuck-in-active routes
115
Holding Time Expired
Holding time expires when an
EIGRP packet is not seen for the
duration of the hold time A
Usually caused by missing multicast
hello packets
Typically caused by congestion,
physical errors Hello
or even routing issue
116
Troubleshooting Holding Time
Expiration
Ping 224.0.0.10
Ping the multicast
A
Address (224.0.0.10)
from the Other Router
Note: If There Are Many
Interfaces/Neighbors on Router B,
You Should Use Extended Ping and
Specify the Source Address/Interface
of the Multicast Ping
B
117
Troubleshooting Holding Time
Expiration
118
Retry Limit Exceeded
EIGRP sends unreliable and reliable packets
Hellos and Acks are unreliable
Updates, Queries, and Replies are reliable
119
Retry Limit Exceeded (Cont.)
120
Retry Limit Exceeded (Cont.)
Ack Update
X
B
121
Manual Changes
Some manual configuration changes also reset
EIGRP neighbors:
Summary changes (manual and auto)
Route filter changes
122
Physical Link State Changes
Interface drivers tell EIGRP when a link goes down
or comes up
EIGRP removes neighbors from the neighbor table when the
interface used to reach them goes down
EIGRP (re)-initializes neighbors when a link comes up
(and Hellos received)
123
EIGRP
124
EIGRP Summarization
150.150.X.X 151.151.X.X
150.150.X.X
125
Manual Summarization
Configurable on per interface basis in any router
within the network
When summarization is configured on an interface,
the router immediate creates a route pointing to null
zero with administrative distance of five
Loop prevention mechanism
When the last specific route of the summary goes
away, the summary is deleted
The minimum metric of the specific routes is used
as the metric of the summary route
126
EIGRP Summarization
AS 100
150.2.0.0/16
150.2.0.0/15
S0
150.3.0.0/16
interface s0
ip address 150.1.1.1 255.255.0.0
ip summary-address eigrp 100 150.2.0.0 255.254.0.0
127
Deploying Summarization
Summarization is simply
a way to hide topological A
detail while maintaining
reachability
But sometimes you have B
to be creative to summarize
C 10.1.0.0/22
10.1.1.0/24 10.1.3.0/24
128
Deploying Summarization
C 10.1.0.0/22
10.1.1.0/24 10.1.3.0/24
129
Deploying Summarization
Sure 10.1.2.0/24
10.1.1.0/24 10.1.3.0/24
130
EIGRP
131
EIGRP Load Balancing
Routes with equal metric to the minimum metric,
will be installed in the routing table
(equal cost load balancing)
There can be up to six entries in the routing table
for the same destination (default = 4)
ip maximum-paths <1-6>
132
EIGRP Unequal
Cost Load Balancing
133
Variance Example
B
20 10 Net 172.16.10.0.24
E C A
10 10
20 25
Variance 2 D
134
EIGRP Sample Lab Question
Backbone 3
Configure EIGRP 100 on VLAN_30.
Make mutual redistribution between EIGRP 100
Verification OSPF
Area 0
R5#sh ip route
Frame
R5#ping 100.3.1.254 Relay
D EX YY.YY.12.0/30
<..>
D EX YY.YY.14.0/24
!!!!! R1
D EX YY.YY.20.0/24
R5#ping YY.YY.14.4
D EX YY.YY.40.0/24
<…>
D EX YY.YY.50.0/24
!!!!!
135
Q and A
TECCCIE-3000_c3 © 2009 Cisco Systems, Inc. All rights reserved. Cisco Public 136
OSPF
TECCCIE-3000_c3 © 2009 Cisco Systems, Inc. All rights reserved. Cisco Public 137
OSPF
Review
Dealing with NBMA
Commands
Preparing for OSPF
138
OSPF
Review
Dealing with NBMA
Commands
Preparing for OSPF
139
OSPF Areas
OSPF uses a two-level
Area 3
hierarchical model
Backbone area
All other areas
Area 0
Areas defined
with 32 bit number Area 2
Defined in IP address format
Area 1
Can also be defined using single
decimal value (i.e., Area 0.0.0.0, or Area 0)
0.0.0.0 reserved for the backbone area
Area boundaries are at the routers
Each link is in one and only one area
140
OSPF LSAs
141
OSPF LSAs
142
OSPF Virtual Links
Can Be Useful for Several Purposes
Allow areas to connect
Area 3
to areas other than 0
X
Repair a discontinuous
X
area 0
Area 0
Backup purpose
Area 2
Area 1
143
OSPF Router Types
Area Border Router—ABR
A router with at least one interface in area
0 and 1 or more interfaces in one or more
non-backbone areas
OSPF routes can only be summarized on an ABR
Area 51
Area 0
ABR
144
OSPF Router Types
Autonomous System Boundry Router—ASBR
A router with at least one interface in an OSPF
area that is redistributing routes from another
protocol into OSPF; external routes can be
summarized on an ASBR
Area 51 ASBR
Area 0
BGP
RIP
ABR IGRP
EIGRP
Static
Connected
145
OSPF Area Types
Stub Area
Redistributed Routes (OSPF External Routes or Type 5) are not
advertised into a Stub Area; OSPF Inter-Area Routes are advertised
into a Stub Area; the ABR will advertise a default into the Stub Area
RTR-A(config-router)# area 1 stub
RTR-B(config-router)# area 1 stub
configure on all routers in the area
Default Route
OSPF Inter-Area Routes (10.1.1.4)
X OSPF External Routes (192.168.3.3)
Area 1 Area 0
Stub Redistribute
10.1.1.5/30 Connected
S0/1 10.1.1.6/30 192.168.3.3/32
S0
A B S1 S0 C
10.1.1.1/30 10.1.1.2/30
ABR ASBR
146
OSPF Area Types
Totally Stubby Area
Redistributed Routes (OSPF External Routes or Type 5) and
OSPF Inter-Area Routes are Not Advertised Into a Totally
Stubby Area; the ABR will Advertise a Default into the Stub Area
RTR-A(config-router)# area 1 stub
RTR-B(config-router)# area 1 no-summary
configure no-summary on the ABR
Default Route
X OSPF Inter-Area Routes (10.1.1.4)
X OSPF External Routes (192.168.3.3)
Area 1 Area 0
Totally Stubby Redistribute
10.1.1.5/30 Connected
S0/1 10.1.1.6/30 192.168.3.3/32
S0
A B S1 S0 C
10.1.1.1/30 10.1.1.2/30
ABR ASBR
147
OSPF Area Types
Not So Stubby Area—NSSA
Redistributed Routes (OSPF External Routes) are advertised
as Type 7 at the ASBR; the ABR converts them to
Type 5; the ABR will not advertise a default into the NSSA Area
RTR-B(config-router)# area 1 nssa
RTR-C(config-router)# area 1 nssa
configure on all routers in the area
DR
DR BDR
151
Designated Routers
DROTHER—Not the DR or BDR
All other routers on the multi-access network segment
152
Designated Routers
Adjacency
On a multi-access network, all OSPF routers will
become adjacent with the DR and BDR
Full
2-Way
153
Broadcast and Non-Broadcast
Multi-Access
Adjacency
Full—Router and network LSAs exchanged, databases
are fully synchronized; normal state
2-Way—Bi-directional communications have been
established; normal state between DROTHER routers
Full
2-Way
154
Designated Routers
Adjacency
A router stuck in any other state has a problem
router# show ip ospf neighbor
Neighbor ID Pri State Dead Time Address Interface
172.16.5.1 1 INIT/- 00:00:34 172.16.1.1 Serial0
router#
DR BDR DROTHER
Full
2-Way
155
External Costs
External Routes
156
OSPF
Review
Dealing with NBMA
Commands
Preparing for OSPF
158
Point-to-Point Media
Serial links
Multicast used
No DR or BDR
159
Non-Broadcast
Multi-Access Media (NBMA)
Frame Relay (Multipoint), X.25
Several possibilities: Point-to-point, broadcast,
point-to-multipoint, or nonbroadcast
Frame Relay
160
Dealing with NBMA
Point-to-Point Model
Benefits: Individual costs can be configured;
can be simple, treated like standard point-to-point links
Drawbacks: Complex to configure if the NBMA network
is big or redundant; wastes address space
161
Dealing with NBMA
Broadcast Model
Benefits: Simple to configure; treated like
a multi-access network
Drawbacks: Must maintain an L2 full-mesh
at all times; one metric for all VCs
162
Dealing with NBMA
Non-Broadcast (NBMA) Model
Benefits: Only one IP subnet used
Drawbacks: Complex to configure and scale;
need to manually configure each neighbor
163
Dealing with NBMA
Point-to-multipoint model:
Benefits: Simple to configure; no neighbor configuration
(unless you want individual costs); no requirement
for a full mesh at L2
Drawbacks: Compared to other choices—none
164
OSPF
Review
Dealing with NBMA
Commands
Preparing for OSPF
165
OSPF Commands—Router
router-id
The router-id command is used to explicitly specify the
router ID OSPF will use
If the OSPF process already has neighbors,
this command will not take effect until the next reload
or manual restart of the OSPF process
clear ip ospf
Order of determining the RID
Manually configured RID
Highest loopback interface IP address (if available)
Highest active interface IP address
166
OSPF Commands—Router
network
The network command is used to determine
which interfaces will be enabled for OSPF
network 10.2.1.1 0.0.0.0 area 0
network 10.2.2.1 0.0.0.0 area 1
network 10.2.3.1 0.0.0.0 area 2
10.2.1.1/24 10.2.3.1/24
10.2.2.1/24
167
OSPF Commands—Router
network
10.2.1.1/24 10.2.3.1/24
10.2.2.1/24
168
OSPF Commands—Router
network
10.2.1.1/24 10.2.3.1/24
10.2.2.1/24
169
OSPF Commands—Router
redistribute metric-type
By default, redistributed routes have external metric
type 2; Type 2 routes have a cost which consists of the
external cost only;
Type 1 routes include the cost of traversing the
OSPF domain
170
OSPF Commands—Router
summary-address
Addresses can be summarized into OSPF
on an ASBR
RIP Domain
10.1.0.0/24
OSPF Domain 10.1.1.0/24
10.1.0.0/22 10.1.2.0/24
ASBR 10.1.3.0/24
171
OSPF Commands—Router
area range
Addresses can be summarized on an ABR into
area 0 or from area 0
Area 1 Area 0
10.2.0.0/24 ABR 10.1.0.0/24
10.2.1.0/24 10.1.1.0/24
10.2.2.0/24 10.1.2.0/24
10.2.3.0/24 10.1.3.0/24
10.1.0.0/22 10.2.0.0/22
OSPF Does Not Allow Summarizing Anywhere Else (Only ASBR and ABR)
172
OSPF Commands—Router
area stub
All routers in the area must be configured as stub
Add no-summary at the ABR and the area becomes
totally stubby
RTR(config-router)# area 1 stub
ABR(config-router)# area 1 stub [no summary]
ABR
Area 1 Area 0
173
OSPF Commands—Router
area nssa
All routers in the area must be configured as NSSA
Add no-summary at the ABR and the area becomes
totally stubby NSSA
RTR(config-router)# area 1 nssa
ABR(config-router)# area 1 nssa [no summary]
ABR ASBR
174
OSPF Commands—Router
area virtual-link
Virtual Link
Area 1
Area 0 Transit Area 51
Area
Rtr A Rtr B
RID=10.10.254.254 RID = 10.11.254.254
Rtr A Rtr B
175
OSPF Commands—Router
neighbor
Designate neighbors on non-broadcast networks
Must be the primary address of the neighbor’s interface
Frame Relay
or
X.25
176
Commands—Interface
Non-Broadcast Multi-Access (NBMA) Network
Frame Relay
or
X.25
177
OSPF Commands—Interface
auto-cost
OSPF interfaces have a cost equal to
ref-bw / bandwidth (defined by the bandwidth statement)
ref-bw = 100,000,000 by default
FastEthernet = 100,000,000 / 100,000,000 = 1
Ethernet = 100,000,000 / 10,000,000 = 10
T1 = 100,000,000 / 1,544,000 = 64
The auto-cost command is used to change the
reference value, which changes the cost of every OSPF
interface on the router
Rtr(config-router)#auto-cost reference-bandwidth ref-bw
ref-bw <1-4294967> in Mbits per second
178
OSPF Commands—Interface
ip ospf keyword(s)
ip ospf cost interface-cost
Specify the cost of sending a packet on the interface
ip ospf priority
Set the router priority for DR / BDR selection (highest wins)
179
OSPF Commands—Security
Authentication—Clear Text
Authentication requires router and/or interface
commands; the router command is used to enable
authentication for an area and the interface command
is used to enable authentication on an interface and set
the authentication password
Area 0
S0 S0
Rtr A Rtr B
Rtr A Rtr B
interface serial 0 interface serial 0
ip ospf authentication ip ospf authentication
ip ospf authentication-key cisco ip ospf authentication-key cisco
! !
router ospf 1 router ospf 1
area 0 authentication area 0 authentication
180
OSPF Commands—Security
Authentication—Message Digest
Area 0
S0 S0
Rtr A Rtr B
Rtr A Rtr B
interface serial 0 interface serial 0
ip ospf authentication message-digest ip ospf authentication message-digest
ip ospf message-digest-key 1 md5 cisco ip ospf message-digest-key 1 md5 cisco
! !
router ospf 1 router ospf 1
area 0 authentication message-digest area 0 authentication message-digest
181
OSPF Commands—Security
Authentication—Clear Text—Virtual Link
Virtual Link
Area 1
Area 0 Transit Area 51
Area
Rtr A Rtr B
RID=130.10.254.254 RID = 130.11.254.254
Rtr A
router ospf 1
area 1 virtual-link 130.11.254.254 authentication-key cisco
area 0 authentication
Rtr B
router ospf 1
area 1 virtual-link 130.10.254.254 authentication-key cisco
area 0 authentication
182
OSPF Commands—Security
Authentication—Can Be Applied per Interface or Virtual Link
Interface
ip ospf authentication
ip ospf authentication-key password
Virtual Link
183
OSPF Commands—Monitoring
Show IP OSPF Neighbor
DR BDR DROTHER DROTHER
184
OSPF Commands—Monitoring
show ip ospf interface
DR BDR DROTHER DROTHER
Review
Dealing with NBMA
Commands
Preparing for OSPF
186
Preparation Suggestions
Practice every OSPF command
Both Rtr(config-router)# & Rtr(config-if)# commands
Area 2
Verification covers VLAN_C. Frame
Area 1
Relay
R1#show ip ospf virtual-link OSPF Backbone
Frame
Virtual Link OSPF_VL0 to router 2.2.2.2 is up Relay
R4
R1
<…>
188
References
189
Q and A
TECCCIE-3000_c3 © 2009 Cisco Systems, Inc. All rights reserved. Cisco Public 190
Route Distribution
TECCCIE-3000_c3 © 2009 Cisco Systems, Inc. All rights reserved. Cisco Public 191
Metrics
Be aware of metric requirements going from one
protocol to another
RIP metric is a value from 1–16
OSPF metric is from 1–65535
EIGRP uses a composite metric based on
bandwidth, delay, reliability, load, & MTU
Two ways to specify a metric
In the redistribution statement
config-router)# redistribute rip subnets metric 10
or specify a default metric
config-router)# redistribute rip subnets
config-router)# default-metric 10
192
Assigning Metrics
You can include a default metric command as a precaution unless
specifically told not to
router ospf 1
network 10.1.0.0 0.0.255.255 area 0.0.0.0
redistribute rip subnets
redistribute eigrp 100 metric 10
Default-metric 120
router eigrp 100
network 172.16.0.0 0.0.255.255
redistribute ospf 1
Default-metric 10000 100 255 1 1500
router rip
network 192.168.1.0
redistribute eigrp 100
Default-metric 1
Note: when routes are redistributed into OSPF, only routes
that are not subnetted are redistributed if the subnets keyword
is not specified
193
Assigning Metrics
195
Route Maps
Route Redistribution
196
R&S Lab Exam: Sample Topology
Network Addressing 125.10.0.0
R6 Lo0-4.4/24
R4
197
R&S Lab Exam: Sample Question
Section: 2.5 RIP
Configure RIPv2 on R1, R2, and R5
Redistribute between RIP and OSPF on R5
All routes should be visible on all routers
Score: 2 Points
198
R&S Lab Exam: Sample Answer
Verification—1
R4 must have all routes on its routing table
R4#show ip route
<->
172.16.0.0/24 is subnetted, 4 subnets
O E2 172.16.4.0 [110/20] via 125.10.50.1, 22:34:38, Ethernet0/0
O E2 172.16.1.0 [110/20] via 125.10.50.1, 22:36:03, Ethernet0/0
O E2 172.16.2.0 [110/20] via 125.10.50.1, 22:36:03, Ethernet0/0
O E2 172.16.3.0 [110/20] via 125.10.50.1, 22:34:58, Ethernet0/0
125.0.0.0/8 is variably subnetted, 8 subnets, 2 masks
C 125.10.50.0/24 is directly connected, Ethernet0/0
O E2 125.10.22.0/24 [110/20] via 125.10.50.1, 22:44:39, Ethernet0/0
C 125.10.4.0/24 is directly connected, Loopback0
O E2 125.10.2.0/24 [110/20] via 125.10.50.1, 22:44:40, Ethernet0/0
O E2 125.10.1.0/24 [110/20] via 125.10.50.1, 22:44:40, Ethernet0/0
O 125.10.5.5/32 [110/11] via 125.10.50.1, 22:44:40, Ethernet0/0
O E2 125.10.11.0/24 [110/20] via 125.10.50.1, 22:44:40, Ethernet0/0
O E2 125.10.10.0/24 [110/20] via 125.10.50.1, 22:44:44, Ethernet0/0
R4#
199
Session 5:
IP Version 6
TECCCIE-3000_c3 © 2009 Cisco Systems, Inc. All rights reserved. Cisco Public 200
IPv6 Addressing, Header and Basic
TECCCIE-3000_c3 © 2009 Cisco Systems, Inc. All rights reserved. Cisco Public 201
IPv6 Addressing
IPv4 32-bits
IPv6 128-bits
232 = 4,294,967,296
2128 =
340,282,366,920,938,463,463,374,607,431,768,211,456
2128 = 332 * 296
202
IPv6 Addressing
Representation
16-bit hexadecimal numbers
Numbers are separated by (:)
Hex numbers are not case-sensitive
Example:
2003:0000:130F:0000:0000:087C:876B:140B
203
IPv6 Address Representation
16-bit fields in case-insensitive colon hexadecimal
representation
2031:0000:130F:0000:0000:09C0:876A:130B
204
IPv6 Addressing
Prefix Representation
Representation of prefix is just like CIDR
In this representation you attach the prefix length
IPv4 address: 198.10.0.0/16
IPv6 address: 3ef8:ca62:12FE::/48
205
IPv6 Address Range Reserved
or Assigned
Of the Full Address Space
2000::/3 (001) is for aggregatable global
unicast addresses
FE80::/10 (1111 1110 10) for link-local
FEC0::/10 (1111 1110 11 ) for site-local
FF00::/8 (1111 1111) is for multicast
::/8 is reserved for the “unspecified address”
Other values are currently unassigned
(approx. 7/8 of total)
206
Unicast
Unicast addresses are used in a one-to-one context
IPv6 unicast addresses are
Unspecified, loopback, IPv4 mapped, and IPv4 compatible
Link-local
Site-local (deprecated)
Unique-local (IETF draft)
Aggregatable global unicast
207
IPv6 Address Representation
IPv4 mapped
0:0:0:0:0::FFFF:IPv4 = ::FFFF:IPv4
0:0:0:0:0:FFFF:192.168.30.1 = ::FFFF:C0A8:1E01
IPv4 compatible
0:0:0:0:0:0:IPv4 = ::IPv4
0:0:0:0:0:0:192.168.30.1 = ::192.168.30.1 = ::C0A8:1E01
208
IPv4 Mapped Addresses
80 bits 32 bits
209
IPv4-Compatible Addresses
96 bits 32 bits
0 IPv4 Address
0:0:0:0:0:0:192.168.30.1
= ::192.168.30.1
= ::C0A8:1E01
210
IPv6 Address Representation
Loopback address representation
0:0:0:0:0:0:0:1=> ::1
Same as 127.0.0.1 in IPv4
Identifies self
211
IPv6 Addressing
IPv6 addressing rules are covered by multiple RFCs
Architecture defined by RFC 3513
212
Aggregatable Global Unicast Addresses
LAN
Provider Prefix Host
001
213
Link-Local
128 bits
0 Interface ID
10 bits
Link-local addresses
Have a limited scope of the link
Are automatically configured with the interface ID
214
Link-Local
Aggregatable Address
2001::4: 204:9AFF:FEAC:7D80
Link-Local Address
FE80:0:0:0 204:9AFF:FEAC:7D80
215
Aggregatable Global Unicast Addresses
Lowest-order 64-bit field of unicast addresses
may be assigned in several different ways
Auto-configured from a 64-bit EUI-64, or expanded from a 48-bit
MAC address (e.g. Ethernet address)
Auto-generated pseudo-random number
(to address privacy concerns)
Assigned via DHCP
Manually configured
216
Aggregatable Global Unicast Addresses
Use the EUI-64 format for stateless
auto-configuration
This format expands the 48-bit MAC address to
64 bits by inserting FFFE into the middle 16 bits
To make sure that the chosen address is from a unique
Ethernet MAC address, the universal/local (“u” bit)
is set to 1 for global scope and 0 for local scope
217
EUI-64
Ethernet MAC Address 00 90 27 17 FC 0F
(48 bits)
00 90 27 17 FC 0F
FF FE
64-bit Version 00 90 27 FF FE 17 FC 0F
1 = Unique
Uniqueness of the MAC 000000X0 Where X=
0 = Not Unique
X=1
EUI-64 Address 02 90 27 FF FE 17 FC 0F
218
Anycast
219
Anycast Address
128 bits
Prefix 111111X111111… 111
Anycast ID
0 If EUI-64 Format
X= 7 bits
1 If Non-EUI-64 Format
Anycast
Is one-to-nearest type of address
Has a current limited use
220
Multicast
128 bits
0 Multicast Group ID
Corresponding
33 33 FF 17 FC 0F
Ethernet Address
Multicast Prefix
for Ethernet
Multicast
222
Expanded Address Space
Multicast Assigned Addresses (RFC 3306)
223
IPv4 and IPv6 Header Comparison
Source Address
Source Address
Destination Address
Options Padding
224
IPv4 and IPv6 Header Comparison
Source Address
Destination Address
225
IPv4 and IPv6 Header Comparison
Fields Renamed
226
IPv4 and IPv6 Header Comparison
Fields Renamed
Source Address
Destination Address
227
IPv4 and IPv6 Header Comparison
Fields Renamed
Source Address
Destination Address
228
IPv4 and IPv6 Header Comparison
Fields Renamed
Destination Address
229
IPv4 and IPv6 Header Comparison
Fields Removed
Fragment
Identification Flags
Offset
Source Address
Destination Address
Options Padding
230
IPv4 and IPv6 Header Comparison
Fields Removed
Source Address
Destination Address
Options Padding
231
IPv4 and IPv6 Header Comparison
Fields Removed
Destination Address
Options Padding
232
IPv4 and IPv6 Header Comparison
Fields Removed
Options Padding
233
IPv4 and IPv6 Header Comparison
Fields Added
case today)
RFC 3697
234
Extension Headers
IPv6 Header
TCP Header
Next Header
+ Data
= TCP
IPv6 Header
Routing Header TCP Header
Next Header
Next Header = TCP + Data
= Routing
235
Header Format Simplification
IPv6 Extension Headers
Data (UDP)
UDP Packet
Source Port Destination Port
Length UDP Checksum
ICMPv6 Packet
ICMv6 Packet
ICMPv6 Type ICMPv6 Code Checksum
ICMPv6 Data
Definitions
Link MTU is link’s maximum transmission unit
Path MTU is the minimum MTU of all the links in a path between
a source and a destination
Minimum link MTU for IPv6 is 1280 octets
(68 octets for IPv4)
On links with MTU < 1280, link-specific fragmentation and
reassembly must be used
Implementations are expected to perform path MTU
discovery to send Packets bigger than 1280 octets
For each destination, start by assuming MTU of first-hop link
If a Packet reaches a link in which it cannot fit, will invoke ICMP
“Packet too big” message to source, reporting the link’s MTU;
MTU is cached by source for specific destination
239
Header Format Simplification
Path MTU Discovery
Source Destination
Packet Received
Path MTU = 1300
Minimum Link MTU for IPv6 is 1280 Octets
(Versus 68 Octets for IPv4)
240
Header Format Simplification
Neighbor Discovery (RFC 2463)
Protocol Built on Top of ICMPv6 (RFC 2463)
Combination of IPv4 Protocols (ARP, ICMP, IGMP, etc.)
Uses ICMP messages and solicited-node multicast
addresses
Determines the link-layer address of a neighbor
on the same link
Finds neighbor routers
Verifies the reachability of neighbors
Comprised of different message types:
Neighbor Solicitation (NS)/Neighbor Advertisement (NA)
Router Solicitation (RS)/Router Advertisement (RA)
Redirect
Renumbering
241
Solicited-Node Multicast Address
242
Solicited-Node Multicast Address
FF02:0000:0000:0000:0000:0001:FF00:0000/104
FF02::1:FF00:0000/104
Gets the lower 24 bits from the unicast address
243
Solicited-Node Multicast Address
Aggregatable Address
Prefix Interface ID
24 bits
Solicited-Node Multicast Address
FF02 0 1 FF Lower 24
128 bits
244
Solicited-Node Multicast Address
24 bits
Solicited-Node Multicast Address FF02::1:FFAC:7D80
FF02 0 1 FF AC7D80
245
Neighbor Solicitation and Advertisement
A B
Neighbor Solicitation:
ICMP type = 135
Src = A
Dst = Solicited-node multicast address of B
Data = Link-layer address of A
Query = What is your link-layer address?
Neighbor Advertisement:
ICMP type = 136
Src = B
Dst = A
Data = Link-layer address of B
A and B Can Now Exchange
Packets on This Link
246
IPv6 Auto-Configuration
Stateless (RFC2462) Subnet Prefix
ReceivedPREFIX
SUBNET + MAC +
Router solicitations are sent by MACAddress
ADDRESS
RA Indicates
booting nodes to request RAs Subnet
for configuring the interfaces Prefix
Advertised
Host autonomously configures
its own link-local address
Stateful
DHCPv6
Subnet Prefix
Received + MAC
Address
At Boot Time, an IPv6 Host
Builds a Link-Local Address,
Then Its Global IPv6
Address(es) from RA
RA: Router Advertisement
247
IPv6 Auto-Configuration
Renumbering
Host renumbering is done by modifying the RA to
announce the old prefix with a short lifetime and the new
prefix
Router renumbering protocol (RFC 2894), to allow
domain-interior routers to learn of prefix
introduction/withdrawal
248
Stateless Auto-Configuration
1. RS 2. RA
249
Duplicate Address Detection (DAD)
RS
A B
RA
250
Duplicate Address Detection (DAD)
A B
NS
Host A wants to assign itself a unique global
unicast address 2001:DB8:0410:1::34:123A
Before it does that, it sends out a DAD request
to all nodes on the link
251
Duplicate Address Detection (DAD)
A B
NS
252
Redirect
A B
R2
Src = A
R1 Dst IP = 2001:DB8:C18:2::1
Dst Ethernet = R2 (default
router)
Redirect:
Src = R2
Dst = A
2001:DB8:C18:2::/64 Data = good router = R1
253
Renumbering
RA
RA Packet definitions:
ICMP Type = 138
Src = Router link-local address
Dst = All-nodes multicast address
Data= 2 prefixes:
Current prefix (to be deprecated) with short lifetime
New prefix (to be used) with normal lifetime
254
Enabling IPv6
To enable IPv6 on a Cisco router, you must
Enable IPv6 traffic forwarding
ipv6 unicast-routing
Enable IPv6 on the interface(s) by configuring an IPv6 address on
the interface
ipv6 address <ipv6addr>[/<prefix-length>]
ipv6 enable (can be used, but only for link-local addresses)
255
Cisco IOS Address Configuration
ipv6 address
Enables IPv6 on the interface
Configures the interface link-local and global IPv6 addresses
Syntax:
ipv6 address <ipv6addr>[/<prefix-length>] [link-local]
ipv6 address <ipv6prefix>/<prefix-length> eui-64
ipv6 unnumbered <interface>
ipv6 enable
256
IPv6 Address Configuration
Link Local
ipv6 unicast-routing
interface Ethernet0/0
ipv6 enable MAC address: 0004:9AAC:7D80
257
IPv6 Address Configuration
Ethernet EUI-64
LAN: 2001:DB8:0:4::/64
Ethernet0/0
ipv6 unicast-routing
interface Ethernet0/0
ipv6 address 2001:DB8:0:4::/64 eui-64 MAC address: 0004:9AAC:7D80
Ethernet0/0
ipv6 unicast-routing
interface Ethernet0/0
ipv6 address 2001:DB8:0:4:1:2:3:4/64 MAC address: 0004:9AAC:7D80
259
IPv6 Address Configuration
Frame Relay
R1 R2
S0/0
2001:DB8:0:1:1:2:3:0/126 S0/0
R1
ipv6 unicast-routing
interface Serial0/0
encapsulation frame-relay
ipv6 address 2001:DB8:0:1:1:2:3:1/126
frame-relay map ipv6 FE80::204:C1FF:FE09:1DA1 102 broadcast
frame-relay map ipv6 2001:DB8:0:1:1:2:3:2 102 broadcast
no frame-relay inverse-arp
R2
ipv6 unicast-routing
interface Serial0/0
encapsulation frame-relay
ipv6 address 2001::1:1:2:3:2/126
frame-relay map ipv6 FE80::204:9AFF:FEAC:7D80 201 broadcast
frame-relay map ipv6 2001:DB8:0:1:1:2:3:1 201 broadcast
no frame-relay inverse-arp
260
IPv6 Address Configuration
Frame Relay
R1 R2
S0/0
2001:DB8:0:1:1:2:3:0/126
E0/0 S0/0
261
IPv6 Address Configuration
Verification
R1 R2
S0/0
2001:DB8:0:1:1:2:3:0/126
E0/0 S0/0
r1#ping fe80::204:9aff:feac:7d80
Output Interface: serial0/0
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to FE80::204:9AFF:FEAC:7D80, timeout is 2
seconds
:
Packet sent with a source address of FE80::204:C1FF:FE09:1DA1
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 28/30/32 ms
r1#ping 2001:DB8:0:1:1:2:3:2
262
Cisco IOS Neighbor Discovery
Parameters
Router Advertisements
Default router
IPv6 network prefix
Autoconfiguring IPv6 Hosts
Lifetime of advertisement
263
Cisco IOS Neighbor Discovery
Command Syntax
264
Configuring Neighbor Discovery
IPv6 Internet
interface Ethernet0
Router1 ipv6 nd prefix-advertisement 2001:DB8:c18:1::/64 43200 43200
onlink autoconfig
RA Ethernet0
LAN1: 2001:DB8:c18:1::/64
interface Ethernet0
ipv6 nd prefix-advertisement 2001:DB8:c18:1::/64 43200 43200
Ethernet0 onlink autoconfig
ipv6 nd ra-lifetime 0
RA Router2 interface Ethernet1
ipv6 nd prefix-advertisement 2001:DB8:c18:2::/64 43200 43200
Ethernet1 onlink autoconfig
LAN2: 2001:DB8:c18:2::/64
265
Cisco IOS Prefix Renumbering Scenario
Router Advertisements
Host Configuration
Auto-Configuring
IPv6 Hosts preferred address 2001:DB8:c18:1:260:8ff:fede:8fbe
Router Advertisements
Host Configuration
Auto-Configuring deprecated address 2001:DB8:c18:1:260:8ff:fede:8fbe
IPv6 Hosts preferred address 2001:DB8:c18:2:260:8ff:fede:8fbe
267
DHCPv6
Client first detects the presence of routers
on the link
If found, then examines router advertisements
to determine if DHCP can be used
If no router found or if DHCP can be used, then:
DHCP solicit message is sent to the All-DHCP-agents
multicast address
Using the link-local address as the source address
268
OSPFv3 (RFC 2780)
TECCCIE-3000_c3 © 2009 Cisco Systems, Inc. All rights reserved. Cisco Public 269
Similarities with OSPFv2
OSPFv3 is OSPF for IPv6 (RFC 2740)
Based on OSPFv2, with enhancements
Distributes IPv6 prefixes
Runs directly over IPv6
OSPFv3 and v2 can be run concurrently, because each
address family has a separate SPF (ships in the night)
270
Similarities with OSPFv2
OSPFv3 uses the same basic Packet types as OSPFv2,
such as hello, database description blocks (DDB), link
state request (LSR), link state update (LSU), and link
state advertisements (LSA)
Neighbor discovery and adjacency formation
mechanism are identical
RFC-compliant NBMA and point-to-multipoint topology
modes are supported; also supports other modes from
Cisco, such as point-to-point and broadcast, including
the interface
LSA flooding and aging mechanisms are identical
271
Differences from OSPFv2
OSPF Packet type Packet Type Description
1 Hello
OSPFv3 will have the same
2 Database Description
five Packet types, but some
3 Link State Request
fields have been changed
4 Link State Update
5 Link State Acknowledgement
272
Differences from OSPFv2
OSPFv3 Protocol Processing Per-Link, Not Per-Subnet
IPv6 connects interfaces to links
Multiple IP subnets can be assigned to a single link
Two nodes can talk directly over a single even if they do
not share a common subnet
The terms “network” and “subnet” are being replaced
with “link”
An OSPF interface now connects to a link
instead of a subnet
273
Differences from OSPFv2
Multiple OSPFv3 Protocol Instances Can Now Run
Over a Single Link
This allows for separate ASes, each running OSPF,
to use a common link; single link could belong
to multiple areas
Instance ID is a new field that is used to have multiple
OSPFv3 protocol instances per link
In order to have two instances talk to each other, they
need to have the same instance ID; by default it is 0,
and for any additional instance it is increased
274
Differences from OSPFv2
Multicast addresses
FF02::5—represents all SPF routers on the link-local scope,
equivalent to 224.0.0.5 in OSPFv2
FF02::6—represents all DR routers on the link-local scope,
equivalent to 224.0.0.6 in OSPFv2
Removal of address semantics
IPv6 addresses are no longer present in OSPF Packet header
(part of payload information)
Router LSA, Network LSA do not carry IPv6 addresses
Router ID, Area ID, and Link State ID remain at 32 bits
DR and BDR are now identified by their Router ID and no longer
by their IP address
Security
OSPFv3 uses IPv6 AH and ESP extension headers instead
of variety of mechanisms defined in OSPFv2
275
OSPFv3 Configuration Example
IPv6 Prefix
2001:DB8:101::/48
Loopback 0 Loopback 0
Subnet 3 S0/0 Subnet 2
S0/0
A B
Area 51 Subnet 1 Area 1
OSPF
Area 0
276
OSPFv3 Configuration Example
Router A
ipv6 unicast-routing
interface Loopback0
no ip address
ipv6 address 2001:DB8:101:3::/64 eui-64
ipv6 ospf 1 area 51
interface Serial0/0
no ip address
encapsulation frame-relay
ipv6 address 2001:DB8:101:1::/64 eui-64
ipv6 ospf network point-to-point
ipv6 ospf 1 area 0
frame-relay map ipv6 FE80::204:9AFF:FE5C:8B41 602 broadcast
frame-relay map ipv6 2001:DB8:101:1:204:9AFF:FE5C:8B41 602 broadcast
277
OSPFv3 Configuration Example
Router B
ipv6 unicast-routing
interface Loopback0
no ip address
ipv6 address 2001:DB8:101:2::/64 eui-64
ipv6 ospf 1 area 1
interface Serial0/0
no ip address
encapsulation frame-relay
ipv6 address 2001:DB8:101:1::/64 eui-64
ipv6 ospf network point-to-point
ipv6 ospf 1 area 0
frame-relay map ipv6 FE80::204:C1FF:FE09:1DA1 206 broadcast
frame-relay map ipv6 2001:DB8:101:1:204:C1FF:FE09:1DA1 206 broadcast
278
OSPFv3 Verification
rA#show ipv6 route ospf
IPv6 Routing Table - 7 entries
Codes: C - Connected, L - Local, S - Static, R - RIP, B - BGP
U - Per-user Static route
I1 - ISIS L1, I2 - ISIS L2, IA - ISIS interarea
O - OSPF intra, OI - OSPF inter, OE1 - OSPF ext 1, OE2 - OSPF ext 2
OI 2001:DB8:101:2:204:9AFF:FE5C:8B41/128 [110/64]
via FE80::204:9AFF:FE5C:8B41, Serial0/0
279
OSPFv3 Router Commands
280
OSPFv3 Router Commands
281
OSPFv3 Router Commands
A(config-rtr)#area 1 ?
default-cost Set the summary default-cost of a NSSA/stub area
nssa Specify a NSSA area
range Summarize routes matching address/mask (border routers only)
stub Specify a stub area
virtual-link Define a virtual link and its parameters
282
OSPFv3 Interface Commands
r2(config)#int s0/0
r2(config-if)#ipv6 ospf ?
<1-65535> Process ID
cost Interface cost
database-filter Filter OSPF LSA during synchronization and flooding
dead-interval Interval after which a neighbor is declared dead
demand-circuit OSPF demand circuit
flood-reduction OSPF Flood Reduction
hello-interval Time between HELLO packets
mtu-ignore Ignores the MTU in DBD packets
neighbor OSPF neighbor
network Network type
priority Router priority
retransmit-interval Time between retransmitting lost link state
advertisements
transmit-delay Link state transmit delay
283
Q and A
TECCCIE-3000_c3 © 2009 Cisco Systems, Inc. All rights reserved. Cisco Public 284
Session 6:
IP Routing BGP
TECCCIE-3000_c3 © 2009 Cisco Systems, Inc. All rights reserved. Cisco Public 285
Topics
Introduction
BGP Path Section
BGP Attributes
Debugging
286
Introduction
What Is BGP?
How Does BGP Work
EBGP and IBGP
What Is a Peer (Neighbor)
287
Configuring BGP
Rtr A Rtr B
10.1.1.1/24
10.1.1.2/24
AS 1 AS 2
Rtr A Rtr B
router bgp 1 router bgp 2
288
Configuring Peers
Rtr(config-router)#?
*address-family Enter address family command mode
***aggregate-address Configure BGP aggregate entries
*auto-summary Enable automatic network number summarization
*bgp BGP specific commands
default Set a command to its defaults
*default-information Control distribution of default information
*default-metric Set metric of redistributed routes
*distance Define an administrative distance
+++distribute-list Filter networks in routing updates
exit Exit from routing protocol configuration mode
289
Configuring Peers (Cont.)
Rtr(config-router)#?
help Description of the interactive help system
*maximum-paths Forward packets over multiple paths
***neighbor Specify a neighbor router
**network Specify a network to announce via BGP
no Negate a command or set its defaults
***redistribute Redistribute information from another routing protocol
*synchronization Perform IGP synchronization
*table-map Map external entry attributes into routing table
*timers Adjust routing timers
290
Configuring BGP Peers (Cont.)
Neighbor
Rtr A Rtr B
10.1.1.1/24
10.1.1.2/24
AS 1 AS 2
Rtr A Rtr B
router bgp 1 router bgp 2
neighbor 10.1.1.2 remote-as 2 neighbor 10.1.1.1 remote-as 1
291
BGP Issue: Synchronization
A BGP Router will Not Advertise a Route to an eBGP
Neighbor Unless the Route Is Already in the IP Routing Table
Rtr B
Rtr A Rtr C
iBGP
eBGP eBGP
Rtr B does not know about
172.16.0.0; therefore Rtr C
should not advertise 172.16.0.0
to Rtr D Rtr D
172.16.0.0 Redistribute 172.16.0.0 into IGP
(not recommended); or use a
full iBGP mesh and disable 12.2(8)T—Default changed
to no synchronization
synchronization (default)
292
BGP Path Selection
Ignore a route if the next hop is not known
Ignore external routes with local AS in path
293
BGP Path Selection (Cont.)
294
BGP Path Selection (Cont.)
295
BGP Attributes: Next Hop
The next hop IP address that is used to reach
a destination
For eBGP, the next hop is the IP address specified
in the neighbor command
For iBGP, the eBGP next hop information is carried
into iBGP
AS 1 AS 2 Router C
172.16.0.0
Next Hop = 10.1.1.1
Does Router C Know How to Get to the Next Hop?
296
BGP Attributes: Weight
A Cisco defined attribute which is used for path
selection; the weight is assigned locally and is not
propagated in routing updates
Value: 0–65535 Default is 32768 for local routes,
0 for all others
Higher value is preferred
172.16.0.0/16
AS 4
AS 1
AS 3 AS 2
Net 172.16.0.0 Net 172.16.0.0
Weight = 0 Weight = 80
Preferred
297
BGP Attributes: Local Pref
Signals which path is preferred to exit the AS
and is exchanged among all BGP speakers in the AS;
local preference is not exchanged between ASs
Value: 0–4294967295
Default value: 100
Higher value is preferred
172.16.0.0/16
AS 4
AS 1
AS 3 AS 2
Net 172.16.0.0 Net 172.16.0.0
Loc Pref = 100 Loc Pref = 800
Preferred
298
BGP Attribute: AS Path
AS Path Attribute—the List of AS Numbers That
a Route Has Traversed to Reach a Destination
AS 2
^2 1$ ^1$
^3$ ^1$
AS 5 AS 3 AS 1
^4 1$ ^1$ 10.1.0.0/24
10.1.1.1/24
AS 4
299
BGP Attributes: Origin
IGP—i
Network Layer Reachability Information (NLRI)
is interior to the originating AS; network statement
or redistribute IGP routes
EGP—e
NLRI is learned via eBGP
Incomplete—?
NLRI is unknown; redistributing static into BGP
300
BGP Attributes: Metric (MED)
AS 2
Net 172.16.1.0 Net 172.16.1.0
Metric = 0 Preferred Metric = 80
172.16.1.0
AS 1
301
BGP Path Selection—BGP Table
302
BGP Path Selection Summary
Prefer highest weight (local to router)
Prefer highest local preference (global within AS)
Prefer routes that the router originated
Prefer shorter AS paths (only length is compared)
Prefer lowest origin code (IGP < EGP < Incomplete)
Prefer lowest MED
Prefer external (EBGP) paths over internal (IBGP)
For IBGP paths, prefer path through closest IGP neighbor
For EBGP paths, prefer oldest (most stable) path
Prefer paths from router with the lower BGP router-ID
303
Other BGP Attributes: Atomic Aggregate
Atomic Aggregate—The Route Has Been Summarized
and Path Information Is Lost
304
BGP Attributes: Community
Used to group destinations and apply routing decisions
according to community; by default, not sent to any peers
Value: 0–4,294,967,200 or 0:0–65535:65535
Values of all-zeroes and all-ones in the high order 16 bits are reserved
305
BGP Attributes: Community (Cont.)
AS 1250 AS 88 AS 51
AS 1
306
BGP Attributes: Community (Cont.)
AS 1250 AS 88 AS 51
AS 1
307
BGP Attributes: Community (Cont.)
Setting the Community Value
router bgp 51
neighbor 10.1.1.1 remote-as 1
neighbor 10.1.1.1 send-community
neighbor 10.1.1.1 route-map setcomm out
!
access-list 1 permit 144.8.1.0 0.0.0.255
access-list 1 permit 12.1.0.0 0.0.255.255
!
route-map setcomm permit 10
match ip address 1
set community 1:4
!
route-map setcomm permit 20
308
BGP Attributes: Community (Cont.)
Viewing the Community Value—Old Format
309
BGP Attributes: Community (Cont.)
Viewing the Community Value—New Format
310
Controlling the Flow of BGP Updates
TECCCIE-3000_c3 © 2009 Cisco Systems, Inc. All rights reserved. Cisco Public 311
Aggregate Addresses
Used to minimize the size
of the routing table
Combines characteristics
of several routes to allow
a RTB#
single route to be advertised
router bgp 200
network 160.10.0.0
RTC#
network 170.10.0.0
312
Aggregate Addresses (Cont.)
aggregate-address address mask
advertises the prefix route and all of the more
specific routes
aggregate-address address mask summary-only
This advertises the prefix only; all the more specific
routes are suppressed*
aggregate-address address-mask suppress-map
map-name
This command advertises the prefix route and the
more specific routes but it suppresses advertisement
according to a route map
313
Example: Aggregate Address
315
Example (Cont.): Verification
r5#sh ip ro bgp
B 141.108.0.0/16 [200/0] via 142.108.10.6, 2d03h
B 131.108.0.0/16 [20/0] via 162.108.21.8, 00:06:41
B 161.108.0.0/16 [20/0] via 162.108.21.8, 00:06:41
132.108.0.0/16 is variably subnetted, 2 subnets, 2
masks
B 132.108.10.0/24 [20/0] via 162.108.21.8, 00:06:41
B 132.108.0.0/16 [200/0] via 142.108.10.6, 2d03h
B 132.0.0.0/8 [20/0] via 162.108.21.8, 00:06:41
316
BGP Route Filtering
Route Filtering
Filter networks in incoming or outgoing BGP updates
based on IP address
Rtr A Rtr B
10.1.1.1/24
10.1.1.2/24
AS 1 AS 2
Rtr A Rtr B
router bgp 1 router bgp 2
neighbor 10.1.1.2 distribute-list 1 in neighbor 10.1.1.1 distribute-list 2 out
Rtr A Rtr B
10.1.1.1/24
10.1.1.2/24
AS 1 AS 2
Rtr A Rtr B
router bgp 1 router bgp 2
neighbor 1.1.1.2 filter-list 1 in neighbor 1.1.1.1 filter-list 2 out
… ...
ip as-path access-list 1 deny ^2$ ip as-path access-list 2 permit ^$
(deny routes belonging to AS 2) (allow routes from this AS only)
ip as-path access-list 1 permit .*
Do You See A Problem Here?
318
Route-Map Overview
Route Maps
Route-maps are very complex access-lists:
Access-lists have lines
Route-maps contain statements
Access-lists use addresses and masks
Route-maps use match conditions
With access-lists, there is an access-list number
With route-maps, there is a route-map name
Statements in route-maps are numbered
You can insert and delete statements in a route-map
You can edit match conditions in a statement
Route-map statements can modify matched routes
with “set” options
319
Route-Map Overview (Cont.)
Route Maps
321
Debugging BGP
TECCCIE-3000_c3 © 2009 Cisco Systems, Inc. All rights reserved. Cisco Public 322
Debugging
Test the IP connection between the BGP routers
Rtr A Rtr B
10.1.1.1/24
10.1.1.2/24
AS 1 AS 2
If you can ping the remote endpoint then you can form a
BGP connection
Rtr A#ping 1.1.1.2 Rtr B#ping 1.1.1.1
323
Debugging
Start with a Minimum BGP Configuration
Rtr A Rtr B
10.1.1.1/24
10.1.1.2/24
AS 1 AS 2
Rtr A# Rtr B#
324
Debugging
IF BGP Stat = Established Then Continue
with Your BGP Configuration
325
Further Possible Areas of Study
IBGP—Route Reflector
IBGP—Confederations
EBGP—Neighbor Local-as
BGP Multipath
BGP Conditional Advertisement
326
Q and A
TECCCIE-3000_c3 © 2009 Cisco Systems, Inc. All rights reserved. Cisco Public 327
Recommended Reading
MPLS/VPN
TECCCIE-3000_c3 © 2009 Cisco Systems, Inc. All rights reserved. Cisco Public 329
Agenda
330
MPLS Technology Introduction
TECCCIE-3000_c3 © 2009 Cisco Systems, Inc. All rights reserved. Cisco Public 331
What Is MPLS Technology?
Multi Protocol Label Switching is a technology for delivery of IP services
MPLS technology switches packets instead of routing, to transport data
A highly scalable mechanism that is topology driven rather than
flow driven
Single infrastructure architecture supporting multitudes of applications
MPLS has evolved long way from its original goal, now serving as a
foundation for value-added services
Unicast Any
Traffic IP+Optical
&multicast Transport VPLS
Engineer GMPLS
L3 VPNs Over MPLS
MPLS
Point to Provision
Point Redundancy Traffic Classes
333
MPLS Use Case
Requirements: L2 pt-pt, L2 fully meshed,L3 fully meshed sites through HQ site, all sites
VM
MPLS VPN A
FR/ATM/ Backbone
Carrier PE1 P1 P2 VM
Ethernet
HQ A
VPN A PE2
Provider PE5
Local or Branch
VPN B Office
Networks P3 P4 PE4
Direct Internet
Dial ISP MPLS to
IPsec/PE
Remote Users/
Telecommuters VM
VM
PE3
VPN B
Mobile
VM
Backhaul HQ B
VPN C VPN B
HQ C
VPN C 334
MPLS Network Ingredients
TECCCIE-3000_c3 © 2009 Cisco Systems, Inc. All rights reserved. Cisco Public 335
MPLS Network Ingredients
Network devices
P (Provider) routers = label switching routers = core routers
PE (Provider Edge) routers = edge LSR = provider edge device
Protocols
IGP: core routing protocol, OSPF, EIGRP, IS-IS
Label Distribution Protocol (LDP)
Multiprotocol e/iBGP
Resource reservation (RSVP) protocol
MPLS label
Forwarding Equivalence Class (FEC)
MPLS label
MPLS label encapsulation
MPLS planes
MPLS control planes
MPLS forwarding planes
336
MPLS Network Devices
PE
P P
PE
PE
PE
P P
PE
PE
337
MPLS Network Protocols
PE
PE P P PE
RSVP IGP
PE
P P PE
LDP
PE
338
Label Distribution Protocol
LDP ID (6 Octets)
339
MPLS Label and Label Encapsulation
MPLS Label
0 1 2 3
0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
LAN MAC Label Header MAC Header Label Layer 2/L3 Packet
340
Forwarding Equivalence Class
341
MPLS Control Plane and Forward Plane
Route
RIB Routing Updates/
Control plane used Process Adjacency
to distribute labels and
build label-switched
paths Label Bind
LIB MPLS Updates/
Process Adjacency
0 128.89
0
1
Routing Updates
You Can Reach 171.69 Thru Me 171.69
(OSPF, EIGRP, …)
343
MPLS Control Plane
Downstream Unsolicited Mode
0 128.89
0
1
Downstream Node Advertise Labels for Prefixes/FEC Reachable via that Device
344
MPLS Forwarding Plane
Step III: Forwarding Labeled Packets
In Address Out Out In Address Out Out In Address Out Out
Label Prefix I’face Label Label Prefix I’face Label Label Prefix I’face Label
- 128.89 1 4 4 128.89 0 9 9 128.89 0 -
- 171.69 1 5 5 171.69 1 7
… … … … … … … … … … … …
0 128.89
0
128.89.25.4 Data
1
9 128.89.25.4 Data
128.89.25.4 Data 4 128.89.25.4 Data 1
345
Label Stacking
There may be more than one label in an MPLS packet
As we know labels correspond to forwarding equivalence classes
Example—there can be one label for routing the packet to an egress point
and another that separates a customer A packet from customer B
Inner labels can be used to designate services/FECs, etc.
e.g. VPNs, fast reroute
Outer label used to route/switch the MPLS
packets in the network
Last label in the stack is marked with EOS bit Outer Label
Allows building services such as TE Label
MPLS VPNs LDP Label
Traffic engineering and fast reroute VPN Label
VPNs over traffic engineered core
Any transport over MPLS Inner Label IP Header
346
MPLS Core Architecture Summary
1a. Existing Routing Protocols (e.g. OSPF, IS-IS)
Establish Reachability to Destination Networks
1b. LDP Establishes Label to Destination 4. Edge LSR at
Network Mappings Egress Removes
Label and Delivers
Packet
!
ip cef
mpls label protocol
ldp
!
Interface ether0/0
2. Ingress Edge LSR Receives Packet, mpls ip
Performs Layer 3 Value-Added !
Services, and “Labels” Packets 3. LSR Switches Packets
Using Label Swapping
347
MPLS VPNs
TECCCIE-3000_c3 © 2009 Cisco Systems, Inc. All rights reserved. Cisco Public 348
What Is a Virtual Private Network?
VPN is a set of sites or groups which are allowed to communicate
with each other
VPN is defined by a set of administrative policies
Policies established by VPN customers
Policies could be implemented completely by VPN service providers
Flexible intersite connectivity
Ranging from complete to partial mesh
Sites may be either within the same or in different organizations
VPN can be either intranet or extranet
Site may be in more than one VPN
VPNs may overlap
Not all sites have to be connected to the same service provider
VPN can span multiple providers
349
L2 vs. L3 VPNs
Point-to-Point Layer 2 VPNs
Customer endpoints (CPE) connected via Frame Relay DLCI, ATM VC or
point-to-point connection
No routing with the provider network. VPN CEs peer with each other, much
better propagation delay
Good for point to point L2 connectivity, provider will need to manually fully
mesh end points if any-to-any connectivity is required
Multipoint Layer 2 VPNs
Customer endpoints (CPE) connected via Ethernet (VLAN or ethernet)
Fully meshed, hub-spoke service possible w/o routing
Layer 3 VPN
Any access medium is supported
Customer end points peer with providers’ routers @ L3 and exchange
VPN site-routing information
Reduced provisioning, Scales
350
MPLS L3 VPNs
TECCCIE-3000_c3 © 2009 Cisco Systems, Inc. All rights reserved. Cisco Public 351
IP L3 vs. MPLS L3 VPNs
VPN B VPN A
VPN C
VPN C Multicast
Hosting
VPN B Intranet
VoIP
VPN A Extranet
VPN A
VPN B
PE2
VRF
CE1 CE2
354
MPLS L3 VPN Forwarding Plane
How Data Plane Is Separated
CE1 CE2
IPv4 IPv4 IPv4
P1 P2
IPv v4
4 IP
CE1
Forwards PE1 PE2 CE2
IPv4 Packet Receives
! IPv4 Packet
Interface S1/0
ip vrf forwarding Yellow
!
TECCCIE-3000_c3 © 2009 Cisco Systems, Inc. All rights reserved. Cisco Public 356
Deployment Example I:
MPLS VPN SP Interconnecting VPN Sites
for different Access Technologies
CustomerA
VM
MPLS VPN A
Backbone
PE1
FR/ATM/ P1 P2
PE2 VM
HQ Hub
VPN A
Provider MPLS to Branch Office
Local or Networks IPsec/PE
Direct
Dial ISP Internet
Remote Users/
Telecommuters PE3 VM
VPN A
VM
Business
VPN A
VPN A Partner
VPN B
Remote Site
357
Deployment Example II:
MPLS VPNs in Enterprise Campus
CE (Multi-VRF)
L2 access
L2
Multi-VRF-CE
at distribution
BGP/MPLS VPNs in
core only P
Layer 3
Multi-VRF between
core and distribution
PE w/VRF
Multi-VRF doesn’t
require MPLS labels
MP-iBGP
VPN1
L2
VPN2
802.1Q
BGP/MPLS VPN
358
Deployment Example III:
End-to-End VPN Services Using Multiple MPLS SPs
Enterprise-A
Enterprise-A Hub-3-India
Hub-1-UK Global Backbone
Service Provider
AS100
Regional Regional
SP1 Enterprise-A SP3
MPLS Core Hub-2-US MPLS Core
AS1 AS3
Regional
SP2
MPLS Core
AS2
359
MPLS L3 VPNs Summary
SPs can provide Intranet, extranet, hub-spoke, fully-meshed connectivity services
Advanced multicast VPNs, shared hosting, voice, video,
Internet and traditional IP services can also be supported over
a single infrastructure
SP configured route target can be used to filter/limit import/export of VPN routes
SP configured per VPN route distinguisher segregates VPN
control plane traffic
Unique per-VPN labels segregates data plane traffic
Subscribers have several access medium and routing protocol options to connect to the
providers
SPs can offer service level guarantees using QoS and traffic engineering applications for
MPLS L3 VPNs
MPLS L3VPNs over IP
360
Terminology Reference
Terminology Description
AC Attachment Circuit. An AC Is a Point-to-Point, Layer 2 Circuit Between a CE and a PE.
AS Autonomous System (a Domain)
CoS Class of Service
ECMP Equal Cost Multipath
IGP Interior Gateway Protocol
LAN Local Area Network
LDP Label Distribution Protocol, RFC 3036.
LER Label Edge Router. An Edge LSR Interconnects MPLS and non-MPLS Domains.
LFIB Labeled Forwarding Information Base
LSP Label Switched Path
LSR Label Switching Router
NLRI Network Layer Reachability Information
P Router An Interior LSR in the Service Provider's Autonomous System
An LER in the Service Provider Administrative Domain that Interconnects the
PE Router
Customer Network and the Backbone Network.
PSN Tunnel Packet Switching Tunnel
361
Terminology Reference
Terminology Description
A Pseudo-Wire Is a Bidirectional “Tunnel" Between Two Features on a
Pseudo-Wire
Switching Path.
PWE3 Pseudo-Wire End-to-End Emulation
QoS Quality of Service
RD Route Distinguisher
RIB Routing Information Base
RR Route Reflector
RT Route Target
RSVP-TE Resource Reservation Protocol based Traffic Engineering
VPN Virtual Private Network
VFI Virtual Forwarding Instance
VLAN Virtual Local Area Network
VPLS Virtual Private LAN Service
VPWS Virtual Private WAN Service
VRF Virtual Route Forwarding Instance
VSI Virtual Switching Instance
362
MPLS/L3VPN Sample Lab Question 170.1.9.9/24
Sw4 Sw3
CE
SVI SVI
.30.10/24 .30.9/24
VLAN_B
VLAN_A
VPN Tunnel Gi0/0
VPN Tunnel Gi0/0 Fa0/0
.30.3/24
CE CE .25.2/24 .25.5/24
MP-BGP/IGP/MPLS VLAN_C
R3 PE
PE PE Gi0/1 R2 R5
.20.2/24 Fa0/1 Gi0/1
S0/0/0
IGP/MPLS .12.2/30 .100.5/24 .100.3/24
P P P
P
IGP/MPLS VLAN_E
P PE
Static
Static Route/No
Route/No MPLS MPLS
CE PE
S0/0/1
.12.1/30 Gi0/1
Fa0/0 .100.1/24 Gi0/0
150.1.YY.1/24
150.2.YY.1/24
Backbone 2
Backbone 1
R4 S0/0/0
S0/0/0 R1
.14.1/24
.14.4/24
Fa0/1
.50.4/24
PE
VLAN_D
Sw1 Sw2
SVI SVI
170.1.7.7/24 CE .50.7/24 .50.8/24
363
MPLS/L3VPN Sample Lab Question (Cont.)
There is a private network on Sw3 170.1.9.0 and
another on Sw1 170.1.7.0. Build a VPN tunnel to carry
the private traffic between these two networks using
the MPLS core and edge infrastructure.
364
MPLS/L3VPN Sample Lab Question (Cont.)
Verification
R3: Verify VPNv4 routes are received from R4(PE):
R3#sh ip route vrf ccie
Routing Table: ccie
170.1.0.0/32 is subnetted, 2 subnets
S 170.1.9.9 [1/0] via 1.1.30.9
B 170.1.7.7 [200/0] via 1.1.4.4, 3d16h---Loopback intf.(Private Network) on Sw1
1.0.0.0/24 is subnetted, 2 subnets
C 1.1.30.0 is directly connected, GigabitEthernet0/0
366
Q and A
TECCCIE-3000_c3 © 2009 Cisco Systems, Inc. All rights reserved. Cisco Public 367
Session 8:
IP Multicast
TECCCIE-3000_c3 © 2009 Cisco Systems, Inc. All rights reserved. Cisco Public 368
Agenda
Multicast Concepts
PIM-SM Configuration and Verification
Multicast Troubleshooting
369
Multicast At-a-Glance
PIM
PIM
PIM
IGMP IGMP
370
Mcast
Sample Written Question
371
Multicast Forwarding
TECCCIE-3000_c3 © 2009 Cisco Systems, Inc. All rights reserved. Cisco Public 372
Unicast vs. Multicast Forwarding
Unicast Forwarding
Destination IP address directly determines
where to forward the packet
Decision based on route table
Hop-by-hop forwarding continues even during
routing topology changes
373
Unicast vs. Multicast Forwarding
Mulitcast Forwarding
Destination IP address doesn’t directly indicate where to
forward packet
Forwarding is connection-oriented
Receivers must first “connect” to the source before traffic
begins to flow
Connection messages (PIM Joins) follow unicast routing
table toward multicast source
Build Multicast Distribution Trees that determine where
to forward packets
Distribution Trees rebuilt dynamically in case of network
topology changes
374
Reverse Path Forwarding (RPF)
The RPF Calculation
The multicast source address is checked against the
unicast routing table
This determines the interface and upstream router in the
direction of the source to which PIM Joins are sent
This interface becomes the “Incoming” or RPF interface
A router forwards a multicast datagram only if received
on the RPF interface
375
PIM Sparse Mode
TECCCIE-3000_c3 © 2009 Cisco Systems, Inc. All rights reserved. Cisco Public 376
PIM Sparse Mode
Protocol-independent
Supports all underlying unicast routing protocols including: static,
RIP, IGRP, EIGRP, IS-IS, BGP, and OSPF
Sparse mode
Uses “pull” model
Traffic sent only to where it is requested
Explicit join behavior
377
PIM-SM Shared Tree Join
RP
378
PIM-SM Sender Registration
RP
Source
379
PIM-SM Sender Registration
RP
Source
380
PIM-SM Sender Registration
RP
Source
381
PIM-SM SPT Switchover
RP
Source
382
PIM-SM SPT Switchover
RP
Source
383
PIM-SM SPT Switchover
RP
Source
384
PIM-SM SPT Switchover
RP
Source
385
PIM-SM SPT Switchover
RP
Source
386
PIM-SM SPT Switchover
RP
Source
387
PIM Sparse Mode Configuration
and Verification
TECCCIE-3000_c3 © 2009 Cisco Systems, Inc. All rights reserved. Cisco Public 388
PIM Sparse Mode Static RP
On Every Router
Global Configuration Command
ip multicast-routing
ip pim rp-address 10.1.22.22
R4 S0/0 10.2.3.4/24 R3
ip pim sparse-mode
S0/1 10.2.2.3/24
ip pim sparse-mode
LO0 10.1.22.22/32
ip pim sparse-mode
S0/1 10.2.2.2/24
S0/0 10.2.3.2/24 R2 ip pim sparse-mode
ip pim sparse-mode E0/0 10.1.1.2/24
ip pim sparse-mode
E0/0 10.1.1.1/24
ip pim sparse-mode
R1
389
PIM Sparse Mode Static RP—Verification
On Every Routerr3# show ip pim rp mapping
Group(s): 224.0.0.0/4, Static
Global Configuration Command
RP: 10.1.22.22 (R2)
ip multicast-routing
ip pim rp-address 10.1.22.22
R4 S0/0 10.2.3.4/24 R3
ip pim sparse-mode
S0/1 10.2.2.3/24
ip pim sparse-mode
LO0 10.1.22.22/32
ip pim sparse-mode
S0/1 10.2.2.2/24
S0/0 10.2.3.2/24 R2 ip pim sparse-mode
ip pim sparse-mode E0/0 10.1.1.2/24
ip pim sparse-mode
E0/0 10.1.1.1/24
ip pim sparse-mode
R1
390
PIM Sparse Mode Static RP—Verification
On Every Router
Global Configuration Command
ip multicast-routing
ip pim rp-address 10.1.22.22
R4 S0/0 10.2.3.4/24 R3
ip pim sparse-mode
S0/1 10.2.2.3/24
ip pim sparse-mode
LO0 10.1.22.22/32
ip pim sparse-mode
S0/1 10.2.2.2/24
S0/0 10.2.3.2/24 R2 ip pim sparse-mode
ip pim sparse-mode E0/0 10.1.1.2/24
ip pim sparse-mode
391
PIM Sparse Mode Static RP—Verification
On Every Router
Global Configuration Command
ip multicast-routing
ip pim rp-address 10.1.22.22
R4 S0/0 10.2.3.4/24 R3
ip pim sparse-mode
S0/1 10.2.2.3/24
ip pim sparse-mode
LO0 10.1.22.22/32
ip pim sparse-mode
S0/1 10.2.2.2/24
S0/0 10.2.3.2/24 R2 ip pim sparse-mode
ip pim sparse-mode E0/0 10.1.1.2/24
ip pim sparse-mode
393
PIM Sparse Mode Auto-RP
MA
R4 R3
RP
On Every Router
Global Configuration Command
R2
ip multicast-routing ip pim send-rp announce loopback 0 scope 16
ip pim sparse-dense-mode
or
ip pim sparse-mode
with R1
Global command: ip pim auto-rp listener
394
PIM Sparse Mode Auto-RP—Verification
r2# show ip pim rp mapping
PIM Group-to-RP Mappings
This system is an RP (Auto-RP)
ip pim send-rp-discovery loopback 0 scope 16
Group(s) 224.0.0.0/4
RP 10.1.22.22 (r2), v2v1 MA
R4
Info source: 10.1.44.44 (R3), via Auto-RP R3
Uptime: 00:02:19, expires: 00:02:38
RP
On Every Router
Global Configuration Command
R2
ip multicast-routing ip pim send-rp announce loopback 0 scope 16
ip pim sparse-dense-mode
or
ip pim sparse-mode
with R1
Global command: ip pim auto-rp listener
395
PIM Sparse Mode Auto-RP—Verification
MA
R4 R3
RP
On Every Router
Global Configuration Command
R2
ip multicast-routing ip pim
r3# show ip send-rp
pim rpannounce
mapping loopback 0 scope 16
PIM Group-to-RP Mappings
Interface Configuration Command This system is an RP-mapping agent (Loopback0)
ip pim sparse-dense-mode Group(s) 224.0.0.0/4
or RP 10.1.22.22 (r2), v2v1
ip pim sparse-mode Info source: 10.1.22.22 (R2), via Auto-RP
with R1 Uptime: 00:02:55, expires: 00:02:00
Global command: ip pim auto-rp listener
396
PIM Sparse Mode Auto-RP—Verification
MA
R4 R3
RP
On Every Router
Global Configuration Command
R2
ip multicast-routing ip pim send-rp announce loopback 0 scope 16
r4# show ip pim rp mapping
PIM Group-to-RP Mappings
Interface
Configuration Command
Group(s) 224.0.0.0/4
RPip10.1.22.22
pim sparse-dense-mode
(r2), v2v1
or
Info source: 10.1.44.44 (R3), via Auto-RP
ip pim sparse-mode
Uptime: 00:24:29, expires: 00:02:17
with R1
Global command: ip pim auto-rp listener
397
PIM Sparse Mode BSR
BSR
R4 R3
RP
On Every Router
Global Configuration Command
R2
ip multicast-routing ip pim rp-candidate loopback 0
ip pim sparse-mode
R1
398
PIM Sparse Mode BSR—Verification
r2# show ip pim rp mapping
PIM Group-to-RP Mappings
This system is a candidate RP (v2)
ip pim bsr-candidate loopback 0
Group(s) 224.0.0.0/4
RP 10.1.22.22 (?), v2 BSR
R4
Info source: 10.1.44.44 (?), via bootstrap R3
Uptime: 00:04:09, expires: 00:02:27
RP
On Every Router
Global Configuration Command
R2
ip multicast-routing ip pim rp-candidate loopback 0
ip pim sparse-mode
R1
399
PIM Sparse Mode BSR—Verification
r2# show ip pim bsr-router
PIMv2 Bootstrap information
BSR address: 10.1.44.44 (?)
ip pim bsr-candidate loopback 0
Uptime: 00:06:16, BSR Priority: 0, Hash mask length: 0
Expires: 00:01:55
BSR
R4
Next Cand_RP_advertisement in 00:00:39 R3
RP: 10.1.22.22(Loopback0)
RP
On Every Router
Global Configuration Command
R2
ip multicast-routing ip pim rp-candidate loopback 0
ip pim sparse-mode
R1
400
Anycast RP: Overview
Uses single statically defined RP address
Two or more routers have same RP address
RP address defined as a loopback interface
Loopback address advertised as a host route
401
Anycast RP MSDP Configuration
RP1 RP2
MSDP
A B
ip pim rp-address 10.1.1.1
ip pim rp-address 10.1.1.1
X Y
402
References
Developing IP Multicast
Networks;
Beau Williamson, Cisco Press
Routing TCP/IP Volume II;
Jeff Doyle, Cisco Press
ftp://ftpeng.cisco.com/ipmulticast/trai
ning/index.html
Quality of Services
TECCCIE-3000_c3 © 2009 Cisco Systems, Inc. All rights reserved. Cisco Public 404
Quality of Service (QoS)
What Is Qos, Why?
Differentiated Services Architecture
Modular QoS Command Line
Classification/Marking
Queuing
Policing/Shaping
References
405
What Is QoS in Internetworking?
Qos is applicable in many domains outside networking
(supermarket, public roads,…)
In networking, we refer to the set of requirements
an application imposes along an end to end pipe
Loss rate
Latency, jitter
Bandwidth
406
Congestion Points
Aggregation Speed Mismatch LAN to WAN
10 Mbps 10 Mbps
407
IETF QoS Model: Differentiated Services
Specify QoS via a packet header value: DSCP
Network uses the QoS specification to classify, shape,
and police traffic, as well as perform intelligent queuing
Enables scalable service discrimination in the Internet
without the need for per-flow state and signaling at
every hop
408
IPv4 ToS vs. DS-Field
(The ToS Byte Is Re-Defined)
409
DiffServ Architecture
410
Assured Forwarding PHB
Guarantees bandwidth
Allow access to extra bandwidth if available
Four standard classes (af1, af2, af3, af4)
DSCP value range: ”aaadd0”
where “aaa is a binary value of the class
and “dd” is the drop probability
411
Expedited Forwarding PHB
Guarantees bandwidth with prioritized forwarding
Polices bandwidth—(excess traffic is dropped)
Recommended DSCP value is 101110 (46)
Looks like IP Precedence 5 to non-DS-compliant devices
412
DSCP Usage
DSCP selects the per-hop behavior (PHB) throughout
the network:
Default PHB 000000
Class Selector PHB—maps to IP Precedence
Assured forwarding PHB (AF)
Expedited forwarding PHB (EF)
413
DSCP
DS Field DSCP ECN
DROP
Class #1 Class #2 Class #3 Class #4
Precedence
AF11 AF21 AF31 AF41
Low Drop
(001010) (010010) 011010) (100010)
Precedence 10 18 26 34
AF12 AF22 AF32 AF42
Medium Drop
(001100) (010100) 011100) (100100)
Precedence 12 20 28 36
AF13 AF23 AF33 AF43
High Drop
(001110) (010110) (011110) (100110)
Precedence 14 22 30 38
414
MQC—3 Steps to Configure a QoS Policy
415
Configuring class-map
class-map <class-name>
match <match-criteria>
match not <match-criteria>
match class-map <class name>
416
match-any vs match-all
418
class-default class
Implicit pre-existing class—No need to be configured
Contains traffic not matching any user-defined class
Features configurable by referencing class-default
directly in a policy-map:
policy-map foo
class class-default
<feature>
419
Understanding policy-map
Named object representing a set of policies that
are to be applied to a set of traffic classes
e.g. Police traffic class to some maximum rate
e.g. Guarantee traffic minimum bandwidth
policy-map <map-name>
class <class-map-name-1>
<policy-1>
<policy-n>
class <class-map-name-n>
<policy-n>
420
Configuration Example: policy-map
policy-map wan_policy
class Gold
bandwidth 512
queue-limit 64
random-detect
class Silver
bandwidth 256
class class-default
fair-queue
421
service-policy Command
(config-if)#
service-policy {[output | input policy-name]}
422
Hierarchical Policies
Parent Policy
Class-default
Shape
Child Policy
Class 1 Class 2
Priority Bandwidth
423
Hierarchical Policies
424
Other MQC Features with shape
425
Classification/Marking Options
Ip precedence/DSCP Values
Other Values
Layer 2—802.1Q, ISL, CLP Bit, DE Bit
MPLS—Experimental Bits
NBAR— (L4, dynamic ports)
Traditional—ACLs, qos-group
426
Marking and Classification
Standard IPV4: Three MSB Called IP Precedence
Layer 3 DiffServ: Six MSB Called DSCP Plus Two for ECN
IPV4
Version ToS
Length 1 Byte Len ID Offset TTL Proto FCS IP-SA IP-DA Data
TAG
PREAM. SFD DA SA PT DATA FCS
4 Bytes
427
Marking Options
428
Classification Options
router(config-cmap)#match ?
access-group Access group
any Any packets
class-map Class map
cos IEEE 802.1Q/ISL class of
service/uses priority values
destination-address Destination address
input-interface Select an input interface to
match
ip IP specific values (prec, dscp,
rtp)
mpls Multi Protocol Label Switching
specific values
not Negate this match result
protocol Protocol
qos-group Qos-group
source-address Source address
429
Queuing
Outbound Packets
Scheduler
Packets in
Various Queues
430
Congestion Management—
Queuing and Scheduling
Queuing
Congestion management entails the creation of queues,
assignment of packets to those queues based on
classification
Scheduling
Congestion management controls congestion by determining
the order in which packets are sent from different queues out
an interface based on packet priorities.
Scheduling policy specifies how packets of different classes
are served with respect to each other. Example scheduling
policies include FIFO and WFQ
431
Backpressure
‘Backpressure’ is the term used for the mechanism
which triggers the congestion management
(queuing and scheduling)
Backpressure comes from
tx-ring of an interface is full
Token-bucket of a shaper is empty
Others (platform specific like tofab queuing on GSR)
432
What’s a txQ ?
Every interface has 2 sets of queues
Software queues ( FIFO, WFQ, …)
Any type of software queuing other than FIFO is also
referred to as FANCY Queuing
Hardware queue ( =TxQ ) which is always FIFO!
The TxQ, also called tx-ring, is a FIFO queue in between
the scheduler and the interface asic
Software Q 1
scheduler Tx-ring
Software Q n
Wire Signal
433
CBWFQ—MQC Config Example
policy-map mypolicy
class multimedia
bandwidth 3000
class www
bandwidth 2250
class ftp
bandwidth 1500
class class-default
bandwidth 750
434
CBWFQ—MQC Verification
435
Low Latency Queueing (LLQ)
aka priority Command
436
Configuration Example:
Low Latency Queuing (LLQ)
policy-map wan_policy
class Gold
priority 512
class Silver
bandwidth 256
class class-default
random-detect
Verification
show policy-map interface
437
Policing vs. Shaping
Data Lost
Traffic
Traffic Rate
Traffic
Traffic Rate
Policing
Time Time
Traffic
Traffic
Traffic Rate
Shaping
Time Time
438
Ways to Limit Throughput
Common mechanism to meter traffic is a Token Bucket
Policing
CAR, CBpolicing: Token bucket(s), NO queue
Conform/exceed actions are configurable
Traffic Shaping
GTS, FRTS, CBshaping: Token bucket + queue
Conform/exceed actions are always transmit/queue
439
Token Bucket
440
Tc—Interval—Hypothetical Example
Rate (Mbps)
Bc = 1M => TC = 1s
CIR = 1Mbps
interface rate = 2Mbps
2
1
Bc Bc
Time (s)
Tc1 1 Tc2 2 Tc3 3
441
Be—Excess Burst
442
Class-Based Shaping
443
Average vs. Peak
444
CBShaping: shape average
policy-map SHAPING
class AF
shape average 241000
446
Multi-Action Policers
policy-map QOS
class class-default
police cir 80000 pir 100000
conform-action transmit
exceed-action set-prec-transmit 4
exceed-action set-frde-transmit
violate-action set-prec-transmit 2
violate-action set-frde-transmit
447
Hierarchical Policer
448
Trust Boundaries
WAN
Endpoints Access Distribution Core Aggregation
3
Trust Boundary
A device is trusted if it correctly classifies packets
For scalability, classification should be done as close to the edge as possible
The outermost trusted devices represent the trust boundary
1 and 2 are optimal, 3 is acceptable (if the access switch cannot perform classification)
449
Catalyst Qos—Gotchas
Understand the concept of (un)trusted ports
‘mls qos’ needs to be enabled first in global config mode
Most catalysts have their own CLI for configuring various
features (e.g. queuing)—not always MQC!
Every catalyst model has its own restrictions and qos
featureset
Be familiar with 3550 and 3560 specific implementations
Read UCD!
450
Catalyst QoS: Catalyst 3550 Operation
Queue/
Schedule
Classification/
Policing Marking
Reclassification
Congestion
Control
451
QOS—3560 Switch
Egress
Queues
Policer Marker Ingress
Queues
Policer Marker
Classify SRR SRR
Policer Marker
Policer Marker
452
References
453
Q and A
TECCCIE-3000_c3 © 2009 Cisco Systems, Inc. All rights reserved. Cisco Public 454
Session 10:
Troubleshooting
TECCCIE-3000_c3 © 2009 Cisco Systems, Inc. All rights reserved. Cisco Public 455
Agenda
Overview
Troubleshooting approach
Sample scenario
Sample lab question
456
Overview
457
Troubleshooting Approach
458
Sample TS Lab Scenario
Network
YY.YY.0.0/16
Lo0= .0.4/32 OSPF
Area 1
R9
NSSA
.0.113/28
E2/0
EIGRP 10
.0.112/28
E2/0 Lo0= .0.3/32 Lo0= .1.2/32
R8 .0.66/28 OSPF R2
.1.50/28
E1/0 E0/0 .0.65/28 Lo0= .0.1/32
S1/0 S1/0 Lo0= .1.1/32 Area 0 .1.49/28 E0/0
.0.82/28 Lo0= .1.3/32
E1/0 DCE
S0/0
.1.19/29
Lo0= .1.4/32 OSPF
Area 2
.1.33/28 Stub
R4
E0/0
.1.34/28 Lo0= .1.5/32
E0/0
R5
459
Sample TS Lab Scenario (Cont.)
IPv6 topology
Lo0: 2001:200:208::8
E0/0: 2001:308:806::8
OSPFv3
R8
Lo0: 2001:333:600::6
S2/0: 2001:303:100::6
EIGRPv6 R6 R1
E1/0: 2001:300:608::6 Lo0: 2001:404:200::1
S2/0: 2001:303:100::1
460
Sample TS Lab Scenario (Cont.)
Incident 8
Router R1 cannot ping the IPv6 route 2001:200:208::8.
1 fault - Score: 2 Points
Issue:
Possible cause(s) R1#ping ipv6 2001:200:208::8
• Address configuration <…>
• Routing protocols configuration ..... IPv6 ping fails
• Redistribution configuration Success rate is 0 percent (0/5)
• Other? Verification:
R1#ping ipv6 2001:200:208::8
!!!!! IPv6 ping success
461
Q and A
TECCCIE-3000_c3 © 2009 Cisco Systems, Inc. All rights reserved. Cisco Public 462