background image
308 Chapter 9: WAN Design Considerations
Process-switching
Process-switching is the simplest form of switching. Process-switching is defined by two
essential concepts:
·
The forwarding decision and information used to rewrite the MAC header on the packet
are taken from a table.
·
The packet is switched using the processor and a normal process running within the IOS.
With process-switching, the first packet that enters the router is copied to the system buffer. The
packet is compared to a destination network address entry in the routing table located in main
memory. The frame is then rewritten with the destination address and sent to the exit interface.
Fast Switching
The first packet of every session or connection is always process-switched. Fast switching
stores the forwarding information in cache. This allows the entries in the route caches to be
created. Subsequent packets are compared against the cached information. Fast switching
enables higher throughput by switching a packet using a cache created by previous packets.
TIP
Disable fast switching when debugging and packet-level tracing. Packets that do not pass
through the route processor cannot be captured. Disable fast switching when sending data to
interfaces lower than T1. Congestion can occur when fast-switched packets are sent from a
high-speed interface to a low-speed interface.
WAN Compression Techniques
Of all the features that the Cisco IOS software offers to maximize throughput and minimize
WAN bandwidth bottlenecks, the most effective is compression.
Compression decreases the size of a frame while reducing the time the data takes to travel
across the network. Compression works by identifying a redundant pattern in a data stream and
providing a coding scheme at each end of a transmission link. These coding schemes allow
characters to be removed from the frames of data at the sending side of the link and then be
replaced correctly at the receiving side. Because the frames take up less bandwidth, more data
can be transmitted.
Three types of compressions are a part of the Cisco IOS:
·
Header
·
Link
·
Payload
87200333.book Page 308 Wednesday, August 22, 2001 2:53 PM