JetStream  52-Port Gigabit Stackable L3 Managed Switch  CLI Guide 
 
EBS  ——
Specify the maximum capacity in Kbytes for token bucket E. It 
ranges from 1 to 128. 
drop
 —— 
Drop the conforming traffic. 
set-cos-as-sec-cos  —— 
Set Cos value as secondary Cos value for 
conforming traffic. 
set-cos-transmit
 —— 
Enter Cos marking action for conforming traffic. 
set-dscp-transmit
 —— 
Enter IP DSCP marking action for conforming traffic. 
set-prec-transmit
  —— 
Enter IP precedence marking action on conforming 
traffic. 
transmit
 —— 
Transmit the conforming traffic. 
cos
 —— The Class of Service(Cos) value in an Ethernet frame header, ranging 
from 0 to 7. 
dscp 
—— Enter a DSCP value in the range of 0 to 63. 
prec 
—— Enter an IP precedence value in the range of 0 to 7. 
Command Mode 
Policy-Class-Map Configuration Mode 
Example 
Enter the Policy-Map Config mode for a policy named tp, then add a class 
named market to the policy and enter Policy-Class-Map Configuration Mode.
 
For token bucket C, set the token’s generation rate as 1000 Kbps and the 
maximum capacity as 64 Kbytes. For token bucket E, set the maximum 
capacity as 128 Kbytes. Set the conform action as transmit, the exceed 
action as mark the packets  with the specified IP Precedence value(4), the 
violate action as drop: 
T3700G-52TQ(config)#policy-map tp 
T3700G-52TQ(config-pmap)#class market 
T3700G-52TQ(config-pmap-c)#single-rate 1000 64 128 conform transmit 
exceed set-prec-transmit 4 violate drop 
25.38  two-rate 
Description 
The two-rate command is used to configure two-rate traffic policing action.   
205