beautypg.com

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

Page 416

background image

VLAN Introduction

Software Reference for x310 Series Switches

16.4

AlliedWare Plus

TM

Operating System - Version 5.4.4C

C613-50046-01 REV A

Table 16-1: Configuration procedure for VLANs

Create VLANs

awplus#

configure terminal

Enter Configuration mode.

awplus(config)#

vlan database

Enter VLAN Configuration mode.

awplus(config-vlan)#

vlan [name ]

[state {enable|disable}]

or

vlan [state {enable|

disable}]

Create VLANs.

Associate switch ports with VLANs

awplus(config-vlan)#

interface

Associate switch ports in access mode with VLANs:

Enter Interface Configuration mode for the switch ports
that will be in access mode for a particular VLAN.

Associate the VLAN with these ports in access mode.

Repeat for other VLANs and ports in access mode.

awplus(config-if)#

switchport access vlan

awplus(config-if)#

interface

Associate switch ports in trunk mode with VLANs. Enter
Interface Configuration mode for all the switch ports that
will be in trunk mode for a particular set of VLANs.

Set these switch ports to trunk mode.

Allow these switch ports to trunk this set of VLANs.

awplus(config-if)#

switchport mode trunk

[ingress-filter {enable|disable}]

awplus(config-if)#

switchport trunk allowed vlan all

or

switchport trunk allowed vlan add

awplus(config-if)#

switchport trunk native vlan

{|none}

By default, a trunk mode switch port’s native VLAN, the
VLAN that the port uses for untagged packet, is VLAN 1.

If required, change the native VLAN from the default.

awplus(config-if)#

exit

Return to Global Configuration mode.

awplus(config)#

exit

Return to Privileged Exec mode.

awplus#

show vlan {all|brief|dynamic|

static|auto|static-ports<1-4094>}

Confirm VLAN configuration.