Aruba Central Next Gen icon

Aruba Central Next Gen

Consume Aruba Central Next Gen API

Actions408

Port Security → Create Port Security Profile

AI-generated

Overview

This node operation creates a port security profile in the Aruba Central Next Gen system. It is useful for network administrators who want to programmatically configure port security settings on their network devices to enhance security by controlling access at the port level. For example, an admin can create a profile that restricts the number of MAC addresses on a port or defines specific security policies for network access.

Use Case Examples

  1. Creating a new port security profile with specific MAC address limits and security rules to prevent unauthorized device connections.
  2. Automating the deployment of port security profiles across multiple switches in a network for consistent security enforcement.

Properties

Name Meaning
Debug Mode Whether to enable detailed debug logs for troubleshooting.
Domain API domain to interact with, set to 'security' for port security operations.
Profile Name Name of the port security profile to be created.
Profile Body JSON configuration body for the port security profile defining its settings and rules.

Output

JSON

  • profileId - Identifier of the created port security profile.
  • profileName - Name of the created port security profile.
  • status - Status of the profile creation operation, e.g., success or failure.

Dependencies

  • Requires an API key credential for Aruba Central Next Gen OAuth2 authentication to interact with the Aruba Central API.

Troubleshooting

  • Common issues include invalid JSON in the Profile Body, missing required fields like Profile Name, or incorrect domain selection.
  • Error messages may indicate authentication failures, invalid API requests, or network connectivity problems. Enabling Debug Mode can provide detailed logs to help diagnose issues.

Links

Discussion