SlideShare uma empresa Scribd logo
1 de 3
Baixar para ler offline
CEFv6
If you have to Troubleshoot CISCO device One day you will have to deal with CEF!
No DATA PLANE Troubleshooting without CEFv6!...
If you are looking for the Engineering Team with really high skills guys at cisco you are looking for the
CEF team! These guys need to do two things mutually exclusives and this all the time: They must support
a maximum number of services and at the same time they must design the fastest code because all the
cisco switching performances rely on CEF!
If an IP feature is not supported by CEF, the feature has no future if it has also to be Efficient. if it is
a slow terminal conversion things which need the speed of typing with one finger, fine! but if it must
support wire speed? Forget it!




WHY???
We need to get back to the basics of computers to understand...


When a packet is received by an ASIC specialized to process the data coming from a Physical Media
port, an Interrupt is sent to the CPU. An interrupt is a Signal Transition like 0 to +5v or the opposite.
The Interrupt is raised by the Physical Media Processor to tell the CPU that it has a packet just like
the Postman set up the flag after it has dropped a few mails in your mailbox! Guess who is called first
by the CPU when it gets the interrupt signal? CEF...


Now CEF must take a decision either switch the packet in interrupt mode, either Q the packet for
further processing in a time sharing fashion. It is clear that Real-Time traffic will only be supported by
the Interrupt mode. So where is the problem? The process in interrupt mode disables any other
interrupt. The other Line Cards have a dedicated ASIC with MEmory to accomodate a few packet but
not too much...
The process must process the packet as fast as possible for the protocol which is being routed and for
the other traffic waiting to be processed. This is why complex operation cannot be supported by CEF and
this has been the case of NAT-PT in IPv6!
R l # s h o w i ipv6 c e f 2 0 0 1 : d b 8 : c a f e : 1 0 : : / 6 4 iinternal
  R1#show p v 6 cef 2001:db8:cafe:10::/64 n t e r n a l
   2001:DB8:CAFE:10::/64, eepoch 0 , R I B [ I ] , r refcount 4 , pper-destination s h a r i n g
   2 0 0 1 :DB 8 :CA FE :1 0 ::/6 4 , p o c h 0, RIB[I], e f c o u n t 4, e r - d e s t i n a t i o n sharing

   sources: R I B
   s o u r c e s : RIB

   feature sspace:
   fe a tu re p a ce :                 This comes from the CEF Forwarding Information Base (FIB)!
                                       This comes from the CEP Forwarding Information Base (FIB)!
   IPRM: 00x00038000
   I P RM: x 0 0 0 3 8 0 0 0

   ifnums:
   if n u ms:

   FastEthernet0/1.11(11): FFE80::C801:4FF:FE94:6
   Fa stE th e rn e t0 /1 .1 1 (1 1 ): E 8 0 ::C8 0 1 :4 FF:FE 9 4 :6

  p a t h 66822BA1C, ppath llist 66822A77C, sshare 1 / 1 , t type a t t a c h e d n e x t h o p , ffor IIPv6
  path 8 2 2 B A 1 C , a t h i s t 8 2 2 A 7 7 C , h a r e 1/1, y p e attached nexthop, o r P v 6
   nexthop FE80::C801:4FF:FE94:6 FastEthernet0/1.11, adjac enc y IPV6 adj out of FastEthernet0/1.11,
   nexthop FE80::C801:4FF:FE94:6 FastEthernet0/1.11, adjacency IPV6 adj out o f FastEthernet0/1.11,
   addr FE80::C801:4FF:FE94:6
   addr 7                                  F91
   E 8 0 :
  output cchain: I IPV6a adj outi of FastEthernet0/1.11, addr F E 8 0 : : C 8 0 1 : 4 F F : F E 9 4 : 6
   output
   : C 8 0        hain: P V         d j o u t o f F a s t E t h e r n e t 0 / 1 . 1 1 , a d d r FE80::C801:4FF:FE94:6
   1 6 F9 1 0 6 0
   6 : 4 F
  66F91C60
   F : F                                        1          R1#show a d j a c e n c y F E 8 0 : : C 8 0 1 : 4 F F : F E 9 4 : 6
                                                           R l I f s h o w adjacency FE80::C801:4FF:FE94:6
This is tthe: neighbor nex t -hop and cannot IDEI
This is 4 e neighbor next-hop and cannot be
   E 9 h                                                   Protocol IInterface A d d r e s s
                                                           Pr otocol         n t e r f a c e Address
anything els e but a Link -loc al address! We
anything else but a Link-local address! We                 IPV6 F a s t E t h e r n e t 0 / 1 . 1 1 F E 8 0 : : C 8 0 1 : 4 F F : F E 9 4 : 6 ( 7 )
                                                           I P V 6 FastEthernet0/1.11 FE80::C801:4FF:FE94:6(7)
find it also in the line above which resume                R1#show a d j a c e n c y F E 8 0 : : C 8 0 1 : 4 F F : F E 9 4 : 6 iinternal
                                                           R l I f s h o w adjacency FE80::C801:4FF:FE94:6 n t e r n a l
the rec urs ion in case you have mult iple
the recursion in case you have multiple                    Protocol IInterface A d d r e s s
                                                           Pr otocol           n t e r f a c e Address
level, ttherein tone line above whic h res ume  
find it here is one line per lev el_
level, also is he line per level....                       IPV6 F a s t E t h e r n e t 0 / 1 . 1 1 F E 8 0 : : C 8 0 1 : 4 F F : F E 9 4 : 6 ( 7)
                                                           I P V 6 FastEthernet0/1.11 FE80::C801:4FF:FE94:6(7)
Just af t er you can see tthe Address of t he  
Just after you can see he Address of the                   0 pa c k e ts , 0 by te s
                                                           0 packets, 0 bytes
Adjacency point er whic h is a memory
Adjacency pointer which is a memory                        epoch 0 T h i s comes from the CEP Adjacency Table
                                                           epoch 0                     This comes from the CEF Adjacency Table
pointer tto a s t ruc t ure whic h contains t he
point er o a structure which contains the                  sourced iin s e v - e p o c h 1
                                                           sour ced           n sev-epoch 1
Adjacency inf ormat ion lik e t he MAC Address
Adjacency information like the MAC Address                 Encap llength 1 8
                                                           E n c a p e n g t h 18
for tthe encapsulation, ffrom where it comes
f or he encapsulation, rom where it comes                  CA0104940006CA0004940006010000011
                                                           CA0104940006CA00049400068100000B
from (ND o r ARP ffor IPv4) and how many
f rom (ND or ARP o r IPv4) and how many                    86DD
                                                           86D D
bytes/packets were encapsulated wit h tthis
bytes/packets were encapsulated with his                   IPv6 N D
                                                           I P v 6 ND
adjacency...
adjacency...                                               Fast a d j a c e n c y e n a b l e d [[OK]
                                                           F a s t adjacency enabled O K ]
                                                           L3 m t u 1 5 0 0
                                                           L3 mtu 1500
                                                           Flags ((0x11A9E)
                                                           F l ags 0x 11A9E)
                                                           Fixup d i s a b l e d
                                                           F i x u p disabled
                                                           HWIDB/IDB p o i n t e r s O x 6 6 C C D D 1 0 / 0 x 6 7 E 5 8 5 0 0
                                                           H W I D B / I D B pointers 0x66CCDD10/0x67E58500
                                                           IP rredirect e n a b l e d
                                                           IP       e d i r e c t enabled
                                                           Switching v e c t o r : I IPv6 a d j a c e n c y o c e
                                                           S w i t c h i n g vector: P v 6 adjacency oce
                                                           Adjacency p o i n t e r O x 6 6 F 9 1 C 6 0 1
                                                           Adj acency
                                                                                pointer
  Use the internal argument                                Next-hop F E 8 0 : : C 8 0 1 : 4 F F : F E 9 4 : 6
                                                           N e x t - h o p FE80::C801:4FF:FE94:6



   To process this packet as fast as possible CEFv6 relies on two tables: One is derived from the Routing
   To process this packet as fast as possible CEFv6 relies on two tables: One is derived from the Routing

   Table and One is derived from the ND Table! But the requirements are completely differents.
   Table and One is derived from the ND Table! But the requirements are completely differents.
   The Forwarding Information Base (FIB) is the Routing TAble with all the Recursions resolved, it has the
   The Forwarding Information Base (FIB) is the Routing IAble with all the Recursions resolved, it has the
   Neighbor Next-hop for each destintation with a pointer to the Adjacency Table, derived from ND to
   Neighbor Next-hop for each destintation with a pointer to the Adjacency Table, derived from ND to
   perform the encapsulation.
   perform the encapsulation.
   The data structure of a Routing Table or RIB is optimized for efficient management of entries in the
   The data structure of a Routing Table or RIB is optimized for efficient management of entries in the
   table while the FIB is optimized for getting the Fastest Lookup!
   table while the FIB is optimized for getting the Fastest Lookup!
   In the distributed platform, the FIB and Adjacencies tablessa re downloaded on the Linecards and it is
   In the distributed platform, the FIB and Adjacencies tablessa re downloaded on the Linecards and it is
   the ingress LC which takes the switching decision. The central CPU is not involved for forwarding and
   the ingress LC which takes the switching decision. The central CPU is not involved for forwarding and
   for troubleshooting you must attach to the LC as looking to the Central tables is not useless but it is not
   for troubleshooting you must attach to the LC as looking to the Central tables is not useless but it is not
   the table we need to look for the decision.
   the table we need to look for the decision.


   Fred Bovy, IPv6 For Life! CCIE #3013
   Fred Bovy, IPv6 For Life!.... CCIE #3013
CEFv6 – Adjacency Entry
R1#show adjacency FE80::C801:4FF:FE94:6 internal
Protocol Interface                 Address
IPV6     FastEthernet0/1.11        FE80::C801:4FF:FE94:6(7)
                                   0 packets, 0 bytes
                How!many!
                                   epoch 0
                packets/bytes!
                                   sourced in sev-epoch 1
                switched!?!        Encap length 18
                                   CA0104940006CA00049400068100000B
                MAC!Address!       86DD
           Protocol!Type!          IPv6 ND
                                   Fast adjacency enabled [OK]
               Source!of!the!L2!   L3 mtu 1500
               Address!            Flags (0x11A9E)
                                   Fixup disabled
                                   HWIDB/IDB pointers 0x66CCDD10/0x67E58500
                                                 IP redirect enabled
                                                 Switching vector: IPv6 adjacency oce
                           Adjacency)Pointer)    Adjacency pointer 0x66F91C60
                           from)the)FIB)         Next-hop FE80::C801:4FF:FE94:6
•         !!
© Frédéric Bovy 153




     CEFv6 – Adjacency Entry
     R1#show adjacency FE80::C801:4FF:FE94:6 internal
     Protocol Interface                 Address
     IPV6     FastEthernet0/1.11        FE80::C801:4FF:FE94:6(7)
                                        0 packets, 0 bytes
                     How!many!
                                        epoch 0
                     packets/bytes!
                                        sourced in sev-epoch 1
                     switched!?!        Encap length 18
                                        CA0104940006CA00049400068100000B
                     MAC!Address!       86DD
                Protocol!Type!          IPv6 ND
                                        Fast adjacency enabled [OK]
                    Source!of!the!L2!   L3 mtu 1500
                    Address!            Flags (0x11A9E)
                                        Fixup disabled
                                        HWIDB/IDB pointers 0x66CCDD10/0x67E58500
                                                  IP redirect enabled
                                                  Switching vector: IPv6 adjacency oce
                            Adjacency)Pointer)    Adjacency pointer 0x66F91C60
                            from)the)FIB)         Next-hop FE80::C801:4FF:FE94:6
     •         !!
     © Frédéric Bovy 153

Mais conteúdo relacionado

Mais procurados

Embedded Systems Project Based Training|Engineering Projects,Summer Training
Embedded Systems Project Based Training|Engineering Projects,Summer TrainingEmbedded Systems Project Based Training|Engineering Projects,Summer Training
Embedded Systems Project Based Training|Engineering Projects,Summer TrainingTechnogroovy
 
Unicode and character sets
Unicode and character setsUnicode and character sets
Unicode and character setsrenchenyu
 
Lec12 Computer Architecture by Hsien-Hsin Sean Lee Georgia Tech -- P6, Netbur...
Lec12 Computer Architecture by Hsien-Hsin Sean Lee Georgia Tech -- P6, Netbur...Lec12 Computer Architecture by Hsien-Hsin Sean Lee Georgia Tech -- P6, Netbur...
Lec12 Computer Architecture by Hsien-Hsin Sean Lee Georgia Tech -- P6, Netbur...Hsien-Hsin Sean Lee, Ph.D.
 
Lec19 Intro to Computer Engineering by Hsien-Hsin Sean Lee Georgia Tech -- Pr...
Lec19 Intro to Computer Engineering by Hsien-Hsin Sean Lee Georgia Tech -- Pr...Lec19 Intro to Computer Engineering by Hsien-Hsin Sean Lee Georgia Tech -- Pr...
Lec19 Intro to Computer Engineering by Hsien-Hsin Sean Lee Georgia Tech -- Pr...Hsien-Hsin Sean Lee, Ph.D.
 
Chapter 2 The 8088 Microprocessor
Chapter 2   The 8088 MicroprocessorChapter 2   The 8088 Microprocessor
Chapter 2 The 8088 MicroprocessorDwight Sabio
 
Lec1 Computer Architecture by Hsien-Hsin Sean Lee Georgia Tech -- Pipelining
Lec1 Computer Architecture by Hsien-Hsin Sean Lee Georgia Tech -- PipeliningLec1 Computer Architecture by Hsien-Hsin Sean Lee Georgia Tech -- Pipelining
Lec1 Computer Architecture by Hsien-Hsin Sean Lee Georgia Tech -- PipeliningHsien-Hsin Sean Lee, Ph.D.
 
Chp2 introduction to the 68000 microprocessor copy
Chp2 introduction to the 68000 microprocessor   copyChp2 introduction to the 68000 microprocessor   copy
Chp2 introduction to the 68000 microprocessor copymkazree
 
ใบความรู้เรื่องคำสั่ง Printf scanf
ใบความรู้เรื่องคำสั่ง Printf scanfใบความรู้เรื่องคำสั่ง Printf scanf
ใบความรู้เรื่องคำสั่ง Printf scanfธงชัย พาศรี
 
เขียนโปรแกรมใช้คำสั่ง Printf scanf
เขียนโปรแกรมใช้คำสั่ง  Printf scanfเขียนโปรแกรมใช้คำสั่ง  Printf scanf
เขียนโปรแกรมใช้คำสั่ง Printf scanfธงชัย พาศรี
 
Micro controller(pratheesh)
Micro controller(pratheesh)Micro controller(pratheesh)
Micro controller(pratheesh)Pratheesh Pala
 
Ei502microprocessorsmicrtocontrollerspart4 8051 Microcontroller
Ei502microprocessorsmicrtocontrollerspart4 8051 MicrocontrollerEi502microprocessorsmicrtocontrollerspart4 8051 Microcontroller
Ei502microprocessorsmicrtocontrollerspart4 8051 MicrocontrollerDebasis Das
 
Exploring the x64
Exploring the x64Exploring the x64
Exploring the x64FFRI, Inc.
 

Mais procurados (20)

Embedded Systems Project Based Training|Engineering Projects,Summer Training
Embedded Systems Project Based Training|Engineering Projects,Summer TrainingEmbedded Systems Project Based Training|Engineering Projects,Summer Training
Embedded Systems Project Based Training|Engineering Projects,Summer Training
 
Unicode and character sets
Unicode and character setsUnicode and character sets
Unicode and character sets
 
Lec12 Computer Architecture by Hsien-Hsin Sean Lee Georgia Tech -- P6, Netbur...
Lec12 Computer Architecture by Hsien-Hsin Sean Lee Georgia Tech -- P6, Netbur...Lec12 Computer Architecture by Hsien-Hsin Sean Lee Georgia Tech -- P6, Netbur...
Lec12 Computer Architecture by Hsien-Hsin Sean Lee Georgia Tech -- P6, Netbur...
 
Lec19 Intro to Computer Engineering by Hsien-Hsin Sean Lee Georgia Tech -- Pr...
Lec19 Intro to Computer Engineering by Hsien-Hsin Sean Lee Georgia Tech -- Pr...Lec19 Intro to Computer Engineering by Hsien-Hsin Sean Lee Georgia Tech -- Pr...
Lec19 Intro to Computer Engineering by Hsien-Hsin Sean Lee Georgia Tech -- Pr...
 
Chapter 2 The 8088 Microprocessor
Chapter 2   The 8088 MicroprocessorChapter 2   The 8088 Microprocessor
Chapter 2 The 8088 Microprocessor
 
assembly flag resister
assembly flag resisterassembly flag resister
assembly flag resister
 
Lec1 Computer Architecture by Hsien-Hsin Sean Lee Georgia Tech -- Pipelining
Lec1 Computer Architecture by Hsien-Hsin Sean Lee Georgia Tech -- PipeliningLec1 Computer Architecture by Hsien-Hsin Sean Lee Georgia Tech -- Pipelining
Lec1 Computer Architecture by Hsien-Hsin Sean Lee Georgia Tech -- Pipelining
 
Npc16
Npc16Npc16
Npc16
 
ROP
ROPROP
ROP
 
Chp2 introduction to the 68000 microprocessor copy
Chp2 introduction to the 68000 microprocessor   copyChp2 introduction to the 68000 microprocessor   copy
Chp2 introduction to the 68000 microprocessor copy
 
โครงสร้างภาษาซี
โครงสร้างภาษาซีโครงสร้างภาษาซี
โครงสร้างภาษาซี
 
โครงสร้างภาษาซี2
โครงสร้างภาษาซี2โครงสร้างภาษาซี2
โครงสร้างภาษาซี2
 
โครงสร้างภาษาซี1
โครงสร้างภาษาซี1โครงสร้างภาษาซี1
โครงสร้างภาษาซี1
 
การกำหนดตัวแปร
การกำหนดตัวแปรการกำหนดตัวแปร
การกำหนดตัวแปร
 
ใบความรู้เรื่องคำสั่ง Printf scanf
ใบความรู้เรื่องคำสั่ง Printf scanfใบความรู้เรื่องคำสั่ง Printf scanf
ใบความรู้เรื่องคำสั่ง Printf scanf
 
เขียนโปรแกรมใช้คำสั่ง Printf scanf
เขียนโปรแกรมใช้คำสั่ง  Printf scanfเขียนโปรแกรมใช้คำสั่ง  Printf scanf
เขียนโปรแกรมใช้คำสั่ง Printf scanf
 
Micro controller(pratheesh)
Micro controller(pratheesh)Micro controller(pratheesh)
Micro controller(pratheesh)
 
AT89C52 Data sheet
AT89C52 Data sheetAT89C52 Data sheet
AT89C52 Data sheet
 
Ei502microprocessorsmicrtocontrollerspart4 8051 Microcontroller
Ei502microprocessorsmicrtocontrollerspart4 8051 MicrocontrollerEi502microprocessorsmicrtocontrollerspart4 8051 Microcontroller
Ei502microprocessorsmicrtocontrollerspart4 8051 Microcontroller
 
Exploring the x64
Exploring the x64Exploring the x64
Exploring the x64
 

Destaque

A shot of creativity from Cristal Festival
A shot of creativity from Cristal Festival A shot of creativity from Cristal Festival
A shot of creativity from Cristal Festival Moxie Paris
 
Seguros de viaje online
Seguros de viaje onlineSeguros de viaje online
Seguros de viaje onlineTaedsCo
 
80 de la no veraz teoría de la onda fotón o partícula
80   de la no veraz teoría de la onda fotón o partícula80   de la no veraz teoría de la onda fotón o partícula
80 de la no veraz teoría de la onda fotón o partículaMiguel Cabral Martín
 
Yuriy Blokhin - Building a Development Platform
Yuriy Blokhin - Building a Development PlatformYuriy Blokhin - Building a Development Platform
Yuriy Blokhin - Building a Development Platform#DevTO
 
Tecnica n°095 concéntrate en los pechos, o en la raíz del pene
Tecnica n°095 concéntrate en los pechos, o en la raíz del peneTecnica n°095 concéntrate en los pechos, o en la raíz del pene
Tecnica n°095 concéntrate en los pechos, o en la raíz del peneRenato Clemente Lino Palomino
 
Las editoriales
Las editorialesLas editoriales
Las editorialesjuanjofuro
 
ELS2014 - Add a Data Scientist to your Startup or Call it Quits
ELS2014 - Add a Data Scientist to your Startup or Call it QuitsELS2014 - Add a Data Scientist to your Startup or Call it Quits
ELS2014 - Add a Data Scientist to your Startup or Call it QuitsJusto Hidalgo
 
노인친화 유럽 도시 10 곳을 소개한다.
노인친화 유럽 도시 10 곳을 소개한다.노인친화 유럽 도시 10 곳을 소개한다.
노인친화 유럽 도시 10 곳을 소개한다.Seongwon Kim
 
Dasar dasar percabangan_delphi
Dasar dasar percabangan_delphiDasar dasar percabangan_delphi
Dasar dasar percabangan_delphiradar radius
 
Tilney-Bestinvest Brochure
Tilney-Bestinvest BrochureTilney-Bestinvest Brochure
Tilney-Bestinvest BrochureTom Henson
 

Destaque (20)

A shot of creativity from Cristal Festival
A shot of creativity from Cristal Festival A shot of creativity from Cristal Festival
A shot of creativity from Cristal Festival
 
Tema 3 0
Tema 3 0Tema 3 0
Tema 3 0
 
Seguros de viaje online
Seguros de viaje onlineSeguros de viaje online
Seguros de viaje online
 
80 de la no veraz teoría de la onda fotón o partícula
80   de la no veraz teoría de la onda fotón o partícula80   de la no veraz teoría de la onda fotón o partícula
80 de la no veraz teoría de la onda fotón o partícula
 
Yuriy Blokhin - Building a Development Platform
Yuriy Blokhin - Building a Development PlatformYuriy Blokhin - Building a Development Platform
Yuriy Blokhin - Building a Development Platform
 
La oca de oro paco
La oca de oro pacoLa oca de oro paco
La oca de oro paco
 
Tecnica n°095 concéntrate en los pechos, o en la raíz del pene
Tecnica n°095 concéntrate en los pechos, o en la raíz del peneTecnica n°095 concéntrate en los pechos, o en la raíz del pene
Tecnica n°095 concéntrate en los pechos, o en la raíz del pene
 
ZMPCZM017000.12.04
ZMPCZM017000.12.04ZMPCZM017000.12.04
ZMPCZM017000.12.04
 
65 kaufman
65 kaufman65 kaufman
65 kaufman
 
Las editoriales
Las editorialesLas editoriales
Las editoriales
 
1
11
1
 
ELS2014 - Add a Data Scientist to your Startup or Call it Quits
ELS2014 - Add a Data Scientist to your Startup or Call it QuitsELS2014 - Add a Data Scientist to your Startup or Call it Quits
ELS2014 - Add a Data Scientist to your Startup or Call it Quits
 
viaje a perù
viaje a perùviaje a perù
viaje a perù
 
노인친화 유럽 도시 10 곳을 소개한다.
노인친화 유럽 도시 10 곳을 소개한다.노인친화 유럽 도시 10 곳을 소개한다.
노인친화 유럽 도시 10 곳을 소개한다.
 
Motor Portfolio
Motor PortfolioMotor Portfolio
Motor Portfolio
 
Dasar dasar percabangan_delphi
Dasar dasar percabangan_delphiDasar dasar percabangan_delphi
Dasar dasar percabangan_delphi
 
Curriculum RPV 2015
Curriculum RPV 2015Curriculum RPV 2015
Curriculum RPV 2015
 
Tilney-Bestinvest Brochure
Tilney-Bestinvest BrochureTilney-Bestinvest Brochure
Tilney-Bestinvest Brochure
 
1&1 de
1&1 de1&1 de
1&1 de
 
Presentación ov nov 2011
Presentación ov nov 2011Presentación ov nov 2011
Presentación ov nov 2011
 

Semelhante a CEFv6 in a nutshell

IPv6SG_03_20121103
IPv6SG_03_20121103IPv6SG_03_20121103
IPv6SG_03_20121103@ otsuka752
 
ospf ahmed tawfeek CCNA dump for Exam12
ospf  ahmed tawfeek CCNA dump for Exam12ospf  ahmed tawfeek CCNA dump for Exam12
ospf ahmed tawfeek CCNA dump for Exam12ym7md88
 
02 - Introduction to the cdecl ABI and the x86 stack
02 - Introduction to the cdecl ABI and the x86 stack02 - Introduction to the cdecl ABI and the x86 stack
02 - Introduction to the cdecl ABI and the x86 stackAlexandre Moneger
 
Cisco CCNA IPV6 Static Configuration
Cisco CCNA  IPV6 Static ConfigurationCisco CCNA  IPV6 Static Configuration
Cisco CCNA IPV6 Static ConfigurationHamed Moghaddam
 
Revelation pyconuk2016
Revelation pyconuk2016Revelation pyconuk2016
Revelation pyconuk2016Sarah Mount
 
Hands on Experience with IPv6 Routing and Switching Services
Hands on Experience with IPv6 Routing and Switching ServicesHands on Experience with IPv6 Routing and Switching Services
Hands on Experience with IPv6 Routing and Switching ServicesCisco Canada
 
(a)Suppose the main memory of the Pep8 were completely filled with .docx
(a)Suppose the main memory of the Pep8 were completely filled with .docx(a)Suppose the main memory of the Pep8 were completely filled with .docx
(a)Suppose the main memory of the Pep8 were completely filled with .docxajoy21
 
Micro c lab3(ssd)
Micro c lab3(ssd)Micro c lab3(ssd)
Micro c lab3(ssd)Mashood
 
Cisco CCNA OSPF IPV6 Configuration
Cisco CCNA OSPF IPV6 ConfigurationCisco CCNA OSPF IPV6 Configuration
Cisco CCNA OSPF IPV6 ConfigurationHamed Moghaddam
 
80 c51 family programmer’s guide
80 c51 family programmer’s guide80 c51 family programmer’s guide
80 c51 family programmer’s guidePratheesh Pala
 
B sc e 5.2 mp unit 2 soft ware(alp)
B sc e 5.2 mp unit 2 soft ware(alp)B sc e 5.2 mp unit 2 soft ware(alp)
B sc e 5.2 mp unit 2 soft ware(alp)MahiboobAliMulla
 
21ECU502_UNIT1.pdf
21ECU502_UNIT1.pdf21ECU502_UNIT1.pdf
21ECU502_UNIT1.pdfvecebe6464
 
MPLS SDN 2015 - SPRING interoperability testing
MPLS SDN 2015 - SPRING interoperability testingMPLS SDN 2015 - SPRING interoperability testing
MPLS SDN 2015 - SPRING interoperability testingStephane Litkowski
 

Semelhante a CEFv6 in a nutshell (20)

IPv6SG_03_20121103
IPv6SG_03_20121103IPv6SG_03_20121103
IPv6SG_03_20121103
 
How to Cisco ACI Multi-Pod
How to Cisco ACI Multi-PodHow to Cisco ACI Multi-Pod
How to Cisco ACI Multi-Pod
 
OSPF_Exercises.pdf
OSPF_Exercises.pdfOSPF_Exercises.pdf
OSPF_Exercises.pdf
 
ospf ahmed tawfeek CCNA dump for Exam12
ospf  ahmed tawfeek CCNA dump for Exam12ospf  ahmed tawfeek CCNA dump for Exam12
ospf ahmed tawfeek CCNA dump for Exam12
 
02 - Introduction to the cdecl ABI and the x86 stack
02 - Introduction to the cdecl ABI and the x86 stack02 - Introduction to the cdecl ABI and the x86 stack
02 - Introduction to the cdecl ABI and the x86 stack
 
Cisco CCNA IPV6 Static Configuration
Cisco CCNA  IPV6 Static ConfigurationCisco CCNA  IPV6 Static Configuration
Cisco CCNA IPV6 Static Configuration
 
Bm33388392
Bm33388392Bm33388392
Bm33388392
 
Bm33388392
Bm33388392Bm33388392
Bm33388392
 
Mpl sv1 qbook
Mpl sv1 qbookMpl sv1 qbook
Mpl sv1 qbook
 
Revelation pyconuk2016
Revelation pyconuk2016Revelation pyconuk2016
Revelation pyconuk2016
 
Hands on Experience with IPv6 Routing and Switching Services
Hands on Experience with IPv6 Routing and Switching ServicesHands on Experience with IPv6 Routing and Switching Services
Hands on Experience with IPv6 Routing and Switching Services
 
(a)Suppose the main memory of the Pep8 were completely filled with .docx
(a)Suppose the main memory of the Pep8 were completely filled with .docx(a)Suppose the main memory of the Pep8 were completely filled with .docx
(a)Suppose the main memory of the Pep8 were completely filled with .docx
 
8086
80868086
8086
 
Micro c lab3(ssd)
Micro c lab3(ssd)Micro c lab3(ssd)
Micro c lab3(ssd)
 
Cisco CCNA OSPF IPV6 Configuration
Cisco CCNA OSPF IPV6 ConfigurationCisco CCNA OSPF IPV6 Configuration
Cisco CCNA OSPF IPV6 Configuration
 
80 c51 family programmer’s guide
80 c51 family programmer’s guide80 c51 family programmer’s guide
80 c51 family programmer’s guide
 
Ipv6
Ipv6Ipv6
Ipv6
 
B sc e 5.2 mp unit 2 soft ware(alp)
B sc e 5.2 mp unit 2 soft ware(alp)B sc e 5.2 mp unit 2 soft ware(alp)
B sc e 5.2 mp unit 2 soft ware(alp)
 
21ECU502_UNIT1.pdf
21ECU502_UNIT1.pdf21ECU502_UNIT1.pdf
21ECU502_UNIT1.pdf
 
MPLS SDN 2015 - SPRING interoperability testing
MPLS SDN 2015 - SPRING interoperability testingMPLS SDN 2015 - SPRING interoperability testing
MPLS SDN 2015 - SPRING interoperability testing
 

Mais de Fred Bovy

Ospfv3 News version 2
Ospfv3 News version 2Ospfv3 News version 2
Ospfv3 News version 2Fred Bovy
 
Ospfv3 primer
Ospfv3 primerOspfv3 primer
Ospfv3 primerFred Bovy
 
IPv6 training
IPv6 trainingIPv6 training
IPv6 trainingFred Bovy
 
Fb i pv6-sparchimanv1.0
Fb i pv6-sparchimanv1.0Fb i pv6-sparchimanv1.0
Fb i pv6-sparchimanv1.0Fred Bovy
 
Routing ipv6 v3
Routing ipv6 v3Routing ipv6 v3
Routing ipv6 v3Fred Bovy
 
Neighbor discoverydhcp
Neighbor discoverydhcpNeighbor discoverydhcp
Neighbor discoverydhcpFred Bovy
 
Inter as cisco1
Inter as cisco1Inter as cisco1
Inter as cisco1Fred Bovy
 
IPv6 in IPv4/MPLS in a Nutshell
IPv6 in IPv4/MPLS in a NutshellIPv6 in IPv4/MPLS in a Nutshell
IPv6 in IPv4/MPLS in a NutshellFred Bovy
 
I pv6 better than IPv4 but why ?
I pv6 better than IPv4 but why ?I pv6 better than IPv4 but why ?
I pv6 better than IPv4 but why ?Fred Bovy
 
Fred explainsi pv6-v2-alpha
Fred explainsi pv6-v2-alphaFred explainsi pv6-v2-alpha
Fred explainsi pv6-v2-alphaFred Bovy
 
I pv6 tutorial
I pv6 tutorialI pv6 tutorial
I pv6 tutorialFred Bovy
 
Transition to ipv6 cgv6-edited
Transition to ipv6  cgv6-editedTransition to ipv6  cgv6-edited
Transition to ipv6 cgv6-editedFred Bovy
 
Fred bovyresume@2
Fred bovyresume@2Fred bovyresume@2
Fred bovyresume@2Fred Bovy
 
Fred explains IPv6
Fred explains IPv6Fred explains IPv6
Fred explains IPv6Fred Bovy
 
Multicast for IPv6
Multicast for IPv6Multicast for IPv6
Multicast for IPv6Fred Bovy
 
Dhcp pd in brief
Dhcp pd in briefDhcp pd in brief
Dhcp pd in briefFred Bovy
 

Mais de Fred Bovy (20)

Ospfv3 News version 2
Ospfv3 News version 2Ospfv3 News version 2
Ospfv3 News version 2
 
Ospfv3 primer
Ospfv3 primerOspfv3 primer
Ospfv3 primer
 
Osp fv3 cs
Osp fv3 csOsp fv3 cs
Osp fv3 cs
 
IPv6 training
IPv6 trainingIPv6 training
IPv6 training
 
Fb i pv6-sparchimanv1.0
Fb i pv6-sparchimanv1.0Fb i pv6-sparchimanv1.0
Fb i pv6-sparchimanv1.0
 
Routing ipv6 v3
Routing ipv6 v3Routing ipv6 v3
Routing ipv6 v3
 
Autoconfig
AutoconfigAutoconfig
Autoconfig
 
Neighbor discoverydhcp
Neighbor discoverydhcpNeighbor discoverydhcp
Neighbor discoverydhcp
 
Inter as cisco1
Inter as cisco1Inter as cisco1
Inter as cisco1
 
IPv6 in IPv4/MPLS in a Nutshell
IPv6 in IPv4/MPLS in a NutshellIPv6 in IPv4/MPLS in a Nutshell
IPv6 in IPv4/MPLS in a Nutshell
 
I pv6 better than IPv4 but why ?
I pv6 better than IPv4 but why ?I pv6 better than IPv4 but why ?
I pv6 better than IPv4 but why ?
 
Fred explainsi pv6-v2-alpha
Fred explainsi pv6-v2-alphaFred explainsi pv6-v2-alpha
Fred explainsi pv6-v2-alpha
 
Resume
ResumeResume
Resume
 
I pv6 tutorial
I pv6 tutorialI pv6 tutorial
I pv6 tutorial
 
Transition to ipv6 cgv6-edited
Transition to ipv6  cgv6-editedTransition to ipv6  cgv6-edited
Transition to ipv6 cgv6-edited
 
Fred bovyresume@2
Fred bovyresume@2Fred bovyresume@2
Fred bovyresume@2
 
Fred explains IPv6
Fred explains IPv6Fred explains IPv6
Fred explains IPv6
 
IPv6 tools
IPv6 toolsIPv6 tools
IPv6 tools
 
Multicast for IPv6
Multicast for IPv6Multicast for IPv6
Multicast for IPv6
 
Dhcp pd in brief
Dhcp pd in briefDhcp pd in brief
Dhcp pd in brief
 

Último

Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Paola De la Torre
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024The Digital Insurer
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking MenDelhi Call girls
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationRadu Cotescu
 
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live StreamsTop 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live StreamsRoshan Dwivedi
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountPuma Security, LLC
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreternaman860154
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityPrincipled Technologies
 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Allon Mureinik
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024The Digital Insurer
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEarley Information Science
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Miguel Araújo
 
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxFactors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxKatpro Technologies
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesSinan KOZAK
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processorsdebabhi2
 
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...gurkirankumar98700
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)Gabriella Davis
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking MenDelhi Call girls
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024The Digital Insurer
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc
 

Último (20)

Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live StreamsTop 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path Mount
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxFactors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen Frames
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 

CEFv6 in a nutshell

  • 1. CEFv6 If you have to Troubleshoot CISCO device One day you will have to deal with CEF! No DATA PLANE Troubleshooting without CEFv6!... If you are looking for the Engineering Team with really high skills guys at cisco you are looking for the CEF team! These guys need to do two things mutually exclusives and this all the time: They must support a maximum number of services and at the same time they must design the fastest code because all the cisco switching performances rely on CEF! If an IP feature is not supported by CEF, the feature has no future if it has also to be Efficient. if it is a slow terminal conversion things which need the speed of typing with one finger, fine! but if it must support wire speed? Forget it! WHY??? We need to get back to the basics of computers to understand... When a packet is received by an ASIC specialized to process the data coming from a Physical Media port, an Interrupt is sent to the CPU. An interrupt is a Signal Transition like 0 to +5v or the opposite. The Interrupt is raised by the Physical Media Processor to tell the CPU that it has a packet just like the Postman set up the flag after it has dropped a few mails in your mailbox! Guess who is called first by the CPU when it gets the interrupt signal? CEF... Now CEF must take a decision either switch the packet in interrupt mode, either Q the packet for further processing in a time sharing fashion. It is clear that Real-Time traffic will only be supported by the Interrupt mode. So where is the problem? The process in interrupt mode disables any other interrupt. The other Line Cards have a dedicated ASIC with MEmory to accomodate a few packet but not too much... The process must process the packet as fast as possible for the protocol which is being routed and for the other traffic waiting to be processed. This is why complex operation cannot be supported by CEF and this has been the case of NAT-PT in IPv6!
  • 2. R l # s h o w i ipv6 c e f 2 0 0 1 : d b 8 : c a f e : 1 0 : : / 6 4 iinternal R1#show p v 6 cef 2001:db8:cafe:10::/64 n t e r n a l 2001:DB8:CAFE:10::/64, eepoch 0 , R I B [ I ] , r refcount 4 , pper-destination s h a r i n g 2 0 0 1 :DB 8 :CA FE :1 0 ::/6 4 , p o c h 0, RIB[I], e f c o u n t 4, e r - d e s t i n a t i o n sharing sources: R I B s o u r c e s : RIB feature sspace: fe a tu re p a ce : This comes from the CEF Forwarding Information Base (FIB)! This comes from the CEP Forwarding Information Base (FIB)! IPRM: 00x00038000 I P RM: x 0 0 0 3 8 0 0 0 ifnums: if n u ms: FastEthernet0/1.11(11): FFE80::C801:4FF:FE94:6 Fa stE th e rn e t0 /1 .1 1 (1 1 ): E 8 0 ::C8 0 1 :4 FF:FE 9 4 :6 p a t h 66822BA1C, ppath llist 66822A77C, sshare 1 / 1 , t type a t t a c h e d n e x t h o p , ffor IIPv6 path 8 2 2 B A 1 C , a t h i s t 8 2 2 A 7 7 C , h a r e 1/1, y p e attached nexthop, o r P v 6 nexthop FE80::C801:4FF:FE94:6 FastEthernet0/1.11, adjac enc y IPV6 adj out of FastEthernet0/1.11, nexthop FE80::C801:4FF:FE94:6 FastEthernet0/1.11, adjacency IPV6 adj out o f FastEthernet0/1.11, addr FE80::C801:4FF:FE94:6 addr 7 F91 E 8 0 : output cchain: I IPV6a adj outi of FastEthernet0/1.11, addr F E 8 0 : : C 8 0 1 : 4 F F : F E 9 4 : 6 output : C 8 0 hain: P V d j o u t o f F a s t E t h e r n e t 0 / 1 . 1 1 , a d d r FE80::C801:4FF:FE94:6 1 6 F9 1 0 6 0 6 : 4 F 66F91C60 F : F 1 R1#show a d j a c e n c y F E 8 0 : : C 8 0 1 : 4 F F : F E 9 4 : 6 R l I f s h o w adjacency FE80::C801:4FF:FE94:6 This is tthe: neighbor nex t -hop and cannot IDEI This is 4 e neighbor next-hop and cannot be E 9 h Protocol IInterface A d d r e s s Pr otocol n t e r f a c e Address anything els e but a Link -loc al address! We anything else but a Link-local address! We IPV6 F a s t E t h e r n e t 0 / 1 . 1 1 F E 8 0 : : C 8 0 1 : 4 F F : F E 9 4 : 6 ( 7 ) I P V 6 FastEthernet0/1.11 FE80::C801:4FF:FE94:6(7) find it also in the line above which resume R1#show a d j a c e n c y F E 8 0 : : C 8 0 1 : 4 F F : F E 9 4 : 6 iinternal R l I f s h o w adjacency FE80::C801:4FF:FE94:6 n t e r n a l the rec urs ion in case you have mult iple the recursion in case you have multiple Protocol IInterface A d d r e s s Pr otocol n t e r f a c e Address level, ttherein tone line above whic h res ume find it here is one line per lev el_ level, also is he line per level.... IPV6 F a s t E t h e r n e t 0 / 1 . 1 1 F E 8 0 : : C 8 0 1 : 4 F F : F E 9 4 : 6 ( 7) I P V 6 FastEthernet0/1.11 FE80::C801:4FF:FE94:6(7) Just af t er you can see tthe Address of t he Just after you can see he Address of the 0 pa c k e ts , 0 by te s 0 packets, 0 bytes Adjacency point er whic h is a memory Adjacency pointer which is a memory epoch 0 T h i s comes from the CEP Adjacency Table epoch 0 This comes from the CEF Adjacency Table pointer tto a s t ruc t ure whic h contains t he point er o a structure which contains the sourced iin s e v - e p o c h 1 sour ced n sev-epoch 1 Adjacency inf ormat ion lik e t he MAC Address Adjacency information like the MAC Address Encap llength 1 8 E n c a p e n g t h 18 for tthe encapsulation, ffrom where it comes f or he encapsulation, rom where it comes CA0104940006CA0004940006010000011 CA0104940006CA00049400068100000B from (ND o r ARP ffor IPv4) and how many f rom (ND or ARP o r IPv4) and how many 86DD 86D D bytes/packets were encapsulated wit h tthis bytes/packets were encapsulated with his IPv6 N D I P v 6 ND adjacency... adjacency... Fast a d j a c e n c y e n a b l e d [[OK] F a s t adjacency enabled O K ] L3 m t u 1 5 0 0 L3 mtu 1500 Flags ((0x11A9E) F l ags 0x 11A9E) Fixup d i s a b l e d F i x u p disabled HWIDB/IDB p o i n t e r s O x 6 6 C C D D 1 0 / 0 x 6 7 E 5 8 5 0 0 H W I D B / I D B pointers 0x66CCDD10/0x67E58500 IP rredirect e n a b l e d IP e d i r e c t enabled Switching v e c t o r : I IPv6 a d j a c e n c y o c e S w i t c h i n g vector: P v 6 adjacency oce Adjacency p o i n t e r O x 6 6 F 9 1 C 6 0 1 Adj acency pointer Use the internal argument Next-hop F E 8 0 : : C 8 0 1 : 4 F F : F E 9 4 : 6 N e x t - h o p FE80::C801:4FF:FE94:6 To process this packet as fast as possible CEFv6 relies on two tables: One is derived from the Routing To process this packet as fast as possible CEFv6 relies on two tables: One is derived from the Routing Table and One is derived from the ND Table! But the requirements are completely differents. Table and One is derived from the ND Table! But the requirements are completely differents. The Forwarding Information Base (FIB) is the Routing TAble with all the Recursions resolved, it has the The Forwarding Information Base (FIB) is the Routing IAble with all the Recursions resolved, it has the Neighbor Next-hop for each destintation with a pointer to the Adjacency Table, derived from ND to Neighbor Next-hop for each destintation with a pointer to the Adjacency Table, derived from ND to perform the encapsulation. perform the encapsulation. The data structure of a Routing Table or RIB is optimized for efficient management of entries in the The data structure of a Routing Table or RIB is optimized for efficient management of entries in the table while the FIB is optimized for getting the Fastest Lookup! table while the FIB is optimized for getting the Fastest Lookup! In the distributed platform, the FIB and Adjacencies tablessa re downloaded on the Linecards and it is In the distributed platform, the FIB and Adjacencies tablessa re downloaded on the Linecards and it is the ingress LC which takes the switching decision. The central CPU is not involved for forwarding and the ingress LC which takes the switching decision. The central CPU is not involved for forwarding and for troubleshooting you must attach to the LC as looking to the Central tables is not useless but it is not for troubleshooting you must attach to the LC as looking to the Central tables is not useless but it is not the table we need to look for the decision. the table we need to look for the decision. Fred Bovy, IPv6 For Life! CCIE #3013 Fred Bovy, IPv6 For Life!.... CCIE #3013
  • 3. CEFv6 – Adjacency Entry R1#show adjacency FE80::C801:4FF:FE94:6 internal Protocol Interface Address IPV6 FastEthernet0/1.11 FE80::C801:4FF:FE94:6(7) 0 packets, 0 bytes How!many! epoch 0 packets/bytes! sourced in sev-epoch 1 switched!?! Encap length 18 CA0104940006CA00049400068100000B MAC!Address! 86DD Protocol!Type! IPv6 ND Fast adjacency enabled [OK] Source!of!the!L2! L3 mtu 1500 Address! Flags (0x11A9E) Fixup disabled HWIDB/IDB pointers 0x66CCDD10/0x67E58500 IP redirect enabled Switching vector: IPv6 adjacency oce Adjacency)Pointer) Adjacency pointer 0x66F91C60 from)the)FIB) Next-hop FE80::C801:4FF:FE94:6 •  !! © Frédéric Bovy 153 CEFv6 – Adjacency Entry R1#show adjacency FE80::C801:4FF:FE94:6 internal Protocol Interface Address IPV6 FastEthernet0/1.11 FE80::C801:4FF:FE94:6(7) 0 packets, 0 bytes How!many! epoch 0 packets/bytes! sourced in sev-epoch 1 switched!?! Encap length 18 CA0104940006CA00049400068100000B MAC!Address! 86DD Protocol!Type! IPv6 ND Fast adjacency enabled [OK] Source!of!the!L2! L3 mtu 1500 Address! Flags (0x11A9E) Fixup disabled HWIDB/IDB pointers 0x66CCDD10/0x67E58500 IP redirect enabled Switching vector: IPv6 adjacency oce Adjacency)Pointer) Adjacency pointer 0x66F91C60 from)the)FIB) Next-hop FE80::C801:4FF:FE94:6 •  !! © Frédéric Bovy 153