Enabling DiffServ on a port

Enable DiffServ so that the system provides DiffServ-based QoS on the port. By default, DiffServ is enabled.

Procedure

  1. Enter Interface Configuration mode:

    enable

    configure terminal

    interface GigabitEthernet {slot/port[/sub-port][-slot/port[/sub-port]][,...]} or interface vlan <1–4059>

    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. Enable DiffServ:

    enable-diffserv [port {slot/port[/sub-port][-slot/port[/sub-port]][,...]}] [enable]

  3. Disable Diffserv:

    no enable-diffserv [port {slot/port[/sub-port][-slot/port[/sub-port]][,...]}] [enable]

Variable definitions

Use the data in the following table to use the enable-diffserv command.

Variable

Value

enable

Enables DiffServ for the specified port. The default is enabled.

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

Identifies the slot and port in one of the following formats: a single slot and port (slot/port), a range of slots and ports (slot/port-slot/port), or a series of slots and ports (slot/port,slot/port,slot/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.