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

Models: 10014302

1 101
Download 101 pages 60.09 Kb
Page 19
Image 19

3Com Router Command Reference Guide Addendum for V1.2

Description

Using the if-matchip-precedencecommand, you can define IP precedence match rule. Using the undo if-matchip-precedencecommand, you can delete IP precedence match rule.

When the command is configured, the ip-precedence-value will be sorted automatically in ascending order.

Up to 8 precedence values can be specified. If several identical precedence values are specified, the system regards them as one. The relation between different precedence values is “OR”.

For the related command, see qos class.

Example

Define the match rule of class1 as matching the packets with the precedence value as 1 or 6.

[3Com] qos class class1

[3Com-qosclass-class1]if-match ip-precedence 1 6

1.17 if-match mac-address

Syntax

if-match [ logic-not ] { destination-mac source-mac } mac-address

undo if-match [ logic-not ] { destination-mac source-mac } mac-address

View

Class view

Parameter

mac-address: MAC address in the format of xx-xx-xx-xx-xx-xx.

Description

Using the if-match{ destination-mac source-mac} command, you can define the match rule for destination or source address. Using the undo if-match

{destination-mac source-mac} command, you can delete the match rule for destination or source address.

The match rule for destination MAC address is effective only for output policies and Ethernet interfaces.

19

Page 19
Image 19
3Com 10014302 manual if-match mac-address, Description, Example, Syntax, View, Parameter