3Com 10014302 manual if-match criteria, Example, Syntax, View, Parameter, Description

Models: 10014302

1 101
Download 101 pages 60.09 Kb
Page 16
Image 16

3Com Router Command Reference Guide Addendum for V1.2

Example

Define class2 by invoking class1.

Define match rule for class2. As class1 will be invoked, you should configure class1 first.The match rule for class1 is: IP precedence is 5.

[3Com] qos class class1

[3Com-qosclass-class1]if-match ip-precedence 5

Define class2 packets with the match rule as class1 and destination MAC address as 0050-BA27-BED3.

[3Com] qos class class2

[3Com-qosclass-class2] if-match class class1

[3Com-qosclass-class2]if-match destination-mac 00-50-BA-27-BE-D3

1.13 if-match criteria

Syntax

if-match [ logic-not ] criteria

undo if-match [ logic-not ] criteria

View

Class view

Parameter

criteria: Match rule of a class, which can be acl, any, class-map, destination-mac, inbound-interface, ip-precedence, dscp, protocol, source-macor mpls-exp.

Description

Using the if-match not command, you can define the rule for all packets not satisfying the specified match rule. Using the undo if-match not command, you can delete the rule of all packets not satisfying the specified match rule.

For the related command, see qos class.

Example

Define the packets with class match protocol not being IP.

[3Com] qos class class1

[3Com-qosclass-class1]if-match logic-not protocol ip

16

Page 16
Image 16
3Com 10014302 manual if-match criteria, Example, Syntax, View, Parameter, Description