I am studying CEF and know the basic working of CEF. However, I need help in following questions:
Question 1: I understand that CEF uses mainly Prefix, NextHop, and Interface information in its table to forward packet. It seems that Packets are HW Accelerated based on only destination IP/Network. I was wondering if CISCO CEF supports forwarding of packets based on transport layer? For example, some other vendors provide this facility to HW accelerate the packets based on FLOW matching the source/destination port(s) and source/destination IP(s). For example, from other vendor, following entry takes src/dest ports into consideration in HW acceleration table to forward the packets.
Rule ID: 1
SOURCE PORT: 3333
DESTINATION PORT: 22
Question 2: If the answer to the question 1 is YES, then i would also like to know how would CEF/Hardware Acceleration forward Fragmented Packets. As far as I know, when fragmentation is done, only first packet contains protocol information (TCP/UDP). All other subsequent packets don't. If CEF considered TCP/UDP in its CEF table, how would it process all subsequent packets that have no information of upper layer protocol (src/dest ports).
Question 3: This is separate question from CEF. If a bigger sized packet is fragmented into 4 fragments, is it possible to send 2 packets on Link-1 and other 2 packets on Link-2. In this way, all the intermediary routers will not reassemble the fragments. And the re-assembly only happens at the destination. Is this true ?
Also please, if possible, share when it is required to re-assemble fragments before even reaching to the destination. I have heard that when firewall is in between the Source and Destination, Firewall must re-assemble all the fragments. Is this true ?
Question 1: Yes, CEF supports load balancing based on layer 4 ports.
Router(config)#ip cef load-sharing algorithm ? include-ports Algorithm that includes layer 4 ports <------- original Original algorithm tunnel Algorithm for use in tunnel only environments universal Algorithm for use in most environments
Question 2: CEF can not support fragmentation. If you look at the situations that CEF can not handle, fragmentation is one of them.
Router#show cef not-cef-switched
IPv4 CEF Packets passed on to next switching layer Slot No_adj No_encap Unsupp'ted Redirect Receive Options Access Frag <----Fragmentation packets can not be CEF switced RP 0 0 0 0 18413 0 0 0
Cisco 2509-RJ freezes during start-up I bought some Cisco 2509-RJ terminal server to work on my labs and was working fine. Today I turned it on and half way through starting up it seems to freeze. I can only find one instance of this happing to ...
Cisco Digital Network Architecture Center Modules(Design Module)Part.2In this article, we are going to talk about the Cisco Digital Network Architecture Center design Module. Cisco DNA Center gives us the flexibility and availability to con...
Connectivity Design considerations and recommendation
1.Management Access connectivity
If there is a dedicated OOB management path, consider connecting to CIMC and MGMT port.
If OOB path is not available, Connect the dedicated Management port to LAN Swi...
Cisco Digital Network Architecture Center Modules In this article, we are going to talk about Cisco Digital Network Architecture Center design Module. Cisco DNA Center gives us the flexibility and scalability to configure multiple fabric sites a...