beautypg.com

Set qos port – Allied Telesis AT-S62 User Manual

Page 336

background image

Chapter 20: Quality of Service (QoS) Commands

336

SET QOS PORT

Syntax

set qos port=integer type=ingress|egress
policy=integer|none

Parameter

port

Specifies the port to which the policy is to be
assigned or removed. You can specify more than
one port at a time if the port is an ingress port of
the traffic flow. Ports can be identified
individually (e.g., 5,7,22), as a range (e.g., 18-23),
or both (e.g., 1,5,14-22). You can specify only one
port if the port is functioning as an egress port
for the flow.

type

Specifies whether the port is an ingress or egress
port for the traffic flow of the policy. The default
is ingress.

policy

Specifies the policy to the assigned to the port.
You can specify only one policy. The NONE
option removes the currently assigned policy
from a port.

Description

This command adds and removes ports from policies.

A port can be an ingress or egress port of only one policy at a time.
However, a port can be an ingress port and an egress port of different
policies, simultaneously. If a port is already a port of a policy, this
command automatically removes it from its current policy assignment
before adding it to another policy.

Examples

This command assigns QoS policy 12 to ingress ports 5 through 8:

set qos port=5-8 type=ingress policy=12

This command removes the currently assigned policy to egress ports 1
and 5:

set qos port=1,5 type=egress policy=none