Thanks for the reply. This is one side with the relevant port being 2/24:
vlan 1
name "DEFAULT_VLAN"
no untagged 1/1-1/24,2/1-2/23
untagged 1/25-1/26,2/24-2/26
ip address dhcp-bootp
exit
vlan 310
name "VLAN310"
untagged 1/1-1/12,1/18-1/24,2/1-2/23
tagged 1/25,2/24-2/25
ip address 192.168.31.3 255.255.255.0
exit
vlan 311
name "VLAN311"
tagged 1/1-1/12,1/18-1/25,2/1-2/20,2/24-2/25
ip address 10.168.31.3 255.255.255.0
voice
exit
This is the other side with the relevant port being 8:
vlan 1
name "DEFAULT_VLAN"
no untagged 1-6
untagged 8-10
ip address dhcp-bootp
exit
vlan 310
name "VLAN310"
untagged 1-7
tagged 8
ip address 192.168.31.4 255.255.255.0
exit
vlan 311
name "VLAN311"
tagged 1-6,8
ip address 10.168.31.4 255.255.255.0
voice
exit