01-24-2012 11:59 AM - edited 03-07-2019 04:31 AM
I am faced with the task of explaining this and I can't find/don't know what the "theoretical aspects" of network switching are.
01-24-2012 12:32 PM
Hi Anthony,
if you are talking about how the switch processes the frames here is the steps for the process of switching.
Process switching:
1. Packet arrives at ingress interface.
2. Ingress ASIC puts packet to iomem and interrrupts main CPU.
3. Main CPU copy packet from iomem to main memory.
4. IOS routing process checks routing table and decides which interface is egress.
5. Packet's L3 and L2 headers are modified and packet is copied to iomem into egress interface output queue.
6. Egress ASIC gets packet from the queue and sends.
Fast switching:
1. Packet arrives at ingress interface.
2. Ingress ASIC puts packet to iomem and interrrupts main CPU.
3. Main CPU copy packet from iomem to main memory.
4. IOS checks if this dest is already in cache-memory. If so all L3 and L2 information is there. If not IOS routing process is invoked and result is copied into fast cache.
5. Packet's L3 and L2 headers are modified and packet is copied to iomem into egress interface output queue.
6. Egress ASIC gets packet from the queue and sends.
thanks,
makar
01-24-2012 01:07 PM
I am trying to find all the switching methods. Are these all of them ?
Circuit Switching
Packet Switching
Message Switching
Cell Switching
Process Switching
Interrupt Context Switching
Fast Switching
Optimum Switching
Cisco Express Forwarding
Store and forward
Cut-through
Fragment Free
Load Sharing
Adaptive Switching
01-24-2012 01:34 PM
Hello Anthony,
Please allow me add a few comments to my friends' wonderful answers.
The different types of switching you have referenced here do have the word "switching" in their name, but they are not all comparable because they describe not only different kinds of switching but also refer to processes of principially different nature and purpose. While the word "switching" may suggest that all these are simply variations on the same subject, in reality, these all types of switching are from different areas of networking and care should be taken not to confuse them.
The first category of switching is related to how does a particular network basically operate when it provides you the service of carrying your data. Here we talk about circuit switching, packet switching, message switching and cell switching. Circuit switching describes a network technology that reserves a particular set of resources (bandwidth, sequence of links and devices along the path, timeslots, etc.) for the entire duration of your session with the opposite device, regardless of whether you really send data or not. Circuit switching is typical for telephone or ISDN networks. Packet, message and cell switching are another way of providing data transfer service by splitting the data into pieces and carrying them individually over the network, with the network sharing its resources among multiple senders without doing any permanent reservations for your session. Packet and message switching refers to technologies that use variably-sized messages (Ethernet, Token Ring, FDDI), cell switching refers to a technology using fixed-size messages (ATM).
The second category is concerned with the particular operation of Ethernet switches. The methods that belong here are store-and-forward, cut-through, fragment-free, adaptive. In short:
The third category is concerned about the process involved in routing an IP packet in particular. Here, the methods are process switching, interrupt context switching, fast switching, optimum switching and Cisco Express Forwarding. I am not going to dive into those; instead, I suggest you read the following document:
http://www.cisco.com/en/US/tech/tk827/tk831/technologies_white_paper09186a00800a62d9.shtml
Best regards,
Peter
01-24-2012 01:00 PM
Hello,
There are four types how a Packet are Switched or Packet Switching:
1- Process Switching.
In this Type, all the Packet are Sent to the CPU to make the forwarding decision.
2- Fast Switching.
Its a table that created on Demand, which contains Fast Switching table (Route Cache), its vital to understand that this table doesnt contain all active switching topology.
3- ASIC (Application Specific Integrated Circuit).
ASIC is a hradware that is correctly programmed to make forwarding decision, packet doesnt need to hit the CPU or be fast Switched for forwarding. and ASIC is mostly found on a Multilayer Switches line cards.
4- CEF or (Cisco Express Forwarding).
The CEF table contains Two table a) the FIB table B) Adjacency Table.
The FIB Table contains all the Routing information base RIP and the Adjacency table contains the Layer-2 information.
CEF is considered a Topology driven Switching mechanism because it contains all Routing information and updates and the RIP table is copied into the FIB once the router boots up.
CEF is the best Switching Method that should be used today, also note , its a requirment for CEF to be enabled in an MPLS environment for Label Switching.
Regards,
Mohamed
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