You can create an access port on an Aruba switch using the command-line interface (CLI). Follow these steps:
- Log in to the switch: Use an SSH client or console connection to access the switch's CLI.
- Enter configuration mode: Use the
configure terminal
command. - Select the interface: Specify the interface you want to configure as an access port using the
interface
command. For example,interface GigabitEthernet1/0/1
. - Set the port mode: Use the
switchport mode access
command to configure the port as an access port. - Assign a VLAN: Use the
switchport access vlan <vlan_id>
command to assign a VLAN to the port. Replace<vlan_id>
with the desired VLAN number.
Example:
Aruba(config)# interface GigabitEthernet1/0/1
Aruba(config-if)# switchport mode access
Aruba(config-if)# switchport access vlan 10
This configuration will set GigabitEthernet1/0/1 as an access port, assigning it to VLAN 10.
Practical Insight:
- Access ports are typically used for devices like computers, printers, and other end-user devices.
- You can use the
show interface
command to verify the configuration of your access port. - Always ensure that your VLANs are properly configured before assigning them to access ports.
Additional Information:
- You can also create access ports using the ArubaOS-CX GUI.
- For more information on Aruba switch configuration, refer to the official Aruba documentation.