19.10.2013 Views

7.6.1.0 - Force10 Networks

7.6.1.0 - Force10 Networks

7.6.1.0 - Force10 Networks

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

create a class-map<br />

To create Layer 2 or Layer 3 (the default) class-map to match packets to a specified class, use this<br />

command:<br />

Command Syntax Command Mode Usage<br />

class-map {match-all | match-any}<br />

class-map-name [layer2]<br />

To delete an existing class-map, use the no class-map {match-all | match-any} class-map-name [layer2]<br />

command. Figure 201 illustrates how to create a class-map.<br />

Figure 201 class-map Command Example<br />

configure a class-map<br />

To configure a class-map, use one of the following commands to set up the match criteria:<br />

• match ip access-group on page 290<br />

• QoS Exception Handling Rules on page 290<br />

• match ip precedence on page 291<br />

CONFIGURATION<br />

(config-class-map)<br />

<strong>Force10</strong>#config t<br />

<strong>Force10</strong>(conf)#class-map match-any ClassMap05<br />

<strong>Force10</strong>(conf)#end<br />

<strong>Force10</strong>#<br />

Packets arriving at the input interface are<br />

checked against the match criteria, configured<br />

using this command, to determine if the packet<br />

belongs to that class. This command enables the<br />

class-map configuration mode. The parameters<br />

are:<br />

• match-all: Determines how packets are<br />

evaluated when multiple match criteria exist.<br />

Enter the keyword match-all to determine<br />

that the packets must meet all the match<br />

criteria in order to be considered a member of<br />

the class.<br />

• match-any: Determines how packets are<br />

evaluated when multiple match criteria exist.<br />

Enter the keyword match-any to determine<br />

that the packets must meet at least one of the<br />

match criteria in order to be considered a<br />

member of the class.<br />

• class-map-name: Enter a name of the class<br />

for the class-map in a character format (16<br />

character maximum).<br />

• (OPTIONAL) layer2: Enter to specify a Layer<br />

2 class map. This option is available for<br />

E-Series only.<br />

Default: Layer 3<br />

FTOS Configuration Guide, version <strong>7.6.1.0</strong> 289

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

Saved successfully!

Ooh no, something went wrong!