Skip to content

Add support to get the Profile ID of Network Port Profile #53

@patsch9

Description

@patsch9

Please add support to get the ID of a network port profile by api. The ID is needed the set the profile of a switch port by api.

It would be nice if you can search the id by name.

https://developer.cisco.com/meraki/api/update-device-switch-port/

{
    "name": "My switch port",
    "tags": [ "tag1", "tag2" ],
    "enabled": true,
    "poeEnabled": true,
    "type": "access",
    "vlan": 10,
    "voiceVlan": 20,
    "allowedVlans": "1,3,5-10",
    "isolationEnabled": false,
    "rstpEnabled": true,
    "stpGuard": "disabled",
    "linkNegotiation": "Auto negotiate",
    "portScheduleId": "1234",
    "udld": "Alert only",
    "accessPolicyType": "Sticky MAC allow list",
    "accessPolicyNumber": 2,
    "macAllowList": [
        "34:56:fe:ce:8e:b0",
        "34:56:fe:ce:8e:b1"
    ],
    "stickyMacAllowList": [
        "34:56:fe:ce:8e:b0",
        "34:56:fe:ce:8e:b1"
    ],
    "stickyMacAllowListLimit": 5,
    "stormControlEnabled": true,
    "adaptivePolicyGroupId": "123",
    "peerSgtCapable": false,
    "flexibleStackingEnabled": true,
    "daiTrusted": false,
    "profile": {
        "enabled": false,
        "id": "1284392014819",
        "iname": "iname"
    }
}

Thank you

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions