traffic-class-mapping

Profile Config Commands

Maps the IPv6 traffic class value of incoming IPv6 untagged packets to 802.1p priority. This mapping is required to provide priority of service to some packets over others. For example, VoIP packets get higher priority than data packets to provide a better quality of service for high priority voice traffic. Devices use the traffic class field in the IPv6 header to set this priority. This command allows you to assign a priority for different IPv6 traffic types.

Supported on the following devices:

Syntax

traffic-class-mapping <IPv6-TRAFFIC-CLASS-VALUE> priority <0-7>

Parameters

traffic-class-mapping <IPv6-TRAFFIC-CLASS-VALUE> priority <0-7>
traffic-class-mapping Maps the IPv6 traffic class value of incoming IPv6 untagged packets to 802.1p priority
<IPv6-TRAFFIC-CLASS-VALUE> Specify the traffic class value of incoming IPv6 untagged packet(s) (could be a single value or a list. For example, 10-20, 25, 30-35). This is the DSCP 6-bit parameter in the header of every IP packet used for packet classification.
priority <0-7> Specify the 802.1p priority to map with the traffic-class value specified in the previous step
  • <0-7> – Specify a value from 0 - 7.

The 802.1p priority is a 3-bit IP precedence value in the Type of Service field of the IP header used to set the priority. The valid values for this field are 0-7. Up to 64 entries are permitted. The priority values are:

  • 0 – Best Effort
  • 1 – Background
  • 2 – Spare
  • 3 – Excellent Effort
  • 4 – Controlled Load
  • 5 – Video
  • 6 – Voice
  • 7 – Network Control

Example

nx9500-6C8809(config-profile-TestNX5500)#traffic-class-mapping 25 priority 2

nx9500-6C8809(config-profile-TestNX5500)#show context
profile nx5500 TestNX5500
 traffic-class-mapping 25 priority 2
 no autoinstall configuration
 no autoinstall firmware
 crypto ikev1 policy ikev1-default
  isakmp-proposal default encryption aes-256 group 2 hash sha
 crypto ikev2 policy ikev2-default
  isakmp-proposal default encryption aes-256 group 2 hash sha
 crypto ipsec transform-set default esp-aes-256 esp-sha-hmac
 crypto ikev1 remote-vpn
 crypto ikev2 remote-vpn
 crypto auto-ipsec-secure
 crypto remote-vpn-client
-More-
nx9500-6C8809(config-profile-TestNX5500)#

Related Commands

no Removes mapping between IPv6 traffic class value (of incoming IPv6 untagged packets) and 802.1p priority