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

Page 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

Image 16
Contents 3Com Router Command Reference Guide Addendum forPublished January Download the Router 3000 Installation Guide from Download the Router 5000 Installation Guide fromDownload the 3Com Router Command Reference Guide from Download the 3Com Router Configuration Guide fromChapter 1 CBQ Configuration Commands 1.1 afSyntax Viewcar cir rate cbs size ebs size conform action exceed action 1.2 carundo car 1.3 debugging qos number1.4 display qos cbq interface display qos cbq interface type number1.5 display qos class 1.6 display qos policydisplay qos class class-name display qos policy policy-name class class-name3Com display qos policy 1.7 display qos policy interface display qos policy interface type number inbound outboundBehaviors Default Queue Flow Based Fair Queueing 1.8 ef ef bandwidth bandwidth cbs size undo ef1.9 gts gts cir rate cbs size ebs size queue-length length undo gtsif-match logic-not acl acl-number 1.10 if-match aclundo if-match logic-not acl acl-number access-list-number ACL number 1.11 if-match anyif-match logic-not any undo if-match logic-not any if-match logic-not class class-name 1.12 if-match classundo if-match logic-not class class-name 1.13 if-match criteria if-match logic-not criteria undo if-match logic-not criteria1.14 if-match inbound-interface 1.15 if-match ip-dscpnumber Interface number if-match logic-not inbound-interface type numberif-match logic-not ip-precedence value value … 1.16 if-match ip-precedenceundo if-match logic-not ip-precedence value value … if-match logic-not destination-mac source-mac mac-address 1.17 if-match mac-addressundo if-match logic-not destination-mac source-mac mac-address if-match logic-not protocol ip 1.18 if-match protocolundo if-match logic-not protocol ip 1.19 if-match rtp 1.20 qmtokenqmtoken token-number undo qmtoken1.21 qos apply policy qos class logic-and logic-or class-name 1.22 qos classundo qos class logic-and logic-or class-name 1.23 qos max-bandwidth qos max-bandwidth kilobits undo qos max-bandwidth1.24 qos policy qos policy policy-name undo qos policy policy-name1.25 qos reserved-bandwidth qos reserved-bandwidth pct percent undo qos reserved-bandwidth1.26 qos-class 1.27 queue-lengthqos-class class-name undo qos-class class-name queue-length queue-length undo queue-length queue-length1.28 remark ip-dscp remark ip-dscp value undo remark ip-dscp value1.29 remark ip-precedence remark ip-precedence value undo remark ip-precedence value1.30 wfq 1.31 wredwfq queue-number total-queue-number undo wfq1.32 wred ip-dscp undo wred ip-dscp ip-precedencediscard-prob undo wred ip-dscp dscp-valueView 1.33 wred ip-precedence undo wred ip-precedence value1.34 wred weighting-constant wred weighting-constant exponent undo wred weighting-constant2.1 debugging hwtacacs Chapter 2 TACACS+ Configuration Commandsinterface-type interface-number Interface name and number 2.2 display hwtacacs accounting Example 2.3 display hwtacacs server For a related command, see reset hwtacacs server statistics 2.4 domaindomain undo domain 2.5 host Parameter Warning Reach the max limited of server in one template 2.6 hwtacacs-server template 2.7 reset hwtacacs accounting statistics 2.8 reset hwtacacs server statisticsreset hwtacacs accounting statistics reset hwtacacs server statistics2.9 shared-key shared-key key-string2.10 source-ip undo source-ip2.11 timer quiet Chapter 3 SSH Configuration Commands 3.1 debugging rsa3.2 debugging ssh server debugging rsa undo debugging rsa3.3 display rsa local-key-pair public display rsa local-key-pair public3Com display rsa local-key-pair public 3.4 display rsa peer-public-key display rsa peer-public-key brief name keyname3.5 display ssh server display ssh server status session3.6 display ssh user-information 3.7 hexdisplay ssh user-information username hex hex-dataD6C54A36 3.8 kill ssh kill ssh all userID userid3.9 protocol inbound protocol inbound ssh telnet numbers acl acl-number3.10 public-key-code begin public-key-code begin3.11 public-key-code end public-key-code end3.12 rsa local-key-pair create rsa local-key-pair create3.13 rsa local-key-pair destroy rsa local-key-pair destroy3.14 rsa peer-public-key rsa peer-public-key key-name undo rsa peer-public-key key-namessh server authentication-retries times 3.15 ssh server authentication-retriesundo ssh server authentication-retries 3.17 ssh server timeout 3.16 ssh server rekey-intervalssh server timeout seconds undo ssh server timeout ssh server rekey-interval hours undo ssh server rekey-intervalssh user username assign rsa-key keyname 3.18 ssh user username assign rsa-keyundo ssh user username assign rsa-key ssh user username authentication-type password RSA all 3.19 ssh user authentication-typeundo ssh user username authentication-type password RSA all 3Com ssh user smith authentication-type password Chapter 4 NTP Configuration Commands 4.1 debugging ntp-service4.2 display ntp-service sessions display ntp-service sessions verbose4.3 display ntp-service status display ntp-service status4.4 display ntp-service trace display ntp-service tracentp-service access query synchronization server peer acl-number 4.5 ntp-service accessundo ntp-service access query synchronization server peer 4.6 ntp-service authentication enable 4.7 ntp-service authentication-keyidntp-service authentication enable undo ntp-service authentication enable4.8 ntp-service broadcast-client ntp-service broadcast-client undo ntp-service broadcast-client4.9 ntp-service broadcast-server 4.10 ntp-service max-dynamic-sessions 4.11 ntp-service multicast-clientntp-service max-dynamic-sessions number undo ntp-service max-dynamic-sessions4.12 ntp-service multicast-server undo ntp-service multicast-server4.13 ntp-service refclock-master ntp-service reliable authentication-keyid number 4.14 ntp-service reliable authentication-keyidundo ntp-service reliable authentication-keyid number 4.15 ntp-service source-interface undo ntp-service source-interface4.16 ntp-service source-interface disable 4.17 ntp-service unicast-peerundo ntp-service unicast-peer 4.18 ntp-service unicast-server undo ntp-service unicast-server3Com ntp-service unicast-server 128.108.22.44 version Chapter 5 X2T Configuration Commands 5.1 debugging x25 x2t5.2 display x25 x2t route debugging x25 x2t all event packet5.3 display x25 x2t switch-table 5.4 translate ipdisplay x25 x2t switch-table translate ip ip-address port port-number x25 x.121-address5.5 translate undo translate ip ip-address port port-numberRoutertranslate x25 12322 ip 10.110.54.19 port Chapter 6 Additional ISDN Configuration Commands 6.1 isdn ignore callednum6.2 isdn ignore hlc 3Com-E1-0 interface serial 215 3Com-serial215 isdn ignore callednum6.3 isdn ignore llc 6.4 isdn waitconnectack6.5 display isdn spid SyntaxView Parameter6.6 isdn ignore dchan Example6.7 isdn protocol-type 6.8 isdn q931-timer undo isdn q931-timer timer-name all6.9 isdn spid auto-trigger 6.10 isdn spid nit 6.11 isdn spid timer 6.12 isdn spid resend 3Com-bri0 isdn spid service data 3Com-bri0/0 isdn spid service speech 6.13 isdn spid serviceExample 6.14 isdn spid1 6.15 isdn spid23Com-bri0 isdn spid2