You can define the DSCP value and configure the ingress and egress settings to create a custom QoS switching profile.

Prerequisites

Procedure

  1. From your browser, log in to an NSX Manager at https://nsx-manager-ip-address.
  2. Click Switching in the navigation panel.
  3. Click the Switching Profiles tab.
  4. Click Add and select QoS.
  5. Complete the QoS switching profile details.

    Option

    Description

    Name and Description

    Assign a name to the custom QoS switching profile.

    You can optionally describe the setting that you modified in the profile.

    Mode

    Select either a Trusted or Untrusted option from the Mode drop-down menu.

    When you select the Trusted mode the inner header DSCP value is applied to the outer IP header for IP/IPv6 traffic. For non IP/IPv6 traffic, the outer IP header takes the default value. Trusted mode is supported on an overlay-based logical port. The default value is 0.

    Untrusted mode is supported on overlay-based and VLAN-based logical port. For the overlay-based logical port, the DSCP value of the outbound IP header is set to the configured value irrespective to the inner packet type for the logical port. For the VLAN-based logical port, the DSCP value of IP/IPv6 packet will be set to the configured value. The DSCP values range for untrusted mode is between 0 to 63.

    Note:

    DSCP settings work only on tunneled traffic. These settings do not apply to traffic inside the same hypervisor.

    Priority

    Set the CoS priority value.

    The priority values range from 0 to 63, where 0 has the highest priority.

    Class of Service

    Set the CoS value.

    CoS is supported on VLAN-based logical port. CoS groups similar types of traffic in the network and each type of traffic is treated as a class with its own level of service priority. The lower priority traffic is slowed down or in some cases dropped to provide better throughput for higher priority traffic. CoS can also be configured for the VLAN ID with zero packet.

    The CoS values range from 0 to 7, where 0 is the best effort service.

    Ingress

    Set custom values for the outbound network traffic from the VM to the logical network.

    You can use the average bandwidth to reduce network congestion. The peak bandwidth rate is used to support burst traffic and the burst duration is set in the burst size setting. You cannot guarantee the bandwidth. However, you can use the setting to limit network bandwidth. The default value 0, disables the ingress traffic.

    For example, when you set the average bandwidth for the logical switch to 30 Mbps the policy limits the bandwidth. You can cap the burst traffic at 100 Mbps for a duration 20 Bytes.

    Ingress Broadcast

    Set custom values for the outbound network traffic from the VM to the logical network based on broadcast.

    The default value 0, disables the ingress broadcast traffic.

    For example, when you set the average bandwidth for a logical switch to 50 Kbps the policy limits the bandwidth. You can cap the burst traffic to 400 Kbps for a duration of 60 Bytes.

    Egress

    Set custom values for the inbound network traffic from the logical network to the VM.

    The default value 0, disables the egress traffic.

    If the ingress, ingress broadcast, and egress options are not configured, the default values are used as protocol buffers.

  6. Click Save.

Results

A custom QoS switching profile appears as a link.

What to do next

Attach this QoS customized switching profile to a logical switch or logical port so that the modified parameters in the switching profile are applied to the network traffic. See Associate a Custom Profile with a Logical Switch or Associate a Custom Profile with a Logical Port.