User's Manual

Table Of Contents
418
Users Manual of CS-6306R
7. Allowing IP fast exchange
IP fast exchange uses the route cache to forward the IP message. Before the switch forwards message to a
certain destination, its system will check the routing table and then forward the message according to a route.
The selected route will be stored in the routing cache of the system software. If latter message will be sent to
the same host, the switch will forward latter message according to the route stored in the routing cache. Each
time message is forwarded, the value of hit times of the corresponding route item is increasing by 1. When the
hit times is equal to the set value, the software routing cache will be stored in the hardware routing cache. The
following message to the same host will be forwarded directly by the hardware. If the cache is not used for a
period of time, it will be deleted. If the software/hardware cache items reach the upper limitation, new
destination hosts are not stored in the cache any more. The managed switch can hold 2074 hardware cache
items and 1024 software cache items. To allow or forbid fast exchange, run the following command in
interface configuration mode:
Run… To
ip route-cache
Allow fast exchange (use the routing
cache to forward the IP message).
no ip route-cache
Forbid fast exchange.
To configure the hit times required when the software cache items are stored to the hardware cache, run the
following command in global configuration.
Run… To
ip route-cache
hit-numbershitnumber
When the hit times of the routing item in the
software cache reaches the value of the
parameter
hitnumber, the routing item in the software
cache will be stored as a routing item in the hardware
cache.
8. Supporting IP fast exchange on the same interface
You can enable the switch to support IP fast exchange by making the receiving interface the same as the
transmitting interface. Generally, it is recommended not to enable the function because it conflicts with the
redirection function of the router.
Run the following command in interface configuration mode to allow IP routing cache in the same interface:
Run… To
ip route-cache same-interface
Allow IP message with the same
receiving/transmitting interfaces to be stored
in the routing cache.