vlan

To map an evaluated user priority to a traffic class on a port, configure the maximum number of traffic classes supported on a port, or set a restricted feature configuration, use the command vlan in Interface Configuration Mode. The maximum number of traffic classes supported on the port can be configured, only if the VLAN switching feature is started and enabled in the switch. The no form of the command resets the maximum traffic class value on the port to its default value and maps the default traffic class to the specified priority value on the port.

vlan

vlan { {map-priority } { <priority value(0-7)> } { traffic-class } { <traffic class value(0-7)> }
{ | max-traffic-class } { <max traffic class value(1-8)> }
{ | restricted} } { {disable } { | enable} }

no vlan

no vlan { {map-priority } { <priority value(0-7)> } { | max-traffic-class} }

Parameters

Parameter Type Description
map-priority   Enter to map an evaluated user priority to a traffic class on a port. The frame received on the interface with the configured priority is processed in the configured traffic class. Traffic class is used to meet the latency and throughput requirement of time-critical traffic in a LAN environment, where both time-critical and non-time-critical traffic compete for the network bandwidth.
<priority value(0-7) Integer Enter a priority value to be set for the specified traffic class. This value ranges from 0 to 7. The frames with the configured priority are mapped to the specified traffic class. The priority determined for the received frame is equivalent to the priority indicated in the received tagged frame or one of the evaluated priorities determined based on the media-type. The priority determined is equal to the Default User Priority value for the ingress port, if the untagged frames are received from Ethernet media. The priority determined is equal to the Regen user priority for the ingress port and media-specific user priority, if the untagged frames are received from non-Ethernet media.
traffic-class   Enter to configure the traffic class value to which the received frame of specified priority is to be mapped.
<traffic-class value(0-7) Integer Enter a traffic class value to which the received frame of specified priority is to be mapped. This value ranges from 0 to 7. Each value represents the concerned traffic. They are:
  • 0 - Best effort. This represents all kinds of non-detrimental traffic that is not sensitive to QoS metrics such as jitter.
  • 1 - Background. This represents bulk transfers and other activities that are permitted on the network without impacting the network usage for users and applications.
  • 2 - Standard (spare traffic). This represents traffic of more importance than background but less importance than excellent load.
  • 3 - Excellent load. This represents the best effort type service that an information services organization should deliver to its most important customers.
  • 4 - Controlled load. This represents traffic subject to admission control to assure that the traffic is received even when the network is overloaded.
  • 5 - Interactive voice and video. This represents traffic having delay less than 100 milli-seconds.
  • 6 - Internetwork control-Layer 3 network control. This represents traffic having delay less than 10 milli-seconds.
  • 7 - Network control-Layer 2 network control reserved traffic. This represents traffic that demands special treatment based on its requirements and relative importance.

The configured traffic class value should be less than the maximum number of traffic classes in the port.

max-traffic-class   Enter to configure the maximum number of traffic classes supported on a port
<max-traffic-class value(1-8) Integer Enter a value for the maximum number of traffic classes supported on a port. The number of traffic classes supported depends on the hardware used, which can limit the number of traffic classes to a lower number. Eight traffic classes for handling priority traffic are supported. Each traffic is assigned a traffic type based on the time sensitiveness of the traffic. This value ranges from 1 to 8. The default is 8.
restricted   Enter to configure the restricted feature configuration.
disable   Enter to disable the restricted VLAN registration.
enable   Enter to enable the restricted VLAN registration.

Mode

Interface Configuration Mode

Default

The default traffic classes that are mapped to the priority is listed below:

Priority Traffic Class

1 0

2 1

3 3

4 4

5 5

6 6

7 7

Prerequisites

Examples

iS5Comm (config-if)# vlan map-priority 2 traffic-class 2