Siemens S223, S323 user manual Packet Classification, A50010-Y3-C150-2-7619 141

Models: S323 S223

1 381
Download 381 pages 49.11 Kb
Page 141
Image 141

User Manual

UMN:CLI

SURPASS hiD 6615 S223/S323 R1.5

 

 

 

 

 

7.6.2.3Packet Classification

After configuring a packet classification for a rule, then configure how to process the packets. To specify a packet-classifying pattern, use the following command.

!

When specifying a source and destination IP address as a packet-classifying pattern, the

destination IP address must be after the source IP address.

 

 

 

 

 

 

 

 

Command

 

Mode

Description

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Classifies a physical port:

 

port

{SRC-PORT

any}

{DST-

 

SRC-PORT: source port number

 

 

DST-PORT: destination port number

 

PORT cpu any}

 

 

 

 

 

 

 

cpu: CPU port

 

 

 

 

 

 

 

 

 

 

 

 

 

 

any: any physical port (ignore)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Classifies a VLAN:

 

vlan {VID any}

 

 

 

VLAN: 1-4094

 

 

 

 

 

 

 

any: any VLAN (ignore)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Classifies a DSCP value:

 

dscp {<0-63> any}

 

 

 

0-63: DSCP value

 

 

 

 

 

 

 

any: any DSCP (ignore)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Classifies the IEEE 802.1p priority:

 

cos {<0-7> any}

 

 

 

0-7: 802.1p priority value

 

 

 

 

 

 

 

any: any 802.1p priority value (ignore)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Classifies all ToS field:

 

tos {<0-255> any}

 

 

 

0-255: ToS value

 

 

 

 

 

 

 

any: any ToS value (ignore)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Classifies an IP precedence:

 

ip-prec {<0-7> any}

 

 

Rule

0-7: IP precedence value

 

 

 

 

 

 

any: any IP precedence value (ignore)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Classifies a packet length:

 

length {<21-65535> any}

 

 

21-65535: IP packet length

 

 

 

 

 

 

 

any: any IP packet length (ignore)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Classifies the Ethernet type:

 

 

 

 

 

 

 

TYPE-NUM: Ethernet type field (hex, e.g. 0800 for

 

ethtype {TYPE-NUMarp any}

 

IPv4)

 

 

 

 

 

 

 

arp: address resolution protocol

 

 

 

 

 

 

 

any: any Ethernet type (ignore)

 

 

 

 

 

 

mac

{SRC-MAC-ADDRESS

 

Classifies MAC address:

 

SRC-MAC-ADDRESS

/

MASK-

 

 

 

SRC-MAC-ADDRESS: source MAC address

 

BITS

any}

{DST-MAC-

 

 

 

DST-MAC-ADDRESS: destination MAC address

 

ADDRESS IDST-MAC-ADDRESS/

 

 

 

any: any source/destination MAC address (ignore)

 

MASK BITS I any}

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Classifies an IP address:

 

ip {A.B.C.D

A.B.C.D/M

any}

 

A.B.C.D: source/destination IP address

 

{A.B.C.D A.B.C.D/M any} [0-

 

A.B.C.D/M: source/destination IP address with mask

 

255]

 

 

 

 

 

any: any source/destination IP address

 

 

 

 

 

 

 

0-255: IP protocol number

 

 

 

 

 

 

 

 

A50010-Y3-C150-2-7619

141

Page 141
Image 141
Siemens S223, S323 user manual Packet Classification, A50010-Y3-C150-2-7619 141