18 match vlan, 19 match secondary-vlan, 4 diffserv policy commands – Kontron AT890X Full-Size CLI User Manual

Page 180: 4 diffserv policy commands - 14

Advertising
background image

Quality of Service (QoS) Commands

AT8901/2/3

AT8901/2/3 CLI Reference Manual

Page 4 - 14

4.3.18

match vlan

This command adds to the specified class definition a match condition based on the

value of the layer 2 VLAN Identifier field (the only tag in a single tagged packet or the

first or outer tag of a double VLAN tagged packet). The VLAN ID is an integer from 1

to 4095.

NOTE: This command is not available on the Broadcom 5630x platform.

Default

none

Format

match vlan <1-4095>

Mode

Class-Map Config

4.3.19

match secondary-vlan

This command adds to the specified class definition a match condition based on the
value of the layer 2 secondary VLAN Identifier field (the inner 802.1Q tag of a double
VLAN tagged packet). The secondary VLAN ID is an integer from 1 to 4095.

NOTE: This command is not available on the Broadcom 5630x platform.

Default

none

Format

match secondary-vlan <1-4095>

Mode

Class-Map Config

4.4

DiffServ Policy Commands

Use the DiffServ policy commands to specify traffic conditioning actions, such as
policing and marking, to apply to traffic classes

Use the policy commands to associate a traffic class that you define by using the class
command set with one or more QoS policy attributes. Assign the class/policy
association to an interface to form a service. Specify the policy name when you create
the policy.

Each traffic class defines a particular treatment for packets that match the class
definition. You can associate multiple traffic classes with a single policy. When a
packet satisfies the conditions of more than one class, preference is based on the order
in which you add the classes to the policy. The first class you add has the highest
precedence.

This set of commands consists of policy creation/deletion, class addition/removal, and
individual policy attributes.

NOTE: The only way to remove an individual policy attribute from a class

instance within a policy is to remove the class instance and re-add it to
the policy. The values associated with an existing policy attribute can
be changed without removing the class instance.

The CLI command root is

policy-map

.

Advertising