Maybe I'm not getting your question, but I think you have it configured as needed: When you designate a vlan as "voice" (it's a little hard to see since that is also the name of your vlan!) then it behaves as you expect, and is applied as a tagged vlan to all access ports. You don't have to mention it in the individual access port configs.
To check, you can use "sh vlan", which should list all vlans, with a column for each saying if it is the "voice mode" vlan or or not.e.g.
80-3S-switch# sh vlan
Status and Counters - VLAN Information
Maximum VLANs to support : 256
Primary VLAN : Management
Management VLAN :
VLAN ID Name | Status Voice Jumbo
------- -------------------------------- + ---------- ----- -----
1 Default | Port-based No No
50 Management | Port-based No No
300 Internal | Port-based No No
500 voice-vlan | Port-based Yes No
800 Lab | Port-based No No
Also, if you show the vlans assigned to a port, you should see the voice vlan listed on any access port. Or, if you show your voice vlan, like "sh vlan 10" in your example, or "sh vlan 500" or "sh vlan voice-vlan" in my case, you should see it listed as tagged on all your access ports.
Here's an arbitrary port from my switch:
80-3S-switch# sh vlan port 1/30
Status and Counters - VLAN Information - for ports 1/30
VLAN ID Name | Status Voice Jumbo
------- -------------------------------- + ---------- ----- -----
300 Internal | Port-based No No
500 voice-vlan | Port-based Yes No
------------------------------
Steve Bohrer
------------------------------
Original Message:
Sent: Mar 13, 2021 04:02 PM
From: Sherly Jue
Subject: How to configure voice vlan + access vlan on the same port with a ArubaOS-CX SW6300F
Hi team!
Do you know how to configure the voice vlan and access vlan on the same port with a switch (Aruba 6300F)?
For example with a cisco switch, this is the configuration:
interface GigabitEthernet0/8
description ABC
switchport access vlan 30
switchport mode access
switchport voice vlan 10
switchport port-security maximum 4
switchport port-security
switchport port-security mac-address sticky
switchport port-security mac-address sticky 000a.4e30.dabc vlan voice
spanning-tree portfast
spanning-tree bpduguard enable
This is the configuration with SW-ARUBA-6300F:
6300# sh running-config interface 1/1/2
interface 1/1/2
no shutdown
description ABC
vlan access 30
spanning-tree bpdu-guard
spanning-tree port-type admin-edge
port-access port-security
enable
client-limit 2
mac-address 00:0a:4e:30:da:bc
6300(config)# vlan 10
6300(config-vlan-10)#
6300(config-vlan-10)# voice
<cr>
6200(config-vlan-10)# voice
Thanks!
------------------------------
Sherly Jue
------------------------------