Cisco WS-X6066-SLB-APC - Content Switching Module Software Manual page 267

Catalyst 6000 series software configuration guide
Hide thumbs Also See for WS-X6066-SLB-APC - Content Switching Module:
Table of Contents

Advertisement

Chapter 14
Configuring MLS
To keep the MLS cache size below 32K entries, enable IP MLS fast aging time. The IP MLS fast aging
time applies to MLS entries that have no more than pkt_threshold packets switched within fastagingtime
seconds after they are created. A typical cache entry that is removed is the entry for flows to and from a
Domain Name Server (DNS) or TFTP server; the entry might never be used again after it is created.
Detecting and aging out these entries saves space in the MLS cache for other data traffic.
The default fastagingtime value is 0 (no fast aging). You can configure the fastagingtime value to 32,
64, 96, or 128 seconds. Any fastagingtime value that is not configured exactly as the indicated values is
adjusted to the closest one. You can configure the pkt_threshold value to 0, 1, 3, 7, 15, 31, or 63 packets.
If you need to enable IP MLS fast aging time, initially set the value to 128 seconds. If the size of the
MLS cache continues to grow over 32K entries, decrease the setting until the cache size stays below
32K. If the cache continues to grow over 32K entries, decrease the normal IP MLS aging time.
Typical values for fastagingtime and pkt_threshold are 32 seconds and 0 packets (no packets switched
within 32 seconds after the entry is created).
To specify the IP MLS fast aging time and packet threshold, perform this task in privileged mode:
Task
Specify the IP MLS fast aging time and
packet threshold for an MLS cache entry.
This example shows how to set the IP MLS fast aging time to 32 seconds with a packet threshold of
0 packets:
Console> (enable) set mls agingtime fast 32 0
Multilayer switching fast aging time set to 32 seconds for entries with no more than 0
packets switched.
Console> (enable)
Setting the Minimum IP MLS Flow Mask
You can set the minimum granularity of the flow mask for the MLS cache on the PFC. The actual flow
mask used will be at least of the granularity specified by this command. For information on how the
different flow masks work, see the
For example, if you do not configure access lists on any MSFC, then the IP MLS flow mask on the PFC
is destination-ip by default. However, you can force the PFC to use the source-destination-ip flow mask
by setting the minimum IP MLS flow mask using the set mls flow destination-source command.
The set mls flow destination-source command purges all existing shortcuts in the MLS cache and
Caution
affects the number of active shortcuts on the PFC. Exercise care when using this command.
To set the minimum IP MLS flow mask, perform this task in privileged mode:
Task
Set the minimum IP MLS flow mask.
78-13315-02
Command
set mls agingtime fast [fastagingtime] [pkt_threshold]
"Understanding Flow Masks" section on page
Command
set mls flow {destination | destination-source | full}
Catalyst 6000 Family Software Configuration Guide—Releases 6.3 and 6.4
Configuring MLS
14-6.
14-19

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents