How to Disable In-band Network Telemetry
search cancel

How to Disable In-band Network Telemetry

book

Article ID: 424400

calendar_today

Updated On:

Products

VMware NSX

Issue/Introduction

In-band Network Telemetry is a feature that can be enabled to allow Traceflow on VLAN-backed NSX Segments.  This article describes disabling the feature if desired.

Environment

VMware NSX

VMware NSX-T

Cause

Traceflow is no longer required on VLAN-backed NSX segments and you want to turn off the feature.

Resolution

  1. First use the API GET https://<ManagerIP>/policy/api/v1/infra/ops-global-config call to retrieve the current configuration.
    Example output:

    {

        "operation_collectors": [

            {

                "report_interval": 30,

                "collector_type": "VRNI",

                "collector_ip": "###.###.###.###",

                "collector_port": ####

            }

        ],

        "in_band_network_telementry": {

            "dscp_value": 2,

            "indicator_type": "DSCP_VALUE"

        },

        "operation_feature_disabled": {

            "latency_stat_disabled": false,

            "live_trace_disabled": false

        },

        "is_inherited": false,

        "site_infos": [],

        "resource_type": "OpsGlobalConfig",

        "id": "ops-global-config",

        "display_name": "ops-global-config",

        "path": "/infra/ops-global-config",

        "relative_path": "ops-global-config",

        "parent_path": "/infra",

        "remote_path": "",

        "unique_id": "########-####-####-####-############",

        "realization_id": "########-####-####-####-############",

        "owner_id": "########-####-####-####-############",

        "marked_for_delete": false,

        "overridden": false,

        "_system_owned": false,

        "_protection": "NOT_PROTECTED",

        "_create_time": 1764727579090,

        "_create_user": "system",

        "_last_modified_time": 1767739227089,

        "_last_modified_user": "#####",

        "_revision": 10

    }

    Note the VRNI collector above is an example.  Depending on your NSX deployment there may be different fields listed in the GET output.

  2. Modify the output of the GET to remove the "in_band_network_telementry" section.
    Example:

    {

        "operation_collectors": [

            {

                "report_interval": 30,

                "collector_type": "VRNI",

                "collector_ip": "###.###.###.###",

                "collector_port": ####

            }

        ],

        "operation_feature_disabled": {

            "latency_stat_disabled": false,

            "live_trace_disabled": false

        },

        "is_inherited": false,

        "site_infos": [],

        "resource_type": "OpsGlobalConfig",

        "id": "ops-global-config",

        "display_name": "ops-global-config",

        "path": "/infra/ops-global-config",

        "relative_path": "ops-global-config",

        "parent_path": "/infra",

        "remote_path": "",

        "unique_id": "########-####-####-####-############",

        "realization_id": "########-####-####-####-############",

        "owner_id": "########-####-####-####-############",

        "marked_for_delete": false,

        "overridden": false,

        "_system_owned": false,

        "_protection": "NOT_PROTECTED",

        "_create_time": 1764727579090,

        "_create_user": "system",

        "_last_modified_time": 1767739227089,

        "_last_modified_user": "#####",

        "_revision": 10

    }



  3. Use this edited API body in a PUT https://<ManagerIP>/policy/api/v1/infra/ops-global-config

  4. Confirm the in_band_network_telementry field has been removed by running the original API GET call and confirming the field is no longer included in the response.

Additional Information

To Enable In-band Network Telemetry see Traceflow attempt in NSX GUI fails with " Traceflow on VLAN logical port InternalLogicalPort/&lt;portID&gt; requires INT (In-band Network Telemetry) to be enabled."