This article will show you how to configure vlans on Ufispace devices in trunk, hybrid and access mode.
First of all, here’s a step-by-step guide on how to create a VLAN:
Access Privileged mode:
enable
Access configuration mode:
configure terminal
Create Bridge and configure RSTP protocol (OcNos requirement).
bridge 1 protocol rstp vlan-bridge
Create a Vlan and associate it to the bridge created:
vlan database
vlan 100 bridge 1 name VLAN_LAB
Exit “vlan database” mode
exit
Check for pending settings:
show transaction current
Expected output from the above command:
OcNOS(config)#show transaction current
bridge 1 protocol rstp vlan-bridge
vlan database
vlan 100 bridge 1 name VLAN_LAB
exit
If you need to undo the settings, you can use the command:
abort transaction
If the settings are correct, they can be applied with the command:
commit
To check the VLAN configuration:
show vlan 100
Once the Vlan has been created, it must be assigned to an interface, either in TAG or UNTAGGED mode (in access).
How to configure VLAN in Trunk mode:
Access interface:
interface xe47
Configure in Layer2 mode and assign a Bridge (created previously):
switchport
bridge-group 1
Configure interface mode in Trunk:
switchport mode trunk
Configure vlan in TAG on the interface:
switchport trunk allowed vlan add 100
Check configuration and apply:
exit
show transaction current
commit
How to configure VLAN in Access mode
Create a Vlan and associate it to the bridge created:
vlan database
vlan 100 bridge 1
Access interface:
interface xe46
Configure in Layer2 mode and assign a Bridge:
switchport
bridge-group 1
Configure interface mode in Trunk:
switchport access
Set vlan to UNTAGGED on the interface:
switchport access vlan 100
Check configuration and apply:
exit
show transaction current
commit
How to configure VLAN in Hybrid mode
Access interface:
interface xe1
Configure in Layer2 mode and assign a Bridge:
switchport
bridge-group 1
Set the interface mode to Hybrid:
switchport mode hybrid
Set vlan to UNTAGGED on the interface:
switchport hybrid vlan 200
Configure vlan in TAGGED on the interface:
switchport hybrid allowed vlan add 300 egress-tagged enable
Check configuration and apply:
exit
show transaction current
commit
Summary of all settings applied:
bridge 1 protocol rstp vlan-bridge
!
vlan database
vlan 100 bridge 1 name VLAN_LAB
vlan 200 bridge 1
vlan 300 bridge 1
!
interface xe1
switchport
bridge-group 1
switchport mode hybrid
switchport hybrid vlan 200
switchport mode hybrid acceptable-frame-type all
switchport hybrid allowed vlan add 300 egress-tagged enable
!
interface xe46
switchport
bridge-group 1
switchport mode access
switchport access vlan 100
!
interface xe47
switchport
bridge-group 1
switchport mode trunk
switchport trunk allowed vlan add 100
!
Once you have completed all these detailed configurations, you will be able to manage VLANs efficiently on Ufispace devices, ensuring an organized and secure network. Follow the steps carefully, and if you have any questions, don’t hesitate to consult the official documentation or contact specialized technical support.
Would you like to speak with one of our UfiSpace and IPInfusion specialists?
We at Made4it are experts in these technologies and offer comprehensive configuration and support services.
Contact our consultants to learn more and optimize your network with professional solutions:
https://made4it.com.br/