3com MSR 20-20 참조 매뉴얼

다운로드
페이지 2742
1806
C
HAPTER
 110: D
EFINING
 P
OLICY
 C
OMMANDS
View
Layer 2 interface view/port group view
Parameters
inbound: Inbound direction.
policy policy-name: Policy name, a string of characters in the range 1 to 31.
Description
Use the qos apply policy command to apply associated policy to the interface.
Use the undo qos apply policy command to delete the associated policy from 
the interface.
The command is valid when the number of the interfaces on a layer 2 module is 
16, 24 or 48.
Execute the command in interface view, and the setting is valid on the current 
interface only; execute the command in port group view, and the setting is valid 
on all ports in the port group.
Examples
# Apply the policy USER1 in the inbound direction of interface Ethernet1/0.
<Sysname> system-view
[Sysname] interface Ethernet1/0
[Sysname-Ethernet1/0] qos apply policy USER1 inbound 
qos policy
Syntax
qos policy policy-name
undo qos policy policy-name
View
System view
Parameters
policy policy-name: Policy name, a string of characters in the range 1 to 31.
Description
Use the qos policy command to define a policy and enter policy view.
Use the undo qos policy command to delete a policy.
The policy cannot be deleted if it is applied on an interface. It is necessary to 
remove application of the policy on the current interface before deleting it via the 
undo qos policy command.
policy-name should not be the policy defined by the system. The "default" is the 
policy defined by the system.
Related commands:
Examples
# Define a policy named as USER1.