
Chapter 73 Policy Rule
OLT2406 User’s Guide
518
policy <
name
> classifier
<
classifier-list
> <[vlan <
vlan-
id
>][egress-port <
port-
num
>][mirror-port <
port-
num
>][priority <0-7>][dscp <0-
63>][tos <0-7>][ cir <64-1000000>
Kbps][ pir <64-1000000> Kbps][ out-
of-profile-dscp <0-63> ][forward-
action <drop|forward>][queue-
action <prio-set|prio-queue|prio-
replace-tos>][ diffserv-action
<diff-set-dscp> ][outgoing-
mirror][outgoing-eport][outgoing-
set-vlan][metering][out-of-
profile-action <[drop][forward]
[set-drop-precedence]>][ green-to-
cosq <0-7>][ counter
<enable|disable>][ logging
<enable|disable>]
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:
•
vlan
: a VLAN ID
•
egress-port
: an outbound port number
•
mirror-port
: mirror port number
•
priority
: IEEE 802.1p priority field
•
dscp
: 0-63
•
tos
: 0-7
•
cir
•
pir
•
out-of-profile-dscp
: 0-63; this is the
number to replace or remark the DSCP
number for out-of-profile traffic.
Specifies the actions for this policy:
•
Forward-action
: tells the OLT to:
- drop the packets (
drop
)
- forward the packets (
forward
)
•
queue-action
: tells the OLT to:
- set the IEEE 802.1p priority you specified in
the
priority
parameter (
prio-set
)
- sends the packet to priority queue (
prio-
queue
)
- replace the IEEE 802.1p priority field with
the tos parameter value (
prio-replace-
tos
).
•
diffserv-action
: use the DSCP value
configured using
[dscp <0-63>]
.
•
outgoing-mirror
- sends the packet to the
mirror port.
•
outgoing-eport
- sends the packet to the
egress port.
•
outgoing-profile-action
: tells the OLT to:
- Drop the packets (
drop
).
- forward the packets (
forward
).
- mark out-of-profile traffic and drop it when
network is congested (s
et-drop-
precedence
).
•
metering
- enables bandwidth limitations
on the traffic flows.
•
out-of-profile-action
- specifies the
actions to take for packets that exceed the
bandwidth limitations:
- discards 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
).
Table 264 Policy Commands (continued)
COMMAND
DESCRIPTION
M
P
Summary of Contents for OLT2406
Page 4: ...Document Conventions OLT2406 User s Guide 4 Desktop Laptop Switch IP Phone Smart T V...
Page 32: ...Table of Contents OLT2406 User s Guide 32 Index 758...
Page 33: ...33 PART I Introduction and Hardware Installation...
Page 63: ...63 PART II Web Configurator...
Page 179: ...Chapter 21 Classifier OLT2406 User s Guide 179 Figure 112 Classifier Example...
Page 182: ...Chapter 22 Policy Rule OLT2406 User s Guide 182 Figure 113 Advanced Application Policy Rule...
Page 186: ...Chapter 22 Policy Rule OLT2406 User s Guide 186 Figure 114 Policy Example...
Page 248: ...Chapter 28 Loop Guard OLT2406 User s Guide 248 Figure 151 Advanced Application Loop Guard...
Page 393: ...393 PART III CLI Commands...
Page 581: ...Chapter 78 VoIP OLT2406 User s Guide 581...
Page 725: ...725 PART IV Troubleshooting Specifications Appendices and Index...