Displaying VLAN Settings 5-13
The following example creates a tag-based VLAN named video. It
assigns the VLANid 1000. Ports 4–8 are added as tagged ports to the
VLAN.
create vlan video
config video tag 1000
config video add port 4-8 tagged
The following example creates a VLAN named Sales , with the VLANid
120. The VLAN uses both tagged and untagged ports. Ports 1–3 are
tagged, and ports 4 and 7 are untagged. Note that when not explicitly
specified, 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 defines a protocol filter, 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
Displaying VLAN
Settings
To display VLAN settings, use the following command:
show vlan {<name> | all}
The show command displays summary information about each VLAN,
and includes the following:
■ Name
■ VLANid
■ Ports assigned
SW3800.BK Page 13 Tuesday, May 5, 1998 5:20 PM