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 exists.

Views

System view

Predefined user roles

network-admin

Parameters

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

Usage guidelines

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

Examples

# Create a QoS policy named user1.

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

Related commands