Global Switch IPFIX Profile is stuck Uninitialized
search cancel

Global Switch IPFIX Profile is stuck Uninitialized

book

Article ID: 386398

calendar_today

Updated On:

Products

VMware NSX

Issue/Introduction

Switch IPFIX Profile called Global remains in Uninitialized state.
Name is case insensitive: global, Global, GLOBAL behave identically.

Environment

VMware NSX 4.x

Cause

A Global Switch IPFIX Profile is created by naming the Switch IPFIX Profile "Global".

Creating a Global Switch IPFIX Profile via Manager API was deprecated in NSX 3.2.

Creating a Global Switch IPFIX Profile via Policy UI was introduced in NSX 3.2.

Both features are unsupported in NSX 4.x. The Global Switch IPFIX Profile will not realize.

Global Switch IPFIX Profiles are supported again in VCF 9.x.

Resolution

This feature is supported in VCF 9, available at Broadcom downloads.

If you are having difficulty finding and downloading software, please review the Download Broadcom products and software KB.

Workaround:

  • Remove the unsupported Global Switch IPFIX Profile via API call: DELETE /policy/api/v1/infra/ipfix-l2-profiles/Global
  • If you added any segment in to the Global Switch IPFIX Profile it will return an error_code 500030 "The object path=[/infra/ipfix-l2-profiles/Global] cannot be deleted as either it has children or it is being referenced by other objects" with a list of the attached segments.

    1. - GET /policy/api/v1/infra/segments/<SEGMENT>/segment-monitoring-profile-binding-maps/<SEGMENT_ID>
    2. - The result you will see the second line {  "ipfix_l2_profile_path": "/infra/ipfix-l2-profiles/Global"  }
    3. - Copy all the body and PATCH the Segment removing the line highlighted in step number 2.
    4. - Repeat the las three steps for all the Segments.

    Once you remove the "ipfix_l2_profile_path" from all the Segments you can Delete the Global Switch IPFIX Profile via API call: DELETE /policy/api/v1/infra/ipfix-l2-profiles/Global

  • Create a normal Switch IPFIX Profile and apply it to the desired segments.