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.

V<br />

• L3 Egress Access list<br />

Note: IP ACLs are supported over VLANs in Version 6.2.1.1 and higher.<br />

ACLs and VLANs<br />

There are some differences when assigning ACLs to a VLAN ra<strong>the</strong>r than a physical port. For example,<br />

when using a single port-pipe, if you apply an ACL to a VLAN, one copy of <strong>the</strong> ACL entries would get<br />

installed in <strong>the</strong> ACL CAM on <strong>the</strong> port-pipe. The entry would look <strong>for</strong> <strong>the</strong> incoming VLAN in <strong>the</strong> packet.<br />

Whereas if you apply an ACL on individual ports of a VLAN, separate copies of <strong>the</strong> ACL entries would be<br />

installed <strong>for</strong> each port belonging to a port-pipe.<br />

When you use <strong>the</strong> ‘log’ option, CP processor will have to log details about <strong>the</strong> packets that match.<br />

Depending on how many packets match <strong>the</strong> ‘log’ entry and at what rate, CP might become busy as it has to<br />

log <strong>the</strong>se packets’ details. However <strong>the</strong> o<strong>the</strong>r processors (RP1 and RP2) should be unaffected. This option<br />

is typically useful when debugging some problem related to control traffic. We have used this option<br />

numerous times in <strong>the</strong> field and have not encountered any problems in such usage so far.<br />

ACL Optimization<br />

If an access list contains duplicate entries, <strong>FTOS</strong> deletes one entry to conserve CAM space.<br />

Standard and Extended ACLs take up <strong>the</strong> same amount of CAM space. A single ACL rule uses 2 CAM<br />

entries whe<strong>the</strong>r it is identified as a Standard or Extended ACL.<br />

Determine <strong>the</strong> order in which ACLs are used to classify traffic<br />

When you link class-maps to queues using <strong>the</strong> command service-queue, <strong>FTOS</strong> matches <strong>the</strong> class-maps<br />

according to queue priority (queue numbers closer to 0 have lower priorities). For example, in Figure 225,<br />

class-map cmap2 is matched against ingress packets be<strong>for</strong>e cmap1.<br />

ACLs acl1 and acl2 have overlapping rules because <strong>the</strong> address range 20.1.1.0/24 is within 20.0.0.0/8.<br />

There<strong>for</strong>e, (without <strong>the</strong> keyword order) packets within <strong>the</strong> range 20.1.1.0/24 match postive against cmap1<br />

and are buffered in queue 7, though you intended <strong>for</strong> <strong>the</strong>se packets to match positive against cmap2 and be<br />

buffered in queue 4.<br />

In cases such as <strong>the</strong>se, where class-maps with overlapping ACL rules are applied to different queues, use<br />

<strong>the</strong> order keyword to specify <strong>the</strong> order in which you want to apply ACL rules, as shown in Figure 225. The<br />

order can range from 0 to 254. <strong>FTOS</strong> writes to <strong>the</strong> CAM ACL rules with lower order numbers (order<br />

numbers closer to 0) be<strong>for</strong>e rules with higher order numbers so that packets are matched as you intended.<br />

By default, all ACL rules have an order of 254.<br />

<strong>FTOS</strong> <strong>Configuration</strong> <strong>Guide</strong>, version 7.7.1.0 335

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

Saved successfully!

Ooh no, something went wrong!