4 mac access-group, Mac access-group - 22, Quality of service (qos) commands at8402 – Kontron AT8402 CLI User Manual

Page 134

Advertising
background image

Quality of Service (QoS) Commands

AT8402

AT8402 CLI Reference Manual

Page 3 - 22

The Ethertype may be specified as either a keyword or a four-digit hexadecimal value

from 0x0600-0xFFFF. The currently supported

<ethertypekey>

values are: appletalk,

arp, ibmsna, ipv4, ipv6, ipx, mplsmcast, mplsucast, netbios, novell, pppoe, rarp. Each

of these translates into its equivalent Ethertype value(s).

The vlan and cos parameters refer to the VLAN identifier and 802.1p user priority

fields, respectively, of the VLAN tag. For packets containing a double VLAN tag, this

is the first (or outer) tag.

The assign-queue parameter allows specification of a particular hardware queue for

handling traffic that matches this rule. The allowed <queue-id> value is 0-(n-1), where

n is the number of user configurable queues available for the hardware platform. The

assign-queue

parameter is valid only for a

permit

rule.

The

assign-queue

parameter is only valid for a

permit

rule.

NOTE: The special command form

{deny | permit}

any any

is used to

match all Ethernet layer 2 packets, and is the equivalent of the IP
access list “match every” rule.

Format

{deny|permit} {<srcmac> | any} {<dstmac> | any} [<ethertypekey> |
<0x0600-0xFFFF>] [vlan {eq <0-4095>}] [cos <0-7>] [[log]
[assign-queue <queue-id>]]

Mode

Mac-Access-List Config

3.7.4

mac access-group

This command attaches a specific MAC Access Control List (ACL) identified by

<name>

to an interface in a given direction. The

<name>

parameter must be the name of

an existing MAC ACL.

An optional sequence number may be specified to indicate the order of this mac access

list relative to other mac access lists already assigned to this interface and direction. A

lower number indicates higher precedence order. If a sequence number is already in use

for this interface and direction, the specified mac access list replaces the currently

attached mac access list using that sequence number. If the sequence number is not

Table 4.1. Ethertype Keyword and 4-digit Hexadecimal Value

Ethertype Keyword

Corresponding Value

appletalk

0x809B

arp

0x0806

ibmsna

0x80D5

ipv4

0x0800

ipv6

0x86DD

ipx

0x8037

mplsmcast

0x8848

mplsucast

0x8847

netbios

0x8191

novell

0x8137, 0x8138

pppoe

0x8863, 0x8864

rarp

0x8035

Advertising