1806 CHAPTER 110: DEFINING POLICY COMMANDS

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-nameshould not be the policy defined by the system. The "default" is the policy defined by the system.

Related commands: classifier behavior, qos apply policy (interface view).

Examples # Define a policy named as USER1.

Page 1806
Image 1806
3Com MSR 30, MSR 50 manual Qos policy, Syntax qos policy policy-name Undo qos policy policy-name