Switching Types
Switching Types
TIP: Processing overhead isnt so much a hard limit but something you will have
to watch. If your switch is acting slow or has a constantly maxed out processor,
then you may have too many interfaces configured or too much data being
routed across the device.
Multilayer switches can also be configured with true routed ports, which
means you can configure the port to act just as a port on a real router would. You
can place the IP address and router interface commands directly on the interface.
The port when configured this way is no longer part of any VLAN; it represents a
subnet just as a router interface would.
Process Switching
The first switching was just process switching; all of the data packets had to be
processed through the central processor. Process switching was very time
consuming and delayed the packets.
Cache-Based Switching
Cache-based switching has had a few different namesNetflow switching, route
one switch manybut they refer to the same thing. When the first packet enters
the device, it is process switched so that all the appropriate information can be
determined. Once the device has the forwarding information, it is cached in a fast
lookup table. When the rest of the packets in the flow enter the device, the
forwarding lookup can be accomplished in RAM by looking at the information in
the cache table.
Preparing to Transmit
Once the forwarding decision has been made and the packet has been
switched across the routing device, the frame must be rewritten to be transmitted
on the new network. IP unicast packets are rewritten on the output interface like
this. First, the device must change the source MAC address from the senders to its
own. Second, the device must change the destination MAC address from its
address to the next hops address. Third, the time to live (TTL) must be
decremented by one, which means that the IP header checksum must be
recalculated. Last, the frame checksum must be recalculated.