Switching Introduction
©2008 Allied Telesis Inc. All rights reserved.
Software Version 5.2.1
AlliedWare Plus
TM
Operating System Software Reference C613-50003-00 REV E
14.17
Table 14-1: Configuration procedure for VLANs
Generic VLAN Registration Protocol
(GVRP)
The GARP application GVRP enables switches in a network to dynamically share VLAN
membership information in order to reduce the need for statically configuring all VLAN
membership changes on all switches in a network. For more information about commands
used to configure GVRP see
Chapter 17, GVRP Commands
.
Command
Description
Create VLANs
awplus#
configure terminal
Enter Configuration mode.
awplus(config)#
vlan database
Enter VLAN Database Configuration mode.
awplus(config-vlan)#
vlan <vid> [name <vlan-name>]
[state {enable|disable}]
or
vlan <vid-range> [state {enable|
disable}]
Create VLANs.
Associate switch ports with VLANs
awplus(config-vlan)#
interface
<port-list>
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 <vlan-id>
awplus(config-if)#
interface
<port-list>
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 VLAN.
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
<vid-list>
awplus(config-if)#
switchport trunk native vlan <vid>
By default, a trunk mode switch port’s native
VLAN—the VLAN that the port uses for
untagged packets—is VLAN
1
. Some control
packets are untagged, including MSTP CIST
BPDUs.
If required, change the native VLAN from the
default. The new native VLAN must already be
allowed for this switch port.
awplus(config-if)#
exit
Return to Global Configuration mode.
awplus(config)#
exit
Return to Privileged Exec mode.
awplus(config)#
show vlan {all|brief|dynamic|static|
<1-4094>}
Confirm VLAN configuration