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.

Create a Layer 3 class map<br />

A Layer 3 class map differentiates ingress packets based on DSCP value or IP precedence, and<br />

characteristics defined in an IP ACL. You may specify more than one DSCP and IP precedence value, but<br />

only one value must match to trigger a positive match <strong>for</strong> <strong>the</strong> class map.<br />

1. Create a match-any class map using <strong>the</strong> command class-map match-any or a match-all class map<br />

using <strong>the</strong> command class-map match-all from CONFIGURATION mode, as shown in Figure 402.<br />

2. Once you create a class-map, <strong>FTOS</strong> places you in CLASS MAP mode. From this mode, specify your<br />

match criteria using <strong>the</strong> command match ip, as shown in Figure 402. Match-any class maps allow up<br />

to five ACLs, and match-all class-maps allow only one ACL.<br />

3. After you specify your match criteria, link <strong>the</strong> class-map to a queue using <strong>the</strong> command service-queue<br />

from POLICY MAP mode, as shown in Figure 402.<br />

Figure 402 Using <strong>the</strong> Order Keyword in ACLs<br />

<strong>Force10</strong>(conf)#ip access-list standard acl1<br />

<strong>Force10</strong>(config-std-nacl)#permit 20.0.0.0/8<br />

<strong>Force10</strong>(config-std-nacl)#exit<br />

<strong>Force10</strong>(conf)#ip access-list standard acl2<br />

<strong>Force10</strong>(config-std-nacl)#permit 20.1.1.0/24 order 0<br />

<strong>Force10</strong>(config-std-nacl)#exit<br />

<strong>Force10</strong>(conf)#class-map match-all cmap1<br />

<strong>Force10</strong>(conf-class-map)#match ip access-group acl1<br />

<strong>Force10</strong>(conf-class-map)#exit<br />

<strong>Force10</strong>(conf)#class-map match-all cmap2<br />

<strong>Force10</strong>(conf-class-map)#match ip access-group acl2<br />

<strong>Force10</strong>(conf-class-map)#exit<br />

<strong>Force10</strong>(conf)#policy-map-input pmap<br />

<strong>Force10</strong>(conf-policy-map-in)#service-queue 7 class-map cmap1<br />

<strong>Force10</strong>(conf-policy-map-in)#service-queue 4 class-map cmap2<br />

<strong>Force10</strong>(conf-policy-map-in)#exit<br />

<strong>Force10</strong>(conf)#interface gig 1/0<br />

<strong>Force10</strong>(conf-if-gi-1/0)#service-policy input pmap<br />

Create a Layer 2 class map<br />

Create a Layer 2 class map is supported only on plat<strong>for</strong>m e<br />

• All class maps are Layer 3 by default, but on <strong>the</strong> E-<strong>Series</strong> you may create a Layer 2 class map by<br />

specifying <strong>the</strong> option layer2 with <strong>the</strong> class-map command. A Layer 2 class map differentiates traffic<br />

according to 802.1p value and/or characteristics defined in a MAC ACL.<br />

1. Create a match-any class map using <strong>the</strong> command class-map match-any or a match-all class map<br />

using <strong>the</strong> command class-map match-all from CONFIGURATION mode, and enter <strong>the</strong> keyword<br />

layer2.<br />

2. Once you create a class-map, <strong>FTOS</strong> places you in CLASS MAP mode. From this mode, specify your<br />

match criteria using <strong>the</strong> command match mac. Match-any class maps allow up to five ACLs, and<br />

match-any class-maps allow only one ACL.<br />

3. After you specify your match criteria, link <strong>the</strong> class-map to a queue using <strong>the</strong> command service-queue<br />

from POLICY MAP mode.<br />

566 Quality of Service

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

Saved successfully!

Ooh no, something went wrong!