JetStream  52-Port Gigabit Stackable L3 Managed Switch  CLI Guide 
 
generation rate as 2000 Kbps and 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)#two-rate 1000 64 2000 128 conform 
transmit exceed set-prec-transmit 4 violate drop 
25.39  service-policy 
Description 
The service-policy command is used to apply a specific policy to inbound or 
outbound  traffic  globally. To delete the configuration, please use no 
service-policy command. 
Syntax 
service-policy
{ in | out
 
} 
policy-map-name 
no service-policy { in | out } 
policy-map-name
 
Parameter 
service-policy-name
  āā  Specify the  name of the policy, ranging from 1 to 
31 alphanumetric characters. 
Command Mode 
Global Configuration Mode 
Example 
Apply a policy named tp to inbound traffic globally: 
T3700G-52TQ(config)#service-policy tp in 
25.40  service-policy (interface) 
Description 
The service-policy command is used to apply a specific policy to inbound or 
outbound traffic on the interface. To delete the configuration, please use no 
service-policy command. 
Syntax 
service-policy
{ in | out
 
} 
policy-map-name 
207