Policy > Monitoring > IPFIX > Switch IPFIX Profiles

Create or Replace IPFIX L2 profile

Create or replace IPFIX L2 Profile. Profile is reusable entity. Single
profile can attached multiple bindings e.g group, segment and port.
This API is available when using VMware Cloud (AWS, Dell-EMC, Outpost, Hyperscalers) or VMware NSX-T.

Request:

Method:
PUT
URI Path(s):
/policy/api/v1/infra/ipfix-l2-profiles/<ipfix-l2-profile-id>
/policy/api/v1/global-infra/ipfix-l2-profiles/<ipfix-l2-profile-id>
Request Headers:
n/a
Query Parameters:
OverrideRequestParameters+
Request Body:
IPFIXL2Profile+

Example Request:

PUT https://<policy-mgr>/policy/api/v1/infra/ipfix-l2-profiles/ipfixsession_1 { "ipfix_collector_profile_path": "/infra/ipfix-l2-collector-profiles/profile1", "packet_sample_probability":0.1, "active_timeout":700, "idle_timeout":300, "max_flows": 1400, "_revision": 0 }

Successful Response:

Response Code:
200 OK
Response Headers:
Content-type: application/json
Response Body:
IPFIXL2Profile+

Example Response:

{ "resource_type": "IPFIXL2Profile", "id": "ipfixsession_1", "display_name": "/infra/ipfix-l2-profiles/ipfixsession_1", "path": "/infra/ipfix-l2-profiles/ipfixsession_1", "parent_path": "/infra/networks/cgw", "relative_path": "ipfixsession_1", "packet_sample_probability": 0.1, "observation_domain_id": 0, "active_timeout": 700, "max_flows": 1400, "idle_timeout": 300, "ipfix_collector_profile_path": "/infra/ipfix-l2-collector-profiles/profile1", "_create_user": "admin", "_create_time": 1517354664477, "_last_modified_user": "admin", "_last_modified_time": 1517354664477, "_system_owned": false, "_protection": "NOT_PROTECTED", "_revision": 1 }

Required Permissions:

crud

Feature:

policy_ipfix_switch

Additional Errors: