63
7/22/2019 CCIE routing and switching Quick Review Kit http://slidepdf.com/reader/full/ccie-routing-and-switching-quick-review-kit 1/63 By: Krzysztof Załęski CCIE R&S #24081 CCIE Routing and Swithing Quick Review Kit ver. 20100507

CCIE routing and switching Quick Review Kit

Embed Size (px)

Citation preview

Page 1: CCIE routing and switching Quick Review Kit

7/22/2019 CCIE routing and switching Quick Review Kit

http://slidepdf.com/reader/full/ccie-routing-and-switching-quick-review-kit 1/63

By: Krzysztof ZałęskiCCIE R&S #24081

CCIERouting and Swithing

Quick Review Kit

ver. 20100507

Page 2: CCIE routing and switching Quick Review Kit

7/22/2019 CCIE routing and switching Quick Review Kit

http://slidepdf.com/reader/full/ccie-routing-and-switching-quick-review-kit 2/63

Page 3: CCIE routing and switching Quick Review Kit

7/22/2019 CCIE routing and switching Quick Review Kit

http://slidepdf.com/reader/full/ccie-routing-and-switching-quick-review-kit 3/63

Page 3 of 63By Krzysztof Zaleski, CCIE #24081. This Booklet is available for free and can be freely distributed in a form as is. Selling is prohibited.

Copyright information

CCIE Routing and Switching Quick Review KitBy Krzysztof ZałęskiCCIE R&S #24081, CCVP

http://[email protected]

ver. 20100507

This Booklet is NOT sponsored by, endorsed by or affiliated with Cisco Systems, Inc.

Cisco, Cisco Systems, CCIE, CCVP, CCIP, CCNP, CCNA, the Cisco Systems logo, the CCVP logo, the CCIE logo are trademarks or registered trademarks of CiscoSystems, Inc. in the United States and certain other countries.

All terms mentioned in this book, known to be trademarks or service marks belong to their appropriate right owners.

This Booklet is designed to help CCIE candidates to prepare themselves for the CCIE written and/or the lab exam. However, this is not a complete studyreference. It is just a series of the author’s personal notes, written down during his pre-lab, and further studies, in a form of mind maps, based mainly onCISCO Documentation for IOS 12.4T. The main goal of this material is to provide quick and easy-to-skim method of refreshing cadidate’s existing knowledge.All effort has been made to make this Booklet as precise and correct as possible, but no warranty is implied. CCIE candidates are strongly encouradged toprepare themselves using other comprehensive study materials like Cisco Documentation (www.cisco.com/web/psa/products/index.html), Cisco Press books(www.ciscopress.com), and other well-known vendor’s products, before going through this Booklet. The autor of this Booklet takes no responsibility, norliablity to any person or entity with respect to loss of any information or failed tests or exams arising from the information contained in this Booklet.

This Booklet is available for free, and can be freely distributed in the form as is. Selling this Booklet in any printed or electroic form i prohibited. For the mostrecent version of this document, please visit http://www.inetcon.org

Did you enjoy this booklet? Was it helpful? You can share your gratitude :-) here: http://amzn.com/w/28VI9LZ9NEJF1

Page 4: CCIE routing and switching Quick Review Kit

7/22/2019 CCIE routing and switching Quick Review Kit

http://slidepdf.com/reader/full/ccie-routing-and-switching-quick-review-kit 4/63

Data-link technologiesFrame Relay 5PPP 6

PPPoE 7

SwitchingVLAN 8PVST 9MST 10PortChannel 11L2 Port protection 11L2 Convergence 11SPAN 12Macro 12

Bridging 1235x0 features 12

IP ServicesNTP 13ARP 13CDP 13WCCP 13Routing features 14OER/PfR basics 15OER/PfR measuring 16OER/PfR learning 16OER/PfR policy 17OER/PfR control 171st hop redundancy 18NAT 19Management 20DNS 21DHCP 21

RoutingRIPv2 22EIGRP part 1 23EIGRP part 2 24OSPFv2 25OSPF filtering 26OSPF neighbors 27OSPF LSAs 28BGP 29BGP route origin 30BGP aggregation 30BGP convergence 30BGP filtering 31BGP scalability 31BGP stability 31BGP attributes 32

Table of Contents

IPv6IPV6 addressing 33IPV6 routing 34

IPv6 tunneling 35

MulticastPIM 36PIM-SM 37PIM-DM 37Auto-RP 38Bootstrap 38MSDP 38IGMPv2 39Mcast features 40

IPv6 multicast 41MLD 42

Quality-of-ServiceQoS Classify 43CBWFQ 44FIFO 44WRED 45Shaping 46Policing 4735x0 QoS 483560 QoS 493550 QoS 50Compression 51LFI 51Legacy Queueing 51RSVP 52

SecurityL3 security 53Zone-based FW 54IOS IPS 55L2 security 56Other security 57

MPLSControl & Forwarding 58Labels 59MTU & TTL 59LDP 60L3 VPN 61PE-CE EIGRP 62PE-CE eBGP 62PE-CE Static/RIP/Other 62PE-CE OSPF 63

Page 5: CCIE routing and switching Quick Review Kit

7/22/2019 CCIE routing and switching Quick Review Kit

http://slidepdf.com/reader/full/ccie-routing-and-switching-quick-review-kit 5/63

Page 6: CCIE routing and switching Quick Review Kit

7/22/2019 CCIE routing and switching Quick Review Kit

http://slidepdf.com/reader/full/ccie-routing-and-switching-quick-review-kit 6/63

Page 7: CCIE routing and switching Quick Review Kit

7/22/2019 CCIE routing and switching Quick Review Kit

http://slidepdf.com/reader/full/ccie-routing-and-switching-quick-review-kit 7/63

Page 8: CCIE routing and switching Quick Review Kit

7/22/2019 CCIE routing and switching Quick Review Kit

http://slidepdf.com/reader/full/ccie-routing-and-switching-quick-review-kit 8/63

Page 9: CCIE routing and switching Quick Review Kit

7/22/2019 CCIE routing and switching Quick Review Kit

http://slidepdf.com/reader/full/ccie-routing-and-switching-quick-review-kit 9/63

Cisco

PVST+

1. Elect the Root bridge

2. Determine Root Port

3. Determine Designated Ports

Lowest Priority

(Priority+VLAN+MAC)

wins root election

Priority – 2 bytes

32768 (0x8000)

ID – 6 bytes MAC

If superior (lowest) Hello is heard, own is ceased. Superior is forwarded

4 bits configurable Priority (multiple of 4096)

12 bits System ID Extension – VLAN ID. Allows

different Roots per VLAN (802.1t STP extension)

Each switch forwards root’s

Hello changing some fields

Cost (total cost to the Root) – added from interface on which BPDU was received.

Can be manipulated with BW, speed, and manualy set per VLAN on intf.

Forwarder’s ID

Forwarder’s port priority – configured on interface out which BPDU is sent

Forwarder’s port number – outgoing interface

1. Port on which Hello was received with lowest Cost (after adding own cost)

10Mb – 100

100Mb – 19

1Gb – 4

10Gb – 22. Lowest forwarder’s Bridge ID – the one who sent BPDU to us

3. Lowest forwarder’s (peer’s) port priority (default is 128, 0 to 240 in increments of 16)

4. Lowest forwarder’s port number 

Only one switch can forward traffic to the same segment

Hellos with lowest advertised cost (without adding own cost) becomes DP

Switch with inferior Hellos stops forwarding them to the segment

If advertised costs are the same the tiebreaker is exactly the same as for RP

4. Topology change

If 10 Hellos are missed (Maxage 20 sec) each switch thinks it is a root and starts sending own Hellos again

If another switch receives this Hello on blocking port, and it hears superior Hello on

different port, it switches over from blocking to DP and starts forwarding superior Hellos

 All switches need to be

informed about the

change to timeout CAM

Switch sends TCN BPDU to Root every Hello time until ACKed

Upstream switch ACKs with next Hello setting Topology Change Ack (TCA) bit set

Root sets TCA for next Hello BPDUs so all switches are notified about changes

 All switches use Forward Delay Timeout (15 sec) to time out CAM for pe riod

of MaxAge + ForwardDelay (35 sec). Root sets TC in Hellos for that time.

Blocking => Listening (15sec) => Learning (15 sec) => Forwarding

Timers

Features

M l 3 H ll i

Neighbor querying (proposal-agreement BPDU) like in backbonefast, but standarized. Convergence in less than 1 sec

No blocking and listening state (DISCARDING, LEARNING, FORWARDING)

 All switches originate Hellos all t he time (keepalive). Hellos are NOT relayed

Bridges are not interested in local timers, they use timers send by Root Hellos.

Each bridge adds 1 hop (second) to BPDU age, so each bridge shows hop count from

Root. MaxAge is lowered by this value on each bridge. Max 7 hops is recommended.

1. Lowest peer’s Bridge ID

2. Lowest peer’s port priority3. Lowest peer’s port number 

spanning-tree vlan <id> hello-time <sec> (default is 2 sec)

spanning-tree vlan <id> forward-time <sec> (default is 15 sec)

spanning-tree vlan <id> max-age <sec> (default is 20 sec)

Bridge waits 10 Hello misses before performing STP recalculation

124816326412825651210242048409681921638432768

Extended System ID (VLAN ID)Priority

That’s why priority is in multiples of 4096

Byte 2 Byte 1

(IF) spanning-tree vlan <id> cost <path-cost> (configured on root port)

(IF) spanning-tree vlan <id> port-priority <0-250> (configured on designated port)

(G) spanning-tree vlan <id> priority <0-61440>

(G) spanning-tree vlan <id> root {primary|secondary} [diameter <hop#>] 

- primary : 24576 or 4096 less than existing one (macro listens to root BPDUs)

- secondary: 28672

- diameter: causes changes to Hello, Forward delay and Maxage timers

BPDU ver.2 is used

Root

3 2

1

Blocking becomes DP

Inferior 

Hello

Superior 

Hello

Inferior Hello

Based on IEEE 802.1D standard and includes Cisco proprietary

extensions such as BackboneFast, UplinkFast, and PortFast

PVST was supported only on ISL trunks 32768.AA.AA.AA.AA.AA.AA

32768.BB:BB:BB:BB:BB:BB

32768.CC:CC:CC:CC:CC:CC       F     e       0       /       1

       F     e       0       /       2

       F

     e       0       /       1

       F

     e       0       /       2

Fe0/3

Fe0/3

Fe0/1

Fe0/2

Root

C

B

R

D

D

D

R

D

BB

Features

Page 10: CCIE routing and switching Quick Review Kit

7/22/2019 CCIE routing and switching Quick Review Kit

http://slidepdf.com/reader/full/ccie-routing-and-switching-quick-review-kit 10/63

Page 11: CCIE routing and switching Quick Review Kit

7/22/2019 CCIE routing and switching Quick Review Kit

http://slidepdf.com/reader/full/ccie-routing-and-switching-quick-review-kit 11/63

Page 12: CCIE routing and switching Quick Review Kit

7/22/2019 CCIE routing and switching Quick Review Kit

http://slidepdf.com/reader/full/ccie-routing-and-switching-quick-review-kit 12/63

Page 13: CCIE routing and switching Quick Review Kit

7/22/2019 CCIE routing and switching Quick Review Kit

http://slidepdf.com/reader/full/ccie-routing-and-switching-quick-review-kit 13/63

Page 14: CCIE routing and switching Quick Review Kit

7/22/2019 CCIE routing and switching Quick Review Kit

http://slidepdf.com/reader/full/ccie-routing-and-switching-quick-review-kit 14/63

Page 15: CCIE routing and switching Quick Review Kit

7/22/2019 CCIE routing and switching Quick Review Kit

http://slidepdf.com/reader/full/ccie-routing-and-switching-quick-review-kit 15/63

Page 16: CCIE routing and switching Quick Review Kit

7/22/2019 CCIE routing and switching Quick Review Kit

http://slidepdf.com/reader/full/ccie-routing-and-switching-quick-review-kit 16/63

Page 17: CCIE routing and switching Quick Review Kit

7/22/2019 CCIE routing and switching Quick Review Kit

http://slidepdf.com/reader/full/ccie-routing-and-switching-quick-review-kit 17/63

Page 18: CCIE routing and switching Quick Review Kit

7/22/2019 CCIE routing and switching Quick Review Kit

http://slidepdf.com/reader/full/ccie-routing-and-switching-quick-review-kit 18/63

Page 19: CCIE routing and switching Quick Review Kit

7/22/2019 CCIE routing and switching Quick Review Kit

http://slidepdf.com/reader/full/ccie-routing-and-switching-quick-review-kit 19/63

Page 20: CCIE routing and switching Quick Review Kit

7/22/2019 CCIE routing and switching Quick Review Kit

http://slidepdf.com/reader/full/ccie-routing-and-switching-quick-review-kit 20/63

Page 21: CCIE routing and switching Quick Review Kit

7/22/2019 CCIE routing and switching Quick Review Kit

http://slidepdf.com/reader/full/ccie-routing-and-switching-quick-review-kit 21/63

Page 22: CCIE routing and switching Quick Review Kit

7/22/2019 CCIE routing and switching Quick Review Kit

http://slidepdf.com/reader/full/ccie-routing-and-switching-quick-review-kit 22/63

Page 23: CCIE routing and switching Quick Review Kit

7/22/2019 CCIE routing and switching Quick Review Kit

http://slidepdf.com/reader/full/ccie-routing-and-switching-quick-review-kit 23/63

Page 24: CCIE routing and switching Quick Review Kit

7/22/2019 CCIE routing and switching Quick Review Kit

http://slidepdf.com/reader/full/ccie-routing-and-switching-quick-review-kit 24/63

Page 25: CCIE routing and switching Quick Review Kit

7/22/2019 CCIE routing and switching Quick Review Kit

http://slidepdf.com/reader/full/ccie-routing-and-switching-quick-review-kit 25/63

Page 26: CCIE routing and switching Quick Review Kit

7/22/2019 CCIE routing and switching Quick Review Kit

http://slidepdf.com/reader/full/ccie-routing-and-switching-quick-review-kit 26/63

Page 27: CCIE routing and switching Quick Review Kit

7/22/2019 CCIE routing and switching Quick Review Kit

http://slidepdf.com/reader/full/ccie-routing-and-switching-quick-review-kit 27/63

Page 28: CCIE routing and switching Quick Review Kit

7/22/2019 CCIE routing and switching Quick Review Kit

http://slidepdf.com/reader/full/ccie-routing-and-switching-quick-review-kit 28/63

Page 29: CCIE routing and switching Quick Review Kit

7/22/2019 CCIE routing and switching Quick Review Kit

http://slidepdf.com/reader/full/ccie-routing-and-switching-quick-review-kit 29/63

Page 30: CCIE routing and switching Quick Review Kit

7/22/2019 CCIE routing and switching Quick Review Kit

http://slidepdf.com/reader/full/ccie-routing-and-switching-quick-review-kit 30/63

Page 31: CCIE routing and switching Quick Review Kit

7/22/2019 CCIE routing and switching Quick Review Kit

http://slidepdf.com/reader/full/ccie-routing-and-switching-quick-review-kit 31/63

Page 32: CCIE routing and switching Quick Review Kit

7/22/2019 CCIE routing and switching Quick Review Kit

http://slidepdf.com/reader/full/ccie-routing-and-switching-quick-review-kit 32/63

Page 33: CCIE routing and switching Quick Review Kit

7/22/2019 CCIE routing and switching Quick Review Kit

http://slidepdf.com/reader/full/ccie-routing-and-switching-quick-review-kit 33/63

Page 34: CCIE routing and switching Quick Review Kit

7/22/2019 CCIE routing and switching Quick Review Kit

http://slidepdf.com/reader/full/ccie-routing-and-switching-quick-review-kit 34/63

Page 35: CCIE routing and switching Quick Review Kit

7/22/2019 CCIE routing and switching Quick Review Kit

http://slidepdf.com/reader/full/ccie-routing-and-switching-quick-review-kit 35/63

Page 36: CCIE routing and switching Quick Review Kit

7/22/2019 CCIE routing and switching Quick Review Kit

http://slidepdf.com/reader/full/ccie-routing-and-switching-quick-review-kit 36/63

Page 37: CCIE routing and switching Quick Review Kit

7/22/2019 CCIE routing and switching Quick Review Kit

http://slidepdf.com/reader/full/ccie-routing-and-switching-quick-review-kit 37/63

Page 38: CCIE routing and switching Quick Review Kit

7/22/2019 CCIE routing and switching Quick Review Kit

http://slidepdf.com/reader/full/ccie-routing-and-switching-quick-review-kit 38/63

Page 39: CCIE routing and switching Quick Review Kit

7/22/2019 CCIE routing and switching Quick Review Kit

http://slidepdf.com/reader/full/ccie-routing-and-switching-quick-review-kit 39/63

Page 40: CCIE routing and switching Quick Review Kit

7/22/2019 CCIE routing and switching Quick Review Kit

http://slidepdf.com/reader/full/ccie-routing-and-switching-quick-review-kit 40/63

Page 41: CCIE routing and switching Quick Review Kit

7/22/2019 CCIE routing and switching Quick Review Kit

http://slidepdf.com/reader/full/ccie-routing-and-switching-quick-review-kit 41/63

Page 42: CCIE routing and switching Quick Review Kit

7/22/2019 CCIE routing and switching Quick Review Kit

http://slidepdf.com/reader/full/ccie-routing-and-switching-quick-review-kit 42/63

Page 43: CCIE routing and switching Quick Review Kit

7/22/2019 CCIE routing and switching Quick Review Kit

http://slidepdf.com/reader/full/ccie-routing-and-switching-quick-review-kit 43/63

Page 44: CCIE routing and switching Quick Review Kit

7/22/2019 CCIE routing and switching Quick Review Kit

http://slidepdf.com/reader/full/ccie-routing-and-switching-quick-review-kit 44/63

Page 45: CCIE routing and switching Quick Review Kit

7/22/2019 CCIE routing and switching Quick Review Kit

http://slidepdf.com/reader/full/ccie-routing-and-switching-quick-review-kit 45/63

Page 46: CCIE routing and switching Quick Review Kit

7/22/2019 CCIE routing and switching Quick Review Kit

http://slidepdf.com/reader/full/ccie-routing-and-switching-quick-review-kit 46/63

Page 47: CCIE routing and switching Quick Review Kit

7/22/2019 CCIE routing and switching Quick Review Kit

http://slidepdf.com/reader/full/ccie-routing-and-switching-quick-review-kit 47/63

Page 48: CCIE routing and switching Quick Review Kit

7/22/2019 CCIE routing and switching Quick Review Kit

http://slidepdf.com/reader/full/ccie-routing-and-switching-quick-review-kit 48/63

Page 49: CCIE routing and switching Quick Review Kit

7/22/2019 CCIE routing and switching Quick Review Kit

http://slidepdf.com/reader/full/ccie-routing-and-switching-quick-review-kit 49/63

Page 50: CCIE routing and switching Quick Review Kit

7/22/2019 CCIE routing and switching Quick Review Kit

http://slidepdf.com/reader/full/ccie-routing-and-switching-quick-review-kit 50/63

Page 51: CCIE routing and switching Quick Review Kit

7/22/2019 CCIE routing and switching Quick Review Kit

http://slidepdf.com/reader/full/ccie-routing-and-switching-quick-review-kit 51/63

Page 52: CCIE routing and switching Quick Review Kit

7/22/2019 CCIE routing and switching Quick Review Kit

http://slidepdf.com/reader/full/ccie-routing-and-switching-quick-review-kit 52/63

Page 53: CCIE routing and switching Quick Review Kit

7/22/2019 CCIE routing and switching Quick Review Kit

http://slidepdf.com/reader/full/ccie-routing-and-switching-quick-review-kit 53/63

Page 54: CCIE routing and switching Quick Review Kit

7/22/2019 CCIE routing and switching Quick Review Kit

http://slidepdf.com/reader/full/ccie-routing-and-switching-quick-review-kit 54/63

Page 55: CCIE routing and switching Quick Review Kit

7/22/2019 CCIE routing and switching Quick Review Kit

http://slidepdf.com/reader/full/ccie-routing-and-switching-quick-review-kit 55/63

Page 56: CCIE routing and switching Quick Review Kit

7/22/2019 CCIE routing and switching Quick Review Kit

http://slidepdf.com/reader/full/ccie-routing-and-switching-quick-review-kit 56/63

Page 57: CCIE routing and switching Quick Review Kit

7/22/2019 CCIE routing and switching Quick Review Kit

http://slidepdf.com/reader/full/ccie-routing-and-switching-quick-review-kit 57/63

Page 58: CCIE routing and switching Quick Review Kit

7/22/2019 CCIE routing and switching Quick Review Kit

http://slidepdf.com/reader/full/ccie-routing-and-switching-quick-review-kit 58/63

Page 59: CCIE routing and switching Quick Review Kit

7/22/2019 CCIE routing and switching Quick Review Kit

http://slidepdf.com/reader/full/ccie-routing-and-switching-quick-review-kit 59/63

Page 60: CCIE routing and switching Quick Review Kit

7/22/2019 CCIE routing and switching Quick Review Kit

http://slidepdf.com/reader/full/ccie-routing-and-switching-quick-review-kit 60/63

Page 61: CCIE routing and switching Quick Review Kit

7/22/2019 CCIE routing and switching Quick Review Kit

http://slidepdf.com/reader/full/ccie-routing-and-switching-quick-review-kit 61/63

Page 62: CCIE routing and switching Quick Review Kit

7/22/2019 CCIE routing and switching Quick Review Kit

http://slidepdf.com/reader/full/ccie-routing-and-switching-quick-review-kit 62/63

Page 63: CCIE routing and switching Quick Review Kit

7/22/2019 CCIE routing and switching Quick Review Kit

http://slidepdf.com/reader/full/ccie-routing-and-switching-quick-review-kit 63/63