Legal Disclaimer: The resource assets in this website may include abbreviated and/or legacy terminology for HPE Aruba Networking products. See www.arubanetworks.com for current and complete HPE Aruba Networking product lines and names.
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
- The configuration must be complete when applying a profile to an interface.
- The apply profile option will overwrite the current configuration with the new profile configuration.
- Before assigning an interface, you must configure one of the external references such as VLAN Virtual Local Area Network. In computer networking, a single Layer 2 network may be partitioned to create multiple distinct broadcast domains, which are mutually isolated so that packets can only pass between them through one or more routers; such a domain is referred to as a Virtual Local Area Network, Virtual LAN, or VLAN. and OSPF Open Shortest Path First. OSPF is a link-state routing protocol for IP networks. It uses a link-state routing algorithm and falls into the group of interior routing protocols that operates within a single Autonomous System (AS)..
- The parent port of a sub-interface must be set to routing mode.
- Overlapping ports cannot be used when defining interface ranges.
- When creating split-child interfaces, you should specify a parent port.
Creating a Profile
To create a profile, complete the following steps:
- In the WebUI, set the filter to a group containing at least one switch.
- Under , click > .
- Click the icon to view the switch configuration dashboard.
- Click
The Port Profiles page is displayed with a list of port profiles, including two sample profiles.
> . - In the
The Create Profile page is displayed.
table, click to create a profile. - Enter the Name and Description for the profile in the respective fields.
- Configure interface-specific commands using an editor.
- Click
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:
- In the WebUI, set the filter to a group containing at least one switch.
- Under , click > .
- Click the icon to view the switch configuration dashboard.
- Click
The Port Profiles page is displayed with a list of port profiles including two sample profiles.
> . - 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.
-
In the
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.
-
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:
- In the WebUI, set the filter to a group containing at least one switch.
- Under , click > .
- Click the icon to view the switch configuration dashboard.
- Click
The Port Profiles page is displayed with a list of port profiles including two sample profiles.
> . - 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
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