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 Chapter 71 on page 507). 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 Two Rate Three Color
Marker Traffic Policing for more information.
• counter: enable or disable packet counting
for the policy.
• logging: enable or disable packet logging
for the policy.
C13
policy help
Provides more information about the specified
command.
C13
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.
E13
clear hit-counter policy <name>
Clears the counters of dropped and hit packets
for the specified policy.
E3
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;