Configuring Port Profiles on AOS-CX

Port profiles is a feature that allows you to configure interface-specific commands at the group level through an editor that supports syntax and semantic checking. This feature helps to configure multiple devices at a time by applying a profile.

In the Ports Profiles page of HPE Aruba Networking Central, you can create a profile, apply a profile to devices, clone a profile, modify profile configurations, and delete profiles at the group level.

Port profiles feature supports configuring interface ranges, list of interfaces, wild cards, LAG Link Aggregation Group . A LAG combines a number of physical ports together to make a single high-bandwidth data path. LAGs can connect two switches to provide a higher-bandwidth connection to a public network. , MCLAG, split, sub-interface, and management interface.

After applying a port profile on a device, you cannot view the association between the device and the applied profile. You can use the MultiEdit MultiEdit mode allows configuring single or multiple AOS-CX switches using the CLI syntax. You can also view the difference between the Central running configuration and the switch running configuration. feature to view the configuration on the devices.

Important Points to Note

Creating a Profile

To create a profile, complete the following steps:

  1. In the WebUI, set the filter to a group containing at least one switch.
  2.  Under Manage, click Devices > Switches.
  3. Click the Config icon to view the switch configuration dashboard.
  4. Click Interfaces > Port Profiles.

    The Port Profiles page is displayed with a list of port profiles, including two sample profiles.

  5. In the Port Profiles table, click + to create a profile.

    The Create Profile page is displayed.

  6. Enter the Name and Description for the profile in the respective fields.
  7. Configure interface-specific commands using an editor.
  8. Click Save.

    A new port profile is created with the interface-specific configurations.

Applying a Profile to Devices

To apply a profile to devices, complete the following steps:

  1. In the WebUI, set the filter to a group containing at least one switch.
  2.  Under Manage, click Devices > Switches.
  3. Click the Config icon to view the switch configuration dashboard.
  4. Click Interfaces > Port Profiles.

    The Port Profiles page is displayed with a list of port profiles including two sample profiles.

  5. Hover over the port profile you want to apply to devices and click the apply icon.

    The Apply <Profile-Name> page is displayed.

    You can also apply a sample profile to devices.

  6. In the Devices table, select the devices to which you want to apply the profile.

    Optionally, you can make any edits to the configuration. When applying the profile, you can only modify the interface line in the editor.

  7. Click Save.

    The profile is applied to the selected devices and the configurations are pushed to the devices. Once the port profile is applied, all existing settings on the port will be replaced by settings in this profile.

    If you are applying configurations to the devices, ensure to check the audit trail to confirm if the all configurations are successfully pushed to the devices.

    If a feature is not supported on specific devices, the configuration is skipped and the feature is not pushed to those devices. You can view the audit logs to verify whether the configuration is pushed to the devices.

Cloning a Profile

Cloning a profile will duplicate the interface configuration from the source profile.

To clone a group, complete the following steps:

  1. In the WebUI, set the filter to a group containing at least one switch.
  2.  Under Manage, click Devices > Switches.
  3. Click the Config icon to view the switch configuration dashboard.
  4. Click Interfaces > Port Profiles.

    The Port Profiles page is displayed with a list of port profiles including two sample profiles.

  5. Hover over the port profile you want to clone and click the clone icon.

    The new profile is created from the source profile. After cloning, you can make any necessary edits.

Editing a Profile

To edit a profile, hover over the profile you want to edit and click the edit icon.

You cannot edit the sample profiles.

Deleting a Profile

To delete a profile, hover over the profile you want to remove and click the delete icon. If you delete a profile, only the profile will be removed, the configurations applied through the profile to devices are not deleted.

You cannot delete the sample profiles.

Sample Interface Configurations

The following are some sample configurations on the interface:

Configuring L2 LAG:

interface lag 1

no shutdown

description Sample-Uplink-Lag

no routing

vlan trunk native 1

vlan trunk allowed all

lacp mode active

dhcpv4-snooping trust

interface 1/1/1

no shutdown

mtu Maximum Transmission Unit. MTU is the largest size packet or frame specified in octets (eight-bit bytes) that can be sent in networks such as the Internet. 1500

lldp transmit

lldp receive

lldp med poe

no lldp med poe priority-override

lldp dot3 poe

lldp dot3 macphy

lldp med network-policy

lldp med capability

lldp med topology-trap

cdp

lag 1

power-over-ethernet

no power-over-ethernet pre-std-detect

power-over-ethernet priority low

power-over-ethernet allocate-by usage

power-over-ethernet assigned-class 6

Configuring LAG using interface ranges and wildcards:

interface lag 1

no shutdown

description Sample-Uplink-Lag

no routing

vlan trunk native 1

vlan trunk allowed all

lacp mode active

dhcpv4-snooping trust

interface lag 2

no shutdown

routing

description Sample-Uplink-Lag

no routing

vlan trunk native 1

vlan trunk allowed all

lacp mode active

dhcpv4-snooping trust

interface 1/1/1 - 1/1/10

no shutdown

lag 1

interface 1/1/11 - 1/1/15

no shutdown

lag 2

interface 1/1/1 - 1/*/15

no shutdown

lag 2

Configuring sub-interface:

interface 1/1/28

no shutdown

routing

interface 1/1/28.10

ip address 2.2.2.2/24

Configuring overlapping interfaces:

interface 1/1/1-1/1/5

no shutdown

routing

vlan trunk native 1

vlan trunk allowed 2-3000

interface 1/1/4-1/1/10

no shutdown

no routing

Configuring list of interfaces:

interface 1/1/1-1/1/10,1/1/15,1/1/2:1-1/1/2:4

description list of physical interfaces

Sample Audit Log

The following figures display sample audit log generated for the port profiles feature:

Figure 1  Audit Trail Page

Figure 2  Audit Trail Logs