10-10-2012 05:56 AM - edited 03-04-2019 05:48 PM
Hello everyone!
I would like to know what exactly happens to a packet once it reaches an interface, through which exact steps does it go and the precise order. Both inbound and outbound traffic. Something like a flow chart.. I can't find a proper document that shows this.
Appreciate any help in advance.
10-10-2012 06:14 AM
Hi Haji,
Your question is very generic. The way packet processed varies depending on if it routed switched, what all services are configured on the router. Also it depends on the platform
Can you specify if it is a CEF router, or harware swiched platfrom and the kind of traffic
10-10-2012 09:54 PM
Hey rajs2,
Thank you for your reply.
But isn't there a generic graph/flow chart/description or whatever that would show this?
10-11-2012 12:04 AM
Hi
You can refer this link.
http://www.cisco.com/en/US/tech/tk648/tk361/technologies_tech_note09186a0080133ddd.shtml
10-11-2012 02:05 AM
This is nice. Thanks. But it is too specific, about NAT. Do you think there is more general order of operations available somewhere?
10-11-2012 02:19 AM
The documet is made for NAT. But will generally help on CEF routers to understand the flow
10-11-2012 03:03 AM
General packet forwarding steps:
1. Layer 2 engine performs the input VLAN ACL lookup
2. If necessary, an input router ACL check is performed
3. The destination IP addr. is compared against Layer 3 FIB.
4. The Layer 2 and Layer 3 header rewritten (according Adjacency table)
5. Layer 2 forwarding engine forwards the frame.
Link about packet switching methods:
http://fengnet.com/book/IS-ISDesign/ch01lev1sec5.html
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