Configuring Vlan Routing; Using The Cli To Configure Vlan Routing - 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

Configuring VLAN Routing

This section provides an example of how to configure the EdgeSwitch software to support VLAN routing. The
configuration of the VLAN router port is similar to that of a physical port. The main difference is that, after the
VLAN has been created, you must use the
that you can use it in the router configuration commands.
The diagram in this section shows a Layer-3 switch configured for port routing. It connects two VLANs, with
two ports participating in one VLAN, and one port in the other. The script shows the commands you would
use to configure the EdgeSwitch software to provide the VLAN routing support shown in the diagram.
24V
24V

Using the CLI to Configure VLAN Routing

1. Create VLAN 10 and VLAN 20.
(UBNT EdgeSwitch) #vlan database
vlan 10
vlan 20
exit
2. Configure ports 0/1, 0/2 as members of VLAN 10 and specify that untagged frames received on these
ports will be assigned to VLAN 10.
config
interface 0/1
vlan participation include 10
vlan pvid 10
exit
interface 0/2
vlan participation include 10
vlan pvid 10
exit
Ubiquiti Networks, Inc.
show ip vlan
Layer 3 Switch
24V
Physical Port 0/2
VLAN Router Port 3/1
192.150.3.1
VLAN 10
Layer 2 Switch
24V
VLAN Routing Example Network Diagram
command to determine the VLAN's interface ID so
Physical Port 0/3
VLAN Router Port 3/2
192.150.4.1
VLAN 20
Layer 2 Switch
24V
24V
24V
Configuration Examples
24V
265

Advertisement

Table of Contents
loading

Table of Contents