beautypg.com

H3C Technologies H3C S3100 Series Switches User Manual

Page 385

background image

Operation Manual – ACL

H3C S3100-52P Ethernet Switch

Chapter 1 ACL Configuration

1-9

Keyword

IP Precedence in decimal

IP Precedence in binary

critical

5 101

internet

6 110

network

7 111


If you specify the tos keyword, you can directly input a value ranging from 0 to 15 or
input one of the keywords listed in Table 1-7 as the ToS value.

Table 1-7

ToS value and the corresponding keywords

Keyword

ToS in decimal

ToS in binary

normal

0 0000

min-monetary-cost

1 0001

max-reliability

2 0010

max-throughput

4 0100

min-delay

8 1000


If the protocol type is TCP or UDP, you can also define the information listed in Table
1-8
.

Table 1-8

TCP/UDP-specific ACL rule information

Parameter

Type

Function

Description

source-port

operator port1

[ port2 ]

Source port

Defines the

source port

information of

UDP/TCP

packets

destination-port

operator port1

[ port2 ]

Destination

port

Defines the

destination port

information of

UDP/TCP

packets

The value of operator can

be lt (less than), gt (greater

than), eq (equal to), neq

(not equal to) or range

(within the range of). Only

the “range” operator

requires two port numbers

as the operands. Other

operators require only one

port number as the

operand.
port1

and port2: TCP/UDP

port numbers, expressed as

port names or port

numbers. When expressed

as numbers, the value

range is 0 to 65535.