Mark – Brocade Mobility RFS7000-GR Controller CLI Reference Guide (Supporting software release 4.1.0.0-040GR and later) User Manual

Page 393

Advertising
background image

Brocade Mobility RFS7000-GR CLI Reference Guide

379

53-1001945-01

Standard ACL Config Commands

15

mark

Standard ACL Config Commands

Use this command to mark specific packets.

Syntax

mark(802.1p

<0-7>|dscp <0-63>|tos<0-255>)(A.B.C.D/M|any|host)

mark(802.1p

<0-7>|tos<0-255>)any|host(log|rule-precedence<1-5000>|

|A.B>C.D)

Parameters

Usage Guidelines

Use this command to mark traffic from the source network/host. Use the mark option to specify
the type of sservice (tos) and priority value. The tos value is marked in the IP header. The 802.1p
priority value is marked in the frame.

When the interface receives the packet, its content is checked against the ACE’s in the ACL. It is
marked based on the ACL configuration.

NOTE

The log option is functional only for router ACL’s. The log option results in an informational logging
message about the packet matching the entry sent to the console.

Example

The example below marks the type of service (tos) value to 254 for all traffic coming from the

source network.

RFS7000(config)#access-list 3 mark tos 254 xxx.xxx.3.0/24

RFS7000(config)#access-list 3 permit any

802.1p

<0-7>|dscp

<0-63>|

tos<

0-255>)

Specifies .1p priority value between 0 and 7

Specifies DSCP TOS bits value between 0 and 63.

Specifies a Type of Service (tos) value between 0 and 255.

(A.B.C.D/M|any|host)

source is the source IP address of the network or host in dotted decimal format.
Source-mask is the network mask. For example, 10.1.1.10/24 indicates the first 24
bits of the source IP are used for matching.

any

any is an abbreviation for source IP of 0.0.0.0 and source-mask bits equal to 0.

host
(log|rule-precedence
<1-5000>||A.B.C.D)

host is an abbreviation for exact source (A.B.C.D) and source-mask bits equal to 32.

Advertising