
78CHAPTER 4: VIRTUAL LANS (VLANS)
The following Switch 9100 example creates a VLAN named sales, with the VLANid 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 specified, ports are added as untagged.
create vlan sales config sales tag 120
config sales add port
The following Switch 9100 example creates a
create vlan ipsales
config ipsales protocol ip
config ipsales add port
The following Switch 9100 example defines a protocol filter, myprotocol and applies it to the VLAN named myvlan. This is an example only, and has no
create protocol myprotocol
config protocol myprotocol add etype 0xf0f0 config protocol myprotocol add etype 0xffff create vlan myvlan
config myvlan protocol myprotocol
Displaying VLAN Settings
To display VLAN settings, use the following command:
show vlan {<name>}
The show command displays summary information about each VLAN, and includes the following:
■Name
■VLANid
■How the VLAN was created (manually or by GVRP)
■IP address
■STPD information
■Protocol information
■QoS profile information