ccie routing & switching lab workbook volume i …s3. · configuring trunk ports without dtp...

20

Upload: dinhdan

Post on 02-Apr-2018

258 views

Category:

Documents


10 download

TRANSCRIPT

Page 1: CCIE Routing & Switching Lab Workbook Volume I …s3. · Configuring Trunk Ports without DTP ... Using VTP to Propagate VLAN Information ... CCIE Routing & Switching Lab Workbook
Page 2: CCIE Routing & Switching Lab Workbook Volume I …s3. · Configuring Trunk Ports without DTP ... Using VTP to Propagate VLAN Information ... CCIE Routing & Switching Lab Workbook

CCIE Routing & Switching Lab Workbook Volume I Version 4.1

Copyright © 2007 Internetwork Expert www.InternetworkExpert.com - i -

Copyright Information

Copyright © 2003 - 2007 Internetwork Expert, Inc. All rights reserved.

The following publication, CCIE Routing & Switching Lab Workbook Volume I, was developed by Internetwork Expert, Inc. All rights reserved. No part of this publication may be reproduced or distributed in any form or by any means without the prior written permission of Internetwork Expert, Inc. Cisco®, Cisco® Systems, CCIE, and Cisco Certified Internetwork Expert, are registered trademarks of Cisco® Systems, Inc. and/or its affiliates in the U.S. and certain countries.

All other products and company names are the trademarks, registered trademarks, and service marks of the respective owners. Throughout this manual, Internetwork Expert, Inc. has used its best efforts to distinguish proprietary trademarks from descriptive names by following the capitalization styles used by the manufacturer.

                                   

Page 3: CCIE Routing & Switching Lab Workbook Volume I …s3. · Configuring Trunk Ports without DTP ... Using VTP to Propagate VLAN Information ... CCIE Routing & Switching Lab Workbook

CCIE Routing & Switching Lab Workbook Volume I Version 4.1

Copyright © 2007 Internetwork Expert www.InternetworkExpert.com - ii -

Disclaimer

The following publication, CCIE Routing & Switching Lab Workbook Volume I, is designed to assist candidates in the preparation for Cisco Systems’ CCIE Routing & Switching Lab exam. While every effort has been made to ensure that all material is as complete and accurate as possible, the enclosed material is presented on an “as is” basis. Neither the authors nor Internetwork Expert, Inc. assume any liability or responsibility to any person or entity with respect to loss or damages incurred from the information contained in this workbook. This workbook was developed by Internetwork Expert, Inc. and is an original work of the aforementioned authors. Any similarities between material presented in this workbook and actual CCIETM lab material is completely coincidental.

Page 4: CCIE Routing & Switching Lab Workbook Volume I …s3. · Configuring Trunk Ports without DTP ... Using VTP to Propagate VLAN Information ... CCIE Routing & Switching Lab Workbook

CCIE Routing & Switching Lab Workbook Volume I Version 4.1

Copyright © 2007 Internetwork Expert www.InternetworkExpert.com - iii -

 BGP ..................................................................................................................1

Establishment of BGP Peering Relationships ................................................2 BGP Update Source Mismatch ......................................................................5 BGP Update Source Modification ..................................................................8 iBGP Synchronization..................................................................................12 Transiting Non-BGP Speaking Devices - Redistribution ..............................21 Transiting Non-BGP Speaking Devices - Tunneling ....................................26 BGP Bestpath Selection - Weight ................................................................30 BGP Bestpath Selection – Local Preference ...............................................34 BGP Bestpath Selection – Local Preference ...............................................38 BGP Bestpath Selection – MED ..................................................................42 BGP Bestpath Selection – Origin.................................................................46 BGP Next-Hop Processing – Next-Hop-Self ................................................50 BGP Next-Hop Processing – Manual Modification.......................................53 BGP Next-Hop Processing – IGP Redistribution .........................................56 BGP Communites – No-Export ....................................................................60 BGP Communites – No-Advertise ...............................................................65 BGP Route Reflection..................................................................................71 BGP Confederation......................................................................................76 BGP Communities – Local AS.....................................................................81 BGP Regular Expressions ...........................................................................87 BGP Outbound Route Filtering (ORF) .........................................................93 BGP Aggregation.........................................................................................99 BGP Aggregation – Summary Only ...........................................................104 BGP Aggregation – Suppress Map............................................................108 BGP Aggregation – Unsuppress Map........................................................113 BGP Aggregation – AS-Set .......................................................................118 BGP Aggregation – Advertise Map ............................................................121 BGP Allow AS In........................................................................................124

BRIDGING & SWITCHING...................................................................................128 Understanding Layer 2 Access Switchports ..............................................129 Understanding ISL Trunk Ports..................................................................131 Understanding 802.1q Trunk Ports ............................................................133 Understanding 802.1q Trunk Ports and the Native VLAN..........................135 Configuring Trunk Ports without DTP ........................................................137 Router-on-a-Stick.......................................................................................139 Router-on-a-Stick and the Native VLAN ....................................................142 EtherChannel.............................................................................................145 EtherChannel - PAgP ................................................................................147 EtherChannel - PagP Auto.........................................................................150 EtherChannel - LACP ................................................................................153 EtherChannel - LACP Passive...................................................................156 EtherChannel - Layer 3..............................................................................159 SPAN.........................................................................................................161 RSPAN ......................................................................................................163

Page 5: CCIE Routing & Switching Lab Workbook Volume I …s3. · Configuring Trunk Ports without DTP ... Using VTP to Propagate VLAN Information ... CCIE Routing & Switching Lab Workbook

CCIE Routing & Switching Lab Workbook Volume I Version 4.1

Copyright © 2007 Internetwork Expert www.InternetworkExpert.com - iv -

Common Configuration for Ring Topology.................................................166 Using VTP to Propagate VLAN Information...............................................171 Mixing VTP Modes in Single Topology ......................................................175 VTP Domain Name and DTP Operations ..................................................179 VLAN Load-Balancing using the allowed VLAN list ...................................181 Basic STP Features: Tuning Timers ..........................................................183 Basic STP Features: PortFast ...................................................................185 Basic STP Features: UplinkFast ................................................................187 Basic STP Features: BackboneFast ..........................................................190 Basic STP Features: BPDU Guard ............................................................193 Basic STP Features: Root Guard ..............................................................195 Basic STP Features: BPDU Filter ..............................................................197 Basic STP Features: Loopguard................................................................199 Configuring MSTP .....................................................................................202 Load-Balancing with STP Root Bridge Placement.....................................207 VLAN Load-Balancing using STP Port-Priority ..........................................213 VLAN Load-Balancing using STP Port-Cost ..............................................219 VLAN Load-Balancing using MSTP...........................................................224 Configuring Private VLANs ........................................................................228 Using QinQ for Transparent Tunneling ......................................................235 QinQ and Layer 2 Protocol Forwarding .....................................................239 Controlling Traffic-Rate with Storm-Control ...............................................242 Configuring Redundancy with Flex Links...................................................243 Using Smartport Macros ............................................................................246 Per-Port Per-VLAN Classification on the 3550 ..........................................248 Using Hierarchical Policy-Maps for QoS Classification on the 3560 ..........251 Using Hierarchical Policy-Maps for Traffic Policing on 3560......................255 Using Hierarchical Policy-Maps for Policing Markdown on 3560 ...............260 Using VLAN Access-Map for Non-IP Traffic Filtering.................................265 Using VLAN Access-Map for IP Traffic Filtering ........................................270 Configuring Port-Security...........................................................................272 Port-Security Violation Action ....................................................................274 Port-Security Violation Recovery ...............................................................276 Port-Security and HSRP with Virtual MAC Address...................................278 Port-Security and HSRP with BIA MAC Address .......................................281

EIGRP ...........................................................................................................283 Understanding the EIGRP Network Statement ..........................................284 EIGRP Auto-Summary...............................................................................287 EIGRP Split Horizon ..................................................................................290 Unicast EIGRP Updates ............................................................................294 Tuning EIGRP Convergence Timers .........................................................298 Common Configuration..............................................................................301 Unequal-Cost Load-Balancing ...................................................................304 Adjacency Authentication ..........................................................................307 Stub Router Feature ..................................................................................310 Default Route Origination with Summarization ..........................................312

Page 6: CCIE Routing & Switching Lab Workbook Volume I …s3. · Configuring Trunk Ports without DTP ... Using VTP to Propagate VLAN Information ... CCIE Routing & Switching Lab Workbook

CCIE Routing & Switching Lab Workbook Volume I Version 4.1

Copyright © 2007 Internetwork Expert www.InternetworkExpert.com - v -

Default Routing with Default-Network ........................................................314 Administrative Distance Manipulation ........................................................316 Filtering with Distribute-List........................................................................319 Prefix Filtering using Distribute-List with Route-Map .................................321

FRAME RELAY.................................................................................................323 Frame-Relay Inverse-ARP.........................................................................324 Frame-Relay Static Mapping 1 ..................................................................327 Frame-Relay Inverse-ARP & Static Mappings ...........................................330 Frame-Relay Multipoint Interfaces: Inverse-ARP.......................................333 Frame-Relay Multipoint Interfaces: Static Mappings..................................336 Frame-Relay Multipoint Interfaces: Inverse-ARP & Static Mappings .........339 Frame-Relay Point-to-Point Subinterfaces ................................................342 Frame-Relay Point-to-Point Subinterfaces and Main Interfaces: Inverse-ARP...................................................................................................................345 Frame-Relay Point-to-Point Subinterfaces and Main Interfaces: Static Mappings ...................................................................................................348 Frame-Relay Point-to-Point Subinterfaces and Multipoint Subinterfaces: Inverse-ARP ..............................................................................................351 Frame-Relay Point-to-Point Subinterfaces and Multipoint Subinterfaces: Static Mapping ...........................................................................................354 Frame-Relay Main Interface: Inverse-ARP, Multipoint Interface: Inverse-ARP...................................................................................................................357 Frame-Relay Main Interface: Inverse-ARP, Multipoint Interface: Static Mapping.....................................................................................................360 Frame-Relay Main Interface: Static Mapping, Multipoint Interface: Inverse-ARP ...........................................................................................................363 Frame-Relay Main Interface: Static Mapping, Multipoint Interface: Static Mapping.....................................................................................................366 Frame-Relay Hub-and-Spoke, Main Interfaces w/ Inverse-ARP................369 Frame-Relay Hub-and-Spoke, Main Interfaces w/ Inverse-ARP & Static Mappings ...................................................................................................373 Frame-Relay Hub-and-Spoke, Main Interfaces w/ Static Mappings...........377 Frame-Relay Hub-and-Spoke, Main Interfaces w/ Inverse-ARP & Point-to-Point Subinterfaces....................................................................................381 Frame-Relay Hub-and-Spoke, Main Interfaces w/ Static Mappings & Point-to-Point Subinterfaces ...............................................................................384

IP SERVICES ...................................................................................................388 Common Configuration..............................................................................389 Proxy ARP .................................................................................................391 Local Proxy ARP........................................................................................394 Securing Virtual Terminal Line Access ......................................................396 Controlling Virtual Terminal Line Access ...................................................398 Using DHCP for Autoconfiguration ............................................................400 DHCP Relay ..............................................................................................402 Configuring DHCP Host Pools ...................................................................404 AutoInstall over Frame-Relay ....................................................................407

Page 7: CCIE Routing & Switching Lab Workbook Volume I …s3. · Configuring Trunk Ports without DTP ... Using VTP to Propagate VLAN Information ... CCIE Routing & Switching Lab Workbook

CCIE Routing & Switching Lab Workbook Volume I Version 4.1

Copyright © 2007 Internetwork Expert www.InternetworkExpert.com - vi -

Using NTP for Time Synchronization.........................................................410 Authenticating NTP Updates......................................................................413 Router Menus ............................................................................................416 Gateway Redundancy with VRRP .............................................................419 Gateway Redundancy with HSRP .............................................................423

IPV6...............................................................................................................427 Understanding Link Local and EUI-64 IPv6 Addressing ............................428 Understanding Site Local IPv6 Addressing................................................431 Understanding Global Unicast IPv6 Addressing ........................................434 IPv6 over Frame Relay – Multipoint...........................................................436 IPv6 over Frame Relay – Point-to-Point ....................................................439

NAT...............................................................................................................441 Common Configuration..............................................................................442 Standard NAT Configuration......................................................................446 Standard NAT with Overloading (PAT) ......................................................449 NAT Redundancy with Route-Maps...........................................................451 Policy NAT with Route-Maps .....................................................................454 Configuring Static NAT ..............................................................................457 Configuring Static PAT ..............................................................................459 Configuring Static Policy NAT....................................................................461 Overlapping Networks and Outside NAT ...................................................463 Using Destination NAT for Load-Balancing ...............................................466 Stateful NAT with HSRP ............................................................................468

OSPF ............................................................................................................473 Understanding the OSPF Network Statement ...........................................474 OSPF DR/BDR Election ............................................................................478 OSPF over Frame Relay - Non-Broadcast.................................................482 OSPF over Frame Relay - Broadcast ........................................................487 OSPF over Frame Relay - Point-to-Multipoint............................................492 OSPF over Frame Relay - Point-to-Multipoint Non-Broadcast...................498 OSPF over Frame Relay - Point-to-Point...................................................503 OSPF Network Type Loopback .................................................................506 OSPF Virtual Links - Repairing Area 0 ......................................................510 OSPF Virtual Links - Repairing Discontiguous Areas ................................516 Common Multi-Area Configuration with 2 ABRs ........................................521 Using Type-3 LSA Inter-Area Filtering .......................................................524 Type-3 LSA Filtering with Network Ranges ...............................................526 Ingress Filtering with Distribute-List ...........................................................528 Ingress Filtering with Distribute-List and Route-Map .................................530 Ingress Filtering with Administrative Distance............................................533 NSSA Area Type 7to5 LSA Translator Election .........................................537 NSSA Area ABR External Prefix Filtering ..................................................541 NSSA Suppress FA Feature......................................................................543 NSSA Area and Default-Route Origiantion at ABR Part 1 .........................545 NSSA Area and Default-Route Origiantion at ABR Part 2 .........................547 NSSA Area and Default-Route Origiantion at ASBR .................................549

Page 8: CCIE Routing & Switching Lab Workbook Volume I …s3. · Configuring Trunk Ports without DTP ... Using VTP to Propagate VLAN Information ... CCIE Routing & Switching Lab Workbook

CCIE Routing & Switching Lab Workbook Volume I Version 4.1

Copyright © 2007 Internetwork Expert www.InternetworkExpert.com - vii -

QOS...............................................................................................................552 Legacy Custom Queueing .........................................................................553 MQC Bandwidth.........................................................................................557 Legacy Priority Queueing ..........................................................................562 MQC Low Latency Queue .........................................................................565 Legacy Generic Traffic Shaping.................................................................568 Legacy Frame Relay Traffic Shaping.........................................................570 MQC Frame Relay Traffic Shaping............................................................573 Legacy Committed Access Rate................................................................576 MQC Policing.............................................................................................578 Common Configuration..............................................................................581 Legacy FRTS.............................................................................................585 Legacy FRTS with Per-VC Priority Queueing ............................................588 Frame-Relay Adaptive Shaping .................................................................590 Frame-Relay Fragmentation (FRF.12).......................................................592 Frame-Relay IP RTP Priority .....................................................................594 Frame-Relay Per-VC CBWFQ...................................................................596 MQC-Only FRTS Configuration .................................................................599 MQC FRTS................................................................................................602 Voice-Adaptive FRTS ................................................................................605 Frame-Relay Voice-Adaptive Fragmentation .............................................608 FRF.11 Annex C Fragmentation for VoFR.................................................610 Frame-Relay PIPQ ....................................................................................612

RIP ................................................................................................................615 RIPv1 Contiguous Networks ......................................................................616 RIPv1 Discontiguous Networks..................................................................619 RIPv1 FLSM ..............................................................................................622 RIPv1 VLSM ..............................................................................................625 RIPv2.........................................................................................................628 RIP Send-Receive Version ........................................................................631 Tuning RIP Convergence Timers...............................................................635 RIP and IP Split Horizon ............................................................................638 Controlling RIP Updates ............................................................................643 Unicast RIP Updates .................................................................................646 RIP Summarization....................................................................................651 RIP Default Origination ..............................................................................654

IP MULTICAST .................................................................................................657 PIM Dense Mode .......................................................................................658 PIM Sparse Mode ......................................................................................668 Multicast RPF Failure ................................................................................676 Auto-RP .....................................................................................................683 Auto-RP – Multiple Candidate RPs............................................................690 Auto-RP – Filtering Candidate RPs ...........................................................698 Auto-RP Listener .......................................................................................704 PIM NBMA Mode .......................................................................................711 Auto-RP and Default RP Placement ..........................................................718

Page 9: CCIE Routing & Switching Lab Workbook Volume I …s3. · Configuring Trunk Ports without DTP ... Using VTP to Propagate VLAN Information ... CCIE Routing & Switching Lab Workbook

CCIE Routing & Switching Lab Workbook Volume I Version 4.1

Copyright © 2007 Internetwork Expert www.InternetworkExpert.com - viii -

Bootstrap Router........................................................................................725 Multicast Source Distribution Protocol (MSDP)..........................................730 Anycast RP................................................................................................737 Multicast BGP............................................................................................744

SECURITY .......................................................................................................751 Traffic Filtering with Access Lists...............................................................752 Traffic Filtering with Reflexive Access-Lists ...............................................756 Reflexive Access-Lists and Router-Generated Traffic ...............................758 Configuring CBAC for Traffic Inspection ....................................................761 Access Control with Dynamic ACLs (Lock & Key) .....................................763 Using NBAR to Filter Traffic.......................................................................766 Using Policy-Based Routing to Filter Traffic...............................................768 DoS Attacks Prevention with TCP Intercept...............................................770 Configuring TCP Intercept in Watch Mode ................................................772 DoS Attacks Prevention with CBAC...........................................................774 Configuring Application Port-Mapping with CBAC .....................................777 Using CAR for Smurf Attack Mitigation ......................................................779 IP Address Spoofing Prevention with ACLs...............................................781 Using uRPF to Prevent IP Address Spoofing ............................................784

Page 10: CCIE Routing & Switching Lab Workbook Volume I …s3. · Configuring Trunk Ports without DTP ... Using VTP to Propagate VLAN Information ... CCIE Routing & Switching Lab Workbook

Copyright © 2007 Internetwork Expert www.InternetworkExpert.com - 1 -

Page 11: CCIE Routing & Switching Lab Workbook Volume I …s3. · Configuring Trunk Ports without DTP ... Using VTP to Propagate VLAN Information ... CCIE Routing & Switching Lab Workbook

CCIE Routing & Switching Lab Workbook Volume I Version 4.1

Copyright © 2007 Internetwork Expert www.InternetworkExpert.com - 2 -

R1 R2

12.0.0.0/8 VLAN A

BGP AS 1

E0/0 E0/0.1 .2

iBGP

Establishment of BGP Peering Relationships Objective: Configure a BGP peering relationship between R1 and R2

Directions

• Configure R1's interface Ethernet0/0 with the IP address of 12.0.0.1/8 • Configure R2's interface Ethernet0/0 with the IP address of 12.0.0.2/8 • Configure R1 and R2 to be in BGP AS 1 • Configure a BGP neighbor statement on R1 specifying R2's interface Ethernet0/0

as the remote peer • Configure a BGP neighbor statement on R2 specifying R1's interface Ethernet0/0

as the remote peer Ask Yourself

• What are the requirements of establishing a BGP peering relationship? • What does BGP use for a transport? • Who is the TCP client of a BGP session? The TCP server? • How can you verify this? • What affects the client/server relationship? • Change R1's BGP router-id to 12.0.0.3, what happens?

Final Configuration

R1: interface Ethernet0/0 ip address 12.0.0.1 255.0.0.0 ! router bgp 1 bgp router-id 12.0.0.3 neighbor 12.0.0.2 remote-as 1

R2: interface Ethernet0/0 ip address 12.0.0.2 255.0.0.0 !

Page 12: CCIE Routing & Switching Lab Workbook Volume I …s3. · Configuring Trunk Ports without DTP ... Using VTP to Propagate VLAN Information ... CCIE Routing & Switching Lab Workbook

CCIE Routing & Switching Lab Workbook Volume I Version 4.1

Copyright © 2007 Internetwork Expert www.InternetworkExpert.com - 3 -

router bgp 1 neighbor 12.0.0.1 remote-as 1 Verification

R1#debug ip packet detail R1#clear ip bgp * %BGP-5-ADJCHANGE: neighbor 12.0.0.2 Down User reset ! R2 initiates BGP session with a TCP SYN, R2 is the client IP: s=12.0.0.2 (Ethernet0/0), d=12.0.0.1 (Ethernet0/0), len 44, rcvd 3 TCP src=11001, dst=179, seq=41546943, ack=0, win=16384 SYN ! R1 replies with TCP SYN ACK, R1 is the server IP: tableid=0, s=12.0.0.1 (local), d=12.0.0.2 (Ethernet0/0), routed via RIB ! R2 replies with TCP ACK, connection is open IP: s=12.0.0.2 (Ethernet0/0), d=12.0.0.1 (Ethernet0/0), len 40, rcvd 3 TCP src=11001, dst=179, seq=41546944, ack=3175302907, win=16384 ACK %BGP-5-ADJCHANGE: neighbor 12.0.0.2 Up R2#debug ip packet detail R2#clear ip bgp * %BGP-5-ADJCHANGE: neighbor 12.0.0.1 Down User reset ! R2 initiates BGP session with a TCP SYN, R2 is the client IP: tableid=0, s=12.0.0.2 (local), d=12.0.0.1 (Ethernet0/0), routed via RIB ! R1 replies with TCP SYN ACK, R1 is the server IP: s=12.0.0.1 (Ethernet0/0), d=12.0.0.2 (Ethernet0/0), len 44, rcvd 3 TCP src=179, dst=11002, seq=3515518643, ack=1299268873, win=16384 ACK SYN ! R2 replies with TCP ACK, connection is open IP: tableid=0, s=12.0.0.2 (local), d=12.0.0.1 (Ethernet0/0), routed via RIB %BGP-5-ADJCHANGE: neighbor 12.0.0.1 Up R1#show ip bgp summary BGP router identifier 12.0.0.1, local AS number 1 BGP table version is 1, main routing table version 1 Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd 12.0.0.2 4 1 41 41 1 0 0 00:01:34 0 R2#show ip bgp summary BGP router identifier 12.0.0.2, local AS number 1 BGP table version is 1, main routing table version 1 Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd 12.0.0.1 4 1 41 41 1 0 0 00:01:12 0 R2# After changing R1's router ID to 12.0.0.3 R1#debug ip packet detail ! R1 initiates BGP session with a TCP SYN ! R1 has the higher router-id, now it is the client IP: tableid=0, s=12.0.0.1 (local), d=12.0.0.2 (Ethernet0/0), routed via RIB ! R2 replies with TCP SYN ACK, R2 is the server IP: s=12.0.0.2 (Ethernet0/0), d=12.0.0.1 (Ethernet0/0), len 44, rcvd 3 TCP src=179, dst=11002, seq=373831508, ack=1271983282, win=16384 ACK SYN ! R1 replies with TCP ACK, connection is open IP: tableid=0, s=12.0.0.1 (local), d=12.0.0.2 (Ethernet0/0), routed via RIB R2#debug ip packet detail ! R1 initiates BGP session with a TCP SYN ! R1 has the higher router-id, now it is the client IP: s=12.0.0.1 (Ethernet0/0), d=12.0.0.2 (Ethernet0/0), len 44, rcvd 3 TCP src=11002, dst=179, seq=1271983281, ack=0, win=16384 SYN ! R2 replies with TCP SYN ACK, R2 is the server IP: tableid=0, s=12.0.0.2 (local), d=12.0.0.1 (Ethernet0/0), routed via RIB ! R1 replies with TCP ACK, connection is open IP: s=12.0.0.1 (Ethernet0/0), d=12.0.0.2 (Ethernet0/0), len 40, rcvd 3 TCP src=11002, dst=179, seq=1271983282, ack=373831509, win=16384 ACK R1#show ip bgp summary

Page 13: CCIE Routing & Switching Lab Workbook Volume I …s3. · Configuring Trunk Ports without DTP ... Using VTP to Propagate VLAN Information ... CCIE Routing & Switching Lab Workbook

CCIE Routing & Switching Lab Workbook Volume I Version 4.1

Copyright © 2007 Internetwork Expert www.InternetworkExpert.com - 4 -

BGP router identifier 12.0.0.3, local AS number 1 BGP table version is 1, main routing table version 1 Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd 12.0.0.2 4 1 74 74 1 0 0 00:02:24 0 R2#show ip bgp summary BGP router identifier 12.0.0.2, local AS number 1 BGP table version is 1, main routing table version 1 Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd 12.0.0.1 4 1 73 73 1 0 0 00:01:31 0

Recommended Reading

Explanation of the Three-Way Handshake via TCP/IP

Page 14: CCIE Routing & Switching Lab Workbook Volume I …s3. · Configuring Trunk Ports without DTP ... Using VTP to Propagate VLAN Information ... CCIE Routing & Switching Lab Workbook

Copyright © 2007 Internetwork Expert www.InternetworkExpert.com- 128 -

 

Page 15: CCIE Routing & Switching Lab Workbook Volume I …s3. · Configuring Trunk Ports without DTP ... Using VTP to Propagate VLAN Information ... CCIE Routing & Switching Lab Workbook

CCIE Routing & Switching Lab Workbook Volume I Version 4.1

Copyright © 2007 Internetwork Expert www.InternetworkExpert.com- 129 -

Understanding Layer 2 Access Switchports

Objective: Configure layer 2 connectivity between R1 and R2 through the Catalyst 3550/3560

 

Directions

• Configure R1's Ethernet interface with the IP address 10.0.0.1/8 • Configure R2's Ethernet interface with the IP address 10.0.0.2/8 • Configure the interface attached to R1 as a dynamic desirable port on the

3550/3560 • Configure the interface attached to R2 as a static access port on the 3550/3560 • Use the default VLAN for this connection

Final Configuration R1: interface FastEthernet0/0 ip address 10.0.0.1 255.0.0.0 R2: interface FastEthernet0/0 ip address 10.0.0.2 255.0.0.0 SW1: interface FastEthernet0/1 switchport mode dynamic desirable ! interface FastEthernet0/2 switchport mode access Verification R1#ping 10.0.0.2 Type escape sequence to abort. Sending 5, 100-byte ICMP Echos to 10.0.0.2, timeout is 2 seconds: .!!!! Success rate is 80 percent (4/5), round-trip min/avg/max = 1/3/4 ms SW1#show interface status Port Name Status Vlan Duplex Speed Type Fa0/1 connected 1 a-half a-10 10/100BaseTX Fa0/2 connected 1 a-half a-10 10/100BaseTX SW1#show interface fa0/1 switchport Name: Fa0/1 Switchport: Enabled

Page 16: CCIE Routing & Switching Lab Workbook Volume I …s3. · Configuring Trunk Ports without DTP ... Using VTP to Propagate VLAN Information ... CCIE Routing & Switching Lab Workbook

CCIE Routing & Switching Lab Workbook Volume I Version 4.1

Copyright © 2007 Internetwork Expert www.InternetworkExpert.com- 130 -

Administrative Mode: dynamic desirable Operational Mode: static access Administrative Trunking Encapsulation: negotiate Operational Trunking Encapsulation: native Negotiation of Trunking: On Access Mode VLAN: 1 (default) Trunking Native Mode VLAN: 1 (default) SW1#show interface fa0/2 switchport Name: Fa0/2 Switchport: Enabled Administrative Mode: static access Operational Mode: static access Administrative Trunking Encapsulation: negotiate Operational Trunking Encapsulation: native Negotiation of Trunking: Off Access Mode VLAN: 1 (default) Trunking Native Mode VLAN: 1 (default)

Recommended Reading

Configuring Interface Characteristics

Page 17: CCIE Routing & Switching Lab Workbook Volume I …s3. · Configuring Trunk Ports without DTP ... Using VTP to Propagate VLAN Information ... CCIE Routing & Switching Lab Workbook

Copyright © 2007 Internetwork Expert www.InternetworkExpert.com- 283 -

      

Page 18: CCIE Routing & Switching Lab Workbook Volume I …s3. · Configuring Trunk Ports without DTP ... Using VTP to Propagate VLAN Information ... CCIE Routing & Switching Lab Workbook

CCIE Routing & Switching Lab Workbook Volume I Version 4.1

Copyright © 2007 Internetwork Expert www.InternetworkExpert.com- 284 -

Understanding the EIGRP Network Statement Objective: Configure EIGRP between R1 and R2 on all interfaces except Loopback4

on R1 and Loopback32 on R2 using exactly two network statements on R1 and R2 each

Directions

• Configure R1's Ethernet0/0 with an IP address of 12.0.0.1/8 • Configure R2's Ethernet0/0 with an IP address of 12.0.0.2/8 • Create Loopback interfaces on R1 and R2 per the diagram • Configure EIGRP AS 1 on R1 and R2 • Configure two network statements on R1 and R2 to advertise all interfaces

except Lo4 on R1 and Lo32 on R2 Ask Yourself

• What is the EIGRP network statement used for? • How is the EIGRP network statement similar to the OSPF network statement? • How does the subnet mask of an interface relate to a network statement in

EIGRP?

Final Configuration

R1: interface Loopback0 ip address 1.1.1.0 255.255.255.255 ! interface Loopback1 ip address 1.1.1.1 255.255.255.255 ! interface Loopback2 ip address 1.1.1.2 255.255.255.255 ! interface Loopback3 ip address 1.1.1.3 255.255.255.255 ! interface Loopback4 ip address 1.1.1.4 255.255.255.255

Page 19: CCIE Routing & Switching Lab Workbook Volume I …s3. · Configuring Trunk Ports without DTP ... Using VTP to Propagate VLAN Information ... CCIE Routing & Switching Lab Workbook

CCIE Routing & Switching Lab Workbook Volume I Version 4.1

Copyright © 2007 Internetwork Expert www.InternetworkExpert.com- 285 -

! interface Ethernet0/0 ip address 12.0.0.1 255.0.0.0 ! router eigrp 1 network 1.1.1.0 0.0.0.3 network 12.0.0.1 0.0.0.0 no auto-summary

R2: interface Loopback24 ip address 2.2.2.24 255.255.255.255 ! interface Loopback25 ip address 2.2.2.25 255.255.255.255 ! interface Loopback26 ip address 2.2.2.26 255.255.255.255 ! interface Loopback27 ip address 2.2.2.27 255.255.255.255 ! interface Loopback28 ip address 2.2.2.28 255.255.255.255 ! interface Loopback29 ip address 2.2.2.29 255.255.255.255 ! interface Loopback30 ip address 2.2.2.30 255.255.255.255 ! interface Loopback31 ip address 2.2.2.31 255.255.255.255 ! interface Loopback32 ip address 2.2.2.32 255.255.255.255 ! interface Ethernet0/0 ip address 12.0.0.2 255.0.0.0 ! router eigrp 1 network 2.2.2.24 0.0.0.7 network 12.0.0.2 0.0.0.0 no auto-summary

Verification

R1#show ip route Codes: C - connected, S - static, R - RIP, M - mobile, B - BGP D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2 E1 - OSPF external type 1, E2 - OSPF external type 2 i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, ia - IS-IS inter area * - candidate default, U - per-user static route, o - ODR P - periodic downloaded static route Gateway of last resort is not set 1.0.0.0/32 is subnetted, 5 subnets

Page 20: CCIE Routing & Switching Lab Workbook Volume I …s3. · Configuring Trunk Ports without DTP ... Using VTP to Propagate VLAN Information ... CCIE Routing & Switching Lab Workbook

CCIE Routing & Switching Lab Workbook Volume I Version 4.1

Copyright © 2007 Internetwork Expert www.InternetworkExpert.com- 286 -

C 1.1.1.1 is directly connected, Loopback1 C 1.1.1.0 is directly connected, Loopback0 C 1.1.1.3 is directly connected, Loopback3 C 1.1.1.2 is directly connected, Loopback2 C 1.1.1.4 is directly connected, Loopback4 2.0.0.0/32 is subnetted, 8 subnets D 2.2.2.26 [90/409600] via 12.0.0.2, 00:00:35, Ethernet0/0 D 2.2.2.27 [90/409600] via 12.0.0.2, 00:00:35, Ethernet0/0 D 2.2.2.24 [90/409600] via 12.0.0.2, 00:00:35, Ethernet0/0 D 2.2.2.25 [90/409600] via 12.0.0.2, 00:00:36, Ethernet0/0 D 2.2.2.30 [90/409600] via 12.0.0.2, 00:00:36, Ethernet0/0 D 2.2.2.31 [90/409600] via 12.0.0.2, 00:00:36, Ethernet0/0 D 2.2.2.28 [90/409600] via 12.0.0.2, 00:00:36, Ethernet0/0 D 2.2.2.29 [90/409600] via 12.0.0.2, 00:00:36, Ethernet0/0 C 12.0.0.0/8 is directly connected, Ethernet0/0 R1# R2#show ip route Codes: C - connected, S - static, R - RIP, M - mobile, B - BGP D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2 E1 - OSPF external type 1, E2 - OSPF external type 2 i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, ia - IS-IS inter area * - candidate default, U - per-user static route, o - ODR P - periodic downloaded static route Gateway of last resort is not set 1.0.0.0/32 is subnetted, 4 subnets D 1.1.1.1 [90/409600] via 12.0.0.1, 00:00:49, Ethernet0/0 D 1.1.1.0 [90/409600] via 12.0.0.1, 00:00:49, Ethernet0/0 D 1.1.1.3 [90/409600] via 12.0.0.1, 00:00:49, Ethernet0/0 D 1.1.1.2 [90/409600] via 12.0.0.1, 00:00:49, Ethernet0/0 2.0.0.0/32 is subnetted, 9 subnets C 2.2.2.26 is directly connected, Loopback26 C 2.2.2.27 is directly connected, Loopback27 C 2.2.2.24 is directly connected, Loopback24 C 2.2.2.25 is directly connected, Loopback25 C 2.2.2.30 is directly connected, Loopback30 C 2.2.2.31 is directly connected, Loopback31 C 2.2.2.28 is directly connected, Loopback28 C 2.2.2.29 is directly connected, Loopback29 C 2.2.2.32 is directly connected, Loopback32 C 12.0.0.0/8 is directly connected, Ethernet0/0

Recommended Reading

Cisco IOS Command Reference: network (EIGRP)