ZyXEL Communications ZyXEL Dimension ES-2024PWR User Manual
Page 176

Chapter 46 Policy Commands
Ethernet Switch CLI Reference Guide
176
policy <name> classifier
<classifier-list> <[vlan <vlan-
id>][egress-port <port-
num>][priority <0-7>][dscp <0-
63>][tos <0-7>][bandwidth
<bandwidth>][egress-mask <port-
list>][outgoing-packet-format
profile-dscp <0-63>][forward-
action
e-action
tos>][diffserv-action
priority|diff-set-
dscp>][outgoing-
mirror][outgoing-
eport][outgoing-non-unicast-
eport][outgoing-set-
vlan][metering][out-of-profile-
action <[change-dscp][drop][
forward] [set-drop-
precedence]>][inactive]>
Configures a policy with the specified name.
name: 32 alphanumeric characters
C
13
Specifies which classifiers this policy applies to.
classifier-list: names of classifiers separated by
commas.
Specifies the parameters related to the actions:
egress-port: an outbound port number
priority: IEEE 802.1p priority field
bandwidth: bandwidth limit in Kbps, actions can be
assigned to packets which exceed the bandwidth limit (out-or-
profile).
out-of-profile-dscp: sets a DSCP number, if you want
to replace or remark the DSCP number for out-of-profile
traffic.
Specifies the actions for this policy:
•
queue-action: tells the Switch to:
- set the IEEE 802.1p priority you specified in the
priority parameter (prio-set)
- send the packet to priority queue (prio-queue)
- replace the IEEE 802.1p priority field with the tos
parameter value (prio-replace-tos).
•
diffserv-action - choose whether you want to set the
ToS field with the value you specified for the tos
parameter (diff-set-tos), replace the IP ToS with
IEEE 802.1p priority value (diff-replace-priority)
or set the DSCP field with the dscp parameter value
(diff-set-dscp)
•
outgoing-mirror - send the packet to the mirror port.
•
outgoing-eport - send the packet to the egress port.
•
outgoing-non-unicast-eport - send the broadcast,
dlf or multicast packets (marked for dropping or to be sent
to the CPU) to the egress port.
•
metering - enables bandwidth limitations on the traffic
flows.
•
out-of-profile-action - specifies the actions to
take for packets that exceed the bandwidth limitations:
- replaces the DSCP field with the value in the out-of-
profile-dscp parameter (change-dscp).
- discard the out of profile packets (drop).
- queues the packets that are marked for dropping
(forward).
- marks the out of profile traffic and drops it when network
is congested (set-drop-precedence).
inactive - disables the policy rule.
Table 101 policy Command Summary
COMMAND
DESCRIPTION
M
P