qos apply qmprofile

Use qos apply qmprofile to apply a queue scheduling profile to an interface.

Use undo qos apply qmprofile to remove an applied queue scheduling profile from an interface.

Syntax

qos apply qmprofile profile-name

undo qos apply qmprofile

Default

No queue scheduling profile is applied to an interface.

Views

Layer 2 Ethernet interface view

Predefined user roles

network-admin

Parameters

profile-name: Specifies a queue scheduling profile by its name, a case-sensitive string of 1 to 31 characters.

Usage guidelines

You can apply only one queue scheduling profile to an interface.

Examples

# Apply queue scheduling profile myprofile to GigabitEthernet 1/0/1.

<Sysname> system-view
[Sysname] interface GigabitEthernet 1/0/1
[Sysname-GigabitEthernet1/0/1] qos apply qmprofile myprofile

Related commands

display qos qmprofile interface