02.10.2013 Views

FTOS Configuration Guide for the C-Series - Force10 Networks

FTOS Configuration Guide for the C-Series - Force10 Networks

FTOS Configuration Guide for the C-Series - Force10 Networks

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Be<strong>for</strong>e version 7.3.1 <strong>the</strong>re was no way to measure <strong>the</strong> number of CAM entries a policy-map would<br />

consume (<strong>the</strong> number of CAM entries that a rule uses is not predictable; 1 to 16 entries might be used per<br />

rule depending upon its complexity). There<strong>for</strong>e, it was possible to apply to an interface a policy-map that<br />

requires more entries than are available. In this case, <strong>the</strong> system writes as many entries as possible, and<br />

<strong>the</strong>n generates an CAM-full error message (Message 23). The partial policy-map configuration might<br />

cause unintentional system behavior.<br />

Message 23 QoS CAM Region Exceeded<br />

%EX2YD:12 %DIFFSERV-2-DSA_QOS_CAM_INSTALL_FAILED: Not enough space in L3 Cam(PolicyQos) <strong>for</strong><br />

class 2 (Gi 12/20) entries on portpipe 1 <strong>for</strong> linecard 12<br />

%EX2YD:12 %DIFFSERV-2-<br />

DSA_QOS_CAM_INSTALL_FAILED: Not enough space in L3 Cam(PolicyQos) <strong>for</strong> class 5 (Gi 12/22)<br />

entries on portpipe 1 <strong>for</strong> linecard 12<br />

The command test cam-usage enables you to verify that <strong>the</strong>re are enough available CAM entries be<strong>for</strong>e<br />

applying a policy-map to an interface so that you avoid exceeding <strong>the</strong> QoS CAM space and partial<br />

configurations. This command measures <strong>the</strong> size of <strong>the</strong> specified policy-map and compares it to <strong>the</strong><br />

available CAM space in a partition <strong>for</strong> a specified port-pipe.<br />

Test <strong>the</strong> policy-map size against <strong>the</strong> CAM space <strong>for</strong> a specific port-pipe or all port-pipes using <strong>the</strong>se<br />

commands:<br />

• test cam-usage service-policy input policy-map linecard number port-set number<br />

• test cam-usage service-policy input policy-map linecard all<br />

The ouput of this command, shown in Figure 408, displays:<br />

• <strong>the</strong> estimated number of CAM entries <strong>the</strong> policy-map will consume<br />

• whe<strong>the</strong>r or not <strong>the</strong> policy-map can be applied<br />

• <strong>the</strong> number of interfaces in a port-pipe to which <strong>the</strong> policy-map can be applied<br />

Specifically:<br />

• Available CAM is <strong>the</strong> available number of CAM entries in <strong>the</strong> specified CAM partition <strong>for</strong> <strong>the</strong><br />

specified line card port-pipe.<br />

• Estimated CAM is <strong>the</strong> estimated number of CAM entries that <strong>the</strong> policy will consume when it is<br />

applied to an interface.<br />

• Status indicates whe<strong>the</strong>r or not <strong>the</strong> specified policy-map can be completely applied to an interface in<br />

<strong>the</strong> port-pipe.<br />

• Allowed indicates that <strong>the</strong> policy-map can be applied because <strong>the</strong> estimated number of CAM<br />

entries is less or equal to <strong>the</strong> available number of CAM entries. The number of interfaces in <strong>the</strong><br />

port-pipe to which <strong>the</strong> policy-map can be applied is given in paren<strong>the</strong>sis.<br />

• Exception indicates that <strong>the</strong> number of CAM entries required to write <strong>the</strong> policy-map to <strong>the</strong><br />

CAM is greater than <strong>the</strong> number of available CAM entries, and <strong>the</strong>re<strong>for</strong>e <strong>the</strong> policy-map<br />

cannot be applied to an interface in <strong>the</strong> specifed port-pipe.<br />

578 Quality of Service

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!