Using The Cli To Configure Vlans - Ubiquiti EdgeSwitch ES-24-250W Administration Manual

User interface for poe switches
Hide thumbs Also See for EdgeSwitch ES-24-250W:
Table of Contents

Advertisement

EdgeSwitch
Administration Guide

Using the CLI to Configure VLANs

1. Create VLAN 2 and VLAN 3.
(UBNT EdgeSwitch) #vlan database
vlan 2
vlan 3
exit
2. Assign ports 0/1 and 0/2 to VLAN2 and specify that untagged frames will be rejected on receipt.
(UBNT EdgeSwitch) #Config
interface 0/1
vlan participation include 2
vlan acceptframe vlanonly
exit
interface 0/2
vlan participation include 2
vlan acceptframe all
3. While in interface config mode for port 0/2, assign VLAN3 as the default VLAN.
(UBNT EdgeSwitch) (Interface 0/2)#vlan pvid 3
exit
4. Specify that frames will always be transmitted tagged from ports that are members of VLAN 2.
(UBNT EdgeSwitch)(Config)#vlan port tagging all 2
exit
5. Assign the ports that will belong to VLAN 3.
Note:
Port 0/2 belongs to both VLANs, and port 0/1 can never belong to VLAN 3.
(UBNT EdgeSwitch) #Config
interface 0/2
vlan participation include 3
exit
interface 0/3
vlan participation include 3
exit
interface 0/4
vlan participation include 3
exit
exit
6. Specify that untagged frames will be accepted on port 0/4.
(UBNT EdgeSwitch) #Config
interface 0/4
vlan acceptframe all
exit
exit
Ubiquiti Networks, Inc.
Configuration Examples
261

Advertisement

Table of Contents
loading

Table of Contents