
OLT2406 User’s Guide
519
73.3 Policy Command Examples
This example creates a policy (
highPriority
) for the traffic flow identified via classifier
VLAN3
(see the
classifier example in
). This policy replaces the IEEE 802.1 priority field with the IP
ToS priority field (value
7
) for
VLAN3
packets.
•
green-to-cosq
: assign the incoming
packets marked as green via TRTCM (Two
Rate Three Color Marker) to a CoS (Class of
Service) queue. See
•
counter
: enable or disable packet counting
for the policy.
•
logging
: enable or disable packet logging
for the policy.
C
13
policy help
Provides more information about the specified
command.
C
13
no policy <
name
>
Deletes the policy.
C
13
no policy <
name
> inactive
Enables a policy.
C
13
clear hit-counter policy
Clears the counters of dropped and hit packets
for all policies on the OLT.
E
13
clear hit-counter policy <name>
Clears the counters of dropped and hit packets
for the specified policy.
E
3
Table 264 Policy Commands (continued)
COMMAND
DESCRIPTION
M
P
OLT2406(config)# policy highPriority classifier VLAN3 tos 7 queue-action
prio-replace-tos
OLT2406(config)# exit
OLT2406# show policy highPriority
Policy highPriority:
Classifiers:
VLAN3;
Parameters:
VLAN = 1; Priority = 0; DSCP = 0; TOS = 7;
Egress Port = msc-1-1;
Mirror Port = msc-1-1;
Bandwidth = 0; Out-of-profile DSCP = 0;
Action:
Replace the 802.1 priority field with the IP TOS value;
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...