3com S7906E Guide De Référence

Page de 2327
 
2-26 
Default Level 
2: System Level 
Parameters 
policy-name: Name of the policy to be created. 
Description 
Use the qos policy command to create a policy. This command also leads you to policy view.  
Use the undo qos policy command to remove a policy.  
To remove a policy that is currently applied on a port, you need to disable it on the port first.  
Related commands: classifier behaviorqos apply policy
Examples 
# Create a policy named user1.  
<Sysname> system-view 
[Sysname] qos policy user1 
[Sysname-qospolicy-user1]  
qos vlan-policy 
Syntax 
qos vlan-policy policy-name vlan vlan-id-list { inbound | outbound } 
undo qos vlan-policy vlan vlan-id-list { inbound | outbound } 
View 
System view 
Default Level 
2: System Level 
Parameters 
policy-name: Policy name. 
vlan-id-list: List of VLAN IDs, presented in the form of vlan-id to vlan-id or discontinuous VLAN IDs. Up 
to eight VLAN IDs can be specified at a time.  
inbound: Specifies to apply the VLAN policy in the inbound direction of the VLAN.  
outbound: Specifies to apply the VLAN policy in the outbound direction of the VLAN. 
Description 
Use the qos vlan-policy command to apply the VLAN policy to the specific VLAN(s).  
Use the undo qos vlan-policy command to remove the VLAN policy from the specific VLAN(s).  
Note that, when you apply a QoS policy with the qos vlan-policy command, support for the 
inbound/outbound keyword varies with the actions defined in the traffic behavior and the type of the 
LPU to which the ports in the VLAN belong, as described in