beautypg.com

Table 16-3 – Allied Telesis AlliedWare Plus Operating System Version 5.4.4C (x310-26FT,x310-26FP,x310-50FT,x310-50FP) User Manual

Page 425

background image

VLAN Introduction

Software Reference for x310 Series Switches

C613-50046-01 REV A

AlliedWare Plus

TM

Operating System - Version 5.4.4C

16.13

Table 16-3: Configuration procedure for Switch A

Command

Description

Create the VLANs

awplus#

configure terminal

Enter Global Configuration mode.

awplus(config)#

vlan database

Enter VLAN Configuration mode.

awplus(config-vlan)#

vlan 10,20,30

Create the VLANs.

Create the private VLANs and set the type

awplus(config-vlan)#

private-vlan 10 isolated

Create isolated VLAN 10.

awplus(config-vlan)#

private-vlan 20 isolated

Create isolated VLAN 20.

awplus(config-vlan)#

private-vlan 30 isolated

Create isolated VLAN 30.

Set port 1.0.1 to trunk mode and add the VLANs to be trunked over the port

awplus(config-vlan)#

interface port1.0.1

Enter Interface Configuration mode for
port1.0.1

.

awplus(config-if)#

switchport mode trunk

Set the switching characteristics of the port to
trunk.

awplus(config-if)#

switchport trunk allowed vlan add 10,20,30

Add the VLANs to be trunked over this port.

Set port 1.0.2 to trunk mode and add the VLANs to be trunked over the port

awplus(config-if)#

exit

Return to Global Configuration mode.

awplus(config)#

interface port1.0.2

Enter Interface Configuration mode for
port1.0.2

.

awplus(config-if)#

switchport mode trunk

Set the switching characteristics of the port to
trunk.

awplus(config-if)#

switchport trunk allowed vlan add 10,20

Add the VLANs to be trunked over this port.