Advanced CCIE Routing & Switching 4.0 VOLI - The Cisco Learning ...
Advanced CCIE Routing & Switching 4.0 VOLI - The Cisco Learning ...
Advanced CCIE Routing & Switching 4.0 VOLI - The Cisco Learning ...
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
<strong>Advanced</strong><br />
<strong>CCIE</strong> <strong>Routing</strong> & <strong>Switching</strong><br />
<strong>4.0</strong><br />
www.MicronicsTraining.com<br />
Narbik Kocharians<br />
<strong>CCIE</strong> #12410<br />
R&S, Security, SP<br />
VOLI<br />
<strong>CCIE</strong> R&S by Narbik Kocharians <strong>Advanced</strong> <strong>CCIE</strong> R&S Work Book <strong>4.0</strong> Page 1 of 87<br />
© 2011 Narbik Kocharians. All rights reserved
Table of Content:<br />
Subject Page Volume<br />
Topology 8 VolI<br />
3560 <strong>Switching</strong><br />
Lab 1 Basic 3560 configuration I 14 VolI<br />
Lab 2 Basic 3560 configuration II 51 VolI<br />
Lab 3 Configuring Trunks 84 VolI<br />
Lab 4 Configuring EtherChannels 136 VolI<br />
Lab 5 <strong>Advanced</strong> STP Configuration 156 VolI<br />
Lab 6 Multiple Spanningtree (802.1s) 180 VolI<br />
Lab 7 Configuring Private VLANs 190 VolI<br />
Lab 8 QinQ Tunneling 217 VolI<br />
Lab 9 Fallback Bridging 235 VolI<br />
Framerelay<br />
Lab 1 HubnSpoke Using Frame Map Statements 242 VolI<br />
Lab 2 HubnSpoke Framerelay Pointtopoint 257 VolI<br />
Lab 3 Mixture of P2P and Multipoint 262 VolI<br />
Lab 4 Multipoint Framerelay W/O Frame maps 267 VolI<br />
Lab 5 Framerelay and Authentication 273 VolI<br />
Lab 6 Framerelay EndtoEnd Keepalives 282 VolI<br />
Lab 7 Tricky Framerelay Configuration 297 VolI<br />
Lab 8 Framerelay Multilinking 305 VolI<br />
Lab 9 BacktoBack Framerelay connection 312 VolI<br />
ODR<br />
Lab 1 On Demand <strong>Routing</strong> 321 VolI<br />
RIPv2<br />
Lab 1 RIPv2 and Framerelay 327 VolI<br />
Lab 2 RIPv2 Authentication 335 VolI<br />
Lab 3 <strong>Advanced</strong> RIPv2 Mini Mock Lab 340 VolI<br />
EIGRP<br />
Lab 1 Eigrp configuration 362 VolI<br />
Lab 2 <strong>Advanced</strong> Eigrp Stub Configuration 398 VolI<br />
Lab 3 Eigrp & Defaultinformation 407 VolI<br />
Lab 4 Eigrp Filtering 418 VolI<br />
<strong>CCIE</strong> R&S by Narbik Kocharians <strong>Advanced</strong> <strong>CCIE</strong> R&S Work Book <strong>4.0</strong> Page 2 of 87<br />
© 2011 Narbik Kocharians. All rights reserved
Table of Content:<br />
Subject Page Volume<br />
OSPF<br />
Lab 1 Advertising Networks 427 VolI<br />
Lab 2 Optimization of OSPF & Adjusting Timers 430 VolI<br />
Lab 3 OSPF Authentication 437 VolI<br />
Lab 4 OSPF Cost 462 VolI<br />
Lab 5 OSPF Summarization 467 VolI<br />
Lab 6 Virtuallinks and GRE Tunnels 474 VolI<br />
Lab 7 OSPF Stub, T/Stub, and NSSAs 484 VolI<br />
Lab 8 OSPF Filtering 495 VolI<br />
Lab 9 Additional OSPF Filtering 522 VolI<br />
Lab 10 Redirecting Traffic in OSPF 531 VolI<br />
Lab 11 Database Overload Protection 537 VolI<br />
Lab 12 OSPF NonBroadcast Networks 542 VolI<br />
Lab 13 OSPF Broadcast Networks 551 VolI<br />
Lab 14 OSPF PointtoPoint Networks 555 VolI<br />
Lab 15 OSPF PointtoMultipoint Networks 559 VolI<br />
Lab 16 OSPF PointtoMulti Network – II 566 VolI<br />
Lab 17 OSPF PtoM NonBroadcast Net 573 VolI<br />
Lab 18 OSPF and NBMA 579 VolI<br />
Lab 19 Forward Address Suppression 588 VolI<br />
Lab 20 OSPF NSSA noredistribution & Injection<br />
of default routes<br />
BGP<br />
600 VolI<br />
Lab 1 Establishing Neighbor Adjacency 609 VolI<br />
Lab 2 Route Reflectors 626 VolI<br />
Lab 3 Conditional Adv & Back door 642 VolI<br />
Lab 4 Route Dampening 657 VolI<br />
Lab 5 Route Aggregation 666 VolI<br />
Lab 6 <strong>The</strong> community Attribute 686 VolI<br />
Lab 7 BGP Cost Community 702 VolI<br />
Lab 8 BGP & Load Balancing – I 711 VolI<br />
Lab 9 BGP Load Balancing – II 715 VolI<br />
Lab 10 BGP Unequal Cost Load Balancing 719 VolI<br />
Lab 11 BGP Local Preference – I 727 VolI<br />
Lab 12 BGP Local Preference – II 738 VolI<br />
Lab 13 <strong>The</strong> ASPath Attribute 746 VolI<br />
Lab 14 <strong>The</strong> Weight Attribute 754 VolI<br />
Lab 15 MED 761 VolI<br />
Lab 16 Filtering Using ACLs & Prefixlists 778 VolI<br />
<strong>CCIE</strong> R&S by Narbik Kocharians <strong>Advanced</strong> <strong>CCIE</strong> R&S Work Book <strong>4.0</strong> Page 3 of 87<br />
© 2011 Narbik Kocharians. All rights reserved
Lab 17 Regular Expressions 788 VolI<br />
Lab 18 Adv BGP Configurations 805 VolI<br />
Lab 19 Administrative Distance 816 VolI<br />
Lab 20 BGP Confederation 824 VolI<br />
Lab 21 BGP Hiding Local AS Number 829 VolI<br />
Lab 22 BGP Allowasin 837 VolI<br />
Policy Based <strong>Routing</strong><br />
Lab 1 PBR based on Source IP address 843 VolI<br />
Redistribution<br />
Lab 1 Basics of RedistributionI 854 VolI<br />
Lab 2 Basics of RedistributionII 874 VolI<br />
Lab 3 <strong>Advanced</strong> Redistribution 890 VolI<br />
Lab 4 <strong>Routing</strong> Loops 919 VolI<br />
IP SLA<br />
Lab 1 IP SLA 938 VolI<br />
Lab 2 Reliable Static <strong>Routing</strong> using IP SLA 944 VolI<br />
Lab 3 Reliable Conditional Default Route<br />
Injection using IP SLA<br />
951 VolI<br />
Lab 4 Object Tracking in HSRP Using SLA 964 VolI<br />
Lab 5 Object Tracking 974 VolI<br />
GRE Tunnels<br />
Lab 1 Basic Configuration of GRE Tunnels 988 VolI<br />
Lab 2 Configuration of GRE Tunnels II 1000 VolI<br />
Lab 3 Configuration of GRE Tunnels III 1010 VolI<br />
Lab 4 GRE & Recursive loops 1017 VolI<br />
QOS<br />
Lab 1 MLS QOS 14 VolII<br />
Lab 2 DSCP Mutation 30 VolII<br />
Lab 3 DSCPCoS Mapping 38 VolII<br />
Lab 4 CoSDSCP Mapping 43 VolII<br />
Lab 5 IPPrecedenceDSCP Mapping 49 VolII<br />
Lab 6 Individual rate Policing 54 VolII<br />
Lab 7 Policed DSCP 60 VolII<br />
Lab 8 Aggregate Policer 65 VolII<br />
Lab 9 Priority Queuing 70 VolII<br />
Lab 10 Custom Queuing 76 VolII<br />
Lab 11 WFQ 80 VolII<br />
Lab 12 RSVP 84 VolII<br />
Lab 13 Match Accessgroup 90 VolII<br />
Lab 14 Match Destination & Source Add MAC 95 VolII<br />
Lab 15 Match InputInterface 101 VolII<br />
Lab 16 Match FRde & Packet Length 104 VolII<br />
Lab 17 Match IP Precedence vs. Match Precedence 112 VolII<br />
<strong>CCIE</strong> R&S by Narbik Kocharians <strong>Advanced</strong> <strong>CCIE</strong> R&S Work Book <strong>4.0</strong> Page 4 of 87<br />
© 2011 Narbik Kocharians. All rights reserved
Lab 18 Match Protocol HTTP URL, MIME & Host 123 VolII<br />
Lab 19 Match Frdlci 131 VolII<br />
Lab 20 Framerelay Traffic Shaping 135 VolII<br />
Lab 21 Framerelay Trafficshaping – II 142 VolII<br />
Lab 22 Framerelay Fragmentation 151 VolII<br />
Lab 23 Framerelay PIPQ 155 VolII<br />
Lab 24 Framerelay DE 162 VolII<br />
Lab 25 Framerelay and Compression 165 VolII<br />
Lab 26 CBWFQ 178 VolII<br />
Lab 27 CBWFQ – II 184 VolII<br />
Lab 28 Converting Custom Queuing to CBWFQ 186 VolII<br />
Lab 29 LLQ 189 VolII<br />
Lab 30 CAR 193 VolII<br />
Lab 31 Class Based Policing – I 200 VolII<br />
Lab 32 CB Policing – II 210 VolII<br />
Lab 33 WRED & CB WRED 215 VolII<br />
NAT<br />
Lab 1 Static NAT Configuration 221 VolII<br />
Lab 2 <strong>Advanced</strong> Static NAT Configuration 227 VolII<br />
Lab 3 Configuration of Dynamic NAT – I 231 VolII<br />
Lab 4 Configuration of Dynamic NAT – II 234 VolII<br />
Lab 5 Configuration of Dynamic NAT – III 237 VolII<br />
Lab 6 NAT and Load Balancing 241 VolII<br />
Lab 7 Configuring PAT 244 VolII<br />
Lab 8 Configuring PAR 249 VolII<br />
Lab 9 Configuring Static NAT Redundancy W/HSRP 253 VolII<br />
Lab 10 Stateful Translation Failover With HSRP 258 VolII<br />
Lab 11 Translation of the Outside Source 264 VolII<br />
Lab 12NAT on a Stick 267 VolII<br />
IP Services<br />
Lab 1 DHCP Configuration 273 VolII<br />
Lab 2 HSRP Configuration 277 VolII<br />
Lab 3 VRRP Configuration 286 VolII<br />
Lab 4 GLBP Configuration 293 VolII<br />
Lab 5 IRDP Configuration 305 VolII<br />
Lab 6 Configuring DRP 312 VolII<br />
Lab 7 Configuring WCCP 314 VolII<br />
Lab 8 Core Dump Using FTP 315 VolII<br />
Lab 9 HTTP Connection Management 317 VolII<br />
Lab 10 Configuting NTP 320 VolII<br />
Lab 11 More IP Stuff 329 VolII<br />
IP PrefixList<br />
Lab 1 PrefixLists 337 VolII<br />
<strong>CCIE</strong> R&S by Narbik Kocharians <strong>Advanced</strong> <strong>CCIE</strong> R&S Work Book <strong>4.0</strong> Page 5 of 87<br />
© 2011 Narbik Kocharians. All rights reserved
IPv6<br />
Lab 1 Configuring Basic IPv6 364 VolII<br />
Lab 2 Configuring OSPFv3 385 VolII<br />
Lab 3 Configuring OSPFv3 MultiArea 394 VolII<br />
Lab 4 Summarization of Internal & External N/W 399 VolII<br />
Lab 5 OSPFv3 Stub, T/Stub and NSSA networks 408 VolII<br />
Lab 6 OSPFv3 Cost and Autocost 420 VolII<br />
Lab 7 Tunneling IPv6 Over IPv4 426 VolII<br />
Lab 8 Eigrp and IPv6 452 VolII<br />
Security<br />
Lab 1 Basic Router Security Configuration 477 VolII<br />
Lab 2 Standard Named Access List 484 VolII<br />
Lab 3 Controlling Telnet Access and SSH 488 VolII<br />
Lab 4 Extended Access List IP and ICMP 495 VolII<br />
Lab 5 Extended Access List OSPF & Eigrp 501 VolII<br />
Lab 6 Using MQC as a Filtering tool 505 VolII<br />
Lab 7 Extended Access List With Established 509 VolII<br />
Lab 8 Dynamic Access List 512 VolII<br />
Lab 9 Reflexive AccessLists 522 VolII<br />
Lab 10 Accesslist & Time Range 529 VolII<br />
Lab 11 Configuring Basic CBAC 533 VolII<br />
Lab 12 Configuring CBAC 535 VolII<br />
Lab 13 Configuring CBAC & Java Blocking 542 VolII<br />
Lab 14 Configuring PAM 544 VolII<br />
Lab 15 Configuring uRPF 546 VolII<br />
Lab 16 Configuring Zone Based Firewall 552 VolII<br />
Lab 17 Control Plane Policing 559 VolII<br />
Lab 18 Configuring IOS IPS 566 VolII<br />
Lab 19 Attacks 576 VolII<br />
Lab 20 AAA Authentication 587 VolII<br />
Multicasting<br />
Lab 1 Configuring IGMP 592 VolII<br />
Lab 2 Dense Mode 610 VolII<br />
Lab 3 Static RP Configuration 628 VolII<br />
Lab 4 AutoRP 643 VolII<br />
Lab 5 AutoRP Filtering & Listener 665 VolII<br />
Lab 6 Configuring BSR 687 VolII<br />
Lab 7 Configuring MSDP 702 VolII<br />
Lab 8 Anycast RP 720 VolII<br />
Lab 9 MSDP/MPBGP 730 VolII<br />
Lab 10 Configuring SSM 749 VolII<br />
Lab 11 HelperMap 760 VolII<br />
Lab 12 Bidirectional PIM 767 VolII<br />
<strong>CCIE</strong> R&S by Narbik Kocharians <strong>Advanced</strong> <strong>CCIE</strong> R&S Work Book <strong>4.0</strong> Page 6 of 87<br />
© 2011 Narbik Kocharians. All rights reserved
MPLS & L3VPNs<br />
Lab 1 Configuring Label Distribution Protocol 785 VolII<br />
Lab 2 Static & RIPv2 <strong>Routing</strong> in a VPN 855 VolII<br />
Lab 3 OSPF <strong>Routing</strong> in a VPN 886 VolII<br />
Lab 4 Backdoor links & OSPF 905 VolII<br />
Lab 5 Eigrp <strong>Routing</strong> in a VPN 921 VolII<br />
Lab 6 BGP <strong>Routing</strong> in a VPN 937 VolII<br />
Lab 7 Complex VPNs and Filters 954 VolII<br />
<strong>CCIE</strong> R&S by Narbik Kocharians <strong>Advanced</strong> <strong>CCIE</strong> R&S Work Book <strong>4.0</strong> Page 7 of 87<br />
© 2011 Narbik Kocharians. All rights reserved
<strong>CCIE</strong> R&S by Narbik Kocharians <strong>Advanced</strong> <strong>CCIE</strong> R&S Work Book <strong>4.0</strong> Page 8 of 87<br />
© 2011 Narbik Kocharians. All rights reserved
<strong>The</strong> Serial connection between R1 and R3<br />
<strong>The</strong> Serial connection between R4 and R5<br />
<strong>CCIE</strong> R&S by Narbik Kocharians <strong>Advanced</strong> <strong>CCIE</strong> R&S Work Book <strong>4.0</strong> Page 9 of 87<br />
© 2011 Narbik Kocharians. All rights reserved
Framerelay Switch connections<br />
R1<br />
R2<br />
R3<br />
R4<br />
R5<br />
R6<br />
S0/1<br />
S0/0<br />
S0/0<br />
S0/0<br />
S0/0<br />
S0/0<br />
S0/0<br />
S0/0<br />
S0/1<br />
S0/2<br />
S0/3<br />
S1/0<br />
S1/1<br />
S1/2<br />
<strong>CCIE</strong> R&S by Narbik Kocharians <strong>Advanced</strong> <strong>CCIE</strong> R&S Work Book <strong>4.0</strong> Page 10 of 87<br />
© 2011 Narbik Kocharians. All rights reserved
Framerelay DLCI connections:<br />
Router Local DLCI Connecting to:<br />
R1 102<br />
112<br />
103<br />
104<br />
105<br />
106<br />
R2 201<br />
211<br />
203<br />
204<br />
205<br />
206<br />
R3 301<br />
302<br />
304<br />
305<br />
306<br />
R4 401<br />
402<br />
403<br />
405<br />
406<br />
R5 501<br />
502<br />
503<br />
504<br />
506<br />
R6 601<br />
602<br />
603<br />
604<br />
605<br />
<strong>CCIE</strong> R&S by Narbik Kocharians <strong>Advanced</strong> <strong>CCIE</strong> R&S Work Book <strong>4.0</strong> Page 11 of 87<br />
© 2011 Narbik Kocharians. All rights reserved<br />
R2<br />
R2<br />
R3<br />
R4<br />
R5<br />
R6<br />
R1<br />
R1<br />
R3<br />
R4<br />
R5<br />
R6<br />
R1<br />
R2<br />
R4<br />
R5<br />
R6<br />
R1<br />
R2<br />
R3<br />
R5<br />
R6<br />
R1<br />
R2<br />
R3<br />
R4<br />
R6<br />
R1<br />
R2<br />
R3<br />
R4<br />
R5
F0/21<br />
F0/18<br />
F0/19<br />
F0/20<br />
SW1 SW2<br />
F0/22<br />
F0/23<br />
F0/24<br />
F0/24<br />
F0/19<br />
F0/20<br />
F0/23<br />
SW3 SW4<br />
<strong>CCIE</strong> R&S by Narbik Kocharians <strong>Advanced</strong> <strong>CCIE</strong> R&S Work Book <strong>4.0</strong> Page 12 of 87<br />
© 2011 Narbik Kocharians. All rights reserved<br />
F0/22<br />
F0/21
Task 1<br />
<strong>The</strong> first switch should be configured with a hostname of SW1 and the second switch<br />
should be configured with a hostname of SW2<br />
On the First Switch<br />
Switch(config)#Hostname SW1<br />
On the Second Switch<br />
Switch(config)#Hostname SW2<br />
Task 2<br />
Shutdown ports F0/2124 on SW1 and SW2<br />
On Both Switches:<br />
SWx(config)#int range f0/2124<br />
SWx(configifrange)#Shut<br />
On SW1<br />
Task 3<br />
Configure trunking between SW1 and SW2 using ports F0/19 and F0/20. Use an industry<br />
standard trunking protocol for this purpose. Assign a brief meaningful description to<br />
these interfaces.<br />
SW1(config)#Interface range f0/1920<br />
Lab 7<br />
Configuring Private VLANs<br />
<strong>CCIE</strong> R&S by Narbik Kocharians <strong>Advanced</strong> <strong>CCIE</strong> R&S Work Book <strong>4.0</strong> Page 13 of 87<br />
© 2011 Narbik Kocharians. All rights reserved
SW1(configifrange)#Switch trunk encap dot1q<br />
SW1(configifrange)#Switch mode trunk<br />
SW1(configifrange)#Description Trunk to SW2<br />
On SW2<br />
SW2(config)#Interface range f0/1920<br />
SW2(configifrange)#Switch trunk encap dot1q<br />
SW2(configifrange)#Switch mode trunk<br />
SW2(configifrange)#Description Trunk to SW1<br />
To verify the configuration:<br />
On SW1<br />
SW1#Show int trunk<br />
Port Mode Encapsulation Status Native vlan<br />
Fa0/19 on 802.1q trunking 1<br />
Fa0/20 on 802.1q trunking 1<br />
Port Vlans allowed on trunk<br />
Fa0/19 14094<br />
Fa0/20 14094<br />
Port Vlans allowed and active in management domain<br />
Fa0/19 1<br />
Fa0/20 1<br />
Port Vlans in spanning tree forwarding state and not pruned<br />
Fa0/19 1<br />
Fa0/20 none<br />
On SW2<br />
SW2#Show int trunk<br />
Port Mode Encapsulation Status Native vlan<br />
Fa0/19 on 802.1q trunking 1<br />
Fa0/20 on 802.1q trunking 1<br />
Port Vlans allowed on trunk<br />
Fa0/19 14094<br />
Fa0/20 14094<br />
<strong>CCIE</strong> R&S by Narbik Kocharians <strong>Advanced</strong> <strong>CCIE</strong> R&S Work Book <strong>4.0</strong> Page 14 of 87<br />
© 2011 Narbik Kocharians. All rights reserved
Port Vlans allowed and active in management domain<br />
Fa0/19 1<br />
Fa0/20 1<br />
Port Vlans in spanning tree forwarding state and not pruned<br />
Fa0/19 1<br />
Fa0/20 1<br />
On R1<br />
Task 4<br />
Assign IP addressing to the interface of the routers using the following chart and ensure<br />
that these routers can ping each other: You should assign a brief meaningful interface<br />
description on the switchports.<br />
Router Interface IP address and Subnet mask<br />
R1 F0/0 200.1.1.1 /24<br />
R2 F0/0 200.1.1.2 /24<br />
R3 F0/1 200.1.1.3 /24<br />
R4 F0/0 200.1.1.4 /24<br />
R5 F0/1 200.1.1.5 /24<br />
R6 F0/1 200.1.1.6 /24<br />
BB1 F0/1 200.1.1.7 /24<br />
BB2 F0/0 200.1.1.8 /24<br />
BB3 F0/0 200.1.1.9 /24<br />
R1(config)#Int F0/0<br />
R1(configif)#Ip address 200.1.1.1 255.255.255.0<br />
R1(configif)#No shut<br />
On R2<br />
R2(config)#Int F0/0<br />
R2(configif)#Ip address 200.1.1.2 255.255.255.0<br />
R2(configif)#No shut<br />
On R3<br />
R3(config)#Int F0/1<br />
<strong>CCIE</strong> R&S by Narbik Kocharians <strong>Advanced</strong> <strong>CCIE</strong> R&S Work Book <strong>4.0</strong> Page 15 of 87<br />
© 2011 Narbik Kocharians. All rights reserved
R3(configif)#Ip address 200.1.1.3 255.255.255.0<br />
R3(configif)#No shut<br />
On R4<br />
R4(config)#Int F0/0<br />
R4(configif)#Ip address 200.1.1.4 255.255.255.0<br />
R4(configif)#No shut<br />
On R5<br />
R5(config)#Int F0/1<br />
R5(configif)#Ip address 200.1.1.5 255.255.255.0<br />
R5(configif)#No shut<br />
On R6<br />
R6(config)#Int F0/1<br />
R6(configif)# Ip address 200.1.1.6 255.255.255.0<br />
R6(configif)#No shut<br />
On BB1<br />
BB1(config)#Int F0/1<br />
BB1(configif)# Ip address 200.1.1.7 255.255.255.0<br />
BB1(configif)#No shut<br />
On BB2<br />
BB2(config)#int F0/0<br />
BB2(configif)#ip address 200.1.1.8 255.255.255.0<br />
BB2(configif)#No shut<br />
On BB3<br />
BB3(config)#int F0/0<br />
BB3(configif)#ip address 200.1.1.9 255.255.255.0<br />
BB3(configif)#No shut<br />
On SW1<br />
SW1(config)#Int F0/1<br />
<strong>CCIE</strong> R&S by Narbik Kocharians <strong>Advanced</strong> <strong>CCIE</strong> R&S Work Book <strong>4.0</strong> Page 16 of 87<br />
© 2011 Narbik Kocharians. All rights reserved
SW1(configif)#Description R1’s F0/0<br />
SW1(config)#Int F0/2<br />
SW1(configif)#Description R2’s F0/0<br />
SW1(config)#Int range F0/3 , F0/59 , F0/1218 , F0/2124<br />
SW1(configifrange)#Description <br />
SW1(config)#Int F0/4<br />
SW1(configif)#Description R4’s F0/0<br />
SW1(config)#Int F0/12<br />
SW1(configif)#Description BB2’s F0/0<br />
SW1(config)#Int F0/13<br />
SW1(configif)#Description BB3’s F0/0<br />
On SW2<br />
SW2(config)#Int range F0/12 , F0/4 , F0/1018 , F0/2124<br />
SW2(configifrange)#Description <br />
SW2(config)#Int F0/3<br />
SW2(configif)#Description R3’s F0/1<br />
SW2(config)#Int F0/5<br />
SW2(configif)#Description R5’s F0/1<br />
SW2(config)#Int F0/6<br />
SW2(configif)#Description R6’s F0/1<br />
SW2(config)#Int F0/11<br />
SW2(configif)#Description BB1’s F0/1<br />
To test and verify the configuration:<br />
On R1<br />
R1#Ping 200.1.1.2<br />
Type escape sequence to abort.<br />
Sending 5, 100byte ICMP Echos to 200.1.1.2, timeout is 2 seconds:<br />
!!!!!<br />
Success rate is 100 percent (5/5), roundtrip min/avg/max = 1/2/4 ms<br />
<strong>CCIE</strong> R&S by Narbik Kocharians <strong>Advanced</strong> <strong>CCIE</strong> R&S Work Book <strong>4.0</strong> Page 17 of 87<br />
© 2011 Narbik Kocharians. All rights reserved
R1#Ping 200.1.1.3<br />
Type escape sequence to abort.<br />
Sending 5, 100byte ICMP Echos to 200.1.1.3, timeout is 2 seconds:<br />
!!!!!<br />
Success rate is 100 percent (5/5), roundtrip min/avg/max = 1/2/4 ms<br />
R1#Ping 200.1.1.4<br />
Type escape sequence to abort.<br />
Sending 5, 100byte ICMP Echos to 200.1.1.4, timeout is 2 seconds:<br />
!!!!!<br />
Success rate is 100 percent (5/5), roundtrip min/avg/max = 1/2/4 ms<br />
R1#Ping 200.1.1.5<br />
Type escape sequence to abort.<br />
Sending 5, 100byte ICMP Echos to 200.1.1.5, timeout is 2 seconds:<br />
!!!!!<br />
Success rate is 100 percent (5/5), roundtrip min/avg/max = 1/2/4 ms<br />
R1#Ping 200.1.1.6<br />
Type escape sequence to abort.<br />
Sending 5, 100byte ICMP Echos to 200.1.1.6, timeout is 2 seconds:<br />
!!!!!<br />
Success rate is 100 percent (5/5), roundtrip min/avg/max = 1/2/4 ms<br />
R1#Ping 200.1.1.7<br />
Type escape sequence to abort.<br />
Sending 5, 100byte ICMP Echos to 200.1.1.7, timeout is 2 seconds:<br />
!!!!!<br />
Success rate is 100 percent (5/5), roundtrip min/avg/max = 1/2/4 ms<br />
R1#Ping 200.1.1.8<br />
Type escape sequence to abort.<br />
Sending 5, 100byte ICMP Echos to 200.1.1.8, timeout is 2 seconds:<br />
!!!!!<br />
Success rate is 100 percent (5/5), roundtrip min/avg/max = 1/2/4 ms<br />
R1#Ping 200.1.1.9<br />
Type escape sequence to abort.<br />
<strong>CCIE</strong> R&S by Narbik Kocharians <strong>Advanced</strong> <strong>CCIE</strong> R&S Work Book <strong>4.0</strong> Page 18 of 87<br />
© 2011 Narbik Kocharians. All rights reserved
Sending 5, 100byte ICMP Echos to 200.1.1.9, timeout is 2 seconds:<br />
!!!!!<br />
Success rate is 100 percent (5/5), roundtrip min/avg/max = 1/2/4 ms<br />
On SW1<br />
Task 5<br />
Configure the switches such that the ports that are not used are in Administratively down<br />
state. Use minimum number of commands for this task.<br />
SW1(config)#int range F0/3 , F0/5 , F0/10, F0/1418 , F0/2124<br />
SW1(configifrange)#Shut<br />
To verify the configuration:<br />
On SW1<br />
SW1#Sh int status | Inc Port|connected<br />
Port Name Status Vlan Duplex Speed Type<br />
Fa0/1 R1's F0/0 connected 1 afull a100 10/100BaseTX<br />
Fa0/2 R2's F0/0 connected 1 afull a100 10/100BaseTX<br />
Fa0/4 R4's F0/0 connected 1 afull a100 10/100BaseTX<br />
Fa0/12 BB2's F0/0 connected 1 afull a100 10/100BaseTX<br />
Fa0/13 BB3's F0/0 connected 1 afull a100 10/100BaseTX<br />
Fa0/19 Trunk to SW2 connected trunk afull a100 10/100BaseTX<br />
Fa0/20 Trunk to SW2 connected trunk afull a100 10/100BaseTX<br />
On SW2<br />
SW2(config)#int range F0/12 , F0/4 , F0/810, F0/1218 , F0/2124<br />
SW2(configif)#Shut<br />
To verify the configuration:<br />
On SW2<br />
SW2# Sh int status | Inc Port|connected<br />
<strong>CCIE</strong> R&S by Narbik Kocharians <strong>Advanced</strong> <strong>CCIE</strong> R&S Work Book <strong>4.0</strong> Page 19 of 87<br />
© 2011 Narbik Kocharians. All rights reserved
Port Name Status Vlan Duplex Speed Type<br />
Fa0/3 R3's F0/1 connected 1 afull a100 10/100BaseTX<br />
Fa0/5 R5's F0/1 connected 1 afull a100 10/100BaseTX<br />
Fa0/6 R6's F0/1 connected 1 afull a100 10/100BaseTX<br />
Fa0/11 BB1's F0/1 connected 1 afull a100 10/100BaseTX<br />
Fa0/19 Trunk to SW1 connected trunk afull a100 10/100BaseTX<br />
Fa0/20 Trunk to SW1 connected trunk afull a100 10/100BaseTX<br />
Note the interface description can be extremely helpful especially if the switches are configured in<br />
transparent mode, and/or the task asks for the configuration of allowed VLANs on the trunks.<br />
Task 6<br />
Configure Private VLANs based on the following policy:<br />
Router Interface VLANType VLANID<br />
R1 F0/0 Primary 10<br />
R2 F0/0 Community 20<br />
R3 F0/1 Community 20<br />
R4 F0/0 Community 30<br />
R5 F0/1 Community 30<br />
R6 F0/1 Isolated 40<br />
BB1 F0/1 Isolated 40<br />
BB2 F0/0 Isolated 40<br />
BB3 F0/0 Isolated 40<br />
PrivateVLANs are typically seen in service provider networks, this feature addresses two major<br />
problems that the providers used to face:<br />
1. Number of Clients: If every client was in a VLAN of their own, the provider<br />
will be restricted to 4094 clients, which is the maximum number of VLANs<br />
on a given switch.<br />
2. <strong>Routing</strong> between VLANs & IP addressing: <strong>Routing</strong> between VLANs will be a<br />
nightmare, and the number of wasted IP addresses that result from<br />
Subnetting will be enormous.<br />
PrivateVLANs solves these two issues, with PrivateVLANs a VLAN is subdivided into sub<br />
VLANs or subdomains.<br />
PrivateVLANs consist of one primary, and one or more secondary VLANs, the secondary VLANs<br />
<strong>CCIE</strong> R&S by Narbik Kocharians <strong>Advanced</strong> <strong>CCIE</strong> R&S Work Book <strong>4.0</strong> Page 20 of 87<br />
© 2011 Narbik Kocharians. All rights reserved
can be either Community VLANs or Isolated VLANs.<br />
A Primary VLAN can have many Community VLANs, but it can ONLY have a Single Isolated<br />
VLAN.<br />
Ports in a PrivateVLAN:<br />
<strong>The</strong>re are three types of ports in PrivateVLAN and they are as follows:<br />
1. Promiscuous: A promiscuous port belongs to the primary VLAN; this port<br />
can communicate with all ports that are member of a secondary VLAN/s<br />
(Community and/or Isolated) that are associated with the primary VLAN<br />
that it belongs.<br />
2. Isolated: An isolated port is a host port that belongs to an isolated secondary<br />
VLAN. <strong>The</strong> host ports that are member of a given Isolated VLAN can NOT<br />
Communicate with each other. <strong>The</strong>se ports can ONLY communicate with the<br />
Port configured as Promiscuous port.<br />
3. Community: A community port is a host port that belongs to a community<br />
Secondary VLAN. Community ports can communicate with ports in the same<br />
Community VLAN and with the port that is configured as promiscuous ports.<br />
<strong>The</strong>se ports can’t Communicate with other ports in other Community VLANs.<br />
On Both Switches:<br />
In order to configure privatevlans, the switches must be configured in Transparent mode as<br />
follows:<br />
SWx(config)#vtp mode transparent<br />
<strong>The</strong> following commands configures the primary VLAN<br />
SWx(config)#vlan 10<br />
SWx(configvlan)#privatevlan primary<br />
SWx(configvlan)#Exit<br />
<strong>The</strong> following two VLANs are defined as the community secondary VLANs, there could be many<br />
community VLANs:<br />
SWx(config)#vlan 20<br />
SWx(configvlan)#privatevlan community<br />
SWx(config)#vlan 30<br />
<strong>CCIE</strong> R&S by Narbik Kocharians <strong>Advanced</strong> <strong>CCIE</strong> R&S Work Book <strong>4.0</strong> Page 21 of 87<br />
© 2011 Narbik Kocharians. All rights reserved
SWx(configvlan)#privatevlan community<br />
<strong>The</strong>re can ONLY be one isolated secondary VLAN:<br />
SWx(config)#vlan 40<br />
SWx(configvlan)#privatevlan isolated<br />
<strong>The</strong> following command associates the secondary VLANs to the primary:<br />
SWx(config)#vlan 10<br />
SWx(configvlan)#privatevlan association add 20,30,40<br />
To verify the configuration:<br />
On Both Switches:<br />
SWx#Show vlan privatevlan<br />
Primary Secondary Type Ports<br />
<br />
10 20 community<br />
10 30 community<br />
10 40 isolated<br />
<strong>The</strong> output of the above show command displays the secondary VLANs that are created so far and<br />
the primary VLAN to which they are associated.<br />
On SW1<br />
<strong>The</strong> following command sets F0/1 interface in promiscuous mode, assigns the port to primary<br />
VLAN 10 and maps VLANs 20, 30 and 40 to this interface:<br />
SW1(config)#Int F0/1<br />
SW1(configif)#Switchport mode privatevlan promiscuous<br />
SW1(configif)#Switchport privatevlan mapping 10 add 20,30,40<br />
<strong>The</strong> ports that belong to a given secondary VLAN must be configured in host mode. <strong>The</strong> following<br />
command sets F0/2 interface in a host mode, associates this port to VLAN 10 (<strong>The</strong> primary VLAN)<br />
and assigns this port to VLAN 20 which was configured as a community secondary VLAN earlier:<br />
SW1(configif)#Int F0/2<br />
SW1(configif)#Switchport mode privatevlan host<br />
SW1(configif)#Switchport privatevlan hostassociation 10 20<br />
<strong>CCIE</strong> R&S by Narbik Kocharians <strong>Advanced</strong> <strong>CCIE</strong> R&S Work Book <strong>4.0</strong> Page 22 of 87<br />
© 2011 Narbik Kocharians. All rights reserved
<strong>The</strong> following command sets F0/4 interface in a host mode, associates this port to VLAN 10 (<strong>The</strong><br />
primary VLAN) and assigns this port to VLAN 30 which was configured as a community secondary<br />
VLAN earlier:<br />
SW1(configif)#Int F0/4<br />
SW1(configif)#Switchport mode privatevlan host<br />
SW1(configif)#switchport privatevlan hostassociation 10 30<br />
<strong>The</strong> following command sets F0/12 and F0/13 interfaces in a host mode, associates these ports to<br />
VLAN 10 (<strong>The</strong> primary VLAN) and assigns these ports to VLAN 40 which was configured as an<br />
isolated secondary VLAN earlier:<br />
SW1(config)#Int range F0/1213<br />
SW1(configif)#Switchport mode privatevlan host<br />
SW1(configif)#Switchport privatevlan hostassociation 10 40<br />
To verify the configuration:<br />
On SW1<br />
SW1#Sh vlan pri<br />
Primary Secondary Type Ports<br />
<br />
10 20 community Fa0/1, Fa0/2<br />
10 30 community Fa0/1, Fa0/4<br />
10 40 isolated Fa0/1, Fa0/12, Fa0/13<br />
On SW2<br />
SW2(config)#Int F0/3<br />
SW2(configif)#Switchport mode privatevlan host<br />
SW2(configif)#Switchport privatevlan hostassociation 10 20<br />
SW2(config)#Int F0/5<br />
SW2(configif)#Switchport mode privatevlan host<br />
SW2(configif)#Switchport privatevlan hostassociation 10 30<br />
SW2(config)#Int range F0/6 , F0/11<br />
SW2(configif)#Switchport mode privatevlan host<br />
SW2(configif)#switchport privatevlan hostassociation 10 40<br />
To verify the configuration:<br />
<strong>CCIE</strong> R&S by Narbik Kocharians <strong>Advanced</strong> <strong>CCIE</strong> R&S Work Book <strong>4.0</strong> Page 23 of 87<br />
© 2011 Narbik Kocharians. All rights reserved
On SW2<br />
SW2#Show vlan privatevlan<br />
Primary Secondary Type Ports<br />
<br />
10 20 community Fa0/3<br />
10 30 community Fa0/5<br />
10 40 isolated Fa0/6, Fa0/11<br />
To test the configuration:<br />
On R1<br />
R1#Ping 200.1.1.2<br />
Type escape sequence to abort.<br />
Sending 5, 100byte ICMP Echos to 200.1.1.2, timeout is 2 seconds:<br />
!!!!!<br />
Success rate is 100 percent (5/5), roundtrip min/avg/max = 1/1/4 ms<br />
R1#Ping 200.1.1.3<br />
Type escape sequence to abort.<br />
Sending 5, 100byte ICMP Echos to 200.1.1.3, timeout is 2 seconds:<br />
!!!!!<br />
Success rate is 100 percent (5/5), roundtrip min/avg/max = 1/2/4 ms<br />
R1#Ping 200.1.1.4<br />
Type escape sequence to abort.<br />
Sending 5, 100byte ICMP Echos to 200.1.1.4, timeout is 2 seconds:<br />
!!!!!<br />
Success rate is 100 percent (5/5), roundtrip min/avg/max = 1/2/4 ms<br />
R1#Ping 200.1.1.5<br />
Type escape sequence to abort.<br />
Sending 5, 100byte ICMP Echos to 200.1.1.5, timeout is 2 seconds:<br />
!!!!!<br />
Success rate is 100 percent (5/5), roundtrip min/avg/max = 1/2/4 ms<br />
R1#Ping 200.1.1.6<br />
<strong>CCIE</strong> R&S by Narbik Kocharians <strong>Advanced</strong> <strong>CCIE</strong> R&S Work Book <strong>4.0</strong> Page 24 of 87<br />
© 2011 Narbik Kocharians. All rights reserved
Type escape sequence to abort.<br />
Sending 5, 100byte ICMP Echos to 200.1.1.6, timeout is 2 seconds:<br />
!!!!!<br />
Success rate is 100 percent (5/5), roundtrip min/avg/max = 1/2/4 ms<br />
R1#Ping 200.1.1.7<br />
Type escape sequence to abort.<br />
Sending 5, 100byte ICMP Echos to 200.1.1.7, timeout is 2 seconds:<br />
!!!!!<br />
Success rate is 100 percent (5/5), roundtrip min/avg/max = 1/2/4 ms<br />
R1#Ping 200.1.1.8<br />
Type escape sequence to abort.<br />
Sending 5, 100byte ICMP Echos to 200.1.1.8, timeout is 2 seconds:<br />
!!!!!<br />
Success rate is 100 percent (5/5), roundtrip min/avg/max = 1/2/4 ms<br />
R1#Ping 200.1.1.9<br />
Type escape sequence to abort.<br />
Sending 5, 100byte ICMP Echos to 200.1.1.9, timeout is 2 seconds:<br />
!!!!!<br />
Success rate is 100 percent (5/5), roundtrip min/avg/max = 1/2/4 ms<br />
Note R1 is able to ping all routers because it is configured to be in promiscuous mode, this interface<br />
can be thought of as the default gateway.<br />
On R2<br />
R2#Ping 200.1.1.1<br />
Type escape sequence to abort.<br />
Sending 5, 100byte ICMP Echos to 200.1.1.1, timeout is 2 seconds:<br />
!!!!!<br />
Success rate is 100 percent (5/5), roundtrip min/avg/max = 1/1/4 ms<br />
R2#Ping 200.1.1.3<br />
Type escape sequence to abort.<br />
Sending 5, 100byte ICMP Echos to 200.1.1.5, timeout is 2 seconds:<br />
!!!!!<br />
Success rate is 100 percent (5/5), roundtrip min/avg/max = 1/1/4 ms<br />
<strong>CCIE</strong> R&S by Narbik Kocharians <strong>Advanced</strong> <strong>CCIE</strong> R&S Work Book <strong>4.0</strong> Page 25 of 87<br />
© 2011 Narbik Kocharians. All rights reserved
Note R2 is able to ping R1 which is the port in the primary VLAN and R3 which is in the same<br />
community VLAN. R2 can NOT communicate with the hosts in the other secondary VLANs. <strong>The</strong><br />
following verifies this information:<br />
R2#Ping 200.1.1.4<br />
Type escape sequence to abort.<br />
Sending 5, 100byte ICMP Echos to 200.1.1.4, timeout is 2 seconds:<br />
.....<br />
Success rate is 0 percent (0/5)<br />
R2#Ping 200.1.1.5<br />
Type escape sequence to abort.<br />
Sending 5, 100byte ICMP Echos to 200.1.1.5, timeout is 2 seconds:<br />
.....<br />
Success rate is 0 percent (0/5)<br />
R2#Ping 200.1.1.6<br />
Type escape sequence to abort.<br />
Sending 5, 100byte ICMP Echos to 200.1.1.6, timeout is 2 seconds:<br />
.....<br />
Success rate is 0 percent (0/5)<br />
R2#Ping 200.1.1.7<br />
Type escape sequence to abort.<br />
Sending 5, 100byte ICMP Echos to 200.1.1.7, timeout is 2 seconds:<br />
.....<br />
Success rate is 0 percent (0/5)<br />
R2#Ping 200.1.1.8<br />
Type escape sequence to abort.<br />
Sending 5, 100byte ICMP Echos to 200.1.1.8, timeout is 2 seconds:<br />
.....<br />
Success rate is 0 percent (0/5)<br />
R2#Ping 200.1.1.9<br />
Type escape sequence to abort.<br />
Sending 5, 100byte ICMP Echos to 200.1.1.9, timeout is 2 seconds:<br />
.....<br />
Success rate is 0 percent (0/5)<br />
<strong>CCIE</strong> R&S by Narbik Kocharians <strong>Advanced</strong> <strong>CCIE</strong> R&S Work Book <strong>4.0</strong> Page 26 of 87<br />
© 2011 Narbik Kocharians. All rights reserved
On R3<br />
R3#Ping 200.1.1.1<br />
Type escape sequence to abort.<br />
Sending 5, 100byte ICMP Echos to 200.1.1.1, timeout is 2 seconds:<br />
!!!!!<br />
Success rate is 100 percent (5/5), roundtrip min/avg/max = 1/2/4 ms<br />
R3#Ping 200.1.1.2<br />
Type escape sequence to abort.<br />
Sending 5, 100byte ICMP Echos to 200.1.1.2, timeout is 2 seconds:<br />
!!!!!<br />
Success rate is 100 percent (5/5), roundtrip min/avg/max = 1/1/4 ms<br />
Note R3 is able to ping R1 which is the port in primary VLAN and the router in its own community<br />
secondary VLAN, which is R2.<br />
R3#Ping 200.1.1.4<br />
Type escape sequence to abort.<br />
Sending 5, 100byte ICMP Echos to 200.1.1.4, timeout is 2 seconds:<br />
.....<br />
Success rate is 0 percent (0/5)<br />
R3#Ping 200.1.1.5<br />
Type escape sequence to abort.<br />
Sending 5, 100byte ICMP Echos to 200.1.1.5, timeout is 2 seconds:<br />
.....<br />
Success rate is 0 percent (0/5)<br />
R3#Ping 200.1.1.6<br />
Type escape sequence to abort.<br />
Sending 5, 100byte ICMP Echos to 200.1.1.6, timeout is 2 seconds:<br />
.....<br />
Success rate is 0 percent (0/5)<br />
R3#Ping 200.1.1.7<br />
Type escape sequence to abort.<br />
Sending 5, 100byte ICMP Echos to 200.1.1.10, timeout is 2 seconds:<br />
.....<br />
<strong>CCIE</strong> R&S by Narbik Kocharians <strong>Advanced</strong> <strong>CCIE</strong> R&S Work Book <strong>4.0</strong> Page 27 of 87<br />
© 2011 Narbik Kocharians. All rights reserved
Success rate is 0 percent (0/5)<br />
R3#Ping 200.1.1.8<br />
Type escape sequence to abort.<br />
Sending 5, 100byte ICMP Echos to 200.1.1.6, timeout is 2 seconds:<br />
.....<br />
Success rate is 0 percent (0/5)<br />
R3#Ping 200.1.1.9<br />
Type escape sequence to abort.<br />
Sending 5, 100byte ICMP Echos to 200.1.1.10, timeout is 2 seconds:<br />
.....<br />
Success rate is 0 percent (0/5)<br />
Note R3 can NOT ping the other routers because they are in another secondary VLAN.<br />
On R4<br />
R4#Ping 200.1.1.1<br />
Type escape sequence to abort.<br />
Sending 5, 100byte ICMP Echos to 200.1.1.1, timeout is 2 seconds:<br />
!!!!!<br />
Success rate is 100 percent (5/5), roundtrip min/avg/max = 1/2/4 ms<br />
R4#Ping 200.1.1.5<br />
Type escape sequence to abort.<br />
Sending 5, 100byte ICMP Echos to 200.1.1.5, timeout is 2 seconds:<br />
!!!!!<br />
Success rate is 100 percent (5/5), roundtrip min/avg/max = 1/1/4 ms<br />
Note R4 is able to ping R1 which is the port in primary VLAN and the router in its own community<br />
secondary VLAN, which is R5.<br />
R4#Ping 200.1.1.2<br />
Type escape sequence to abort.<br />
Sending 5, 100byte ICMP Echos to 200.1.1.2, timeout is 2 seconds:<br />
.....<br />
Success rate is 0 percent (0/5)<br />
R4#Ping 200.1.1.3<br />
<strong>CCIE</strong> R&S by Narbik Kocharians <strong>Advanced</strong> <strong>CCIE</strong> R&S Work Book <strong>4.0</strong> Page 28 of 87<br />
© 2011 Narbik Kocharians. All rights reserved
Type escape sequence to abort.<br />
Sending 5, 100byte ICMP Echos to 200.1.1.5, timeout is 2 seconds:<br />
.....<br />
Success rate is 0 percent (0/5)<br />
R4#Ping 200.1.1.6<br />
Type escape sequence to abort.<br />
Sending 5, 100byte ICMP Echos to 200.1.1.6, timeout is 2 seconds:<br />
.....<br />
Success rate is 0 percent (0/5)<br />
R4#Ping 200.1.1.7<br />
Type escape sequence to abort.<br />
Sending 5, 100byte ICMP Echos to 200.1.1.7, timeout is 2 seconds:<br />
.....<br />
Success rate is 0 percent (0/5)<br />
R4#Ping 200.1.1.8<br />
Type escape sequence to abort.<br />
Sending 5, 100byte ICMP Echos to 200.1.1.8, timeout is 2 seconds:<br />
.....<br />
Success rate is 0 percent (0/5)<br />
R4#Ping 200.1.1.9<br />
Type escape sequence to abort.<br />
Sending 5, 100byte ICMP Echos to 200.1.1.9, timeout is 2 seconds:<br />
.....<br />
Success rate is 0 percent (0/5)<br />
Note R4 can NOT ping the other routers because they are in another secondary VLAN.<br />
On R5<br />
R5#Ping 200.1.1.1<br />
Type escape sequence to abort.<br />
Sending 5, 100byte ICMP Echos to 200.1.1.1, timeout is 2 seconds:<br />
!!!!!<br />
Success rate is 100 percent (5/5), roundtrip min/avg/max = 1/2/4 ms<br />
R5#Ping 200.1.1.4<br />
<strong>CCIE</strong> R&S by Narbik Kocharians <strong>Advanced</strong> <strong>CCIE</strong> R&S Work Book <strong>4.0</strong> Page 29 of 87<br />
© 2011 Narbik Kocharians. All rights reserved
Type escape sequence to abort.<br />
Sending 5, 100byte ICMP Echos to 200.1.1.4, timeout is 2 seconds:<br />
!!!!!<br />
Success rate is 100 percent (5/5), roundtrip min/avg/max = 1/2/4 ms<br />
Note R5 is able to ping R1 which is the port in primary VLAN and the router in its own community<br />
secondary VLAN (R2).<br />
R5#Ping 200.1.1.2<br />
Type escape sequence to abort.<br />
Sending 5, 100byte ICMP Echos to 200.1.1.3, timeout is 2 seconds:<br />
.....<br />
Success rate is 0 percent (0/5)<br />
R5#Ping 200.1.1.3<br />
Type escape sequence to abort.<br />
Sending 5, 100byte ICMP Echos to 200.1.1.4, timeout is 2 seconds:<br />
.....<br />
Success rate is 0 percent (0/5)<br />
R5#Ping 200.1.1.6<br />
Type escape sequence to abort.<br />
Sending 5, 100byte ICMP Echos to 200.1.1.6, timeout is 2 seconds:<br />
.....<br />
Success rate is 0 percent (0/5)<br />
R5#Ping 200.1.1.7<br />
Type escape sequence to abort.<br />
Sending 5, 100byte ICMP Echos to 200.1.1.7, timeout is 2 seconds:<br />
.....<br />
Success rate is 0 percent (0/5)<br />
R5#Ping 200.1.1.8<br />
Type escape sequence to abort.<br />
Sending 5, 100byte ICMP Echos to 200.1.1.8, timeout is 2 seconds:<br />
.....<br />
Success rate is 0 percent (0/5)<br />
R5#Ping 200.1.1.9<br />
<strong>CCIE</strong> R&S by Narbik Kocharians <strong>Advanced</strong> <strong>CCIE</strong> R&S Work Book <strong>4.0</strong> Page 30 of 87<br />
© 2011 Narbik Kocharians. All rights reserved
Type escape sequence to abort.<br />
Sending 5, 100byte ICMP Echos to 200.1.1.9, timeout is 2 seconds:<br />
.....<br />
Success rate is 0 percent (0/5)<br />
Note R5 can NOT ping the other routers because they are in another secondary VLAN.<br />
On R6<br />
R6#Ping 200.1.1.1<br />
Type escape sequence to abort.<br />
Sending 5, 100byte ICMP Echos to 200.1.1.1, timeout is 2 seconds:<br />
!!!!!<br />
Success rate is 100 percent (5/5), roundtrip min/avg/max = 1/1/4 ms<br />
Note R6 is able to ping R1 which is the port in primary VLAN but it can NOT ping any other<br />
router, even though BB1, BB2 and BB3 are in the same VLAN, but remember that the VLAN is<br />
defined as isolated; the hosts in isolated VLAN do NOT have reachability to each other.<br />
R6#Ping 200.1.1.2<br />
Type escape sequence to abort.<br />
Sending 5, 100byte ICMP Echos to 200.1.1.2, timeout is 2 seconds:<br />
.....<br />
Success rate is 0 percent (0/5)<br />
R6#Ping 200.1.1.3<br />
Type escape sequence to abort.<br />
Sending 5, 100byte ICMP Echos to 200.1.1.3, timeout is 2 seconds:<br />
.....<br />
Success rate is 0 percent (0/5)<br />
R6#Ping 200.1.1.4<br />
Type escape sequence to abort.<br />
Sending 5, 100byte ICMP Echos to 200.1.1.4, timeout is 2 seconds:<br />
.....<br />
Success rate is 0 percent (0/5)<br />
R6#Ping 200.1.1.5<br />
Type escape sequence to abort.<br />
<strong>CCIE</strong> R&S by Narbik Kocharians <strong>Advanced</strong> <strong>CCIE</strong> R&S Work Book <strong>4.0</strong> Page 31 of 87<br />
© 2011 Narbik Kocharians. All rights reserved
Sending 5, 100byte ICMP Echos to 200.1.1.5, timeout is 2 seconds:<br />
.....<br />
Success rate is 0 percent (0/5)<br />
R6#Ping 200.1.1.7<br />
Type escape sequence to abort.<br />
Sending 5, 100byte ICMP Echos to 200.1.1.7, timeout is 2 seconds:<br />
.....<br />
Success rate is 0 percent (0/5)<br />
R6#Ping 200.1.1.8<br />
Type escape sequence to abort.<br />
Sending 5, 100byte ICMP Echos to 200.1.1.8, timeout is 2 seconds:<br />
.....<br />
Success rate is 0 percent (0/5)<br />
R6#Ping 200.1.1.9<br />
Type escape sequence to abort.<br />
Sending 5, 100byte ICMP Echos to 200.1.1.9, timeout is 2 seconds:<br />
.....<br />
Success rate is 0 percent (0/5)<br />
On BB1<br />
BB1#Ping 200.1.1.1<br />
Type escape sequence to abort.<br />
Sending 5, 100byte ICMP Echos to 200.1.1.1, timeout is 2 seconds:<br />
!!!!!<br />
Success rate is 100 percent (5/5), roundtrip min/avg/max = 1/1/4 ms<br />
Note BB1 is able to ping R1 which is the port in primary VLAN but it can NOT ping any other<br />
router, even though R6, BB2 and BB3 are in the same VLAN, but remember that the VLAN is<br />
defined as an isolated secondary VLAN; the hosts in isolated VLAN do NOT have reachability to<br />
each other.<br />
BB1#Ping 200.1.1.2<br />
Type escape sequence to abort.<br />
Sending 5, 100byte ICMP Echos to 200.1.1.2, timeout is 2 seconds:<br />
.....<br />
Success rate is 0 percent (0/5)<br />
<strong>CCIE</strong> R&S by Narbik Kocharians <strong>Advanced</strong> <strong>CCIE</strong> R&S Work Book <strong>4.0</strong> Page 32 of 87<br />
© 2011 Narbik Kocharians. All rights reserved
BB1#Ping 200.1.1.3<br />
Type escape sequence to abort.<br />
Sending 5, 100byte ICMP Echos to 200.1.1.3, timeout is 2 seconds:<br />
.....<br />
Success rate is 0 percent (0/5)<br />
BB1#Ping 200.1.1.4<br />
Type escape sequence to abort.<br />
Sending 5, 100byte ICMP Echos to 200.1.1.4, timeout is 2 seconds:<br />
.....<br />
Success rate is 0 percent (0/5)<br />
BB1#Ping 200.1.1.5<br />
Type escape sequence to abort.<br />
Sending 5, 100byte ICMP Echos to 200.1.1.5, timeout is 2 seconds:<br />
.....<br />
Success rate is 0 percent (0/5)<br />
BB1#Ping 200.1.1.6<br />
Type escape sequence to abort.<br />
Sending 5, 100byte ICMP Echos to 200.1.1.6, timeout is 2 seconds:<br />
.....<br />
Success rate is 0 percent (0/5)<br />
BB1#Ping 200.1.1.8<br />
Type escape sequence to abort.<br />
Sending 5, 100byte ICMP Echos to 200.1.1.8, timeout is 2 seconds:<br />
.....<br />
Success rate is 0 percent (0/5)<br />
BB1#Ping 200.1.1.9<br />
Type escape sequence to abort.<br />
Sending 5, 100byte ICMP Echos to 200.1.1.9, timeout is 2 seconds:<br />
.....<br />
Success rate is 0 percent (0/5)<br />
On BB2<br />
BB2#Ping 200.1.1.1<br />
<strong>CCIE</strong> R&S by Narbik Kocharians <strong>Advanced</strong> <strong>CCIE</strong> R&S Work Book <strong>4.0</strong> Page 33 of 87<br />
© 2011 Narbik Kocharians. All rights reserved
Type escape sequence to abort.<br />
Sending 5, 100byte ICMP Echos to 200.1.1.1, timeout is 2 seconds:<br />
!!!!!<br />
Success rate is 100 percent (5/5), roundtrip min/avg/max = 1/1/4 ms<br />
Note BB2 is able to ping R1 which is the port in primary VLAN but it can NOT ping any other<br />
router, even though R6, BB1 and BB3 are in the same VLAN, but remember that the VLAN is<br />
defined as an isolated secondary VLAN; the hosts in isolated VLAN do NOT have reachability to<br />
each other.<br />
BB2#Ping 200.1.1.2<br />
Type escape sequence to abort.<br />
Sending 5, 100byte ICMP Echos to 200.1.1.2, timeout is 2 seconds:<br />
.....<br />
Success rate is 0 percent (0/5)<br />
BB2#Ping 200.1.1.3<br />
Type escape sequence to abort.<br />
Sending 5, 100byte ICMP Echos to 200.1.1.3, timeout is 2 seconds:<br />
.....<br />
Success rate is 0 percent (0/5)<br />
BB2#Ping 200.1.1.4<br />
Type escape sequence to abort.<br />
Sending 5, 100byte ICMP Echos to 200.1.1.4, timeout is 2 seconds:<br />
.....<br />
Success rate is 0 percent (0/5)<br />
BB2#Ping 200.1.1.5<br />
Type escape sequence to abort.<br />
Sending 5, 100byte ICMP Echos to 200.1.1.5, timeout is 2 seconds:<br />
.....<br />
Success rate is 0 percent (0/5)<br />
BB2#Ping 200.1.1.6<br />
Type escape sequence to abort.<br />
Sending 5, 100byte ICMP Echos to 200.1.1.6, timeout is 2 seconds:<br />
.....<br />
Success rate is 0 percent (0/5)<br />
<strong>CCIE</strong> R&S by Narbik Kocharians <strong>Advanced</strong> <strong>CCIE</strong> R&S Work Book <strong>4.0</strong> Page 34 of 87<br />
© 2011 Narbik Kocharians. All rights reserved
BB2#Ping 200.1.1.7<br />
Type escape sequence to abort.<br />
Sending 5, 100byte ICMP Echos to 200.1.1.7, timeout is 2 seconds:<br />
.....<br />
Success rate is 0 percent (0/5)<br />
BB2#Ping 200.1.1.9<br />
Type escape sequence to abort.<br />
Sending 5, 100byte ICMP Echos to 200.1.1.9, timeout is 2 seconds:<br />
.....<br />
Success rate is 0 percent (0/5)<br />
On BB3<br />
BB3#Ping 200.1.1.1<br />
Type escape sequence to abort.<br />
Sending 5, 100byte ICMP Echos to 200.1.1.1, timeout is 2 seconds:<br />
!!!!!<br />
Success rate is 100 percent (5/5), roundtrip min/avg/max = 1/1/4 ms<br />
Note BB3 is able to ping R1 which is the port in primary VLAN but it can NOT ping any other<br />
router, even though R6, BB1 and BB2 are in the same VLAN, but remember that the VLAN is<br />
defined as an isolated secondary VLAN; the hosts in isolated VLAN do NOT have reachability to<br />
each other.<br />
BB3#Ping 200.1.1.2<br />
Type escape sequence to abort.<br />
Sending 5, 100byte ICMP Echos to 200.1.1.2, timeout is 2 seconds:<br />
.....<br />
Success rate is 0 percent (0/5)<br />
BB3#Ping 200.1.1.3<br />
Type escape sequence to abort.<br />
Sending 5, 100byte ICMP Echos to 200.1.1.3, timeout is 2 seconds:<br />
.....<br />
Success rate is 0 percent (0/5)<br />
BB3#Ping 200.1.1.4<br />
Type escape sequence to abort.<br />
<strong>CCIE</strong> R&S by Narbik Kocharians <strong>Advanced</strong> <strong>CCIE</strong> R&S Work Book <strong>4.0</strong> Page 35 of 87<br />
© 2011 Narbik Kocharians. All rights reserved
Sending 5, 100byte ICMP Echos to 200.1.1.4, timeout is 2 seconds:<br />
.....<br />
Success rate is 0 percent (0/5)<br />
BB3#Ping 200.1.1.5<br />
Type escape sequence to abort.<br />
Sending 5, 100byte ICMP Echos to 200.1.1.5, timeout is 2 seconds:<br />
.....<br />
Success rate is 0 percent (0/5)<br />
BB3#Ping 200.1.1.6<br />
Type escape sequence to abort.<br />
Sending 5, 100byte ICMP Echos to 200.1.1.6, timeout is 2 seconds:<br />
.....<br />
Success rate is 0 percent (0/5)<br />
BB3#Ping 200.1.1.7<br />
Type escape sequence to abort.<br />
Sending 5, 100byte ICMP Echos to 200.1.1.7, timeout is 2 seconds:<br />
.....<br />
Success rate is 0 percent (0/5)<br />
BB3#Ping 200.1.1.8<br />
Type escape sequence to abort.<br />
Sending 5, 100byte ICMP Echos to 200.1.1.8, timeout is 2 seconds:<br />
.....<br />
Success rate is 0 percent (0/5)<br />
Task 7<br />
Reconfigure the IP addressing of the hosts that belong to the two community secondary<br />
VLANs based on the following chart and provide InterVlan routing between them: <strong>The</strong><br />
hosts in the other secondary VLANs should still be able to reach the host in the primary<br />
VLAN. You can use static routes and any IP addressing to accomplish this task.<br />
<strong>CCIE</strong> R&S by Narbik Kocharians <strong>Advanced</strong> <strong>CCIE</strong> R&S Work Book <strong>4.0</strong> Page 36 of 87<br />
© 2011 Narbik Kocharians. All rights reserved
On R2<br />
Routers / Interface IP address VLANID<br />
R2 – F0/0<br />
202.1.1.2 /24 20<br />
R3 – F0/1<br />
202.1.1.3 /24 20<br />
R4 – F0/0<br />
203.1.1.4 /24 30<br />
R5 – F0/1<br />
203.1.1.5 /24 30<br />
R2(config)#int f0/0<br />
R2(configif)#ip addr 202.1.1.2 255.255.255.0<br />
R2(config)#ip route 0.0.0.0 0.0.0.0 202.1.1.100<br />
On R3<br />
R3(config)#int f0/1<br />
R3(configif)#ip addr 202.1.1.3 255.255.255.0<br />
R3(config)#ip route 0.0.0.0 0.0.0.0 202.1.1.100<br />
On R4<br />
R4(config)#int f0/0<br />
R4(configif)#ip addr 203.1.1.4 255.255.255.0<br />
R4(config)#ip route 0.0.0.0 0.0.0.0 203.1.1.100<br />
On R5<br />
R5(config)#int f0/1<br />
R5(configif)#ip addr 203.1.1.5 255.255.255.0<br />
R5(config)#ip route 0.0.0.0 0.0.0.0 203.1.1.100<br />
On SW1<br />
SW1(config)#IP routing<br />
Note two IP addresses are configured under interface VLAN 10, a primary and a secondary, the<br />
primary IP address is used by the hosts in VLAN 20 and the secondary is used by the hosts in<br />
VLAN 30.<br />
<strong>The</strong> “Privatevlan mapping” command maps the secondary VLANs to their layer 3 VLAN<br />
interface, in this case VLAN 10 which is the layer 3 interface of the primary VLAN.<br />
<strong>CCIE</strong> R&S by Narbik Kocharians <strong>Advanced</strong> <strong>CCIE</strong> R&S Work Book <strong>4.0</strong> Page 37 of 87<br />
© 2011 Narbik Kocharians. All rights reserved
SW1(config)#int vlan 10<br />
SW1(configif)#ip address 202.1.1.100 255.255.255.0<br />
SW1(configif)#ip address 203.1.1.100 255.255.255.0 sec<br />
SW1(configif)#privatevlan mapping 20,30<br />
With the “Privatevlan mapping” interface configuration command, secondary VLANs can be<br />
added or removed using the “Privatevlan mapping add, or Privatevlan mapping remove”<br />
interface configuration command. After this command is entered, you should get the following<br />
messages:<br />
%PV6PV_MSG: Created a private vlan mapping, Primary 10, Secondary 20<br />
%PV6PV_MSG: Created a private vlan mapping, Primary 10, Secondary 30<br />
To verify the configuration:<br />
On SW1<br />
SW1#Show interfaces privatevlan mapping<br />
Interface Secondary VLAN Type<br />
<br />
vlan10 20 community<br />
vlan10 30 community<br />
To test the configuration:<br />
On R2<br />
R2#Ping 203.1.1.4<br />
Type escape sequence to abort.<br />
Sending 5, 100byte ICMP Echos to 203.1.1.4, timeout is 2 seconds:<br />
!!!!!<br />
Success rate is 100 percent (5/5), roundtrip min/avg/max = 1/2/4 ms<br />
R2#Ping 203.1.1.5<br />
Type escape sequence to abort.<br />
Sending 5, 100byte ICMP Echos to 203.1.1.5, timeout is 2 seconds:<br />
!!!!!<br />
Success rate is 100 percent (4/5), roundtrip min/avg/max = 1/1/4 ms<br />
On BB1<br />
<strong>CCIE</strong> R&S by Narbik Kocharians <strong>Advanced</strong> <strong>CCIE</strong> R&S Work Book <strong>4.0</strong> Page 38 of 87<br />
© 2011 Narbik Kocharians. All rights reserved
BB1#Ping 200.1.1.1<br />
Type escape sequence to abort.<br />
Sending 5, 100byte ICMP Echos to 200.1.1.1, timeout is 2 seconds:<br />
!!!!!<br />
Success rate is 100 percent (5/5), roundtrip min/avg/max = 1/2/4 ms<br />
Task 8<br />
Erase the startup config and reload the routers before proceeding to the next task.<br />
<strong>CCIE</strong> R&S by Narbik Kocharians <strong>Advanced</strong> <strong>CCIE</strong> R&S Work Book <strong>4.0</strong> Page 39 of 87<br />
© 2011 Narbik Kocharians. All rights reserved
<strong>Advanced</strong><br />
<strong>CCIE</strong> <strong>Routing</strong> & <strong>Switching</strong><br />
<strong>4.0</strong><br />
www.MicronicsTraining.com<br />
Narbik Kocharians<br />
<strong>CCIE</strong> #12410<br />
R&S, Security, SP<br />
Framerelay<br />
<strong>CCIE</strong> R&S by Narbik Kocharians <strong>Advanced</strong> <strong>CCIE</strong> R&S Work Book <strong>4.0</strong> Page 40 of 87<br />
© 2011 Narbik Kocharians. All rights reserved
Lab 1 – HubnSpoke using Framerelay map<br />
statements<br />
R1 R1<br />
10.1.100.4 /24<br />
R4<br />
S0/0<br />
10.1.100.1 /24<br />
401<br />
104<br />
103<br />
10.1.100.3 /24<br />
R3<br />
<strong>CCIE</strong> R&S by Narbik Kocharians <strong>Advanced</strong> <strong>CCIE</strong> R&S Work Book <strong>4.0</strong> Page 41 of 87<br />
© 2011 Narbik Kocharians. All rights reserved<br />
S0/0<br />
301<br />
S0/0<br />
102<br />
IP addressing and DLCI information Chart:<br />
201<br />
S0/0<br />
10.1.100.2 /24<br />
Routers IP address Local DLCI Connecting to:<br />
R1’s Framerelay interface S0/0 10.1.100.1 /24 102<br />
103<br />
104<br />
R2’s Framerelay interface S0/0 10.1.100.2 /24 201 R1<br />
R3’s Framerelay interface S0/0 10.1.100.3 /24 301 R1<br />
R4’s Framerelay interface S0/0 10.1.100.4 /24 401 R1<br />
R2<br />
R2<br />
R3<br />
R4
On R1<br />
Task 1<br />
Configure a framerelay Hub and spoke using framerelay map statements. Use the IP<br />
addressing in the above chart.<br />
Disable inversearp such that the routers do not generate inversearp request packets, and<br />
ensure that only the assigned DLCIs are used and mapped, these mappings should be as<br />
follows:<br />
On R1: DLCIs 102, 103 and 104 should be mapped to R2, R3 and R4<br />
respectively.<br />
On R2, R3 and R4: DLCIs 201, 301 and 401 should be used on R2, R3 and R4<br />
respectively for their mapping to R1 (<strong>The</strong> hub).<br />
In the future Eigrp routing protocol will be configured on these routers, ensure that the<br />
routers can handle the Multicast traffic generated by the Eigrp routing protocol. DO NOT<br />
configure any subinterface(s) to accomplish this task.<br />
R1(config)#Int S0/0<br />
R1(configif)#IP address 10.1.100.1 255.255.255.0<br />
R1(configif)#Encapsulation frame<br />
R1(configif)#Framerelay map ip 10.1.100.2 102 broadcast<br />
R1(configif)#Framerelay map ip 10.1.100.3 103 broadcast<br />
R1(configif)#Framerelay map ip 10.1.100.4 104 broadcast<br />
R1(configif)#NO framerelay inversearp<br />
R1(configif)#NO shut<br />
To verify the configuration:<br />
On R1<br />
R1#Show framerelay map<br />
Serial0/0 (up): ip 10.1.100.2 dlci 102(0x66,0x1860), static,<br />
broadcast,<br />
CISCO, status defined, inactive<br />
Serial0/0 (up): ip 10.1.100.3 dlci 103(0x67,0x1870), static,<br />
broadcast,<br />
CISCO, status defined, inactive<br />
Serial0/0 (up): ip 10.1.100.4 dlci 104(0x68,0x1880), static,<br />
broadcast,<br />
CISCO, status defined, inactive<br />
<strong>CCIE</strong> R&S by Narbik Kocharians <strong>Advanced</strong> <strong>CCIE</strong> R&S Work Book <strong>4.0</strong> Page 42 of 87<br />
© 2011 Narbik Kocharians. All rights reserved
Note you may see DLCIs 105 and 106 mapped to 0.0.0.0 IP address, these dynamic mappings may not<br />
affect Unicast traffic, but they will affect Multicast and/or Broadcast traffic, therefore, they should be<br />
removed from the mapping table. <strong>The</strong> “clear framerelay inarp” command will NOT have any effect<br />
on these entries, whereas, saving the configuration and then reloading the routers will definitely clear<br />
the 0.0.0.0 mappings. Another way to clear the “0.0.0.0” mapping is to remove the encapsulation and<br />
reconfigure the encapsulation back again, but once the encapsulation is removed, the framerelay<br />
commands configured under the interface are also removed.<br />
<strong>The</strong> output of the above show command shows that the DLCIs are all in “inactive” status, this means<br />
that the problem is on the other side of the VC, in this case, the other end of these VCs are not<br />
configured yet, and once they are configured, the status should transition to active state.<br />
Let’s configure the spoke routers:<br />
On R2<br />
R2(config)#Int S0/0<br />
R2(configif)#Ip address 10.1.100.2 255.255.255.0<br />
R2(configif)#Encapsulation frame<br />
R2(configif)#Framerelay map ip 10.1.100.1 201 broadcast<br />
R2(configif)#NO framerelay inversearp<br />
R2(configif)#NO shut<br />
To verify the configuration:<br />
On R2<br />
Let’s start with layer one and see if we have a serial cable connected to the Framerelay switch, if so,<br />
which end of the cable is connected to our router, DTE or DCE?<br />
<strong>The</strong> output of the following show command shows that the DTE end of the cable is connected to our<br />
local router, and the “clocks detected” tells us that we are receiving clocking from a DCE device. This<br />
should always be the first step in troubleshooting framerelay. If the output of the following command<br />
showed that we have the DCE end of the cable connected to our router, then, the local router has to<br />
provide clocking, which means that the “clockrate” command MUST be configured or else the VC will<br />
NOT transition into UP/UP state.<br />
R2#Show controller S0/0 | Inc clocks<br />
DTE V.35 TX and RX clocks detected.<br />
In the next step, we should see if the local router is exchanging LMIs with the framerelay switch.<br />
NOTE: Keepalive LMIs are exchanged every 10 seconds, which means that if the framerelay switch is<br />
<strong>CCIE</strong> R&S by Narbik Kocharians <strong>Advanced</strong> <strong>CCIE</strong> R&S Work Book <strong>4.0</strong> Page 43 of 87<br />
© 2011 Narbik Kocharians. All rights reserved
configured correctly and the LMI types are also configured correctly (<strong>The</strong>y match on both ends), then,<br />
you should see the number of status Enquires sent and received increment every 10 seconds.<br />
R2#Show framerelay lmi | Inc Num<br />
Num Status Enq. Sent 68 Num Status msgs Rcvd 69<br />
Num Update Status Rcvd 0 Num Status Timeouts 0<br />
R2#Show framerelay lmi | Inc Num<br />
Num Status Enq. Sent 69 Num Status msgs Rcvd 70<br />
Num Update Status Rcvd 0 Num Status Timeouts 0<br />
Next the framerelay maps are checked:<br />
R2#Show framerelay map 201<br />
Serial0/0 (up): ip 10.1.100.1 dlci 201(0xC9,0x3090), static,<br />
broadcast,<br />
CISCO, status defined, active<br />
NOTE: <strong>The</strong> output of the above show command reveals that the remote IP address of 10.1.100.1 is<br />
mapped to the local DLCI of 201. Make sure you see the correct IP address.<br />
In the paranthesis, DLCI 201, is presented in Hexadecimal and Q922 format. If the Hexadecimal value<br />
of 0xC9 is converted to decimal, the result is 201, which is the local DLCI number.<br />
<strong>The</strong> second Hexadecimal value of 0x3090, indicates how the DLCI is split into two sections within the<br />
Framerelay header; a DLCI is a 10 bit digit and the first 6 bits (<strong>The</strong> most significant 6 bits) are in the<br />
first byte and the last 4 bits of the DLCI, is found in the beginning of the second byte of the Frame<br />
relay frame, as follows:<br />
Frame Relay header structure<br />
Notice how the 10 bits are divided? 6 bits are in the first BYTE and the remaining 4 bits are in the<br />
second Byte.<br />
If the hex value of 0x3090 is converted to decimal, you will once again see a DLCI value of 201. As<br />
follows:<br />
<strong>CCIE</strong> R&S by Narbik Kocharians <strong>Advanced</strong> <strong>CCIE</strong> R&S Work Book <strong>4.0</strong> Page 44 of 87<br />
© 2011 Narbik Kocharians. All rights reserved
Convert 0x3090 to Binary:<br />
3 0 9 0<br />
0011 0 0 0 0 1001 0000<br />
Take the most significant 6 bits, in this case: 001100<br />
Take the most significant 4 bits of the second byte, in this case: 1001<br />
Note the most significant 6 bits of the first byte and the most significant 4 bits of the second byte are<br />
concatenated into a 10 bit value, as follows:<br />
0011001001<br />
If the above binary number is converted to decimal (1 + 8 + 64 + 128), you should get 201.<br />
In the final step, an end to end reachability is tested:<br />
R2#Ping 10.1.100.1<br />
Type escape sequence to abort.<br />
Sending 5, 100byte ICMP Echos to 10.1.100.1, timeout is 2 seconds:<br />
!!!!!<br />
Success rate is 100 percent (5/5), roundtrip min/avg/max = 56/56/60 ms<br />
Let’s configure R3:<br />
On R3<br />
R3(config)#Int S0/0<br />
R3(configif)#Ip address 10.1.100.3 255.255.255.0<br />
R3(configif)#Encapsulation frame<br />
R3(configif)#Framerelay map ip 10.1.100.1 301 broadcast<br />
R3(configif)#NO framerelay inversearp<br />
R3(configif)#NO shut<br />
To verify the configuration:<br />
On R3<br />
R3#Ping 10.1.100.1<br />
Type escape sequence to abort.<br />
Sending 5, 100byte ICMP Echos to 10.1.100.1, timeout is 2 seconds:<br />
<strong>CCIE</strong> R&S by Narbik Kocharians <strong>Advanced</strong> <strong>CCIE</strong> R&S Work Book <strong>4.0</strong> Page 45 of 87<br />
© 2011 Narbik Kocharians. All rights reserved
!!!!!<br />
Success rate is 100 percent (5/5), roundtrip min/avg/max = 56/56/60 ms<br />
R3#Show frame map<br />
Serial0/0 (up): ip 10.1.100.1 dlci 301(0x12D,0x48D0), static,<br />
broadcast,<br />
CISCO, status defined, active<br />
Let’s configure R4:<br />
On R4<br />
R4(config)#Int S0/0<br />
R4(config)#Ip address 10.1.100.4 255.255.255.0<br />
R4(config)#Encapsulation frame<br />
R4(config)#Framerelay map ip 10.1.100.1 401 broadcast<br />
R4(config)#NO framerelay inversearp<br />
R4(config)#NO shut<br />
To verify the configuration:<br />
On R4<br />
R4#Ping 10.1.100.1<br />
Type escape sequence to abort.<br />
Sending 5, 100byte ICMP Echos to 10.1.100.1, timeout is 2 seconds:<br />
!!!!!<br />
Success rate is 100 percent (5/5), roundtrip min/avg/max = 48/50/52 ms<br />
R4#Show framerelay map<br />
Serial0/0 (up): ip 10.1.100.1 dlci 401(0x191,0x6410), static,<br />
broadcast,<br />
CISCO, status defined, active<br />
Task 2<br />
Ensure that every router can ping every IP address connected to the cloud. When<br />
configuring this task, ensure that the hub router does NOT receive redundant routing<br />
traffic.<br />
<strong>CCIE</strong> R&S by Narbik Kocharians <strong>Advanced</strong> <strong>CCIE</strong> R&S Work Book <strong>4.0</strong> Page 46 of 87<br />
© 2011 Narbik Kocharians. All rights reserved
NOTE: Every IP address connected to the cloud also includes the local router’s IP address. Let’s test<br />
the existing situation:<br />
On R1<br />
R1#Ping 10.1.100.1<br />
Type escape sequence to abort.<br />
Sending 5, 100byte ICMP Echos to 10.1.100.1, timeout is 2 seconds:<br />
.....<br />
Success rate is 0 percent (0/5)<br />
<strong>The</strong> ping is NOT successful. Let’s enable the “Debug Framerelay packet” and try the ping again:<br />
R1#Debug Framerelay packet<br />
Frame Relay packet debugging is on<br />
R1#Ping 10.1.100.1<br />
Type escape sequence to abort.<br />
Sending 5, 100byte ICMP Echos to 10.1.100.1, timeout is 2 seconds:<br />
Serial0/0:Encaps failedno map entry link 7(IP).<br />
Serial0/0:Encaps failedno map entry link 7(IP).<br />
Serial0/0:Encaps failedno map entry link 7(IP).<br />
Serial0/0:Encaps failedno map entry link 7(IP).<br />
Serial0/0:Encaps failedno map entry link 7(IP).<br />
Success rate is 0 percent (0/5)<br />
Let’s disable the debug:<br />
On R1<br />
R1#u all<br />
<strong>The</strong> output of the above debug states that there is NO mapping and encapsulation failed because of<br />
that; Framerelay can be configured in two different ways: Multipoint and Pointtopoint.<br />
<strong>The</strong>re is ONLY one way to configure framerelay in a pointtopoint manner, and that’s through a<br />
pointtopoint subinterface configuration, whereas, a multipoint can be configurd in two ways:<br />
• Perform the entire configuration directly under the main interface.<br />
• Configure a subinterface in a multipoint manner.<br />
Since the entire configuration was performed without the use of subinterfaces, this is a multipoint<br />
<strong>CCIE</strong> R&S by Narbik Kocharians <strong>Advanced</strong> <strong>CCIE</strong> R&S Work Book <strong>4.0</strong> Page 47 of 87<br />
© 2011 Narbik Kocharians. All rights reserved
interface. In a multipoint framerelay configuration, two conditions must be met before an IP address<br />
is reachable:<br />
A. <strong>The</strong> destination IP address must be in the routing table with a valid next hop.<br />
B. <strong>The</strong>re must be a framerelay mapping for that destination.<br />
In this case the destination IP address is in the routing table, but the framerelay mapping is missing.<br />
When configuring the framerelay mapping, you can use any active DLCI:<br />
On R1<br />
R1(config)#Interface S0/0<br />
R1(configif)#Framerelay map ip 10.1.100.1 102<br />
NOTE: Since the local router will NOT be sending Multicast or Broadcast traffic to itself, there is no<br />
need to add the “broadcast” keyword for this configuration.<br />
To verify the configuration:<br />
On R1<br />
R1#Ping 10.1.100.1<br />
Type escape sequence to abort.<br />
Sending 5, 100byte ICMP Echos to 10.1.100.1, timeout is 2 seconds:<br />
!!!!!<br />
Success rate is 100 percent (5/5), roundtrip min/avg/max = 100/101/108 ms<br />
Let’s test R2’s reachability, we already know that it needs a framerelay map or else it will not be able<br />
to ping its own IP address, let’s configure one and test:<br />
On R2<br />
R2(config)#Int S0/0<br />
R2(configif)#Framerelay map ip 10.1.100.2 201<br />
To test the configuration:<br />
On R2<br />
R2#Ping 10.1.100.2<br />
<strong>CCIE</strong> R&S by Narbik Kocharians <strong>Advanced</strong> <strong>CCIE</strong> R&S Work Book <strong>4.0</strong> Page 48 of 87<br />
© 2011 Narbik Kocharians. All rights reserved
Type escape sequence to abort.<br />
Sending 5, 100byte ICMP Echos to 10.1.100.2, timeout is 2 seconds:<br />
!!!!!<br />
Success rate is 100 percent (5/5), roundtrip min/avg/max = 96/100/108 ms<br />
Let’s see if R2 can ping the other spokes:<br />
On R2<br />
R2#Ping 10.1.100.3<br />
Type escape sequence to abort.<br />
Sending 5, 100byte ICMP Echos to 10.1.100.3, timeout is 2 seconds:<br />
.....<br />
Success rate is 0 percent (0/5)<br />
R2#Ping 10.1.100.34<br />
Type escape sequence to abort.<br />
Sending 5, 100byte ICMP Echos to 10.1.100.34, timeout is 2 seconds:<br />
.....<br />
Success rate is 0 percent (0/5)<br />
Do we have a framerelay mappings for these destinations? Let’s check:<br />
On R2<br />
R2#Show framerelay map<br />
Serial0/0 (up): ip 10.1.100.2 dlci 201(0xC9,0x3090), static,<br />
CISCO, status defined, active<br />
Serial0/0 (up): ip 10.1.100.1 dlci 201(0xC9,0x3090), static,<br />
broadcast,<br />
CISCO, status defined, active<br />
NOTE: <strong>The</strong>re are two framerelay mappings, one for 10.1.100.2 and the second one is for 10.1.100.1 IP<br />
addresses. Let’s add two more framerelay mappings, one for 10.1.100.3 and the second one for<br />
10.1.100.4:<br />
On R2<br />
R2(config)#Int S0/0<br />
R2(configif)#Framerelay map ip 10.1.100.3 201<br />
R2(configif)#Framerelay map ip 10.1.100.4 201<br />
<strong>CCIE</strong> R&S by Narbik Kocharians <strong>Advanced</strong> <strong>CCIE</strong> R&S Work Book <strong>4.0</strong> Page 49 of 87<br />
© 2011 Narbik Kocharians. All rights reserved
<strong>The</strong>re are two points that you need to remember:<br />
a. <strong>The</strong> destination IP address must be in the routing table with a valid next hop.<br />
b. <strong>The</strong>re must be a framerelay mapping for that destination.<br />
To test the configuration:<br />
On R2<br />
R2#Ping 10.1.100.3<br />
Type escape sequence to abort.<br />
Sending 5, 100byte ICMP Echos to 10.1.100.3, timeout is 2 seconds:<br />
.....<br />
Success rate is 0 percent (0/5)<br />
Let’s turn on the “Debug Framerelay packet” and ping again and see the result:<br />
On R2<br />
R2#Deb frame pack<br />
Frame Relay packet debugging is on<br />
R2#Ping 10.1.100.3<br />
Type escape sequence to abort.<br />
Sending 5, 100byte ICMP Echos to 10.1.100.3, timeout is 2 seconds:<br />
Serial0/0(o): dlci 201(0x3091), pkt type 0x800(IP), datagramsize 104.<br />
Serial0/0(o): dlci 201(0x3091), pkt type 0x800(IP), datagramsize 104.<br />
Serial0/0(o): dlci 201(0x3091), pkt type 0x800(IP), datagramsize 104.<br />
Serial0/0(o): dlci 201(0x3091), pkt type 0x800(IP), datagramsize 104.<br />
Serial0/0(o): dlci 201(0x3091), pkt type 0x800(IP), datagramsize 104.<br />
Success rate is 0 percent (0/5)<br />
It seems like the local router (R2) is sending the packets out, let’s enable the same debugging on R3 and<br />
see the result:<br />
On R2<br />
R2#Ping 10.1.100.3<br />
<strong>CCIE</strong> R&S by Narbik Kocharians <strong>Advanced</strong> <strong>CCIE</strong> R&S Work Book <strong>4.0</strong> Page 50 of 87<br />
© 2011 Narbik Kocharians. All rights reserved
Type escape sequence to abort.<br />
Sending 5, 100byte ICMP Echos to 10.1.100.3, timeout is 2 seconds:<br />
.....<br />
Success rate is 0 percent (0/5)<br />
On R3<br />
Serial0/0(i): dlci 301(0x48D1), pkt type 0x800, datagramsize 104<br />
Serial0/0:Encaps failedno map entry link 7(IP)<br />
It looks like R3 is missing framerelay map back to R2. Let’s configure a framerelay map on R3 for<br />
R2 and test again:<br />
On R3<br />
R3(config)#Int S0/0<br />
R3(configif)#Framerelay map ip 10.1.100.2 301<br />
To verify the configuration:<br />
On R2<br />
R2#Ping 10.1.100.3<br />
Type escape sequence to abort.<br />
Sending 5, 100byte ICMP Echos to 10.1.100.3, timeout is 2 seconds:<br />
!!!!!<br />
Success rate is 100 percent (5/5), roundtrip min/avg/max = 100/100/100 ms<br />
Perfect…..Let’s do the same on R4.<br />
On R4<br />
R4(config)#Int S0/0<br />
R4(configif)#Framerelay map ip 10.1.100.2 401<br />
To verify the configuration:<br />
On R2<br />
R2#Ping 10.1.100.4<br />
Type escape sequence to abort.<br />
Sending 5, 100byte ICMP Echos to 10.1.100.4, timeout is 2 seconds:<br />
<strong>CCIE</strong> R&S by Narbik Kocharians <strong>Advanced</strong> <strong>CCIE</strong> R&S Work Book <strong>4.0</strong> Page 51 of 87<br />
© 2011 Narbik Kocharians. All rights reserved
!!!!!<br />
Success rate is 100 percent (5/5), roundtrip min/avg/max = 96/100/108 ms<br />
When configuring the framerelay mapping from one spoke to another spoke, the “broadcast”<br />
keyword should not be used, if this keyword is used, the hub router will receive redundant routing<br />
traffic. This can be verified by running RIPv2 and performing a “debug ip rip” command on the hub<br />
router.<br />
Task 3<br />
Configure the routers such that the LMI status inquiries are sent every 5 seconds and Full<br />
Status LMI requests are sent every 3 cycles instead of 6.<br />
By default framerelay routers generate LMI Status inquiries every 10 seconds, and a full status<br />
inquiry every 6 th cycle (Every 60 seconds). <strong>The</strong> interval for status inquiries can be changed using the<br />
“Keepalive” command, whereas, the “Framerelay lmin391dte” command can be used to change the<br />
interval for the complete status inquiries.<br />
NOTE: <strong>The</strong> output of the following debug command reveals the status inquiries and full status<br />
inquiries:<br />
On R1<br />
R1#Debug frame lmi<br />
Serial0/0(out): StEnq, myseq 125, yourseen 124, DTE up<br />
datagramstart = 0x3F401ED4, datagramsize = 14<br />
FR encap = 0x00010308<br />
00 75 95 01 01 01 03 02 7D 7C<br />
Serial0/0(in): Status, myseq 125, pak size 14<br />
RT IE 1, length 1, type 1<br />
KA IE 3, length 2, yourseq 125, myseq 125<br />
Serial0/0(out): StEnq, myseq 126, yourseen 125, DTE up<br />
datagramstart = 0x3F6B0294, datagramsize = 14<br />
FR encap = 0x00010308<br />
407: 00 75 95 01 01 01 03 02 7E 7D<br />
Serial0/0(in): Status, myseq 126, pak size 14<br />
RT IE 1, length 1, type 1<br />
<strong>CCIE</strong> R&S by Narbik Kocharians <strong>Advanced</strong> <strong>CCIE</strong> R&S Work Book <strong>4.0</strong> Page 52 of 87<br />
© 2011 Narbik Kocharians. All rights reserved
KA IE 3, length 2, yourseq 126, myseq 126<br />
Serial0/0(out): StEnq, myseq 127, yourseen 126, DTE up<br />
datagramstart = 0x3F400C14, datagramsize = 14<br />
FR encap = 0x00010308<br />
00 75 95 01 01 01 03 02 7F 7E<br />
Serial0/0(in): Status, myseq 127, pak size 14<br />
RT IE 1, length 1, type 1<br />
KA IE 3, length 2, yourseq 127, myseq 127<br />
Serial0/0(out): StEnq, myseq 128, yourseen 127, DTE up<br />
datagramstart = 0x3F6AF394, datagramsize = 14<br />
FR encap = 0x00010308<br />
00 75 95 01 01 01 03 02 80 7F<br />
Serial0/0(in): Status, myseq 128, pak size 14<br />
RT IE 1, length 1, type 1<br />
KA IE 3, length 2, yourseq 128, myseq 128<br />
Serial0/0(out): StEnq, myseq 129, yourseen 128, DTE up<br />
datagramstart = 0x3F644ED4, datagramsize = 14<br />
FR encap = 0x00010308<br />
00 75 95 01 01 01 03 02 81 80<br />
Serial0/0(in): Status, myseq 129, pak size 14<br />
RT IE 1, length 1, type 1<br />
KA IE 3, length 2, yourseq 129, myseq 129<br />
Serial0/0(out): StEnq, myseq 130, yourseen 129, DTE up<br />
datagramstart = 0x3F6B03D4, datagramsize = 14<br />
FR encap = 0x00010308<br />
00 75 95 01 01 00 03 02 82 81<br />
Serial0/0(in): Status, myseq 130, pak size 59<br />
RT IE 1, length 1, type 0<br />
KA IE 3, length 2, yourseq 130, myseq 130<br />
PVC IE 0x7 , length 0x3 , dlci 102, status 0x2<br />
PVC IE 0x7 , length 0x3 , dlci 103, status 0x2<br />
PVC IE 0x7 , length 0x3 , dlci 104, status 0x2<br />
PVC IE 0x7 , length 0x3 , dlci 105, status 0x0<br />
PVC IE 0x7 , length 0x3 , dlci 106, status 0x0<br />
Note the status inquiries are sent every 10 seconds, these messages are “type 1s”, whereas, the complete<br />
status inquiries are generated by the local router every 6 th cycle, these message are “type 0” messages,<br />
and when the framerelay switch receives these messages it responds with all the DLCIs that are<br />
<strong>CCIE</strong> R&S by Narbik Kocharians <strong>Advanced</strong> <strong>CCIE</strong> R&S Work Book <strong>4.0</strong> Page 53 of 87<br />
© 2011 Narbik Kocharians. All rights reserved
configured for that given router.<br />
To change these timers:<br />
On all routers<br />
Rx(config)#Interface S0/0<br />
Rx(configif)#Keepalive 5<br />
Rx(configif)#Framerelay lmin391dte 3<br />
To test the configuration:<br />
Rx#Debug frame LMI<br />
*Nov 24 20:13:52.411: Serial0/0(out): StEnq, myseq 221, yourseen 220, DTE up<br />
*Nov 24 20:13:52.411: datagramstart = 0x3F6AEFD4, datagramsize = 14<br />
*Nov 24 20:13:52.411: FR encap = 0x00010308<br />
*Nov 24 20:13:52.411: 00 75 95 01 01 01 03 02 DD DC<br />
*Nov 24 20:13:52.415: Serial0/0(in): Status, myseq 221, pak size 14<br />
*Nov 24 20:13:52.415: RT IE 1, length 1, type 1<br />
*Nov 24 20:13:52.415: KA IE 3, length 2, yourseq 221, myseq 221<br />
*Nov 24 20:13:57.411: Serial0/0(out): StEnq, myseq 222, yourseen 221, DTE up<br />
*Nov 24 20:13:57.411: datagramstart = 0x3F400D54, datagramsize = 14<br />
*Nov 24 20:13:57.411: FR encap = 0x00010308<br />
*Nov 24 20:13:57.411: 00 75 95 01 01 01 03 02 DE DD<br />
*Nov 24 20:13:57.415: Serial0/0(in): Status, myseq 222, pak size 14<br />
*Nov 24 20:13:57.415: RT IE 1, length 1, type 1<br />
*Nov 24 20:13:57.415: KA IE 3, length 2, yourseq 222, myseq 222<br />
*Nov 24 20:14:02.411: Serial0/0(out): StEnq, myseq 223, yourseen 222, DTE up<br />
*Nov 24 20:14:02.411: datagramstart = 0x3F6AF394, datagramsize = 14<br />
*Nov 24 20:14:02.411: FR encap = 0x00010308<br />
*Nov 24 20:14:02.411: 00 75 95 01 01 00 03 02 DF DE<br />
*Nov 24 20:14:02.423: Serial0/0(in): Status, myseq 223, pak size 59<br />
*Nov 24 20:14:02.423: RT IE 1, length 1, type 0<br />
*Nov 24 20:14:02.423: KA IE 3, length 2, yourseq 223, myseq 223<br />
*Nov 24 20:14:02.423: PVC IE 0x7 , length 0x3 , dlci 102, status 0x2<br />
*Nov 24 20:14:02.423: PVC IE 0x7 , length 0x3 , dlci 103, status 0x2<br />
*Nov 24 20:14:02.423: PVC IE 0x7 , length 0x3 , dlci 104, status 0x2<br />
*Nov 24 20:14:02.423: PVC IE 0x7 , length 0x3 , dlci 105, status 0x0<br />
*Nov 24 20:14:02.423: PVC IE 0x7 , length 0x3 , dlci 106, status 0x0<br />
Note initially the router and the framerelay switch exchange two “type 1” inquiries, and the third<br />
<strong>CCIE</strong> R&S by Narbik Kocharians <strong>Advanced</strong> <strong>CCIE</strong> R&S Work Book <strong>4.0</strong> Page 54 of 87<br />
© 2011 Narbik Kocharians. All rights reserved
message that the local router generates is a “type 0” messages which tells the switch to respond with all<br />
the DLCIs.<br />
Task 4<br />
Erase the startup configuration and reload the routers before proceeding to the next lab.<br />
<strong>CCIE</strong> R&S by Narbik Kocharians <strong>Advanced</strong> <strong>CCIE</strong> R&S Work Book <strong>4.0</strong> Page 55 of 87<br />
© 2011 Narbik Kocharians. All rights reserved
Lab 9 – BacktoBack Framerelay connection<br />
IP addressing:<br />
Task 1<br />
Router Interface / IP address DLCI assignment<br />
R1 S0/1 = 200.1.1.1 /24 113<br />
R3 S0/1 = 200.1.1.3 /24 113<br />
Configure Framerelay between R1 and R3, you should use the IP address, interface and<br />
the DLCIs provided in the IP Addressing table above.<br />
In this scenario we do not have a framerelay switch connecting the routers; these routers are<br />
connected back to back using a DTE DCE serial cable. <strong>The</strong> router that is connected to the DCE<br />
side should provide the clocking using the “Clock rate” interface configuration command, the DCE<br />
side can be determined using the “Show controller S 0/1” command as follows:<br />
R1#Sh controller S 0/1 | Inc clock<br />
DCE V.35, clock rate 64000<br />
In this case since the framerelay switch does NOT exist, the LMIs should be disabled using the “No<br />
Keepalive” interface configuration command, and the framerelay mapping should be done statically.<br />
When configuring the Framerelay mapping, the DLCIs should be identical on both ends.<br />
<strong>CCIE</strong> R&S by Narbik Kocharians <strong>Advanced</strong> <strong>CCIE</strong> R&S Work Book <strong>4.0</strong> Page 56 of 87<br />
© 2011 Narbik Kocharians. All rights reserved
On R1<br />
R1(config)#interface Serial0/1<br />
R1(configif)#ip address 200.1.1.1 255.255.255.0<br />
R1(configif)#encapsulation framerelay<br />
R1(configif)#NO keepalive<br />
R1(configif)#clock rate 64000<br />
R1(configif)#framerelay map ip 200.1.1.3 113<br />
R1(configif)#NO shut<br />
On R3<br />
R3(config)#interface Serial0/1<br />
R3(configif)#ip address 200.1.1.3 255.255.255.0<br />
R3(configif)#encapsulation framerelay<br />
R3(configif)#NO keepalive<br />
R3(configif)#framerelay map ip 200.1.1.1 113<br />
To verify & test the configuration:<br />
On R1<br />
R1#Ping 200.1.1.3<br />
Type escape sequence to abort.<br />
Sending 5, 100byte ICMP Echos to 200.1.1.3, timeout is 2 seconds:<br />
!!!!!<br />
Success rate is 100 percent (5/5), roundtrip min/avg/max = 28/29/32 ms<br />
R1#Show framerelay lmi<br />
R1#<br />
Note there are no LMIs, because they are disabled.<br />
R1#Show framerelay pvc<br />
PVC Statistics for interface Serial0/1 (Frame Relay DTE)<br />
Active Inactive Deleted Static<br />
Local 1 0 0 0<br />
Switched 0 0 0 0<br />
Unused 0 0 0 0<br />
DLCI = 113, DLCI USAGE = LOCAL, PVC STATUS = STATIC, INTERFACE = Serial0/1<br />
<strong>CCIE</strong> R&S by Narbik Kocharians <strong>Advanced</strong> <strong>CCIE</strong> R&S Work Book <strong>4.0</strong> Page 57 of 87<br />
© 2011 Narbik Kocharians. All rights reserved
input pkts 5 output pkts 10 in bytes 520<br />
out bytes 1040 dropped pkts 0 in pkts dropped 0<br />
out pkts dropped 0 out bytes dropped 0<br />
in FECN pkts 0 in BECN pkts 0 out FECN pkts 0<br />
out BECN pkts 0 in DE pkts 0 out DE pkts 0<br />
out bcast pkts 0 out bcast bytes 0<br />
5 minute input rate 0 bits/sec, 0 packets/sec<br />
5 minute output rate 0 bits/sec, 0 packets/sec<br />
pvc create time 00:03:53, last time pvc status changed 00:02:39<br />
R1#Show framerelay map<br />
Serial0/1 (up): ip 200.1.1.3 dlci 113(0x71,0x1c10), static,<br />
CISCO<br />
Task 2<br />
Configure the routers such that R1 uses DLCI 103 to send and DLCI 301 to receive<br />
packets, whereas, R3 should use DLCI 301 to send and DLCI 103 to receive packets.<br />
You should configure interface S0/1 to accomplish this task.<br />
In this task we are asked to configure these routers to use different DLCIs, 103 connecting R1 to R3<br />
and 301 connecting R3 to R1.<br />
On R1<br />
R1(config)#interface Serial0/1<br />
R1(configif)#ip address 200.1.1.1 255.255.255.0<br />
R1(configif)#encapsulation framerelay<br />
R1(configif)#NO keepalive<br />
R1(configif)#clock rate 64000<br />
<strong>The</strong> following command removes the framerelay mapping that was configured in the previous task<br />
and adds the new mapping:<br />
R1(configif)#NO framerelay map ip 200.1.1.3 113<br />
R1(configif)#framerelay map ip 200.1.1.3 103<br />
On R3<br />
R3(config)#interface Serial0/1<br />
<strong>CCIE</strong> R&S by Narbik Kocharians <strong>Advanced</strong> <strong>CCIE</strong> R&S Work Book <strong>4.0</strong> Page 58 of 87<br />
© 2011 Narbik Kocharians. All rights reserved
R3(configif)#ip address 200.1.1.3 255.255.255.0<br />
R3(configif)#encapsulation framerelay<br />
R3(configif)#NO keepalive<br />
R3(configif)#NO framerelay map ip 200.1.1.1 113<br />
R3(configif)#framerelay map ip 200.1.1.1 301<br />
To verify and test the configuration:<br />
On Both Routers:<br />
#Debug Framerelay packet<br />
On R1<br />
R1#Ping 200.1.1.3<br />
Type escape sequence to abort.<br />
Sending 5, 100byte ICMP Echos to 200.1.1.3, timeout is 2 seconds:<br />
.....<br />
Success rate is 0 percent (0/5)<br />
You should see the following debug output on R1 and R3:<br />
On R1<br />
Serial0/1(o): dlci 103(0x1871), pkt type 0x800(IP), datagramsize 104.<br />
Serial0/1(o): dlci 103(0x1871), pkt type 0x800(IP), datagramsize 104.<br />
Serial0/1(o): dlci 103(0x1871), pkt type 0x800(IP), datagramsize 104.<br />
Serial0/1(o): dlci 103(0x1871), pkt type 0x800(IP), datagramsize 104.<br />
Serial0/1(o): dlci 103(0x1871), pkt type 0x800(IP), datagramsize 104.<br />
On R3<br />
Serial0/1: FR invalid/unexpected pak received on DLCI 103<br />
Serial0/1: FR invalid/unexpected pak received on DLCI 103<br />
Serial0/1: FR invalid/unexpected pak received on DLCI 103<br />
Serial0/1: FR invalid/unexpected pak received on DLCI 103<br />
Serial0/1: FR invalid/unexpected pak received on DLCI 103<br />
NOTE: <strong>The</strong> output of the debug messages on R3 reveals the reason that the ping was NOT successful.<br />
It’s telling us that it received 5 invalid and unexpected packets on DLCI 103. <strong>The</strong> reason the local<br />
router (R3) sees R1’s DLCI is because they are directly connected.<br />
To fix this problem, R3 can be configured to receive data on DLCI 103 and send on DLCI 301, as<br />
follows:<br />
<strong>CCIE</strong> R&S by Narbik Kocharians <strong>Advanced</strong> <strong>CCIE</strong> R&S Work Book <strong>4.0</strong> Page 59 of 87<br />
© 2011 Narbik Kocharians. All rights reserved
On R3<br />
R3(config)#int S0/1<br />
R3(configif)#framerelay interfacedlci 103<br />
To verify and test the configuration:<br />
On R1<br />
R1#Ping 200.1.1.3 repeat 4<br />
On R3<br />
Serial0/1(i): dlci 103(0x1871), pkt type 0x800, datagramsize 104<br />
Serial0/1(o): dlci 301(0x48D1), pkt type 0x800(IP), datagramsize 104<br />
Serial0/1(i): dlci 103(0x1871), pkt type 0x800, datagramsize 104<br />
Serial0/1(o): dlci 301(0x48D1), pkt type 0x800(IP), datagramsize 104<br />
Serial0/1(i): dlci 103(0x1871), pkt type 0x800, datagramsize 104<br />
Serial0/1(o): dlci 301(0x48D1), pkt type 0x800(IP), datagramsize 104<br />
Serial0/1(i): dlci 103(0x1871), pkt type 0x800, datagramsize 104<br />
Serial0/1(o): dlci 301(0x48D1), pkt type 0x800(IP), datagramsize 104<br />
Note the incoming traffic uses DLCI 103, whereas, the outgoing traffic uses DLCI 301. Let’s try to ping<br />
R1 and see why the pings are unsuccessful:<br />
To test the configuration:<br />
On R3<br />
R3#Ping 200.1.1.1 repeat 4<br />
On R1<br />
Serial0/1: FR invalid/unexpected pak received on DLCI 301<br />
Serial0/1: FR invalid/unexpected pak received on DLCI 301<br />
Serial0/1: FR invalid/unexpected pak received on DLCI 301<br />
Serial0/1: FR invalid/unexpected pak received on DLCI 301<br />
Note we are experiencing the same problem on R3, the traffic comes in on DLCI 301 and the local<br />
router is NOT aware of this DLCI. To fix this problem:<br />
<strong>CCIE</strong> R&S by Narbik Kocharians <strong>Advanced</strong> <strong>CCIE</strong> R&S Work Book <strong>4.0</strong> Page 60 of 87<br />
© 2011 Narbik Kocharians. All rights reserved
R1(config)#int S0/1<br />
R1(configif)#framerelay interfacedlci 301<br />
To verify and test the configuration:<br />
On R3<br />
R3#Ping 200.1.1.1 repeat 4<br />
Type escape sequence to abort.<br />
Sending 4, 100byte ICMP Echos to 200.1.1.1, timeout is 2 seconds:<br />
!!!!<br />
Success rate is 100 percent (4/4), roundtrip min/avg/max = 28/29/32 ms<br />
On R1<br />
Serial0/1(i): dlci 301(0x48D1), pkt type 0x800, datagramsize 104<br />
Serial0/1(o): dlci 103(0x1871), pkt type 0x800(IP), datagramsize 104<br />
Serial0/1(i): dlci 301(0x48D1), pkt type 0x800, datagramsize 104<br />
Serial0/1(o): dlci 103(0x1871), pkt type 0x800(IP), datagramsize 104<br />
Serial0/1(i): dlci 301(0x48D1), pkt type 0x800, datagramsize 104<br />
Serial0/1(o): dlci 103(0x1871), pkt type 0x800(IP), datagramsize 104<br />
Serial0/1(i): dlci 301(0x48D1), pkt type 0x800, datagramsize 104<br />
Serial0/1(o): dlci 103(0x1871), pkt type 0x800(IP), datagramsize 104<br />
R1#Show frame map<br />
Serial0/1 (up): ip 200.1.1.3 dlci 103(0x67,0x1870), static,<br />
CISCO<br />
On R3<br />
R3#Show frame map<br />
Serial0/1 (up): ip 200.1.1.1 dlci 301(0x12D,0x48D0), static,<br />
CISCO<br />
<strong>CCIE</strong> R&S by Narbik Kocharians <strong>Advanced</strong> <strong>CCIE</strong> R&S Work Book <strong>4.0</strong> Page 61 of 87<br />
© 2011 Narbik Kocharians. All rights reserved
On R1<br />
Task 3<br />
Reconfigure R1 as a framerelay switch and a router connecting to R3, whereas, R3<br />
should be configured as a router connecting to R1 using S0/1 interface. R1 should use<br />
DLCI 103 for its connection to R3 and R3 should use DLCI 301 for its connection to R1.<br />
You should NOT disable LMIs to accomplish this task.<br />
R1(config)#frame switching<br />
R1(config)#int S0/1<br />
R1(configif)#ip addr 200.1.1.1 255.255.255.0<br />
R1(configif)#encap framerelay<br />
R1(configif)#clock rate 64000<br />
R1(configif)#frame map ip 200.1.1.3 103<br />
R1(configif)#frame interfacedlci 301<br />
R1(configif)#framerelay intftype dce<br />
On R3<br />
R3(configif)#int S0/1<br />
R3(configif)#ip addr 200.1.1.3 255.255.255.0<br />
R3(configif)#encap framerelay<br />
R3(configif)#frame map ip 200.1.1.1 301<br />
To verify and test the configuration:<br />
On R1<br />
R1#Show frame lmi | B Num<br />
Num Status Enq. Rcvd 11 Num Status msgs Sent 11<br />
Num Update Status Sent 0 Num St Enq. Timeouts 0<br />
On R3<br />
R3#Show framerelay lmi | B Num<br />
Num Status Enq. Sent 18 Num Status msgs Rcvd 19<br />
Num Update Status Rcvd 0 Num Status Timeouts 0<br />
Last Full Status Req 00:00:00 Last Full Status Rcvd 00:00:00<br />
<strong>CCIE</strong> R&S by Narbik Kocharians <strong>Advanced</strong> <strong>CCIE</strong> R&S Work Book <strong>4.0</strong> Page 62 of 87<br />
© 2011 Narbik Kocharians. All rights reserved
R3#Show framerelay map<br />
Serial0/1 (up): ip 200.1.1.1 dlci 301(0x12D,0x48D0), static,<br />
CISCO, status defined, active<br />
R3#Ping 200.1.1.1<br />
Type escape sequence to abort.<br />
Sending 5, 100byte ICMP Echos to 200.1.1.1, timeout is 2 seconds:<br />
!!!!!<br />
Success rate is 100 percent (5/5), roundtrip min/avg/max = 28/30/33 ms<br />
Task 4<br />
Erase the startup configuration and reload the routers before proceeding to the next lab.<br />
<strong>CCIE</strong> R&S by Narbik Kocharians <strong>Advanced</strong> <strong>CCIE</strong> R&S Work Book <strong>4.0</strong> Page 63 of 87<br />
© 2011 Narbik Kocharians. All rights reserved
Lab Setup:<br />
Configure F0/19 interface of SW1 and SW2 as a Dot1Q trunk.<br />
Configure SW1 and SW2 in VTP domain called TST<br />
Configure F0/1 and F0/2 interface of SW1 in VLAN 100.<br />
Configure F0/3 interface of SW2 as a Dot1Q trunk.<br />
Configure F0/1 interface of R3 as a Dot1Q trunk for VLAN 100.<br />
You can copy and paste the initial configuration from the init directory<br />
IP addressing:<br />
Lab 1 – MLS QOS<br />
Router Interface / IP address VLAN<br />
R1 F0/0 = 10.1.1.1 /24 100<br />
R2 F0/0 = 10.1.1.2 /24 100<br />
R3 F0/1.100 = 10.1.1.3 /24 100<br />
<strong>CCIE</strong> R&S by Narbik Kocharians <strong>Advanced</strong> <strong>CCIE</strong> R&S Work Book <strong>4.0</strong> Page 64 of 87<br />
© 2011 Narbik Kocharians. All rights reserved
Task 1<br />
On Switch 1<br />
Assign a hostname of SW1 to Switch 1 and a hostname of SW2 to Switch 2. Shutdown<br />
all unused ports on these switches.<br />
Switch(config)#Host SW1<br />
SW1(config)#Int range f0/318 , F0/2024<br />
SW1(configifrange)#Shut<br />
On Switch 2<br />
Switch(config)#Host SW2<br />
SW2(config)#Int range f0/12 , F0/418 , F0/2024<br />
SW2(configifrange)#Shut<br />
Task 2<br />
Configure SW1’s port F0/2 such that it marks All ingress traffic with a CoS marking of 2.<br />
For verification purpose, R3 should be configured to match on CoS values of 0 – 7<br />
ingress on its F0/1.100 subinterface.<br />
In this step R3 is configured to match on incoming CoS values of 0 – 7, this is done so the policy can be<br />
tested and verified.<br />
On R3<br />
R3(config)#classmap cos0<br />
R3(configcmap)#match CoS 0<br />
R3(config)#classmap cos1<br />
R3(configcmap)#match CoS 1<br />
R3(config)#classmap cos2<br />
R3(configcmap)#match CoS 2<br />
R3(config)#classmap cos3<br />
R3(configcmap)#match CoS 3<br />
<strong>CCIE</strong> R&S by Narbik Kocharians <strong>Advanced</strong> <strong>CCIE</strong> R&S Work Book <strong>4.0</strong> Page 65 of 87<br />
© 2011 Narbik Kocharians. All rights reserved
R3(config)#classmap cos4<br />
R3(configcmap)#match CoS 4<br />
R3(config)#classmap cos5<br />
R3(configcmap)#match CoS 5<br />
R3(config)#classmap cos6<br />
R3(configcmap)#match CoS 6<br />
R3(config)#classmap cos7<br />
R3(configcmap)#match CoS 7<br />
R3(config)#Policymap TST<br />
R3(configpmap)#Class cos0<br />
R3(configpmap)#Class cos1<br />
R3(configpmap)#Class cos2<br />
R3(configpmap)#Class cos3<br />
R3(configpmap)#Class cos4<br />
R3(configpmap)#Class cos5<br />
R3(configpmap)#Class cos6<br />
R3(configpmap)#Class cos7<br />
R3(config)#Int F0/1.100<br />
R3(configsubif)#Servicepolicy in TST<br />
On SW1<br />
By default, QOS is disabled and the switch will NOT modify the CoS, IPPrecedence or the DSCP<br />
values of received traffic. To verify:<br />
SW1#Show mls qos<br />
QoS is disabled<br />
QoS ip packet dscp rewrite is enabled<br />
<strong>The</strong> following command enables MLS QOS; to perform any kind of QOS configuration, MLS QOS<br />
must be enabled.<br />
SW1(config)#MLS QOS<br />
To verify the configuration:<br />
On SW1<br />
<strong>CCIE</strong> R&S by Narbik Kocharians <strong>Advanced</strong> <strong>CCIE</strong> R&S Work Book <strong>4.0</strong> Page 66 of 87<br />
© 2011 Narbik Kocharians. All rights reserved
SW1#Show mls qos<br />
QoS is enabled<br />
QoS ip packet dscp rewrite is enabled<br />
To continue with the configuration:<br />
SW1(config)#int F0/1<br />
<strong>The</strong> following command assigns a default CoS value of 2 to untagged traffic received through this<br />
interface.<br />
SW1(configif)#mls qos cos 2<br />
To verify the configuration:<br />
On SW1<br />
SW1#Show mls qos inter f0/1<br />
FastEthernet0/1<br />
trust state: not trusted<br />
trust mode: not trusted<br />
trust enabled flag: ena<br />
COS override: dis<br />
default COS: 2<br />
DSCP Mutation Map: Default DSCP Mutation Map<br />
Trust device: none<br />
qos mode: portbased<br />
To test the configuration:<br />
On R1<br />
R1#Ping 10.1.1.3<br />
Type escape sequence to abort.<br />
Sending 5, 100byte ICMP Echos to 10.1.1.3, timeout is 2 seconds:<br />
.!!!!<br />
Success rate is 80 percent (4/5), roundtrip min/avg/max = 1/1/4 ms<br />
To verify the test:<br />
<strong>CCIE</strong> R&S by Narbik Kocharians <strong>Advanced</strong> <strong>CCIE</strong> R&S Work Book <strong>4.0</strong> Page 67 of 87<br />
© 2011 Narbik Kocharians. All rights reserved
On R3<br />
R3#Show policymap interface | S cos0<br />
Classmap: cos0 (matchall)<br />
4 packets, 472 bytes<br />
5 minute offered rate 0 bps<br />
Match: cos 0<br />
R3#Show policymap interface | S cos2<br />
Classmap: cos2 (matchall)<br />
0 packets, 0 bytes<br />
5 minute offered rate 0 bps<br />
Match: cos 2<br />
Note, even though the interface is configured with “Mls qos cos 2” the traffic coming in on that<br />
interface is NOT affected. To mark ALL traffic with a CoS marking of 2, which means all traffic<br />
regardless of their marking, the port must be configured to override the existing CoS.<br />
<strong>The</strong> “mls qos cos” command on its own does NOTHING, it should be combined with either the “Mls<br />
qos cos override” or “Mls qos trust cos”. When its combined with “MLS qos trust cos”, ONLY the<br />
untagged traffic is affected, but if it’s combined with “MLS qos cos override”, then, all traffic (Tagged<br />
or untagged) is affected.<br />
<strong>The</strong> following command configures the switch port to trust the CoS value in ALL incoming traffic<br />
through F0/2 interface, the “Mls qos cos override” command will be tested later:<br />
SW1(config)#int F0/1<br />
SW1(configif)#mls qos trust cos<br />
To verify the configuration:<br />
On SW1<br />
SW1#Sh mls qos interface f0/1<br />
FastEthernet0/1<br />
trust state: trust cos<br />
trust mode: trust cos<br />
trust enabled flag: ena<br />
COS override: dis<br />
default COS: 2<br />
DSCP Mutation Map: Default DSCP Mutation Map<br />
<strong>CCIE</strong> R&S by Narbik Kocharians <strong>Advanced</strong> <strong>CCIE</strong> R&S Work Book <strong>4.0</strong> Page 68 of 87<br />
© 2011 Narbik Kocharians. All rights reserved
Trust device: none<br />
qos mode: portbased<br />
To test the configuration:<br />
On R3<br />
R3#Clear counters<br />
Clear "show interface" counters on all interfaces [confirm]<br />
Press Enter to allow the counters to be cleared<br />
On R1<br />
R1#Ping 10.1.1.3<br />
Type escape sequence to abort.<br />
Sending 5, 100byte ICMP Echos to 10.1.1.3, timeout is 2 seconds:<br />
!!!!!<br />
Success rate is 100 percent (5/5), roundtrip min/avg/max = 1/1/4 ms<br />
To verify the test:<br />
On R3<br />
R3#Sh policymap inter | S cos0<br />
Classmap: cos0 (matchall)<br />
0 packets, 0 bytes<br />
5 minute offered rate 0 bps<br />
Match: cos 0<br />
R3#Show policymap interface | S cos2<br />
Classmap: cos2 (matchall)<br />
5 packets, 590 bytes<br />
5 minute offered rate 0 bps<br />
Match: cos 2<br />
Note the output of the above show command reveals that all traffic that sourced from R1 is marked<br />
with a CoS value of 0; the reason for this outcome is because SW1 is configured with “Mls qos” global<br />
configuration command, therefore, the switch will mark all untagged incoming traffic through its F0/1<br />
interface with a CoS value of 2.<br />
<strong>CCIE</strong> R&S by Narbik Kocharians <strong>Advanced</strong> <strong>CCIE</strong> R&S Work Book <strong>4.0</strong> Page 69 of 87<br />
© 2011 Narbik Kocharians. All rights reserved
On SW1<br />
Task 3<br />
Configure SW1 and R1 as follows:<br />
• F0/1 interface of SW1 should be configured as a Dot1q trunk.<br />
• Disable “Mls QOS” and remove the “Mls qos cos 2” command from F0/1<br />
interface of SW1.<br />
• Configure F0/0.100 subinterface on R1, this subinterface should be configured<br />
based on the following:<br />
• R1’s F0/0.100 interface should be configured as trunk for VLAN 100<br />
• R1’s F0/0.100 should be assigned an IP address of 10.1.1.1 /24<br />
• R1’s F0/0.100 should be configured to mark all egress traffic with a CoS<br />
value of 6.<br />
SW1(config)#int F0/1<br />
SW1(configif)#Default inter f0/1<br />
SW1(config)#int F0/1<br />
SW1(configif)#swi trunk enc do<br />
SW1(configif)#swi mode trunk<br />
SW1(config)#NO Mls qos<br />
To verify the configuration<br />
On SW1<br />
SW1#Show int trunk<br />
Port Mode Encapsulation Status Native vlan<br />
Fa0/1 on 802.1q trunking 1<br />
Fa0/19 on 802.1q trunking 1<br />
Port Vlans allowed on trunk<br />
Fa0/1 14094<br />
Fa0/19 14094<br />
Port Vlans allowed and active in management domain<br />
Fa0/1 1,100<br />
Fa0/19 1,100<br />
<strong>CCIE</strong> R&S by Narbik Kocharians <strong>Advanced</strong> <strong>CCIE</strong> R&S Work Book <strong>4.0</strong> Page 70 of 87<br />
© 2011 Narbik Kocharians. All rights reserved
Port Vlans in spanning tree forwarding state and not pruned<br />
Fa0/1 none<br />
Fa0/19 1,100<br />
On R1<br />
R1(config)#Default inter F0/0<br />
R1(configif)#int F0/0.100<br />
R1(configsubif)#encap dot1 100<br />
R1(configsubif)#ip addr 10.1.1.1 255.255.255.0<br />
R1(config)#Policymap TST<br />
R1(configpmap)#class classdefault<br />
R1(configpmapc)#set cos 6<br />
R1(configpmapc)#int F0/0.100<br />
R1(configsubif)#servicepolicy out TST<br />
To test the configuration:<br />
On R3<br />
R3#Clear counters<br />
On R1<br />
R1#Ping 10.1.1.3 rep 60<br />
Type escape sequence to abort.<br />
Sending 60, 100byte ICMP Echos to 10.1.1.3, timeout is 2 seconds:<br />
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!<br />
Success rate is 100 percent (60/60), roundtrip min/avg/max = 1/1/4 ms<br />
On R3<br />
R3#Sh policymap inter | S cos60<br />
Classmap: cos6 (matchall)<br />
60 packets, 7080 bytes<br />
5 minute offered rate 0 bps<br />
Match: cos 6<br />
Note traffic generated by R1 has a CoS marking of 6.<br />
<strong>CCIE</strong> R&S by Narbik Kocharians <strong>Advanced</strong> <strong>CCIE</strong> R&S Work Book <strong>4.0</strong> Page 71 of 87<br />
© 2011 Narbik Kocharians. All rights reserved
On SW1<br />
Task 4<br />
SW1 should be configured to trust the CoS marking of any traffic coming through its<br />
F0/1 interface.<br />
SW1(config)#mls qos<br />
SW1(config)#int F0/1<br />
SW1(configif)#mls qos trust CoS<br />
To test the configuration<br />
On R3<br />
R3#Clear counters<br />
On R1<br />
R1#Ping 10.1.1.3 repeat 60<br />
Type escape sequence to abort.<br />
Sending 60, 100byte ICMP Echos to 10.1.1.3, timeout is 2 seconds:<br />
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!<br />
Success rate is 100 percent (60/60), roundtrip min/avg/max = 1/1/4 ms<br />
Note the output of the following show command reveals that the traffic retained its CoS marking.<br />
On R3<br />
R3#Show policymap interface | S cos6<br />
Classmap: cos6 (matchall)<br />
60 packets, 7080 bytes<br />
5 minute offered rate 0 bps<br />
Match: cos 6<br />
Task 5<br />
Configure R1, R2 & SW1 using the following policy:<br />
<strong>CCIE</strong> R&S by Narbik Kocharians <strong>Advanced</strong> <strong>CCIE</strong> R&S Work Book <strong>4.0</strong> Page 72 of 87<br />
© 2011 Narbik Kocharians. All rights reserved
1. If the ingress traffic from R2 is NOT marked with a CoS value, SW1 should be<br />
configured to mark that traffic with a CoS value of 0.<br />
2. If the ingress traffic from R1 is NOT tagged, SW1 should be configured to rewrite<br />
the CoS value to 1, however, if the traffic is tagged, SW1 should NOT rewrite the<br />
CoS value of the incoming traffic.<br />
To configure the first policy:<br />
Since the “Mls Qos” command is configured on SW1, when traffic without a CoS marking enters any<br />
port on SW1, that traffic is marked with a CoS value of 0, therefore, SW1 does NOT need to be<br />
configured for this policy:<br />
To verify and test the first policy:<br />
On R3<br />
R3#Clear counter<br />
On R2<br />
R2#Ping 10.1.1.3 rep 60<br />
Type escape sequence to abort.<br />
Sending 60, 100byte ICMP Echos to 10.1.1.3, timeout is 2 seconds:<br />
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!<br />
Success rate is 100 percent (60/60), roundtrip min/avg/max = 1/1/4 ms<br />
On R3<br />
Since the traffic generated by R2 did not have a CoS marking, the traffic will arrive with a CoS<br />
marking of zero.<br />
R3#Show policymap interface | S cos6<br />
Classmap: cos6 (matchall)<br />
0 packets, 0 bytes<br />
5 minute offered rate 0 bps<br />
Match: cos 6<br />
R3#Show policymap interface | S cos0<br />
Classmap: cos0 (matchall)<br />
60 packets, 7080 bytes<br />
<strong>CCIE</strong> R&S by Narbik Kocharians <strong>Advanced</strong> <strong>CCIE</strong> R&S Work Book <strong>4.0</strong> Page 73 of 87<br />
© 2011 Narbik Kocharians. All rights reserved
5 minute offered rate 0 bps<br />
Match: cos 0<br />
To configure the second policy:<br />
<strong>The</strong> “Mls qos trust cos” command that was configured in the previous task will trust the CoS value in<br />
the incoming traffic and will NOT rewrite the CoS value; since the task stats that the untagged traffic<br />
should be rewritten to a CoS value of 1, whereas, the tagged traffic should NOT be affected at all, the<br />
following should be configured:<br />
To test the configuration:<br />
On R3<br />
R3#Clear counters<br />
On SW1<br />
SW1(config)#Int F0/1<br />
SW1(configif)#mls qos cos 1<br />
<strong>The</strong> above command ONLY affects the untagged traffic, since R1’s F0/1 interface is configured as a<br />
truck link, this configuration should NOT have any affect. <strong>The</strong> following show command reveals this<br />
information:<br />
On R1<br />
R1#Ping 10.1.1.3 repeat 10<br />
Type escape sequence to abort.<br />
Sending 10, 100byte ICMP Echos to 10.1.1.3, timeout is 2 seconds:<br />
!!!!!!!!!!<br />
Success rate is 100 percent (10/10), roundtrip min/avg/max = 1/1/4 ms<br />
On R3<br />
<strong>The</strong> output of the following show command reveals that the traffic from R1 retained its CoS value of 6:<br />
R3#Sh policymap inter | s cos6<br />
Classmap: cos6 (matchall)<br />
10 packets, 1180 bytes<br />
5 minute offered rate 0 bps<br />
Match: cos 6<br />
<strong>CCIE</strong> R&S by Narbik Kocharians <strong>Advanced</strong> <strong>CCIE</strong> R&S Work Book <strong>4.0</strong> Page 74 of 87<br />
© 2011 Narbik Kocharians. All rights reserved
To test the untagged traffic:<br />
On R1<br />
R1(config)#int F0/0.100<br />
R1(configsubif)#encap dot1 100 native<br />
NOTE: In the above and the following configuration, VLAN 100 is configured to be the Native VLAN<br />
so the traffic arrives with NO tagging:<br />
On SW1<br />
SW1(configif)#int F0/1<br />
SW1(configif)#swi trunk native vlan 100<br />
To see SW1’s configuration:<br />
On SW1<br />
SW1#Sh run int F0/1 | B interface<br />
interface FastEthernet0/1<br />
switchport trunk encapsulation dot1q<br />
switchport trunk native vlan 100<br />
switchport mode trunk<br />
mls qos cos 1<br />
mls qos trust cos<br />
To verify the configuration:<br />
On SW1<br />
SW1#Sh interface trunk<br />
Port Mode Encapsulation Status Native vlan<br />
Fa0/1 on 802.1q trunking 100<br />
Fa0/19 on 802.1q trunking 1<br />
(<strong>The</strong> rest of the output is omitted)<br />
On R3<br />
R3#Clear counters<br />
<strong>CCIE</strong> R&S by Narbik Kocharians <strong>Advanced</strong> <strong>CCIE</strong> R&S Work Book <strong>4.0</strong> Page 75 of 87<br />
© 2011 Narbik Kocharians. All rights reserved
On R1<br />
R1#Ping 10.1.1.3 rep 100<br />
Type escape sequence to abort.<br />
Sending 100, 100byte ICMP Echos to 10.1.1.3, timeout is 2 seconds:<br />
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!<br />
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!<br />
Success rate is 100 percent (100/100), roundtrip min/avg/max = 1/1/4 ms<br />
On R3<br />
R3#Show policymap interface | S cos6<br />
Classmap: cos6 (matchall)<br />
0 packets, 0 bytes<br />
5 minute offered rate 0 bps<br />
Match: cos 6<br />
R3#Show policymap interface | S cos0<br />
Classmap: cos0 (matchall)<br />
0 packets, 0 bytes<br />
5 minute offered rate 0 bps<br />
Match: cos 0<br />
R3#Show policymap interface | S cos1<br />
Classmap: cos1 (matchall)<br />
100 packets, 11800 bytes<br />
5 minute offered rate 0 bps<br />
Match: cos 1<br />
<strong>The</strong> following shows R1’s policymap configuration:<br />
On R1<br />
R1#Show policymap TST<br />
Policy Map TST<br />
Class classdefault<br />
set cos 6<br />
<strong>CCIE</strong> R&S by Narbik Kocharians <strong>Advanced</strong> <strong>CCIE</strong> R&S Work Book <strong>4.0</strong> Page 76 of 87<br />
© 2011 Narbik Kocharians. All rights reserved
On SW2<br />
Task 6<br />
SW2 should be configured such that it marks all traffic from any router/s connected to<br />
SW1 (Tagged or Untagged) with a CoS value of 7. DO NOT configure R1, R2 or SW1 to<br />
accomplish this task.<br />
SW2(config)#MLS QOS<br />
NOTE: This configuration is performed on the trunk link of SW2 so it can affect all traffic coming<br />
from SW1; this affects the traffic that has marking, the traffic that does NOT have any marking,<br />
tagged or untagged:<br />
SW2(config)#int F0/19<br />
SW2(configif)#mls qos cos 7<br />
SW2(configif)#mls qos cos override<br />
To verify the configuration:<br />
On SW2<br />
SW2#Sh mls qos inter f0/19<br />
FastEthernet0/19<br />
trust state: not trusted<br />
trust mode: not trusted<br />
trust enabled flag: ena<br />
COS override: ena<br />
default COS: 7<br />
DSCP Mutation Map: Default DSCP Mutation Map<br />
Trust device: none<br />
qos mode: portbased<br />
To test the configuration:<br />
On R3<br />
R3#Clear counter<br />
On R1<br />
R1#Ping 10.1.1.3 rep 100<br />
<strong>CCIE</strong> R&S by Narbik Kocharians <strong>Advanced</strong> <strong>CCIE</strong> R&S Work Book <strong>4.0</strong> Page 77 of 87<br />
© 2011 Narbik Kocharians. All rights reserved
Type escape sequence to abort.<br />
Sending 100, 100byte ICMP Echos to 10.1.1.3, timeout is 2 seconds:<br />
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!<br />
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!<br />
Success rate is 100 percent (100/100), roundtrip min/avg/max = 1/1/4 ms<br />
On R3<br />
Note the traffic matched to CoS 7<br />
R3#Show policymap interface | S cos7<br />
On R2<br />
Classmap: cos7 (matchall)<br />
100 packets, 11800 bytes<br />
5 minute offered rate 0 bps<br />
Match: cos 7<br />
R2#Ping 10.1.1.3 rep 200<br />
Type escape sequence to abort.<br />
Sending 200, 100byte ICMP Echos to 10.1.1.3, timeout is 2 seconds:<br />
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!<br />
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!<br />
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!<br />
Success rate is 100 percent (200/200), roundtrip min/avg/max = 1/1/4 ms<br />
On R3<br />
R3#Show policymap interface | S cos7<br />
Classmap: cos7 (matchall)<br />
300 packets, 35400 bytes<br />
5 minute offered rate 0 bps<br />
Match: cos 7<br />
Note all traffic regardless of their marking are marked with a CoS value of 7.<br />
<strong>CCIE</strong> R&S by Narbik Kocharians <strong>Advanced</strong> <strong>CCIE</strong> R&S Work Book <strong>4.0</strong> Page 78 of 87<br />
© 2011 Narbik Kocharians. All rights reserved
Task 7<br />
Erase the startup configuration on R13 and SW1 & SW2 and reload these routers and<br />
switches before proceeding to the next lab.<br />
<strong>CCIE</strong> R&S by Narbik Kocharians <strong>Advanced</strong> <strong>CCIE</strong> R&S Work Book <strong>4.0</strong> Page 79 of 87<br />
© 2011 Narbik Kocharians. All rights reserved
Lab Setup:<br />
<strong>The</strong> lab topology and setup is based on the previous lab, with the exception of R3’s<br />
configuration and the F0/3 interface of SW2; R3’s F0/1 interface should be configured<br />
with an IP address of 10.1.1.3 /24 and the F0/3 interface of SW2 should be configured in<br />
VLAN 100.<br />
You can copy and paste the initial configuration from the init directory<br />
Task 1<br />
Configure an MQC on R1 such that all packets going out of its F0/0 interface are marked<br />
with a DSCP value of 1. For verification purpose, R3’s F0/1 interface should be<br />
configured to match on DSCP 07 for all ingress traffic. Ensure that “Mls qos” is<br />
disabled on both switches.<br />
On Both Switches:<br />
SWx#Sh mls qos<br />
Lab 2 – DSCPMutation<br />
<strong>CCIE</strong> R&S by Narbik Kocharians <strong>Advanced</strong> <strong>CCIE</strong> R&S Work Book <strong>4.0</strong> Page 80 of 87<br />
© 2011 Narbik Kocharians. All rights reserved
QoS is disabled<br />
QoS ip packet dscp rewrite is enabled<br />
<strong>The</strong> following configuration on R1 marks all egress traffic with a DSCP value of 1:<br />
On R1<br />
R1(config)#Policymap TST<br />
R1(configpmap)#class classdefault<br />
R1(configpmapc)#set ip dscp 1<br />
R1(config)#int F0/0<br />
R1(configif)#Servicepolicy out TST<br />
On R3<br />
<strong>The</strong> following configuration is done for verification and testing purposes:<br />
R3(config)#Classmap DSCP0<br />
R3(configcmap)#match ip dscp 0<br />
R3(config)#Classmap DSCP1<br />
R3(configcmap)#match ip dscp 1<br />
R3(config)#Classmap DSCP2<br />
R3(configcmap)#match ip dscp 2<br />
R3(config)#Classmap DSCP3<br />
R3(configcmap)#match ip dscp 3<br />
R3(config)#Classmap DSCP4<br />
R3(configcmap)#match ip dscp 4<br />
R3(config)#Classmap DSCP5<br />
R3(configcmap)#match ip dscp 5<br />
R3(config)#Classmap DSCP6<br />
R3(configcmap)#match ip dscp 6<br />
R3(config)#Classmap DSCP7<br />
R3(configcmap)#match ip dscp 7<br />
R3(config)#policymap TST<br />
R3(configpmap)#Class DSCP0<br />
<strong>CCIE</strong> R&S by Narbik Kocharians <strong>Advanced</strong> <strong>CCIE</strong> R&S Work Book <strong>4.0</strong> Page 81 of 87<br />
© 2011 Narbik Kocharians. All rights reserved
R3(configpmap)#Class DSCP1<br />
R3(configpmap)#Class DSCP2<br />
R3(configpmap)#Class DSCP3<br />
R3(configpmap)#Class DSCP4<br />
R3(configpmap)#Class DSCP5<br />
R3(configpmap)#Class DSCP6<br />
R3(configpmap)#Class DSCP7<br />
R3(config)#int F0/1<br />
R3(configif)#servicepolicy in TST<br />
To test the configuration:<br />
On R1<br />
R1#Ping 10.1.1.3 rep 10<br />
Type escape sequence to abort.<br />
Sending 10, 100byte ICMP Echos to 10.1.1.3, timeout is 2 seconds:<br />
.!!!!!!!!!<br />
Success rate is 90 percent (9/10), roundtrip min/avg/max = 1/1/4 ms<br />
On R3<br />
R3#Sh Policymap inter | S DSCP1<br />
Classmap: DSCP1 (matchall)<br />
9 packets, 1026 bytes<br />
5 minute offered rate 0 bps<br />
Match: ip dscp 1<br />
Note since “Mls qos” is disabled on both switches, the packets traversing the switches will retain their<br />
marking.<br />
Task 2<br />
Configure SW2 such that if the incoming traffic is marked with DSCP 1, they are<br />
overwritten to a DSCP value of 60. DO NOT configure a classmap or Policymap to<br />
accomplish this task. Use R3 to verify the configuration.<br />
DSCP Mutation can be configured to accomplish this task; there are five steps in configuring DSCP<br />
<strong>CCIE</strong> R&S by Narbik Kocharians <strong>Advanced</strong> <strong>CCIE</strong> R&S Work Book <strong>4.0</strong> Page 82 of 87<br />
© 2011 Narbik Kocharians. All rights reserved
mutation, and they are as follows:<br />
Step 1:<br />
Mls qos MUST be enabled:<br />
On SW2<br />
SW2(config)#Mls qos<br />
To verify the configuration of this step:<br />
On SW2<br />
SW2#Show mls QoS<br />
QoS is enabled<br />
QoS ip packet dscp rewrite is enabled<br />
Step 2:<br />
In this step a custom DSCPMutation map is configured, remember that if this custom mapping is<br />
NOT configured, the default DSCPMutation map will be used, the default DSCPMutation map can<br />
NOT be changed and it is configured as one to one, meaning that the incoming DSCP value will always<br />
match to the same outgoing DSCP value:<br />
In this step a custom DSCPMutation map named TST is configured, this custom DSCPMutation<br />
maps the incoming DSCP value (in this case 1) to an outgoing DSCP value of 60:<br />
To see the default DSCPMutation map:<br />
SW2#Show mls qos map dscpmutation<br />
Dscpdscp mutation map:<br />
Default DSCP Mutation Map:<br />
d1 : d2 0 1 2 3 4 5 6 7 8 9<br />
<br />
0 : 00 01 02 03 04 05 06 07 08 09<br />
1 : 10 11 12 13 14 15 16 17 18 19<br />
2 : 20 21 22 23 24 25 26 27 28 29<br />
3 : 30 31 32 33 34 35 36 37 38 39<br />
4 : 40 41 42 43 44 45 46 47 48 49<br />
5 : 50 51 52 53 54 55 56 57 58 59<br />
6 : 60 61 62 63<br />
Note the d1: column (highlighted in yellow) specifies the most significant digit of the DSCP value of<br />
<strong>CCIE</strong> R&S by Narbik Kocharians <strong>Advanced</strong> <strong>CCIE</strong> R&S Work Book <strong>4.0</strong> Page 83 of 87<br />
© 2011 Narbik Kocharians. All rights reserved
incoming packets, whereas, the d2: row (highlighted in blue) specifies the least significant digit of the<br />
DSCP value of incoming packets.<br />
<strong>The</strong> intersection of the d1 and d2 values (this is the body of the output) provides the DSCP value of the<br />
outgoing packets.<br />
NOTE: the output of the above show command reveals that the incoming DSCP value of 1, is re<br />
written to the outgoing DSCP value of 1.<br />
Let’s configure a custom DSCPMutation map called TST that maps the incoming DSCP value of 1 to<br />
an outgoing DSCP value of 60:<br />
SW2(config)#Mls qos map dscpmutation TST 1 to 60<br />
To verify the configuration:<br />
On SW2<br />
SW2#Show mls qos map dscpmutation TST<br />
Dscpdscp mutation map:<br />
TST:<br />
d1 : d2 0 1 2 3 4 5 6 7 8 9<br />
<br />
0 : 00 60 02 03 04 05 06 07 08 09<br />
1 : 10 11 12 13 14 15 16 17 18 19<br />
2 : 20 21 22 23 24 25 26 27 28 29<br />
3 : 30 31 32 33 34 35 36 37 38 39<br />
4 : 40 41 42 43 44 45 46 47 48 49<br />
5 : 50 51 52 53 54 55 56 57 58 59<br />
6 : 60 61 62 63<br />
Step 3:<br />
In this step, the custom DSCPMutation map called TST is applied to the F0/19 interface (Trunk<br />
interface) of SW2<br />
SW2(config)#int F0/19<br />
SW2(configif)#mls qos dscpmutation TST<br />
To verify the configuration:<br />
On SW2<br />
SW2#Show mls qos int F0/19 | Inc DSCP<br />
<strong>CCIE</strong> R&S by Narbik Kocharians <strong>Advanced</strong> <strong>CCIE</strong> R&S Work Book <strong>4.0</strong> Page 84 of 87<br />
© 2011 Narbik Kocharians. All rights reserved
DSCP Mutation Map: TST<br />
Step 4:<br />
Remember, if the “Mls qos trust DSCP” is NOT configured, the configuration will NOT have any<br />
affect on the packets:<br />
To see the trust trust state (What’s being trusted) of the F0/19 interface:<br />
On SW2<br />
SW2#Show mls qos int F0/19 | Inc trust state<br />
trust state: not trusted<br />
On SW2<br />
SW2(config)#int F0/19<br />
SW2(configif)#mls qos trust dscp<br />
To verify the configuration:<br />
On SW2<br />
SW2#Show mls qos int F0/19 | Inc trust state<br />
trust state: trust dscp<br />
NOTE: If CoS was trusted, the output of the above command would have stated “trust state: trust<br />
CoS”, since ONLY DSCP is trusted, the trust state is DSCP.<br />
Step 5:<br />
Ensure that the DSCP rewrites are enabled, if this is disabled, then, the DSCP marking will NOT be<br />
rewritten.<br />
To verify if the DSCP rewrites are enabled:<br />
On SW2<br />
SW2#Show mls qos<br />
QoS is enabled<br />
QoS ip packet dscp rewrite is enabled<br />
<strong>CCIE</strong> R&S by Narbik Kocharians <strong>Advanced</strong> <strong>CCIE</strong> R&S Work Book <strong>4.0</strong> Page 85 of 87<br />
© 2011 Narbik Kocharians. All rights reserved
If the DSCP rewrites are disabled, then, the DSCP marking in the outgoing packets will NOT be re<br />
written. <strong>The</strong>re are times that this feature must be disable, to disable this feature, the “NO mls qos<br />
rewrite ip dscp” global command can be used.<br />
To prepare R3 for verification purpose:<br />
On R3<br />
<strong>The</strong> following configuration is required for testing and verification.<br />
R3(config)#Classmap DSCP60<br />
R3(configcmap)#match ip dscp 60<br />
R3(config)#policymap TST<br />
R3(configpmap)#Class DSCP60<br />
Remember, the policymap TST is already applied.<br />
To verify the configuration:<br />
On SW2<br />
R3#Show policymap TST<br />
Policy Map TST<br />
Class DSCP0<br />
Class DSCP1<br />
Class DSCP2<br />
Class DSCP3<br />
Class DSCP4<br />
Class DSCP5<br />
Class DSCP6<br />
Class DSCP7<br />
Class DSCP60<br />
To test the configuration:<br />
On R3<br />
R3#clear counters<br />
On R1<br />
<strong>CCIE</strong> R&S by Narbik Kocharians <strong>Advanced</strong> <strong>CCIE</strong> R&S Work Book <strong>4.0</strong> Page 86 of 87<br />
© 2011 Narbik Kocharians. All rights reserved
R1#Ping 10.1.1.3 rep 60<br />
Type escape sequence to abort.<br />
Sending 60, 100byte ICMP Echos to 10.1.1.3, timeout is 2 seconds:<br />
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!<br />
Success rate is 100 percent (60/60), roundtrip min/avg/max = 1/1/4 ms<br />
On R3<br />
R3#Show policymap interface | S DSCP60<br />
Classmap: DSCP60 (matchall)<br />
60 packets, 6840 bytes<br />
5 minute offered rate 0 bps<br />
Match: ip dscp 60<br />
Task 3<br />
Configure the “Default interface F0/1” command on R3 before proceeding to the next<br />
lab.<br />
<strong>CCIE</strong> R&S by Narbik Kocharians <strong>Advanced</strong> <strong>CCIE</strong> R&S Work Book <strong>4.0</strong> Page 87 of 87<br />
© 2011 Narbik Kocharians. All rights reserved