Configuring the port QoS level

Configure the port QoS level to assign a default QoS level for all traffic if the packet does not match an access control list (ACL) that re-marks the packet. If you configure port QoS levels, Layer 2 and Layer 3 traffic from the same port use the same QoS level. The default value is 1.

About this task

For VoIP traffic, as a best practice, use QoS level 6.

Procedure

  1. Enter GigabitEthernet Interface Configuration mode:

    enable

    configure terminal

    interface GigabitEthernet {slot/port[/sub-port][-slot/port[/sub-port]][,...][slot/all][all]}

    Note

    Note

    If the platform supports channelization and the port is channelized, you must also specify the sub-port in the format slot/port/sub-port.

  2. Configure the port QoS level:

    qos level [port {slot/port[sub-port]}] <0-6>

Variable definitions

Use the data in the following table to use the qos level command.

Variable

Value

<0-6>

Specifies the default QoS level for the port traffic. The system reserves QoS level 7 for network control traffic. The default is 1.

port {slot/port[/sub-port]}

Identifies a single slot and port. If the platform supports channelization and the port is channelized, you must also specify the sub-port in the format slot/port/sub-port.