Netgear NETGEAR Manual Do Utilizador

Página de 400
User Manual for the NETGEAR 7300S Series Layer 3 Managed Switch Software 
Quality of Service (QoS) Commands
11-27
202-10088-01, March 2005
policy-map
This command establishes a new DiffServ policy. The <
policyname> 
parameter is a case-sensitive 
alphanumeric string from 1 to 31 characters uniquely identifying the policy. The type of policy is 
specific to either the inbound or outbound traffic direction as indicated by the {
in | out} 
parameter.
Note: The policy type dictates which of the individual policy attribute commands are valid within 
the policy definition. 
Note: The CLI mode is changed to Policy-Map Config when this command is successfully 
executed.
Format  
policy-map <policyname> <in | out>
Mode  
Global Config
no policy-map
This command eliminates an existing DiffServ policy. The <
policyname>
 parameter is the name 
of an existing DiffServ policy. This command may be issued at any time; if the policy is currently 
referenced by one or more interface service attachments, this deletion attempt shall fail.
Format  
no policy-map <policyname>
Mode  
Global Config
policy-map rename
This command changes the name of a DiffServ policy. The <
policyname>
 is the name of an 
existing DiffServ class. The <
newpolicyname>
 parameter is a case-sensitive alphanumeric string 
from 1 to 31 characters uniquely identifying the policy.
Format  
policy-map rename <policyname> <newpolicyname>
Mode  
Global Config
randomdrop
This command changes the active queue depth management scheme from the default tail drop to 
RED. The first two data parameters are the average queue depth minimum and maximum 
threshold values specified in bytes. The minimum threshold is an integer from 1 to 250000. The 
maximum threshold is an integer from 1 to 500000, but it must be equal to or greater than the 
minimum threshold. The third data parameter is the maximum drop probability and is an integer 
from 0 to 100. It indicates the percentage likelihood that a packet will be dropped when the 
average queue depth reaches the maximum threshold value.