3Com S7902E Command Reference Manual - page 1708
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 behavior
,
qos apply policy
.
Examples
# Create a policy named user1.
[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
Table 2-10
.