qos policy

Use qos policy to create a QoS policy and enter QoS policy view.

Use undo qos policy to delete a QoS policy.

Syntax

qos policy policy-name

undo qos policy policy-name

Default

No QoS policy is configured.

Views

System view

Predefined user roles

network-admin

mdc-admin

Parameters

policy-name: QoS policy name, a case-sensitive string of 1 to 31 characters.

Usage guidelines

To use the undo qos policy command to delete a QoS policy that has been applied to an object, you must first remove it from the object.

Examples

# Define QoS policy user1.

<Sysname> system-view
[Sysname] qos policy user1
[Sysname-qospolicy-user1]

Related commands