15 match vlan, 5 policy commands, 1 bandwidth kbps – PLANET WGS3-24240 User Manual

Page 431

Advertising
background image

User’s Manual of WGS3-24000 / WGS3-24240

431

Format match [not] srcl4port {<portkey> | <0-65535> [<0-65535>]}

Mode

Class-Map Config

9.4.15 match vlan

This command adds to the specified class definition a match condition based on the value of the layer 2 VLAN Identifier field of

a packet. The VLAN ID is an integer from 1 to 4094. The optional [not] parameter has the effect of negating this match condition

for the class (i.e., match all VLAN Identifier values except for what is specified here).

Default None

Format match [not] vlan <1-4094>

Mode

Class-Map Config

9.5 Policy Commands

The 'policy' command set is used in DiffServ to define:

Traffic Conditioning Specify traffic conditioning actions (policing, marking, shaping) to apply to traffic classes

Service Provisioning Specify bandwidth and queue depth management requirements of service levels (EF, AF, etc.)

The policy commands are used to associate a traffic class, which was defined by the class command set, with one or more QoS

policy attributes. This association is then assigned to an interface in a particular direction to form a service. The user specifies

the policy name when the policy is created.

The DiffServ CLI does not necessarily require that users associate only one traffic class to one policy. In fact, multiple traffic

classes can be associated with a single policy, each defining a particular treatment for packets that match the class definition.

When a packet satisfies the conditions of more than one class, preference is based on the order in which the classes were

added to the policy, with the foremost class taking highest precedence.

This set of commands consists of policy creation/deletion, class addition/removal, and individual policy attributes. Note that 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.

9.5.1 bandwidth kbps

This command identifies a minimum amount of bandwidth to be reserved for the specified class instance within the named

policy using an absolute rate notation. The committed information rate is specified in kilobits-per-second (Kbps) and is an

integer from 1 to 4294967295.

Note: The actual bandwidth allocation does not occur until the policy is attached to an interface in a particular direction.

Note: The bandwidth kbps and percent commands are alternative ways to specify the same bandwidth policy attribute.

Format bandwidth kbps <1-4294967295>

Mode

Policy-Class-Map Config

Restrictions - The sum of the committed information rate values for all bandwidth and expedite commands defined within

a policy must not exceed the available link bandwidth of the interface to which that policy is assigned. Violation of this

requirement shall prevent successful attachment of a policy to the interface, or shall cause this command to fail if the

policy is already in service on one or more interfaces.

Policy Type - Out

Advertising
This manual is related to the following products: