beautypg.com

Set classifier – Allied Telesis AT-S63 User Manual

Page 284

background image

Chapter 17: Classifier Commands

284

Section II: Advanced Operations

SET CLASSIFIER

Syntax

set classifier=

idnumber

[description=”

string

”]

[macdaddr=

macaddress

|any] [macsaddr=

macaddress

|any]

[priority=

value

] [vlan=

name

|1..4094|any]

[protocol=ip|arp|rarp|

number

|any] [iptos=

value

|any]

[ipdscp=

value

|any] [ipprotocol=

protocol

|

number

|any]

[ipdaddr=

ipaddress

/

mask

|any] [ipsaddr=

ipaddress

/

mask

|any] [tcpsport=

value

|any] [tcpdport=

value

|any]

[udpsport=

value

|any] [udpdport=

value

|any]

[tcpflags=[urg|ack|psh|rst|syn|fin|any]

Parameters

classifier

Specifies the ID number of the classifier to be modified.
You can modify only one classifier at a time. The number
can be from 1 to 9999.

description

Specifies a description of the classifier. A description can
be up to fifteen alphanumeric characters. Spaces are
allowed. If it contains spaces, it must be enclosed in double
quotes. Otherwise, the quotes are optional.

macdaddr

Specifies a destination MAC address. The address can be
entered in either of the following formats:

xx:xx:xx:xx:xx:xx or xxxxxxxxxxxx

macsaddr

Specifies a source MAC address. The address can be
entered in either of the following formats:

xx:xx:xx:xx:xx:xx or xxxxxxxxxxxx

priority

Specifies the user priority level in a tagged Ethernet frame.
The value can be 0 to 7.

vlan

Specifies a tagged or port-based VLAN by its name or VID
number.

protocol

Specifies a Layer 2 protocol. Options are:

IP
ARP
RARP

You can specify additional Layer 2 protocols by entering

the protocol number in either decimal or hexadecimal
format. For the latter, precede the number with “0x”.