06-06-2019 01:09 AM
Hi,
I would like to know if a CISCO switch uses DMA (Direct memory access) to copy a control packet (e.g OSPF) or a packet for which there is no entry in FIB to CPU? If not how does it happen?
I'm not familiar with the internal architecture/ packet path (ASIC <--->cpu), so any good reference docs on the same would be helpful too.
Thank you
Solved! Go to Solution.
06-06-2019 12:50 PM
vijnaana47711,
Of the switches I have worked on (Cat 6K, Cat 9K) it has not been DMA. I cannot speak for all switches that Cisco has ever produced. You can find this kind of architectural information in the On-Demand Library of ciscolive.com (free for all to use) if you look for the BRKARC sessions for the individual switching platforms. For example, if you search for BRKARC-3468 you will find the Catalyst 6K session.
Cheers
Scott Hodgdon
Senior Technical Marketing Engineer
Enterprise Networking Group
06-07-2019 07:00 AM
vijnaana47711,
No data traffic uses the EOBC. This is just for system-level operations between Supervisor and LC in a Catalyst 6K (other switches may not have an EOBC). To get from LC to Supervisor, data traffic destined for the CPU will use either a fabric channel or the data bus depending on the LC type.
Cheers,
Scott Hodgdon
Senior Technical Marketing Engineer
Enterprise Networking Group
06-06-2019 06:44 AM
06-06-2019 10:49 AM
Hi Joseph,
I'm not looking for details, but just trying to get the big picture of whether DMA or some other mechanisms are used.
The answer need not be wrt a Cisco platform even.
Thank you
06-06-2019 11:29 AM
vijnaana47711,
Generally speaking, we will have special entries in the FIB for anything that is destined for the CPU. We would then have an interface connecting the CPU and forwarding engine over which this traffic would flow.
Cheers
Scott Hodgdon
Senior Technical Marketing Engineer
Enterprise Networking Group
06-06-2019 12:15 PM
Hi Scott,
Can PCIe be one such interface and is DMA still being used by modern switches
with a switch fabric architecture?
Thank you
06-06-2019 12:50 PM
vijnaana47711,
Of the switches I have worked on (Cat 6K, Cat 9K) it has not been DMA. I cannot speak for all switches that Cisco has ever produced. You can find this kind of architectural information in the On-Demand Library of ciscolive.com (free for all to use) if you look for the BRKARC sessions for the individual switching platforms. For example, if you search for BRKARC-3468 you will find the Catalyst 6K session.
Cheers
Scott Hodgdon
Senior Technical Marketing Engineer
Enterprise Networking Group
06-06-2019 06:23 PM
Thank you Scott!
That's the kind of reference I was looking for.
06-06-2019 07:38 PM
Hi Scott,
One quick question. On going through the docs I got upon EOBC, but it talks of half duplex communication between Supervisor card and LC. I wonder if there's another such channel in the reverse direction for the CPU punt?
Thank you
06-07-2019 07:00 AM
vijnaana47711,
No data traffic uses the EOBC. This is just for system-level operations between Supervisor and LC in a Catalyst 6K (other switches may not have an EOBC). To get from LC to Supervisor, data traffic destined for the CPU will use either a fabric channel or the data bus depending on the LC type.
Cheers,
Scott Hodgdon
Senior Technical Marketing Engineer
Enterprise Networking Group
06-07-2019 09:00 AM
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide