S
UMMIT
S
WITCH
I
NSTALLATION
AND
U
SER
G
UIDE
5-13
D
ISPLAYING
VLAN S
ETTINGS
The following example creates a VLAN named
Sales
, with the VLAN ID 120. The VLAN
uses both tagged and untagged ports. Ports 1 through 3 are tagged, and ports 4 and 7
are untagged. Note that when not explicitly speciÞed, ports are added as untagged.
create vlan sales
config sales tag 120
config sales add port 1-3 tagged
config sales add port 4,7
The following example creates a protocol-based vlan named
IPSales
. Ports 6 through 8
are assigned to the VLAN.
create vlan ipsales
config ipsales protocol ip
config ipsales add port 6-8
The following example deÞnes a protocol Þlter,
myprotocol
, for the purposes of later
applying to a VLAN. This is an example only, and has no real-world application.
create protocol myprotocol
config protocol myprotocol add etype 0xf0f0
config protocol myprotocol add etype 0xffff
D
ISPLAYING
VLAN S
ETTINGS
To display VLAN settings, use the following command:
show vlan {<name> | all}
Sample output from this command is as follows:
show vlan all
“Default”, 802.1Q Tag 1, created by user.
IP Address 0.0.0.0 netmask 0.0.0.0
Member of Spanning Tree Domain s0
Number of ports: 0
VLAN does not contain any ports !
Protocol=ANY = [EtherType=ffff]
SUMMIT.BK Page 13 Thursday, September 25, 1997 12:33 PM