This post lists a few configuration examples for Cambium Switch TX1012.
Trunk ports
vlan 2
ports gigabitethernet 0/1-2 (allowed tagged VLAN 2 on port 1 and port 2)
name "VLAN2"
!
vlan 4
ports gigabitethernet 0/1-2 (allowed tagged VLAN 4 on port 1 and port 2)
name "VLAN4"
interface gigabitethernet 0/1
switchport mode trunk
interface gigabitethernet 0/2
switchport mode trunk
It is equivalent to Cisco:
vlan 2
name "VLAN2"
!
vlan 4
name "VLAN4"
interface gigabitethernet 0/1
switchport trunk encapsulation dot1q (You dont need this if is newer IOS)
switchport mode trunk
switchport trunk allowed vlan 2,4
interface gigabitethernet 0/2
switchport trunk encapsulation dot1q (You dont need this if is newer IOS)
switchport mode trunk
switchport trunk allowed vlan 2,4
Trunk Port with Native VLAN
vlan 2
ports gigabitethernet 0/1-2 (allowed tagged VLAN 2 on port 1 and port 2)
name "VLAN2"
!
vlan 4
ports gigabitethernet 0/1-2 untagged gigabitethernet 0/1-2 (allowed untagged VLAN 4 on port 1 and port 2)
name "VLAN4"
interface gigabitethernet 0/1
switchport mode hybrid (you may see the configuration after change the port type, unlike Cisco, it is NOT trunk mode)
switchport pvid 4 (native vlan 4)
interface gigabitethernet 0/2
switchport mode hybrid
switchport pvid 4
It is equivalent to Cisco:
vlan 2
name "VLAN2"
!
vlan 4
name "VLAN4"
interface gigabitethernet 0/1
switchport trunk encapsulation dot1q (You dont need this if is newer IOS)
switchport mode trunk
switchport trunk allowed vlan 2,4
switchport trunk native vlan 4 (native vlan 4)
interface gigabitethernet 0/2
switchport trunk encapsulation dot1q (You dont need this if is newer IOS)
switchport mode trunk
switchport trunk allowed vlan 2,4
switchport trunk native vlan 4 (native vlan 4)
Access port
interface gigabitethernet 0/1
description ***Workstation***
vlan 4
ports gigabitethernet 0/1 untagged gigabitethernet 0/1 (this list will increase if more ports are access port on vlan 4)
name "Workstation"
interface gigabitethernet 0/1
switchport pvid 4 or switchport access vlan 2
switchport acceptable-frame-type untaggedAndPriorityTagged
switchport mode access
It is equivalent to Cisco:
vlan 4
name ****Workstation***
interface gigabitethernet 0/1
switchport trunk encapsulation dot1q (You dont need this if is newer IOS)
switchport mode access
switchport access vlan 4
Useful link
CLI Configuration (cambiumnetworks.com)